Hi All,
I have two jsp file:
The first has a form which is posting to second jsp by "get" method.
The second has a form too, which is posting to first jsp by "get"
method.
I start tomcat, and call the first jsp by browser. It works fine. When I
click the submit button, I get the following error:
Root cause
java.lang.ClassCastException: eu5.ProjectListBean
at
web._0002fweb_0002fProjectView_0002ejspProjectView_jsp_2._jspService(_0002fw
eb_0002fProjectView_0002ejspProjectView_jsp_2.java,
Compiled Code)
OK. And then I restart the tomcat, and call the second jsp by browser.
It works fine!!
And when I click the submit button (which call the first jsp) I get this
error too!
What do I wrong?
What is this ClassCastException in this context?
my parameters:
Debian woody linux
JSDK 1.2.2 from Sun
Apache web server 1.3.x
tomcat 3.1
Borland JBuilder 3.5
Used packages is:
interclient.jar (Interbase)
tomcat 3.1
gnuregexp.jar
many thanks
----------------------------------
Zoltan Zidarics programmer
PTE-PMMFK H-7621 Pecs, Boszorkany u. 2. Hungary
E-Mail: [EMAIL PROTECTED]
----------------------------------
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets