File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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.

Don't get me started about those stupid light bulbs.
subject: problen implementing doPost
It's not a secret anymore!