Solved

Include JSP related  question

Posted on 2006-06-21
4
243 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 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

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

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

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
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 the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

729 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