I have following problem with Struts:

When validation in my ActionForm fails, Struts prints the following messgage:

[DEBUG] 10:36:09 SimpleForm.validate: Validating
[DEBUG] 10:36:09 RequestProcessor.processValidate:  Validation failed, returning to 
'/pages/simple.jsp'

but I am seeing blank page.
(

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>

)

My action definition is:
<!-- simple -->

<action path="/simple"

    type="test.struts.actions.SimpleAction"

   name="simpleForm"

   scope="request"

   input="/pages/simple.jsp">

<forward name="success" path="/pages/simple.jsp"/> 


</action> 



And when there is no validation error my request is correctly dispatched to the same 
page
which is not accesible for validation errror forward. (forward named "success").


What am I doing wrong?

regards


Michal

Reply via email to