<[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
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
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
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
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
&
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
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
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
8 matches
Mail list logo