• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to invoke a jsp page from a jsp page.

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic