Mahesh and others,
After performing the test myself and looking
at things, I found out that indeed the dispatch servlet is putting the bean in
correctly and the jsps are utilizing them properly. The problem
occurs only after I compile any file used by the Bean. Although the Bean
isn't compiled itself (the .class file remains the same); the compilation of a
class imported by the bean causes the ClassCastException. Only after
restarting tomcat do things function properly until the next compilation of the
file used by the Bean.
As a result, I transfer the focus of this problem
away from the jsp realm to the Java language realm. Does anyone have any
idea why the compilation of imported classes would cause a ClassCastException as
previously described?
Thanks again!
Leon
|
Title: Re: problems installing tomcat on linux
- RE: (EXPERTS ONLY) Bean Creation in Dispatch Servlet Bhat, Mahesh
- Re: (EXPERTS ONLY) Bean Creation in Dispatch Servlet Leon Palermo
- RE: (EXPERTS ONLY) Bean Creation in Dispatch Servlet Bhat, Mahesh
- Re: (EXPERTS ONLY) Bean Creation in Dispatch Servlet Leon Palermo
- Re: (EXPERTS ONLY) Bean Creation in Dispatch Ser... Leon Palermo
- Re: (EXPERTS ONLY) Bean Creation in Dispatch... Leon Palermo
- Re: (EXPERTS ONLY) Bean Creation in Dispatch Servlet Leon Palermo
- RE: (EXPERTS ONLY) Bean Creation in Dispatch Servlet Bhat, Mahesh