i am currently using a jsp named findtrain.jsp" where i used a radio button to select a train from the list..
and then on clicking the bookticket user is forwarded to a bookticket.jsp in a new window...
where i am using request.getParameter(" xyz");
but i am getting a null value ......
i also tried to use the hidden fields but it's not working and the bookticket.jsp is still giving null value
There are two approaches. Either use (like you have already tried) hidden fields. I think there is something wrong with your approach that didn't work because it is a valid way of processing parameters over multiple pages.
The second approach would be setting the parameters you need as a session attribute. If you carry your parameters over more than 2 pages, it can get cumbersome to always set hidden fields and then storing them in a session is the cleanest approach.
JDBCSupport - An easy to use, light-weight JDBC framework -