This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JSP and the fly likes problen implementing doPost Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "problen implementing doPost" Watch "problen implementing doPost" New topic

problen implementing doPost

Vijay Kumar
Ranch Hand

Joined: Jul 24, 2003
Posts: 260
I am using jsp 2.0. if I don't implement <FORM> tag in jsp file it automatically implements doGet method,
can any tell me how can implemet dopost method in jsp without using
<FORM> tag by default its

Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
call your doPost() in your doGet() method inside your servlet.
doGet() is the default behaviour.

Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
browsers will ONLY submit a POST request when you have an html form that gives POST as its submission system and you submit that form.

David O'Meara

Joined: Mar 06, 2001
Posts: 13459

We're light on rules here at the JavaRanch, but one we take particularly seriously is the the one about display names. You can read all about it here.

Basically we require your display name to be two words: your first name, a space, then your last name. Fictitious names are not allowed.

Please edit your profile and select a valid display name, since accounts with invalid display names get deleted, often without warning.

I agree. Here's the link:
subject: problen implementing doPost
It's not a secret anymore!