aspose file tools*
The moose likes JSP and the fly likes calling a jsp with href 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 » Java » JSP
Bookmark "calling a jsp with href" Watch "calling a jsp with href" New topic
Author

calling a jsp with href

sammeta Phanikumar
Ranch Hand

Joined: Oct 25, 2007
Posts: 81
Hi Friends,

I am calling B.jsp from A.jsp using href ...will it get request and resposne objects of A.jsp.

I want share some fields between these two jsp..

Thanks in advance.

phani
[ August 20, 2008: Message edited by: Bear Bibeault ]

SCJP 5, SCWCD 5, SCDJWS 5
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Originally posted by sammeta kumar:
I am calling B.jsp from A.jsp using href ...will it get request and resposne objects of A.jsp.

I want share some fields between these two jsp..



No.it will not get request and resposne objects of A.jsp.if you want share some data between them then pass parameter to href(queryString) or place the data into the session

note: if you want request object in B.jsp,then you need to forward request object to B.jsp

Hope This Helps
sammeta Phanikumar
Ranch Hand

Joined: Oct 25, 2007
Posts: 81
Thank you..
 
jQuery in Action, 2nd edition
 
subject: calling a jsp with href