struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: confused about validation
Date Mon, 02 Apr 2007 02:28:00 GMT
--- mansour77@yahoo.com wrote:
> Now I getting totally different error:
> 
> 
> HTTP Status 500 -
>
------------------------------------------------------------------------
> *type* Exception report
> *message*
> *description* _The server encountered an internal
> error () that 
> prevented it from fulfilling this request._
> *exception*
> 
> No result defined for action billing.Account and
> result input - action -
>
file:/home/mansour/workspace/Invoice/WEB-INF/classes/struts.xml:12:64

<action name="createAccount"  class="billing.Account">
  <result name="SUCCESS">
    /pages/accountView.jsp
  </result>
  <result name="ERROR">
    /pages/exception.jsp
  </result>
</action>
       
Well, you *don't* have a result for "input", which is
exactly what the error message says.

Also, the built-in result names are lowercase,
"success" and "error" etc. just like in the tutorials.

http://struts.apache.org/2.0.6/docs/tutorials.html
http://struts.apache.org/2.0.6/docs/bootstrap.html

d.



 
____________________________________________________________________________________
Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message