Hi guys?
I have a simple question.

I can pass JMLSTRING and JMLNUMBER parameters from a JSP to another JSPs.
But I couldn' t pass a class defined by myself to another JSP?

Please, explain me, how I can manage this situation.

Example below.
------------------------------------------------------------------------------------------------
<jsp:useBean id="accTypeBox" class="oracle.jsp.jml.JmlNumber" scope
="request" >
     <jsp:setProperty name="accTypeBox" property="value" param="accTypeBox"
/>
</jsp:useBean>

"This bean can be passed, value can be used on another JSPs."
------------------------------------------------------------------------------------------------
<jsp:useBean id="our_user" class="MyProject1_html.User" scope="request" >
     <jsp:setProperty name="user_id" property="value" param="user_id" />
</jsp:useBean>

or

<jsp:useBean id="our_user" class="MyProject1_html.User" scope="session" >
------------------------------------------------------------------------------------------------
"our_user is my class, in both cases above, I coludn' t pass the fields of
the class to another JSP. All fields would be initialized on the next JSP.
I can' t get the values on the next JSP."

Thanks.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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