wood burning stoves 2.0*
The moose likes JSP and the fly likes Dispaly titles of other JSP's as a link in a JSP page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Dispaly titles of other JSP Watch "Dispaly titles of other JSP New topic
Author

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

shanthi naidu
Ranch Hand

Joined: Nov 13, 2008
Posts: 39
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

Joined: Aug 03, 2008
Posts: 9291
    
  17

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

Joined: Sep 29, 2008
Posts: 12617

You can't do that. The appropriate solution is to use message resources.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dispaly titles of other JSP's as a link in a JSP page
 
Similar Threads
getting the URL for the calling jsp page?
Trying to display checkbox checked values in new jsp page
Validation error: Failed to convert property value of type [java.lang.String] to required type [int]
java Script Program
reagarding jsp problem