Hi ,

I have the following action
http://localhost:8080/jestate-jsp/client-property-view-for-rent-action.do?id=1

On this page I have a form for adding a house to the shopping basket.

The shopping basket is displayed all the time on the left side of the site.

When someone calls this action ( client-add-to-basket.do ) I wanted the house
to be added to the basket and then have them bounce back to the original page.


I did try this approach ....

if (mapping.getInput() != null) {
// return new ActionForward(mapping.getInput());
return mapping.getInputForward();
} else //we're fucked ! {
System.out.println("we're fscked !!!!");
return null;
}


..... but it didn't seem to work, I believe I would have to specify the input in the struts config
file and I intend for this page to be called from any page in the application.


Anyone got any suggestions ?

--b


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



Reply via email to