Passing parameters to jsp in STRUTS.............(Different Approach).
843838Feb 2 2006 — edited Feb 3 2006Hii 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