[Geoserver-users] Error: Tomcat don`t support jsp files in data/www/

I installed the war geoserver file. The files jsp in /webapps/geoserver
works. But in /webapps/geoserver/data/www don't work. In catalina.policy, I
add this, but don`t work.

// The permissions granted to Geoserver
grant codebase "file:${catalina.home}/webapps/geoserver/-" {
        permission java.io.FilePermission
"file:${catalina.home}/webapps/geoserver/data/-", "read,write,delete";
        permission java.util.PropertyPermission "*", "read,write";
        permission java.util.logging.LoggingPermission "control";
        permission java.lang.RuntimePermission "getClassLoader";
        permission java.lang.RuntimePermission "preferences";
        permission java.lang.RuntimePermission "shutdownHooks";
        permission java.lang.reflect.ReflectPermission
"suppressAccessChecks";
};

Do I have to add sentences to file web.xlm?

Thank you. Excuse for my english.

Abel
--
View this message in context: http://www.nabble.com/Error%3A-Tomcat-don`t-support-jsp-files-in-data-www--tp22783699p22783699.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

abelq ha scritto:

I installed the war geoserver file. The files jsp in /webapps/geoserver
works. But in /webapps/geoserver/data/www don't work. In catalina.policy, I
add this, but don`t work.

// The permissions granted to Geoserver
grant codebase "file:${catalina.home}/webapps/geoserver/-" {
        permission java.io.FilePermission
"file:${catalina.home}/webapps/geoserver/data/-", "read,write,delete";
        permission java.util.PropertyPermission "*", "read,write";
        permission java.util.logging.LoggingPermission "control";
        permission java.lang.RuntimePermission "getClassLoader";
        permission java.lang.RuntimePermission "preferences";
        permission java.lang.RuntimePermission "shutdownHooks";
        permission java.lang.reflect.ReflectPermission
"suppressAccessChecks";
};

Do I have to add sentences to file web.xlm?

Hmmm... in general the contents of the www directory are setup
for static file publishing, the geoserver/www is associated with
a servlet that can only publish static files.
It's meant to be a place where you can put your pure javascript
frontends (like OL) for quick and easy testing.

If you're playing with custom JSP you'll have to put them
in webapps/geoserver.

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.