Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / January 2006

Tip: Looking for answers? Try searching our database.

passing and testing for a query string

Thread view: 
Cardinal - 21 Jan 2006 16:30 GMT
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?
Paulus de Boska - 31 Jan 2006 15:53 GMT
This lesson may help :

http://javalessons.com/cgi-bin/jsp/jsp-j2ee-servlets.cgi?1cd=jqr&sid=ao789

---
Paul Hamaker, SEMM
http://javalessons.com


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.