Thursday, February 19, 2009

404 org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) error

I was seeing the weirdest error when I tested some of my jsp code on my server after doing some updates locally and then deploying the same files to the server that worked locally. At first I thought it had something to do with the hosting server being tomcat and my local server being IBM WAS. Turns out WAS let me run a servlet that returned to:

myJsp.jsp

when the real name of the file was: myjsp.jsp (no capital J).

So when I went to test the "working" code on my hosted tomcat server I got a 404 error:
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

All it was was a capitalization error. But it was a hard one to debug since I had no idea what it was referring to.

No comments: