AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

passing and testing for a query string

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help
View previous topic :: View next topic  
Author Message
Cardinal
Guest





PostPosted: Sat Jan 21, 2006 4:30 pm    Post subject: passing and testing for a query string Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.