|
-
Mar 5th, 2007, 03:49 PM
#1
Thread Starter
New Member
Java doPost HTML sending
I have a servlet doing this:
Code:
<form action="ACTION URL" method="post">
<input type="text" name="id" style="width: 100%"></td>
<input type="password" name="password" style="width: 100%"></td>
<input type="image" src="/submit.gif" class="submitImage">
</form>
Indeed I need to do it inside my Java Application:
i mean i don't really need the servlet, if I can send this data from my application. I have basic knowledge about how a normal HTML response page is built, i would like to know if I have to send line by line all the headers and body, and how to include the 2 parameters i need.
Or, if there is some kind of function that can do that without having to manually insert all that stuff.
Thanks
-
Mar 5th, 2007, 04:31 PM
#2
Thread Starter
New Member
Re: Java doPost HTML sending
Of course i mean I think I need the HTTP headers to send the reply, like if i were selling with Telnet... not sure...
-
Mar 6th, 2007, 04:43 AM
#3
Re: Java doPost HTML sending
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|