Yahooo -- fixed the problem. Compared web.xml in crud and helloworld app.
In helloword app the configuration is <filter> <filter-name>struts2</filter-name> <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class> </filter> If I change it to <filter> <filter-name>struts</filter-name> <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class> </filter> as in crud app every thing works wonderful. At this point i do not know the reason of why it is not working with original configuration. Hopefully somebody can shed some light. On Fri, Jun 19, 2009 at 2:21 PM, jill juneja <jilljun...@gmail.com> wrote: > example.xml is in its place. I have not touched it. > > I agree with you that when index.html is hit - it should execute > "example/HelloWorld.xml" but I dont think it is finding index.html. > > Filter is not intercepting the correct way. > > My crud example worked just now. I am going to look and compare the config > files and let you know. > > What details do you need? I can attach some xml file and the jsp. But it is > exactly same as in war file. > I am using JDeveloper 10.1.3. and pointed it to jre1.5 > > Thanks for all the help Girish. > > On Fri, Jun 19, 2009 at 2:15 PM, Girish Naik <girish.n...@gmail.com>wrote: > >> I am not getting the source of the error, but have few debugging >> questions: >> >> Have you copied the example.xml contents into the struts.xml file? >> And you have removed or deleted the contents of that (example.xml) file. >> >> when you hit '/index' the default action gets called 'index' and when you >> hit 'index.html' then the file gets invoked and tries to redirect to >> 'example/HelloWorld.action' (if you have not changed this) and get an >> error. >> >> Else .. I am unable to proceed with out further details of app. :| >> >> >> >> Regards, >> --------------------------------------------------------- >> Girish Naik >> Mobile:-+91-09740091638 >> girish.n...@gmail.com >> Fran Lebowitz< >> http://www.brainyquote.com/quotes/authors/f/fran_lebowitz.html> >> - "Life is something to do when you can't get to sleep." >> >> On Fri, Jun 19, 2009 at 10:56 PM, jill juneja <jilljun...@gmail.com> >> wrote: >> >> > struts2-blank-2.1.6 >> > >> > >