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

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -