I am migrating my JSP application, which I initially wrote in 1.0
environment
using JSWDK. This application is now moving to iPlanet web server that
supports jsp 0.92. I have the following problem on sharing a bean over
different jsp pages on 0.92

I have a bean ValidateUser that Validate logon info & stores them in
variables. In 1.0 Jsp I declare the bean on logon.jsp as
<jsp:useBean id="user" scope="session" class="dcor.ValidateUser" />
& on subsequent jsp pages I use it as
<jsp:useBean id="user" scope="session" class="dcor.ValidateUser" />.
Using this declaration I retrive the user info as
user.getUserID() & user.getPasswd() and they works fine giving me correct
UserID & correct Password in every other JSP pages.

When I implemented this in 0.92 with equivalent commands of USEBEAN it did
not
work. As the bean has a processRequest method, the 0.92 engine tried to
execute the processRequest method in other jsp pages & throws me an
exception.
Then I removed the processRequest method but still it trying to get that
method in other jsps. Is there any way I can implement this session bean in
0.92. Are they thread safe??


Thanks in advance,
Subodh.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to