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 invoke a jsp page from a jsp page.

 
chiatai goh
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i have a problem on how to invoke a jsp page from jsp page.

I have this function in index.jsp



Where the codes in bold and italics are getting values from abother jsp (search_date).



There are three tabs in search_date jsp, the above codes are for price tab.

Im going to click on an image link in index.jsp, it will direct me to the price tab instead of two other tabs. How can i achieve this?

Thanks,

tiffany
 
Akilan Paul
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jsp:include

call one jsp page from another. upon completion, the destination page returns control to the calling page.


jsp:forward

calls one jsp page from another. execution of the calling page is terminated by the call.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64629
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where the codes in bold and italics are getting values from abother jsp (search_date).


This makes no sense. How can you obtain something from another JSP that isn't loaded?

What are you really trying to do?
 
Deepan Devadasan
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are you really trying to do



Yes, please give us some more info..
So that we can help you if it is reachable within our knowledge
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic