Using - href="blank.jsp?blank

Hi, I have in my code the following line:

href="CruiseDetails.jsp?cabin_id=cabinE105&cruise_id=1

I want to send the cruise_id to the CruiseDetails.jsp based on a variable and not have it hard coded like above.

At the top of the page(CabinReservation.jsp) I am taking the cruise_id in:

String cruiseID = request.getParameter("cruise_id");

So I tried something like this but it doesnt work . . .

href="CruiseDetails.jsp?cabin_id=cabinE105&CruiseID

Any ideas? I would appriciate any help . . . thank you!!

[560 byte] By [Solarpitcha] at [2007-10-2 17:30:25]
# 1
href="CruiseDetails.jsp?cabin_id=cabinE105&cruise_id="+cruiseIDWhere cruiseID is the variable which has the value of cruise id.
stanveera at 2007-7-13 18:47:16 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Thanks very much !!!!!!!! :)
Solarpitcha at 2007-7-13 18:47:16 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...