java - App engine default page to be servlet -
i have app engine application, servlet:
<servlet> <servlet-name>authorization</servlet-name> <servlet-class>x.y.z.authorization</servlet-class> </servlet> <servlet-mapping> <servlet-name>authorization</servlet-name> <url-pattern>/pattern</url-pattern> </servlet-mapping>
everything works. servlet invokes pattern http ://localhost/pattern
now want create autorizationservlet default page. need invoke servlet pattern:
http ://localhost
if write <url-pattern></url-pattern>
have appengineconfigexception:
try :
<url-pattern>/</url-pattern>
Comments
Post a Comment