Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Passing parameters to jsp in STRUTS.............(Different Approach).

843838Feb 2 2006 — edited Feb 3 2006
Hii javaites.

I am building application in STRUTS.
I m having a jsp page(Car.jsp) where user enter details abt a car. when the user submits this page , all the details of car are populated into a databse table (CAR).When databse is populated a unique Id(CarId) is alloted to the row.

Now wht i want is tht on submiting this page , i want to go to another page(CarSpecification.jsp) ,
BUT WITH UNIQUE CarId.

Bcz in the second page i will be needing this CarId as in the second page(CarSpecification.jsp) , i m asking user to enter specifications of the car , and these details will go to another table called CarSpecification , which will have CarId field.

So can u plz tell me how to pass CarId from Car.jsp to CarSpecification.jsp
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 3 2006
Added on Feb 2 2006
15 comments
379 views