aspose file tools*
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "problen implementing doPost" Watch "problen implementing doPost" New topic
Author

problen implementing doPost

Vijay Kumar
Ranch Hand

Joined: Jul 24, 2003
Posts: 260
hello
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

thanx
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.

cheers.
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.


42
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

"javasavvy",
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.

thanks,
Dave.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problen implementing doPost
 
Similar Threads
implement doPost method
how to use listeners in jsp
jsp:useBean
How to name html:form tag in sturts
jsp POST problem with IE