Solved

Include JSP related  question

Posted on 2006-06-21
4
238 Views
Last Modified: 2013-11-18
Hello,  I am including a jsp named one.jsp  in another jsp called second.jsp  that's works fine,what i need was

in the one.jsp i am getting values from db like name and i am using it in one.jsp

what i would like to do was can i use the value that i already got in one .jsp(name ) in the second.jsp,if so how?

Thanks
0
Comment
Question by:ssilpa
4 Comments
 
LVL 27

Accepted Solution

by:
rrz earned 25 total points
ID: 16952041
Did you try to use the include directive ?  
<%@ file="one.jsp" %>
0
 
LVL 3

Assisted Solution

by:runa_paathak
runa_paathak earned 25 total points
ID: 16957280
Do a jsp:include to include one.jsp in second.jsp. Once you get the value in one.jsp, you can add it as an attribute into request. You can then take it out of the request object in your second.jsp
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
The viewer will learn how to count occurrences of each item in an array.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

28 Experts available now in Live!

Get 1:1 Help Now