I have a jsp, say a.jsp, which instantiates a bean using "usebean", with
session scope:

<jsp:useBean id="beanid" class="classname" scope="session" />

Now a.jsp forwards the request to b.jsp where I try to get a property of
this bean using:

<jsp:getProperty name="beanid" property="propertyname" />

Please note that I did not use any usebean statement before doing the
getProperty. This code works for Tomcat but gives error if I run it in
weblogic. But if I use the getProperty after usebean, the same code works in
weblogic also. Could you please let me know what's the right way of doing
it? Could it be due to the version of JSP supported by these two servers? I
am using weblogic 4.5.1.

TIA


-----------------------------------------------
FREE! The World's Best Email Address @email.com
Reserve your name now at http://www.email.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

Reply via email to