Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within EJB and other Jakarta /Java EE Technologies
Search Coderanch
Advance search
Google search
Register / Login
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
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
EJB and other Jakarta /Java EE Technologies
JSP page with request.getResponse and redirect: how to pass data to a servlet
Enrico Morelli
Ranch Hand
Posts: 55
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Dear,
I've the following
JSP
page that receive data from an external site and redirect the user to another page.
<% long paymentID = Long.parseLong(request.getParameter("paymentid")); String result = request.getParameter("result"); String auth = request.getParameter("auth"); long ref = Long.parseLong(request.getParameter("ref")); long tranid = Long.parseLong(request.getParameter("tranid")); String trackid = request.getParameter("trackid"); String details = request.getParameter("udf1"); String responsecode = request.getParameter("responsecode"); out.println("redirect=" + "http://service2.cerm.unifi.it/EMBOWorkshop/result.jsp"); %>
Before redirect the user I need to store the data in a database using a bean. How can do that?
Thanks
Enrico Morelli
Ranch Hand
Posts: 55
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I solved.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
JSP page set Bean variables but give NullPointerException when Bean try to merge in the DB
How to send data to another site, get response, redirect and get new response
doubt jsp + servlet + postgresql
How can I catch the radio button action in jsp?
weird error log
More...