?
Solved

Include JSP related  question

Posted on 2006-06-21
4
Medium Priority
?
244 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 28

Accepted Solution

by:
rrz earned 100 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 100 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn how to dynamically set the form action using jQuery.
Suggested Courses

762 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