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

calling a jsp with href

 
sammeta Phanikumar
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic