File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Passing Parameters to Child window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Passing Parameters to Child window" Watch "Passing Parameters to Child window" New topic

Passing Parameters to Child window

Parameswaran Thangavel
Ranch Hand

Joined: Mar 01, 2005
Posts: 485
hi all,
i need to pass certain parameters through link & lt;a href & gt;. The problem is the value is stored as session attributes, So i want to how one can use the Expression language to pass the parameters to the child window...

Any idea
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
I'm confused here. The code you've provided does exactly what you say you don't know how to do. As long as there is a "result" object in the session with a "name" property, the code you have provided should work as long as you're using a container that supports JSP version 2.0. If you're using an earlier version, you have to put a <cut> tag around the EL expression.

Is there something you still don't understand about this? It looks like you're doing fine to me.
[ July 04, 2006: Message edited by: Merrill Higginson ]

Consultant, Sima Solutions
Parameswaran Thangavel
Ranch Hand

Joined: Mar 01, 2005
Posts: 485
By putting c ut it works fine.....
I agree. Here's the link:
subject: Passing Parameters to Child window
Similar Threads
Addressbar hiding
how to open a child window in struts2
Get and pass parameter between multi jsp
value from parent form to child form