Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to make a request from jsp or action class to the new jsp to open in new browser

 
Kavitha Penchikala
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
In my application I am using struts. I have a page where i am submiting request. In JSP or action class after successful transaction i need to print receipt in a new browser window. At the same time my old window need to be populated with fresh screen giving a message to the user about successful submission. One method is checking status and dynamicalling controlling the opening of window in original browser page load using javascript. Since i am using struts and tiles i need to refresh formbean every time fresh page is loaded. this way i cann't retain data for printing receipt and i have other constraints to not to use java script for this.
I need some way in jsp or action class after successful submit to make a new request to the new jsp which opens in new browser window.
This is very important please reply to this.
Thanks
Kavitha
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic