My project using tiles to generate html page. Here is the struts-tiles.xml
Here is the index.jsp
The default_body.jsp contains a form and validated by struts-validator. If there is any error in the submited parameters, it will redirect to default_body.jsp, but I want it redirect to index.jsp. Is it possible? Thx a lot
posted 12 years ago
Hmmm. Not sure that you can do this. Out of curiosity, why would you want to do this? Is this a widespread way that you want to do stuff with the validator in your app? You could use the validation methods in your action servlet and specify a forward in your struts config for an error on this validation.