> i have this defined in web.xml:
> <servlet-mapping>
[quoted text clipped - 8 lines]
> but when i load http://localhost/admin i get http 404 error. is there
> a simple way to fix this little issue?
Hi,
You can fix it by using a welcome file
<welcome-file-list>
<welcome-file>/admin/index.jsp</welcome-file>
</welcome-file-list>
Hope this help.
Regards,
Alexandre
Aljosa Mohorovic - 28 May 2007 15:50 GMT
> Hi,
> You can fix it by using a welcome file
[quoted text clipped - 4 lines]
>
> Hope this help.
i tried that, it didn't work. from log:
[org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping] -
<Looking up handler for [/admin]>
[org.springframework.web.servlet.PageNotFound] - <No mapping for [/
admin] in DispatcherServlet with name 'admin'>
any other ideas?
> i have this defined in web.xml:
> <servlet-mapping>
[quoted text clipped - 8 lines]
> but when i load http://localhost/admin i get http 404 error. is there
> a simple way to fix this little issue?
and by updating the bean name <bean name="/admin" ?
Aljosa Mohorovic - 29 May 2007 14:58 GMT
> > i have this defined in web.xml:
> > <servlet-mapping>
[quoted text clipped - 10 lines]
>
> and by updating the bean name <bean name="/admin" ?
it doesn't work, welcome-file-list has no effect with bean name "/
admin".
any other ideas?