Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

jsp include with attribute not param?

843840Apr 12 2010 — edited Apr 13 2010
Hi all,
I am trtying to make a jsp application and have problem with <jsp:include,

How can I pass a Object to another page with
<jsp:include page="/page2.jsp">
                <jsp:param name="messageItem" value="<%=message%>"/>
                </jsp:include>
Here I have a Message class and I want to pass its object message to another page2(this will be included into main page)
How can do That?
Param not works here.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 11 2010
Added on Apr 12 2010
6 comments
307 views