Sorry for the short answer, but this gets asked a lot.

http://code.google.com/appengine/docs/java/gettingstarted/staticfiles.html
http://code.google.com/appengine/docs/java/config/appconfig.html#Including_and_Excluding_Files

On Mon, Jun 20, 2011 at 5:44 AM, Amit Pandey <[email protected]> wrote:

>
> Hi All,
>
> I'm developing an application on GAE/Java. I'm using css, js and images
> file in my application and I've declared static 
> file<http://code.google.com/appengine/docs/java/config/appconfig.html#Including_and_Excluding_Files>in
>  appengine-web.xml file. I've created a Authentication Filter that map to
> each (*) resource in the server.
>
> <
>
> filter-mapping>
>
> <filter-name>Authentication Filter</filter-name>
>
> <url-pattern>*</url-pattern>
>
> </filter-mapping>
>
> So whenever I send a request to any resource (servlet/jsp), Authentication
> Filter code runs first and then request goes to particular resource.
>
> But whenever I send request directly to the static file e.g.
> http://mydomain.com/img/info.png , It directly serves the static file
> without running the Authentication Filter code.
>
> I want to apply this filter to all file (static + non static). Is there any
> way to do this?
>
> Thanks for help.
>
> -Amit
>
> --
> 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.
>

-- 
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