Sending a Java Object to JSP page
Posted on 2004-04-28
Hello fellow experts,
Hi I want to send a Java String to a jsp page and I want the jsp page to send a vector back to the java program.
half is done...I think...
in my java class
URL url = new URL(strPath);
HttpURLConnection conn = (HttpURLConnection)url.openConnection();
OutputStream os = conn.getOutputStream();
ObjectOutputStream out = new ObjectOutputStream(os);
I just need the code to receive and then to send back an object to the java the java code to receive the vector would be nice too