Splash › Forums › Rewrite Users › Beginner needs help with Tapestry 5 and Ocpsoft Rewrite
Tagged: 404, formal wedding dresses, rewrite, Tapestry 5
This topic contains 9 replies, has 3 voices, and was last updated by balteo 6 years, 7 months ago.
I have the following configuration in a Tapestry 5/Ocpsoft rewrite:
public Configuration getConfiguration(final ServletContext context)
However, I still always get the following error message: “the requested resource does not exist: /ume-web/moduleA/ThePage” from Tomcat whereras I can access the page directly from the browser.
Can anyone please help?
Could you be a little more specific in your description of the behavior?
Perhaps attach a sample application that we can use to reproduce your problem?
Did I understand you correctly that Tomcat is complaining that /ume-web/moduleA/ThePage does not exist but you can enter exactly this URL into the browser bar and it works?
@Christian: yes it behaves exactly as you described…
Could you please post the content of your web.xml?
My guess is the Tapestry is using a servlet filter that doesn’t work because it has to be configured to also process forwarded requests. Please have a look at question 2 here:
Sorry, I should have mentioned that although it is the PrettyFaces FAQ, this entry also applies to Rewrite.
<?xml version=”1.0″ encoding=”UTF-8″?>
<display-name>bignibou web application</display-name>
I have added the following to the filter mappings and it now works. Thanks to both of you!
Nice to hear that it’s working for you now.
BTW: I’m not sure if you really have to add the dispatcher settings also to the OpenEntityManagerInViewFilter. This way it may be called twice which MAY cause weird effects.
I removed the dispatcher settings from the oem filter…
You must be logged in to reply to this topic.
Comments are closed.
If you find our tools useful, please consider making a donation to help us stay online and building software!