wood burning stoves 2.0*
The moose likes Other Application Frameworks and the fly likes Stripes redirect/session problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Stripes redirect/session problems" Watch "Stripes redirect/session problems" New topic
Author

Stripes redirect/session problems

Rus Corina
Ranch Hand

Joined: Jul 08, 2011
Posts: 90
Hello, I have recently been requested in school to create a Stripes project. I don't know very much about the framework, and I got stuck at one particular part and I don't know how to continue from here. I have an action bean, called UserOrdersAction, which is used for performing operations in createUserOrder.jsp. What I want to do in createUserOrder.jsp is to add products to an existing order, which was created when redirecting to this page (createUserOrder.jsp). For adding products to an existing order, I have a Resolution method in UserOrdersAction called addProduct, which takes the orderid previously stored in context, and inserts a product in the database, then forwards the resolution back to createUserOrder.jsp. The problem appears when trying to add the first product. The orderid is passed correctly, the product is inserted correctly in the database, but insted of going back to createUserOrder.jsp it gives me the following error:

The requested resource () is not available.

and in netbeans, glassfish tab:

SEVERE: PWC6117: File "C:\Program Files (x86)\glassfish-3.1.2.2\glassfish\domains\domain1\docroot\StoreOnlineWEB-INF\createUserOrder.jsp" not found

Can anyone please help me with this?

Here is the code to my UserOrdersAction class:


 
 
subject: Stripes redirect/session problems