PDA

View Full Version : fatty noob: problem mapping directory listing to controller


bigal
Aug 26th, 2005, 03:33 AM
HI,

I am having problems mapping a url that ends in a directory to a controller.

For example,

I have a MultiActionController using an InternalPathMethodNameResolver
that has methods index, view, and list.

I map the the url /user/* to this controller.

everything works great index.html calls index, view.html calls view and
list.html calls list, but when I go to the url /user/ I get the following error:

javax.servlet.ServletException: javax.servlet.jsp.JspException: No WebApplicationContext found: no ContextLoaderListener registered?

Can you map a directory to a controller?

Thanks for the help,

Big Al