Dear all, I had met a strange problem: If I modified the struts.xml file and I dont want to use .do extension for actions. I set it as "/* ". For example, the previous link is http://localhost:8080/test.do. Now after modification it becomes: http://localhost:8080/test. But when I restart the server and run it, the error appears in the jsp file which I include a css file, the link is like "../css/main.css". The console said: 15545 [http-8080-2] ERROR org.apache.struts2.dispatcher.Dispatcher - Could not find action or result There is no Action mapped for namespace / and action name main.css. - [unknown location] I am sure that the link for this css file is correct.(If I still configured the action extension to .do, all things run correctly...) Could any people tell me how to solve this? Thank you very much!
-- Best Regards, Licco