Solved

Include JSP related  question

Posted on 2006-06-21
4
237 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
Comment Utility
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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Preface In the first article: A Better Website Login System (http://www.experts-exchange.com/A_2902.html) I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

772 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

10 Experts available now in Live!

Get 1:1 Help Now