Anyone help me as soon as possible :
Sir/Mam
I want to pass more than 1 value through Query String
I use the Code but it not working :

<tr>
                              <td><a href="patmedrcd.jsp?id=<%=patid%> & q123=<%=qid%>"> View Patient's Medical Record</a></td>
                              <td></td>
                          </tr>

and i get the value by this code :

String idpat=request.getParameter("id");
        String idq=request.getParameter("q123");
        out.println(idpat);
        out.println(idq);

But It gave only first string value ( id=<%=patid%> )
2nd one is fetched NULL

Please Help Me OUT!!!

Don't place spaces around the &

And don't use scriptlets. Learn how to do it all right. See the JEE 6 tutorials, and read through them completely.

for my knowledge cookies/sessions will be the right choice for this problem

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.