struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory F. March" <ma...@gfm.net>
Subject Re: More validation woes
Date Thu, 24 Jul 2003 00:05:57 GMT

On Jul 23, 2003, Yansheng Lin <yansheng.lin@isogis.com> wrote:

 |It's a common error. Somehow you are not forwarding back to the jsp page that
 |generated the error.
 |
 |Put a System.out statement in front of mapping.getInputForward().  I bet it's
 |different from mapping.getInput();

Well, actually, I had mapping.getInput, but I got an "imcompatible type"
compile error.  return want's ActionForward while mapping.getInput()
returns String.

The O'Reilly book shows this done with mapping.getInput() too...

According to the javadoc, it looks like getInputForward is the
appropriate call.

Any ideas?

Thanks!

/greg

--
Gregory F. March    -=-    http://www.gfm.net:81/~march    -=-    AIM:GfmNet

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


Mime
View raw message