wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Error while urlRewritting using jstl. 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 » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Error while urlRewritting using jstl." Watch "Error while urlRewritting using jstl." New topic

Error while urlRewritting using jstl.

Gowher Naik
Ranch Hand

Joined: Feb 07, 2005
Posts: 643


The tomcat5 throws Exception shown below when i click hyperlink on urlRewriting.jsp

HTTP Status 404 - /App1/%3Cc:url%20value='/urlResult.jsp'%20/%3E

type Status report

message /App1/%3Cc:url%20value='/urlResult.jsp'%20/%3E

description The requested resource (/App1/%3Cc:url%20value='/urlResult.jsp'%20/%3E) is not available.
Apache Tomcat/5.0.28

My webapplication App1 is located at
C:\Tomcat 5.0\webapps\App1

Both urlRewriting.jsp and urlResult.jsp are located inside C:\Tomcat 5.0\webapps\App1 folder

i am using Below shown url to run urlRewriting.jsp

i think i am not able to set path correctly inside <c:url> tag in urlRewriting.jsp file.

Please help me.
Christophe Verré

Joined: Nov 24, 2005
Posts: 14687

Did you use the taglib directive to declare the prefix 'c' ?

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

[My Blog]
All roads lead to JavaRanch
dennis du
Ranch Hand

Joined: Dec 31, 2004
Posts: 59
Satou kurinosuke , you are so good.

I think it should be sure for missing the prefix declaration.

It is some interesting to think of that.

-------------------------------<br />OCP 9i <br />SCJP/SCJD/SCWCD(92%)/SCDJWS<br />XML(IBM Test 141)<br />Who is the next?SCBCD<br />SCBCD/CCNA/CCNP/PMP<br />not sure
I agree. Here's the link: http://aspose.com/file-tools
subject: Error while urlRewritting using jstl.
Similar Threads
Cannot able to Add jstl.jar file
Request Dispatcher problem
Problem in opening PDF or FDF in Firefox?
How to run my own jsp file?
Why encodeURL not including Context name