Passing values via myFile.jsp?logout=true
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Friday, February 7, 2003 04:04 AM


Hi am interested in using a hyperlink as shown in my address bar, so if selected will logout. How do i write code to use the hyperlink in this way? Is there any tutorials on the web about passing data via a link?


Thanks Steve

Re: Passing values via myFile.jsp?logout=true

Posted By:   vinay_salehithal  
Posted On:   Friday, February 7, 2003 09:55 AM

This method of passing data is called using "query string". In yr html form, if u set the form method as GET, the data in yr form will be passed as a query string. Additionally if u want to add some custom data, u can add it to the

?key1=value1&key2=value2&key3=value3

Re: Passing values via myFile.jsp?logout=true

Posted By:   Adrian_K  
Posted On:   Friday, February 7, 2003 05:09 AM

In yout JSP yuu have to use request.getParameter() in order to get your passed logout value...the same if you pass this value using forms (input fields).
About | Sitemap | Contact