aspose file tools*
The moose likes Struts and the fly likes display result in the same jsp page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "display result in the same jsp page" Watch "display result in the same jsp page" New topic
Author

display result in the same jsp page

Abebe Belew
Greenhorn

Joined: Jul 21, 2004
Posts: 19
in struts application I have a jsp page where I have dropdown list. a query against a db is done according to the selection. My question is I want to display the result of the query in the same page where the dropdwon list is and i want the selected value (from the list) to apper in the dropdown box when the result page is displayed. how do I do this? thanks
John Smith
Ranch Hand

Joined: Sep 02, 2004
Posts: 61
I'm not quite sure what you're trying to say here but if you have your list box and drop-down box with seperate properties assigned to them in your form-bean can't you just reload that jsp after you've done your query and set the values into the drop-down box property?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: display result in the same jsp page