Hi,

But it is a component (or portlet) in my main.jsp page. The poll may appear
in any jsp page, so I cannot specify a fixed page to forward inside
struts-config.xml.

Thanks for your answer!

Best Regards,
Guang Sheng


On 12/7/06, Niall Pemberton <[EMAIL PROTECTED]> wrote:

On 12/5/06, Deep Blue <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm using tiles component in my .jsp page (eg. main.jsp). It is a poll
> component, which user can submit the vote.
> Commons validator framework is used to validate the poll submission.
> When the validation failed on the tiles component, the tiles component's
jsp
> (e.g. poll.jsp) is showed, instead of the original jsp page (main.jsp).
>
> Is there anyway I can return to main.jsp when the validation failed?

Validation forwards to what you specify in the "input" attribute of
the action mapping in your struts-config.xml

Niall

> Thanks!
>
> Best Regards,
> Deep Blue

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to