I use Struts struts-1.2.8,when I execute my JSP file,it raise following
error:
javax.servlet.ServletException: Cannot find ActionMappings or
ActionFormBeans collection
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(
PageContextImpl.java:858)
org.apache.jasper.runtime.PageContextIm
I can do those things, but forwarding is not a problem. What I am trying to do is redirect. Even though I give 'redirect="true"' (as shown in original post) struts does a forward. I can tell by the URL shown in the browser, as well as reloading which posts to newUser.do whereas I want it to go
That seems kinda redundant to me ;-) Just use the ForwardAction that
comes with Struts:
I think you can also do something like this,
Not sure about that, though.
L.
Mark Lowe wrote:
For some reason a simple forwarding action needs to go through an action class.
Something like
publi
We are developing an application which has a requirement to present
information to users using different skins depending on certain parameters
(information is the same, just the base template file changes). What we'd
like, is to set a flag which is then used to select the base template file.
I not
Thanks for this you're quite right. That was exactly what I'd done!
chhum
Quoting Niall Pemberton <[EMAIL PROTECTED]>:
> Looks like you have the wrong version of validator-rules.xml
> deployed. You
> don't say what version of struts you're using, but my guess is you're
> using
> Struts 1.2.
For some reason a simple forwarding action needs to go through an action class.
Something like
public class BlankAction extends Action {
public ActionForward execute(..) throws Exception {
return mapping.findForward("success");
}
}
Should work just fine.
Mark
On 2/26/06, Bruce Lin
6 matches
Mail list logo