Question : JSP file can't read Bean on tomcat linux system

Hi,
I follow the tutorial http://www.jsptut.com/Forms.jsp
I don't understand why read from a file ReadUser.jsp, it give an error
org.apache.jasper.JasperException: /SaveName.jsp(1,1) The value for the useBean class attribute user.UserData is invalid.

[fsze88@fsze88-linux classpath]$ echo $CLASSPATH
/usr/java/jdk1.6.0_20/lib/tools.jar:/usr/java/jdk1.6.0_20/jre/lib/rt.jar:/usr/share/tomcat6/classpath/MyUtils.jar:/usr/share/tomcat6/servlet.jar

any more information as you need, please let me know

Thank you

Francis SZE
1:
2:
3:
4:
5:
6:
7:
8:
9:
<jsp:useBean id="user" class="user.UserData" scope="session"/> 
<HTML>
<BODY>
You entered<BR>
Name: <%= user.getUsername() %><BR>
Email: <%= user.getEmail() %><BR>
Age: <%= user.getAge() %><BR>
</BODY>
</HTML>

Answer : JSP file can't read Bean on tomcat linux system

If I understand it correctly, the 0.0.0.0 means that the server socket is not bound to a specific interface/NIC, but will accept connections on that port on all interfaces on the machine.  If you want to specify which interface to use, you have to bind it to that interface.

This can be done with the third constructor, which takes an InetAddress.  You can also use the empty constructor, which gives you a completely unbound server socket, then set the port number and interface address and then finally call bind().
Random Solutions  
 
programming4us programming4us