This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

JavaRanch » Java Forums » Frameworks » Struts
Bookmark "display result in the same jsp page" Watch "display result in the same jsp page" New topic

display result in the same jsp page

Abebe Belew

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?
Have you checked out Aspose?
subject: display result in the same jsp page
It's not a secret anymore!