I encountered the same thing on my jsp page using a bean. I encountered
the same thing for servlets. It was unpredicatable and it didn't happen
everytime. When it does happen, all I did was restart tomcat and it
would work. My servlets are also set to be reloadable.
I would appreciate if someone knows where to get the fix for this.
--
Antonio W. Lagnada
[EMAIL PROTECTED] - email
This email address is specifically
for JSP-Interest email list
---- Laiwu Luo <[EMAIL PROTECTED]> wrote:
> ***Please Note: This email was has been in a queue since Friday, September,
> 1. You may or may not have already received it. For more information,
> please contact [EMAIL PROTECTED]
> We are following model 2 architecture to develop an application on
> Tomcat3.1 server. But we encounter a problem whenever we recompile
> the
> controller servlet code, we have to restart Tomcat server; otherwise,
> JSP page will get "java.lang.ClassCastException" which relates to the
> code we use to cast a java bean after retrieved it from session object
> inside JSP code. (By the way, we have edited the "conf/server.xml"
> file
> so that the application codes are reloadable.)
>
> We are anxious to know if anyone encounter the similar problem and
> how
> to solve it.
>
> Thanks,
>
> --
> Laiwu Luo
>
> ===========================================================================
> 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
>
> ===========================================================================
> 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
>
___________________________________________________________________
To get your own FREE ZDNet Onebox - FREE voicemail, email, and fax,
all in one place - sign up today at http://www.zdnetonebox.com
===========================================================================
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