Results 1 to 4 of 4
Thread: calling a JSP from a JSP
- 02-01-2011, 02:31 PM #1
Member
- Join Date
- Aug 2010
- Posts
- 10
- Rep Power
- 0
calling a JSP from a JSP
Hi guys,
A jsp displays a transactionID which is a link <a href ....> 123213(Trans ID)</a>
By clicking the transacition ID the a new jsp will be spawned with transaction details.
Requirements:
1. I want the request object to persist when new jsp is called.
2. The new jsp would be displayed in a window. So I would be writing a onClick function to call function and the function will use window.open(...) to open the new jsp in window
Could you pls tell me how to do this.
Thanks in Advance.
- 02-01-2011, 02:38 PM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Did you try with a new target page in href?
- 02-01-2011, 03:34 PM #3
Moderator
- Join Date
- Apr 2009
- Posts
- 10,476
- Rep Power
- 16
Well, for number 1 then you'd either have to stick the request parameters on the page as a hidden form, or in the servlet that forwards to the original JSP extract the parameters into a meaningful object and store that in the current session.
The "opening in a new window" bit is Javascript.
- 02-02-2011, 09:31 AM #4
Member
- Join Date
- Oct 2010
- Posts
- 7
- Rep Power
- 0
Similar Threads
-
Calling swt shells one after another
By Maja in forum SWT / JFaceReplies: 1Last Post: 10-18-2010, 01:36 PM -
Calling the Function again
By Swetz55 in forum New To JavaReplies: 2Last Post: 12-19-2009, 11:10 AM -
Constructor calling
By ravian in forum New To JavaReplies: 2Last Post: 12-22-2007, 06:53 PM -
Calling Methods
By bluegreen7hi in forum New To JavaReplies: 3Last Post: 12-17-2007, 06:22 AM -
Help with Calling a method
By Albert in forum New To JavaReplies: 3Last Post: 07-10-2007, 03:27 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks