Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp:forward

 
BHAVESH SHA
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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>

to:

<jsp:forward page="<%=pageFrames%>" />
 
BHAVESH SHA
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks i tried with same but still error arises.
 
Qussay Najjar
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by BHAVESH SHA:

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


What is exactly line 29 ?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64631
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Arivazhagan Arutchelvam
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think it should work with <jsp:forward page="<%=pageFrames%>" />.

If not delete the work folder under your tomcat and then try.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic