Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ancient Servlet Problem - No-one has ever had an answer to this one!

 
jasonkosowan
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, I've been posting this question on just about every board from here to the ends of the Earth for the past YEAR, trying to find SOMEONE that can help me. The question is very simple:
HOW DO YOU MAKE A SERVLET FORWARD A REQUEST USING POST?
Every servlet technique for forwarding uses GET. This is driving me nutz! If you have an answer to this, let me know and I'll buy you a coffee the next time we meet up!
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jasonkosowan,
JavaRanch has a Naming Policy Please read and follow it. (That'll be my cup of coffee )
A servlet can forward any request(GET or POST) as long as you follow a rule: It can not write any information to the response before doing the forwarding!


------------------
I Hope This Helps
Carl Trusiak, SCJP2
[This message has been edited by Carl Trusiak (edited September 07, 2001).]
[This message has been edited by Carl Trusiak (edited September 07, 2001).]
 
jasonkosowan
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there, Carl
Thanks for your post. I'll test it out and see if it fits the bill.
You also mentioned the naming policy here. Is there something wrong with my username? This is my actual name.
 
Tony Alicea
Desperado
Sheriff
Posts: 3226
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To the user formerly known as "jasonkosowan"
Carl posted a URL where your question is answered before you asked:
http://www.javaranch.com/name.jsp
Please re-register.
Thanks! We are sure you'll enjoy your future visits to this friendly JavaRanch.com!
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the issue with your name is the formatting. The naming policy guide states: "For your user name, use a first name, a space and last name."
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic