wood burning stoves 2.0*
The moose likes JSP and the fly likes pass attributes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "pass attributes" Watch "pass attributes" New topic

pass attributes

Leandro Oliveira
Ranch Hand

Joined: Nov 07, 2002
Posts: 298
I have an include:
<jsp:include page='somePage.jsp'/>
but I wanna pass some attributes to this include, and according to these attributes 'somePage.jsp' will respond differently, could someone help me???
Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 614
C if this helps u ,
<jsp:include page="Test1.jsp" >
<jsp aram name="ID" value="007" />
<%="This is test1.jsp"%>
<%= request.getParameter("ID")%>

All desirable things in life are either illegal, banned, expensive or married to someone else !!!
I agree. Here's the link: http://aspose.com/file-tools
subject: pass attributes
Similar Threads
request.getattribute in servlet is null
changes in included jsp does not get displyed.
Response SendRedirect
Problem With response.sendRedirect
Including Servlets to JSP page