Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2005

Tip: Looking for answers? Try searching our database.

How to post to a jsp web page?

Thread view: 
Ah Koh - 08 Jun 2005 05:58 GMT
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?

Thanks in advance.

Cheers.

Koh
Raymond DeCampo - 08 Jun 2005 19:01 GMT
> Hello world,
>
[quoted text clipped - 4 lines]
> 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

Signature

XML is the programmer's duct tape.

Ah Koh - 10 Jun 2005 07:35 GMT
Thanks Ray,
i think this is what i want.

Cheers.

Koh
> > Hello world,
> >
[quoted text clipped - 12 lines]
>
> Ray
Ah Koh - 13 Jun 2005 04:38 GMT
YES! It is what i'm looking for.

Thank you Ray.

Koh
> > Hello world,
> >
[quoted text clipped - 12 lines]
>
> Ray


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.