This discussion is archived
0 Replies Latest reply: May 30, 2008 2:45 AM by 843844 RSS

posting to a URL

843844 Newbie
Currently Being Moderated
I have to send a code to a web page, automatically submit and get the source code from the obtained page...
the first step is done...meaning that i made a class which gets me the source html code from a web page and writes it into a file on my computer...but i don't really know how to send the information.
So..i want to modify my class so that i make the connection for the page in which is the submit button....to isnert somehow the code in that input and to get the source from the page obtained after submiting..
is it enogh to create a class...or do i need a servlet and then call the servlet from my class?