File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes two forms in the same page, how to? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "two forms in the same page, how to?" Watch "two forms in the same page, how to?" New topic
Author

two forms in the same page, how to?

majid nakit
Ranch Hand

Joined: Jun 26, 2001
Posts: 164
I am trying to have a jsp page :

Enter user to get information:
User : ........... Go button

when the user press Go button
the same page will show information about that user from the database that has another submit button.

please your help is appreciated.

thanks
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

I'm not sure what the question is.
majid nakit
Ranch Hand

Joined: Jun 26, 2001
Posts: 164
Hi david,

my question was I want the form :
textfield and Find button

and the results be in the same page.

thanks
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

You'll probably need to use Ajax, then, if you're interested in getting the results back without refreshing the entire page.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: two forms in the same page, how to?