Results 1 to 2 of 2
- 08-22-2008, 02:08 PM #1
Member
- Join Date
- Apr 2008
- Posts
- 11
- Rep Power
- 0
How to pass mysql string through a url parameter to a detail page query
Hi,
I am stuck with the problem of how to code the mysql query in the details page of a jsp web project. I want to use the value of the url parameter to display the query on the details jsp page from the master jsp page. If any one can help me fast I will be most grateful, with how to code this. :confused:
- 08-22-2008, 06:28 PM #2
Senior Member
- Join Date
- Jun 2007
- Location
- Bali, Indonesia
- Posts
- 696
- Rep Power
- 6
You can create a query string in the URL. For instance in the Master Page you'll have a link that point into the detail page and you pass the record id from where the information will be read in the detail page. You URL can be something like: detail.jsp?record_id=1
In the detail page you can read the parameter and use it to query data from database.Website: Learn Java by Examples
Similar Threads
-
Java Popup Window & Url Query String Value
By Rivelyn in forum New To JavaReplies: 4Last Post: 01-20-2011, 05:03 AM -
[SOLVED] General string problem in my database query.....?
By prabhurangan in forum New To JavaReplies: 7Last Post: 06-25-2008, 08:55 AM -
How to pass two parameter in struts-config using dynaActionForm
By 82rathi.angara in forum Web FrameworksReplies: 2Last Post: 06-10-2008, 02:43 PM -
unable to update MYSQL with values from jsp page
By koushika in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 03-27-2008, 01:35 AM -
I can't seem to pass the value of a string variable into a string array
By mathias in forum Java AppletsReplies: 1Last Post: 08-03-2007, 10:52 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks