13:45:18,390 ERROR [ActionComponent] Could not execute action: /web/MyAction
No result defined for action com.web.actions.MyAction and result input -
action - file:/C:/
jboss-4.2.3.GA/server/default/tmp/deploy/tmp35854MyWeb-exp.war/WEB-INF/classes/struts.xml:12:69

1. I have a simple Action class MyAction
2. A corresponding MyAction-validation.xml present in same location as
Action class
3. <s:fielderror /> is included in jsp
4. No <result name="input"> is present

My Question is why do we need this input element? Because i want to control
it my way. And if i add this input element, its opening the jsp page at the
start of the application. Can anybody help me how to do validation properly
in struts2 application?

-- 
Best Regards,
Faraz Ali

Reply via email to