Just thought I'd share something I "figured out".  Spent a good 1/2
day hacking my you-know-what off trying to figure it out.

ISSUE: On local dev server, I could easily hit any JSP:
$ curl http://localhost:8080/somedir/test.jsp
IT WORKS!

However, once deployed,
$ curl http://someapp.appspot.com/somedir/test.jsp
<html><head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>404 NOT_FOUND</title>
</head>
<body text=#000000 bgcolor=#ffffff>
<h1>Error: NOT_FOUND</h1>
</body></html>

After trial-and-error, I found that in my web.xml, I had the following
taglib snippet:
        <jsp-config>
                <taglib>
                        <taglib-uri>/spring</taglib-uri>
                        
<taglib-location>/WEB-INF/tld/spring-form.tld</taglib-location>
                </taglib>
        </jsp-config>

Once I removed this, everything worked fine.

No idea WHY it causes issues, but it does!  I didn't need the taglib
definition -- must have picked it up while trolling for Spring config
examples earlier.

Hope this helps someone else!

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to