Re: NEWBIE: How to pass parameters between JSPs

2004-09-30 Thread HG
<[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Thursday, September 30, 2004 3:37 PM Subject: RE: NEWBIE: How to pass parameters between JSPs Hi Henrik Yes that's it. I tried what you suggest and it works. Many thanks. Wha

RE: NEWBIE: How to pass parameters between JSPs

2004-09-30 Thread Adam Lipscombe
g the ActionForm like you suggest the normal way to handle this situation? (i.e. "passing through" params). TIA - Adam -Original Message- From: HG [mailto:[EMAIL PROTECTED] Sent: 30 September 2004 14:14 To: Struts Users Mailing List Subject: Re: NEWBIE: How to pass paramete

Re: NEWBIE: How to pass parameters between JSPs

2004-09-30 Thread HG
CTED] Sent: 30 September 2004 12:32 To: Struts Users Mailing List Subject: Re: NEWBIE: How to pass parameters between JSPs Hi Andy A session variable can be "expensive". Why not just put it on the request by using "request.setAttribute" in one action and getting it again usin

RE: NEWBIE: How to pass parameters between JSPs

2004-09-30 Thread Adam Lipscombe
r"? A simple type, object, graph of objects? - Original Message - From: "andy wix" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 30, 2004 1:03 PM Subject: NEWBIE: How to pass parameters between JSPs > Hi, > > It's probably

Re: NEWBIE: How to pass parameters between JSPs

2004-09-30 Thread HG
Forget my previous post. Was answering an answer... :-) Might need some sleep.. :-) - Original Message - From: "andy wix" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 30, 2004 1:03 PM Subject: NEWBIE: How to pass parameters between JSPs &

Re: NEWBIE: How to pass parameters between JSPs

2004-09-30 Thread HG
h of objects? - Original Message - From: "andy wix" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 30, 2004 1:03 PM Subject: NEWBIE: How to pass parameters between JSPs > Hi, > > It's probably better to store th

NEWBIE: How to pass parameters between JSPs

2004-09-30 Thread andy wix
Hi, It's probably better to store them in the session rather then passing from page to page. In Login action: HttpSession session = request.getSession(); session.setAttribute("YourParams", params); and get them in the next page: YourClass xxx = (YourClass)session.getAttribu

NEWBIE: How to pass parameters between JSPs

2004-09-30 Thread Adam Lipscombe
Hi, Under some circumstances my app receives a set of request params at the login.jsp page. After the user has authenticated these params need to be passed to the next page to be displayed (home.jsp). home.jsp then displays differently depending on the params passed. Normally there will be no par