t: Tuesday, May 09, 2006 6:33 AM
To: JSP-INTEREST@JAVA.SUN.COM
Subject: Help Needed: Http Get in java
I have a requirment to read a csv file which is passed from a property
file , and pass the string to a JSP page.
I am stuck as to how to pass the string from to JSP page from a standalone
co
AM
To: JSP-INTEREST@JAVA.SUN.COM
Subject: Help Needed: Http Get in java
I have a requirment to read a csv file which is passed from a property
file , and pass the string to a JSP page.
I am stuck as to how to pass the string from to JSP page from a standalone
code.
The way I coded is here:
Stand
I have a requirment to read a csv file which is passed from a property
file , and pass the string to a JSP page.
I am stuck as to how to pass the string from to JSP page from a standalone
code.
The way I coded is here:
Standalone code:
public class URLConnectionReader {
public static void main(
> Dear sir,
> Thanks for the immediate response.From your response, how to
> pass the a particular string to a JSP page, I am not clear on this.I
> have read a csv file ,got the string now I am stuck with how
> to pass it
> as a parameter to a JSP page.Please help me in this.
Basically y
> hi ,
> I have to know how do we get a HTTP Get in a
> standalone code.The
> requirement is like get a string from csv file and pass the
> particular
That "string" is a parameter for the JSP ? For parameter I mean
something like:
http://host:port/whatever/page.jsp?=
> string to a JS
Kiran,
Look at the java.net.HttpURLConnection class.
-Richard
[Kiran Kumar Vedula] wrote:
hi ,
I have to know how do we get a HTTP Get in a standalone code.The
requirement is like get a string from csv file and pass the particular
string to a JSP page using HTTP GET from a property fil
hi ,
I have to know how do we get a HTTP Get in a standalone code.The
requirement is like get a string from csv file and pass the particular
string to a JSP page using HTTP GET from a property file.Please let me
know how to do this, any code would be helpful to me
regards
kiran