• Post Reply Bookmark Topic Watch Topic
  • New Topic

Not parsed expression

 
Miro Ricco
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

In the next code, the expression request.getQueryString() is not evaluated and is taken as part of request, thus the request is:
../Load.jsp?<%=%20request.getQueryString()%20%>



Can you help me, what am i doing wrong ?

myTag is based on javax.servlet.jsp.tagext.BodyTagSupport.
I use JDK 1.3.1 and Tomcat 4.1. I've used Tomcat 3.2.2 before and it was working then.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65522
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You do not need to (and cannot) add the query string to the forward operation.

Since the forward operation merely shuffles the request along to another resource, the query string on the request remains intact and can be accessed by the forwarded resource.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!