Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dispaly titles of other JSP's as a link in a JSP page

 
shanthi naidu
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have to get the text in <title>First Page Title To Display</title> of "First.jsp" in "Second.jsp"
some thing like this...

Second.jsp



Text has to get from document.title of first page

How can i pass this title to the Second.jsp

Please suggest me

Thank you
 
Ankit Garg
Sheriff
Posts: 9521
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are reaching second.jsp from first.jsp, then you can do weird stuff to send the title of first.jsp to second.jsp. But AFAIK there is no right way second.jsp can get the title of first.jsp...
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't do that. The appropriate solution is to use message resources.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic