 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Cardinal Guest
|
Posted: Sat Jan 21, 2006 4:30 pm Post subject: passing and testing for a query string |
|
|
I'm new to JSP 2.0 and have been struggling with just trying to pass a
query string. I have looked in three JSP books (although only one of
them is written for JSP 2.0) and I have searched on the internet to no
avail. I have a link like this:
<a href="bookDB3.jsp?id=${row.id}&action=delete">Delete</a>
I want it to pass the id back to the same page. When I rest the pointer
over the link it seems to be doing its job as I see the actual id
number, etc.
Then I want to test for the id url variable and I'm using code like
this:
<c:if test="${param.id}">
hey
</c:if>
Can someone tell me how I test for this url variable? Thank you very
much.
Also,
has anyone ever seen a basic add/edit/delete tutorial for JSP 2.0?
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|