In your action:

<snippet>
    -process your href value and generate report object
    -stick the Report object to request object
    -forward the action to an JSP page which will read
     out the Report object and display
</snippet>

I dont think your sceniao need a form

-Dan
----- Original Message -----
From: "ss s ss" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 01, 2003 11:48 PM
Subject: form problem


> Hello,
>        Happy new year to u all.
> I needed some help. My problem we are using struts and the form is
> being called for generating some report .
> Now this strut is being called from a HREF tag and there is no way
> I can intialise my form to generte the correct report.
> I have tried this
> <% MyForm form = (MyForm)pageContext.getAttribute("form_name,
> PageContext.SOME_SCOPE);
> form.setSomething(something); %>
>
> But this too gives me problems that it genrates the page on the
> next request
> That is the first time i go to the page the form is not
> initialized .Now when i go back using the browser back button and
> click on the href again the report is there :(
>
> Can some one help where I am missing some improtant property of
> struts.
>
> Thanx for ur help in advance.
>
> cheers
> ss
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>

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

Reply via email to