Re: Struts2 - CSS problem - Hello World

2009-06-19 Thread jill juneja
Yahooo -- fixed the problem. Compared web.xml in crud and helloworld app. In helloword app the configuration is struts2 org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter If I change it to struts org.apache.struts2.dispatcher.FilterDispatcher

Re: Struts2 - CSS problem - Hello World

2009-06-19 Thread jill juneja
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

Re: Struts2 - CSS problem - Hello World

2009-06-19 Thread jill juneja
Crud application worked with CSS. I am gonig to look into the differences and see what is the missing thing in the two apps and keep you all posted. Thanks for all the help Girish. On Fri, Jun 19, 2009 at 1:26 PM, jill juneja wrote: > yes. > > I am using struts2-blank-2.1.6 > I just added few

Re: Struts2 - CSS problem - Hello World

2009-06-19 Thread Girish Naik
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 'i

Re: Struts2 - CSS problem - Hello World

2009-06-19 Thread jill juneja
yes. I am using struts2-blank-2.1.6 I just added few css. Struts2-blank has welcome page, login page (uses validation), hello world page. all the links work. I think my problem is with FilterDispatcher not recognizing static files. Currently .jsp and and file with no extensiin like struts2/Welc

Re: Struts2 - CSS problem - Hello World

2009-06-19 Thread Girish Naik
Is CSS applied to pages where there no parameters in the URL of the app? Regards, - Girish Naik Mobile:-+91-09740091638 girish.n...@gmail.com Rodney Dangerfield - "What a d

Re: Struts2 - CSS problem - Hello World

2009-06-19 Thread jill juneja
app is working fine. Even if css s:url is there. Css just does not get applied to the pages. I am only seeing the error thru firefox web development tool by viewing css. I know it is weird. I have tried every combination. I tried doing relative path too. Same error. It looks to be it has somethi

Re: Struts2 - CSS problem - Hello World

2009-06-19 Thread Girish Naik
Is this error comming on app start? Are u sure that this error is due to css? Is your app working when there is no css? If Yes then can u use relative path for calling css instead of s:url Regards, - Girish Naik Mobile:-+91-09740091638 giri