"Internal Server Error" occurs in "JSP + Javabean" on Tomcat 4.0.1
3 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Frank_Young
Posted On:   Monday, March 25, 2002 04:28 AM

I wrote a simple JSP page which invokes a simple java class file using tag. The problem is the JSP file can't be displayed normally. Tomcat server reported "Internal Server Error" when loading the jsp file. The java object defined in javabean just couldn't be found when referencing it in jsp file. I put jsp file in "webapps/ROOT" and class file in "webapps/ROOT/WEB-INF/classes". Why can't the java class be found during compiling jsp into bytecode?
And besides, I can run it very well on Tomcat 3.X. Why??

Re: "Internal Server Error" occurs in "JSP + Javabean" on Tomcat 4.0.1

Posted By:   Clinton_Young  
Posted On:   Wednesday, March 27, 2002 03:57 AM

Try puting this line at the top of your page.

<%@ page import="YourBean" %>

Re: "Internal Server Error" occurs in "JSP + Javabean" on Tomcat 4.0.1

Posted By:   samir_kolarkar  
Posted On:   Tuesday, March 26, 2002 02:35 AM

Hi!!!

There are four things to be checked
carefully.

1. Check the syntax in


2.Check and compile Bean.


3. Put the bean file in bean folder or
create it and put.


4. In case if u r using outside server
Your server should allow u to use Bean,
Contact ur administrator.

thanx,

Samir

Re: "Internal Server Error" occurs in "JSP + Javabean" on Tomcat 4.0.1

Posted By:   samir_kolarkar  
Posted On:   Tuesday, March 26, 2002 02:35 AM

Hi!!!

There are four things to be checked
carefully.

1. Check the syntax in


2.Check and compile Bean.


3. Put the bean file in bean folder or
create it and put.


4. In case if u r using outside server
Your server should allow u to use Bean,
Contact ur administrator.

thanx,

Samir

About | Sitemap | Contact