Hi all,
I'm hitting my head on the wall with this, I have the following
web.xml file, which works just fine on local, but when I upload it to
appengine only the first <url-pattern> on my <security-constraint> is
used, and the second one is ignored.
Am I missing anything?
Thanks in advance.
################# START OF PASTED FILE #################
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<!-- Servlets -->
<servlet>
<servlet-name>rtpstatServlet</servlet-name>
<servlet-class>org.ugr.rtpstat.server.RtpstatServiceImpl</servlet-
class>
</servlet>
<servlet-mapping>
<servlet-name>rtpstatServlet</servlet-name>
<url-pattern>/rtpstat/service</url-pattern>
</servlet-mapping>
<!--Security Constrain -->
<security-constraint>
<web-resource-collection>
<web-resource-name>Login required</web-resource-name>
<url-pattern>/rtpstat/service</url-pattern>
<url-pattern>Rtpstat.html</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>*</role-name>
</auth-constraint>
</security-constraint>
<!-- Default page to serve -->
<welcome-file-list>
<welcome-file>Rtpstat.html</welcome-file>
</welcome-file-list>
</web-app>
################# END OF PASTED FILE #################
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" 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?hl=en.