wood burning stoves 2.0*
The moose likes Servlets and the fly likes Included Page Does Not Recognize Parameter? 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 » Servlets
Bookmark "Included Page Does Not Recognize Parameter?" Watch "Included Page Does Not Recognize Parameter?" New topic
Author

Included Page Does Not Recognize Parameter?

Josh Lam
Greenhorn

Joined: Feb 16, 2000
Posts: 19
Hi,
I am using Resin 1.1.2 on IIS4.
I have the followingjsp page:
<jsp:include page="title.jsp" flush="true">
<param name="title" value="About Our Company"/>
</jsp:include>
And in the title.jsp page, I have the following:
Title: <%= request.getParameter("title") %>
But I got the following result on the browser:
Title: null
Sorry I am a newbie on JSP and got this out of a book.
What am I doing wrong? I do not have another JSP engine to try this.
Would appreciate any help.Thanks.
--Josh
Josh Lam
Greenhorn

Joined: Feb 16, 2000
Posts: 19
I just found the problem:
it should be <jsp aram ...> instead of <param ...>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Included Page Does Not Recognize Parameter?
 
Similar Threads
jsp:include???
Dynamic HTML page titles using jsp
Getting include to work
Oracle JSP Parser Exception
href link not working