wood burning stoves
The moose likes JSP and the fly likes jsp:forward Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp:forward" Watch "jsp:forward" New topic



Joined: Jun 07, 2007
Posts: 15
Dear Sir,
i am using Tomcat5.0 where my all the project are working fine with
jsp:forward. To day integrated new project with same code it show me error

org.apache.jasper.JasperException : /index.jsp(29,0) Expecting "jsp:param" standard action with "name" and "value" attributes
here the code

Kindly advice for above error
Thanks and Regards
Bhavesh Shah

[BPSouther: Added code tags]
[ February 18, 2008: Message edited by: Ben Souther ]
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

I'm guessing that, because your jsp:forward tag has a body, the JSP compiler is expecting parameter tags.

Try changing:
<jsp:forward page="<%=pageFrames%>">


<jsp:forward page="<%=pageFrames%>" />

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf

Joined: Jun 07, 2007
Posts: 15
Thanks i tried with same but still error arises.
Qussay Najjar
Ranch Hand

Joined: Jan 18, 2008
Posts: 53
Originally posted by BHAVESH SHA:

org.apache.jasper.JasperException : /index.jsp(29,0)

What is exactly line 29 ?

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63844

BHAVESH SHA, please do us all a favor and modify your display name to mixed or lowercase. The all uppercase is rather jarring and hard to read.

[Asking smart questions] [About Bear] [Books by Bear]
Arivazhagan Arutchelvam

Joined: Feb 19, 2008
Posts: 10
I think it should work with <jsp:forward page="<%=pageFrames%>" />.

If not delete the work folder under your tomcat and then try.
I agree. Here's the link: http://aspose.com/file-tools
subject: jsp:forward
It's not a secret anymore!