This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Stripes redirect/session problems

Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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-\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:

He's dead Jim. Grab his tricorder. I'll get his wallet and this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!