pass a variable(friends name) through a hyperlink in to another jsp.
i am developing a site in jsp.
i have some problem,plz tell me the solution.
in the welcome page where friends name is show i write this code:
<% String friend_name1=resultset.getString("first_name"); %>
by this code user friends is shown,and make a link,when i click on a friends name for showing friend profile,
there is a error,by this error profile is not showing,
i found this error,profile is not showing bcoz when i click on a friends name,all friend name is passed in to the next page,but i want to pass a specific friend name which i was clicked,plz tell me how i do this?
Related Tutorials/Questions & Answers:
how to pass class variable to another class
how to pass
class i need to access a variable
from a class to another
class currently running at the same time.
using Classname.variable i got the value. But when i change the value second time i got
onclick pass variable - JSP-Servlet
variable on button onclick event pass variable
and print in textbox in same page... i want to pass
value of variable
at onclick event of button and also want to print it in textbox in same page.... Hi
how to call jsp variable through servlet
how to call jsp variable through
servlet Hi deepak;
i am posting some peace of code.
and i need to call jsp
varable <%=f%> through
servlet so... a hyperlink
to call this downlode page like
you pass a variable by value.
by value. How do you pass
Just like in C++, put an ampersand in front of it, like $a = &$b
you to pass jsp variable
include a function... are going to pass
the jsp variable
see in the given example...
eclips hyperlink - JSP-Servlet
eclips hyperlink In my myeclipse if hyperlink
is provided in any application , it's not working when I deploy it.
I also use net at my PC, is there any problem due to IP Address
Passing value in hyperlink - JSP-Servlet
Passing value in hyperlink How to pass
value in anchor tag or HTML link from one JSP
page to another JSP
page ?and how to retrieve values in another
...;------------------------------------read for more information.http://www.roseindia.net/jsp
how to pass a string from one class to another
in " + name
Class...how to pass
a string from one class to another hi all, Good morning. I am trying to develop a coding pass
a string from one class and declare
use data from database table as hyperlink value - JSP-Servlet
as the hyperlink's
value then pass
to the next page and retrieve the complete details of the row...use data from database table as hyperlink
value I'm creating a web... to hyperlink
. I want to use this data as hyperlink
and use it as the value
Passing Parameters to Another JSP Page
Passing Parameters to Another JSP
By using the include action we can pass
to another jsp