Yep, that's exactly what I'm trying to do.  However, when user clicks on the
html link I want some values to be set via an Action class.  Once they are
set I want to then retrieve them...  I was initially accessing the data
directly in the jsp but that was getting ugly (even though it worked).

I think I lost the flow of data somewhere maybe...  Or maybe I should set
those attributes in the parent window... :-/  Although that's what I tried
to do in the first place and it didn't work...

-----Original Message-----
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: 24 February 2004 18:09
To: Struts Users Mailing List
Subject: RE: ActionForward and onLoad()


> From: Leticia Golubov [mailto:[EMAIL PROTECTED]
> I have a jsp page which I need to retrieve some values at
> onLoad time, i.e.:
> <body onload="javascript:getValues();">
> all getValues() does is submit the form on this page which
> sets a bunch of bean values for me to retrieve further down this
page...

Are you letting people visit the JSP directly?  If you make them go
through the Action first, then you can set up the values in advance, and
they will be there in the session (or request) when you get to the JSP.

But I didn't really understand what you're trying to do.  Is it like a
list of catalog items, and clicking on one of them opens a smaller
window with details?

--
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to