hi all i am very new in java so please spend your few movement for this topic. i want to run a jsp page from within an applet and evantually want to send data to jsp.
please help me with approppiate code that you have used using HttpPost and HttpGet method both. the data is an array of string object or may be a properties object,
On your way in you may have missed that we have a policy on screen names here at JavaRanch. Basically, it must consist of a first name, a space, and a last name, and not be obviously fictitious. Since yours does not conform with it, please take a moment to change it, which you can do right here.
As to your question, assuming that "run a JSP page" means accessing it programmatically, check out the java.net.URL examples at exampledepot.com, particularly #135 and #136. Those show POST and GET in action, respectively. For GET, the URL can contain parameters.
i think i have been using almost the same code for that..but i haven't written any code inside the target jsp(to which i want to cummunicate) so for. is it compulsory to write the code bothside(applet and jsp),in fact i will do it latter.
after working with this i got the follwing exception java.lang.IllegalStateException: Already connected i looked around this but couldn't able to solve.