struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dustin Pearce <>
Subject Re: Struts 2.1.2 REST plug-in
Date Tue, 26 Aug 2008 22:15:08 GMT
Problem us you can parameterize the actionRedirect vs. a straight servletRedirect.

Unless that was fixed.

Sent from my iPhone

On Aug 26, 2008, at 3:10 PM, "Musachy Barroso" <> wrote:

On Tue, Aug 26, 2008 at 5:43 PM, stanlick <> wrote:

I have decided to dive into the beta blue water!  I sort of have things
working, but...

How does the plug-in work when using namespaces?  The
struts2-rest-showcase-2.1.2 uses the default and I am running into weird
problems that I'm not sure how to "fix."

Use @Namespace :

Also, why is this annotation in the OrdersController?
  @Result(name="success", type=ServletActionRedirectResult.class,

Because the default result type is "dispatcher", in this case (after
deleting I guess) a "redirect" is more appropiate.

"Hey you! Would you help me to carry the stone?" Pink Floyd

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message