gigsvoo
Feb 8th, 2002, 08:35 PM
Hi there,
I had this error when I tried to run my beans on a Tomcat 4 server:
The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
and my JSP file is this:
<html>
<head>
<title>
Using JavaBeans from JSP
</title>
</head>
<body>
<jsp:useBean id="staff" class="com.visualbuilder.beans.Employee"/>
<jsp:setProperty name="staff" property="name" value="James Brown"/>
Welcome to the company, <jsp:getProperty name="staff" property="name"/>
, please visit VisualBuilder.com to get more out of life!
</body>
</html>
where my folder to stores the bean file is like this:
oot\Web-inf\classes\com\visualbuilder\beans\Employee.class
anything wrong? why it does work?
I had this error when I tried to run my beans on a Tomcat 4 server:
The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
and my JSP file is this:
<html>
<head>
<title>
Using JavaBeans from JSP
</title>
</head>
<body>
<jsp:useBean id="staff" class="com.visualbuilder.beans.Employee"/>
<jsp:setProperty name="staff" property="name" value="James Brown"/>
Welcome to the company, <jsp:getProperty name="staff" property="name"/>
, please visit VisualBuilder.com to get more out of life!
</body>
</html>
where my folder to stores the bean file is like this:
oot\Web-inf\classes\com\visualbuilder\beans\Employee.class
anything wrong? why it does work?