aspose 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
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: 161
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: 161
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?
 
Similar Threads
A href command not working
My First Struts App
populate the form field with the submitted input
I want two buttons on a page, one for "search refine", one for "submit", how to do ?
submit form problem