This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Passing Parameters to Child window
jQuery in Action, 3rd edition