Did the server start without errors? Is your web.xml file set up for the srtuts2 filter to handle .action prefixes. At first glance what you've posted looks correct, so I think the problem must be in other files.
I wrote: Firstly Yes,The server started successfully without any errors.
Secondly Yes, The web.xml file is configured to have an entry for FilterDispatcher.class file.It is also handling .action prefixes.
Can you tell me in which other files should the error be,Because the console output shows no Errors.
Tom Rispoli:
Ok, if you're confident that your web.xml file is set up correctly, how about your application.xml file. Does it have your context root specified correctly?
<context-root>StrutsHelloWorld</context-root>
I think is what you will want.
My interpretation: There are only 2 .xml files available.one is struts.xml file and web.xml file.
Which is the application.xml file ?? Is this an additional file to be configured ,why do you need an entry of
<context- root>StrutsHelloWorld</context-root> in this file.
Please explain ??
Mourougan
Open Source leads to Open Mind
Consider Paul's rocket mass heater. |