Reply To: Rewrite with Struts2

Splash Forums Rewrite Users Rewrite with Struts2 Reply To: Rewrite with Struts2



Hi Sir,

When I run my project the struts mapped actions are working as usual but when I click on the link whose URL is being rewritten I’m getting the following error msg:

HTTP Status 500 – The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the associated filter. Struts tags are only usable when the request has passed through its servlet filter, which initializes the Struts dispatcher needed for this tag.

Also when I include : <async-supported>true</async-supported> , my eclipse editor displays following error msg :
MSG: cvc-complex-type.2.4.a: Invalid content was found starting with element ‘async-supported’. One of ‘{“”:init-param}’ is expected.

Is it mandatory to include this param in web.xml , does its exclusion causes any error ??

Thanks in advance 🙂

  • This reply was modified 7 years, 12 months ago by  rahulsoni.