The results will be from database with read only.

How to forward from the button to next .do action?

I have jsp1 with button. Jsp2 has Action and Form class with a 2.do
defined with tiles to the jsp2 file.

What should I say in my jsp1? Or struts config?

-----Original Message-----
From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
Sent: Saturday, February 05, 2005 8:56 PM
To: Struts Users Mailing List
Subject: Re: No form elements in the jsp- ActionForm


From: "Sab" <[EMAIL PROTECTED]>

>I will have a jsp page which will get some results from database as a  
>list.  But now at present, I have a button which is on this button.
> I would like to know what will the ActionForm subclass will be?
> I wrote jsp, Actionclass which takes the hidden name of event when
> button is passed and in actionclass in execute I have the eventname to
> go to another page(another.do) .

Without Struts, what needs to happen?  I think it's: the user goes to a 
page, clicks a button and then sees a page with database results.  (Are
the 
results read-only or will the user be updating the database?)

It doesn't sound like you need a form for that first page with the
button. 
Try it with a plain old <a href="..."> and see if that works.

-- 
Wendy Smoak 



---------------------------------------------------------------------
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