Hi :)

I want that one of my fields in database should be redirected to some URL. For Example:

Sample Table:

1111 2222 3333 4444 5555
6666 7777 8888 9999 1100

Suppose I want my 3 field to be redirected to a URL when a user clicks on the output table view:

I want the the selected value should be sent to the URL. Like below:-

http://sampleurl%4444

Is there a way to do that ? Would appreciate some guidance.

Thanks
;)

I didn't understand much from your question, but if you have read the data from the database, and you want to have a link, and put some data to the url of that link then:

<%
String someValue="";
%>

<a href="page.jsp?paramName1=<%=someValue%>&paramName2=....&paramName3=...." >Display Text</a>

And at page.jsp:

String param1 = request.getParameter("paramName1");
String param2 = request.getParameter("paramName2");
String param3 = request.getParameter("paramName3");
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.