-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Aquesi,
On 3/27/2009 3:34 PM, [email protected] wrote: > Other point, the Geoserver directory's structure is > > ->geoserver > --->data > ----->coverages > ----->..... > ----->..... > ----->www (In this directory is the hello.jsp that it don`t work) [snip] > I want to program in jsp and = tomcat returns me that the extension > .jsp is not supported for = "http://localhost:8080/geoserver" (Error > HTTP 415). 415 = "Unsupported Media Type" GeoServer captures requests to /www (but not data/www) like this: <servlet-mapping> <servlet-name>dispatcher</servlet-name> <url-pattern>/www/*</url-pattern> </servlet-mapping> ...and the dispatcher is Spring's controller: <!-- spring dispatcher servlet, dispatches incoming requests to controllers --> <servlet> <servlet-name>dispatcher</servlet-name> <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> </servlet> I don't know how Spring does things, but I would have expected it to work with JSPs. It's possible that GeoServer specifically disables direct-access to JSP files (from remote clients) as a security measure. What is the URL you use to try to access your JSP? Can you post the entire error? "Extension not supported" seems like a strange error to receive. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAknNTFsACgkQ9CaO5/Lv0PDYhQCgo4l7+TdJy2nkpNiIaOIHSaMl UFoAn0H47ZiMseY8Gx+xDBDL85dpnKVt =9PIR -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
