JSP to ActionForm to Action Class
hi all,
I am new to app dev
I want to use a jsp page and when a user clicks on one of the links in this page I have to go to a particular actionform and then to actionclass and retrive data from DB. If this jsp page already is tied to another actionform can I use a new ActionForm with it?
Any help is appreciated
Thankew!
Message was edited by:
smithsagi
[399 byte] By [
smithsagia] at [2007-10-2 22:04:49]

I am presuming you are talking struts?
All of this stuff is defined in the struts-config.xml.
When you submit a form, you invoke a specific action (specified by the form url). That action has a specific form tied to it (from the struts-config)
The actionForm is tied to the Action - not to the JSP page.
Thank you very much.
Yes, I am speaking about Struts. Got it ActionForm is tied to ActionClass :)
I don't have any input fields in my JSP page. There is a link by clicking which I need to go to the particular ActionClass and retrieve data from DB and then display it on another JSP page.
Please advise as to how I go about doing this.
Thanks,