R
raavi
Hi all,
i am doing a web application.in that, i need to call a sevlet from
a java class.on searching i got the following code.
URL url=new URL("http://localhost:8080/Scroll_Sample/index.jsp");
URLConnection conn=url.openConnection();
conn.setDoInput(false);
conn.setDoOutput(false);
i am working on netbeans 5.0 IDE.the above code doesn't work.can
anyone give me any suggestions? is it possible to connect to a servlet
from a javaclass?
Thanks in Advance
i am doing a web application.in that, i need to call a sevlet from
a java class.on searching i got the following code.
URL url=new URL("http://localhost:8080/Scroll_Sample/index.jsp");
URLConnection conn=url.openConnection();
conn.setDoInput(false);
conn.setDoOutput(false);
i am working on netbeans 5.0 IDE.the above code doesn't work.can
anyone give me any suggestions? is it possible to connect to a servlet
from a javaclass?
Thanks in Advance