Re: How to post to a jsp web page?



Ah Koh wrote:
Hello world,

i'm writing a java application to post some parameters to a jsp web page and
process the return html content.
I'd tried the tutorial on Writing to URL @ Sun's java home but fail.
To do write to an URL, can use the same reatment for cgi on jsp?
Do i have to encode the parameter if the encode scheme is null?
Any advice?


Koh,

Look into using HttpClient from apache.

http://jakarta.apache.org/commons/httpclient/

Ray

--
XML is the programmer's duct tape.
.



Relevant Pages

  • How to post to a jsp web page?
    ... i'm writing a java application to post some parameters to a jsp web page and ... I'd tried the tutorial on Writing to URL @ Sun's java home but fail. ... Do i have to encode the parameter if the encode scheme is null? ...
    (comp.lang.java)
  • Re: How to post to a jsp web page?
    ... > Ah Koh wrote: ... >> i'm writing a java application to post some parameters to a jsp web page ... >> I'd tried the tutorial on Writing to URL @ Sun's java home but fail. ...
    (comp.lang.java)
  • RE: Dealing with marketing types...
    ... get it in writing... ... is the tendency to dump the guythat brought them to the party. ... little pay on the promise that you will be rewarded when/if success comes. ... > having a Java product would make them more attractive. ...
    (comp.lang.python)
  • Re: Is it always possible to write a COBOL program using only 1 sentence per paragraph?
    ... > without writing a line of code. ... > A few months ago I had an introductory class on Java programming. ... Yeah, VB is what many people call a RAD language, for Rapid Application ... Java is very much NOT a RAD language; ...
    (comp.lang.cobol)
  • Re: .Net is more memory safe?
    ... I don't underestimate anybody's intelligence - except somebody who thinks he ... Are you telling me that the people writing to Java or .NET are "more ... What I'm saying is that there are a lot of mediocre programmers ...
    (borland.public.delphi.non-technical)