File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Dispaly titles of other JSP's as a link in a JSP page
Joined: Nov 13, 2008
Mar 23, 2010 00:01:35
I have to get the text in <title>First Page Title To Display</title> of "First.jsp" in "Second.jsp"
some thing like this...
<html> <head> <title>Second Page</title> </head> <body><a href="First.jsp">First Page Title to Display</a> </body> </html>
Text has to get from
of first page
How can i pass this title to the Second.jsp
Please suggest me
Joined: Aug 03, 2008
Mar 23, 2010 01:03:08
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...
Joined: Sep 29, 2008
Mar 23, 2010 06:40:46
You can't do that. The appropriate solution is to use message resources.
I agree. Here's the link:
subject: Dispaly titles of other JSP's as a link in a JSP page
reagarding jsp problem
Validation error: Failed to convert property value of type [java.lang.String] to required type [int]
getting the URL for the calling jsp page?
Trying to display checkbox checked values in new jsp page
java Script Program
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014