Please excuse the question - turns out I'm using Struts 1.1

Regards,
John

[EMAIL PROTECTED]
Ph (09) 372-5010


|---------+---------------------------->
|         |           [EMAIL PROTECTED]|
|         |           o.nz             |
|         |                            |
|         |           26/07/2004 02:08 |
|         |           PM               |
|         |           Please respond to|
|         |           "Struts Users    |
|         |           Mailing List"    |
|         |                            |
|---------+---------------------------->
  
>--------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                          |
  |       To:       "Struts Users Mailing List" <[EMAIL PROTECTED]>                    
                     |
  |       cc:                                                                          
                          |
  |       Subject:  ActionErrors and ActionMessages                                    
                          |
  
>--------------------------------------------------------------------------------------------------------------|









I'm trying to use the saveErrors method in an Action class using
(request,actionMessages) as parameters, instead of (request,actionErrors)
which has been deprecated.
I keep getting the following error at compilation though:

saveErrors(javax.servlet.http.HttpServletRequest,org.apache.struts.action.ActionErrors)

 in org.apache.struts.action.Action cannot be applied to
(javax.servlet.http.HttpServletRequest,org.apache.struts.action.ActionMessages)



Any idea why the compiler is attempting to match to the wrong signature?


Regards,
John

[EMAIL PROTECTED]
Ph (09) 372-5010


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




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

Reply via email to