doPost « API « JSP-Servlet Q&A





1. Servlet doPost() Method setup?    stackoverflow.com

I am interested in creating a web app that uses JSP, Servlets and XML. At the moment I have the following: JSP - Form input. Servlet - Retrieving Form data and sending that data ...

2. Calling the doPost in another Webapp with a Req Dispatcher forward    stackoverflow.com

I have 2 web apps, no front-end(i.e html/Jsp) in either. Both have one servlet each.
Lets call them WebApp1/WebApp2 and ServiceServlet1/ServiceServlet2.
I have 2 war files, WebApp1.war and WebApp2.war and both deployed. I call ...

3. To use doPost yet stay in the same page    stackoverflow.com

Hi I am working on a webbased application with JSPs and servlets. I have a page which has a button in it. I have written some javascript to pop-up a small ...

4. Should I override service() or doPost()?    stackoverflow.com

I was reading a book on servlets, in that book a brief explanation is given about the servlet class, as well as the HttpServlet class. There is one example for filling in ...

5. Nullpointer exception in doPost    stackoverflow.com

I have de following Form:

        <form action="/AppStore/publish" method="post" accept-charset="ISO-8859-1">
        <fieldset>
        ...

7. Java Servlet - Why I cant use DoPost?    bytes.com

Hi, I have tried using Override void doPost (HTTPServletRequest request, HttpServletResponse response) to get data from a html form which states form action = post. However, I can get the data ...

8. doPost/ do Get    coderanch.com

9. problen implementing doPost    coderanch.com





11. doPost in servlets    coderanch.com

I am using the hidden fields to pass the information from one page to other. I can use doGet or do post. but if i use doget then the field info is dispalyed on the address bar and user can change it and get the diffent data. So I have to go for doPost. Is to advisable to use doPost for ...

12. loop in servlet(doPost)    coderanch.com

13. servlet & jsp problem/enters doPost twice??    coderanch.com

I'm having a problem with my servlet. when a command is called, it is executed twice. In the first call, it does not exit the servlet but on the second round/execution, it exits the servlet twice(!)? Can someone help and tell me what's wrong? Here's my code: public void doPost(HttpServletRequest req, HttpServletResponse resp) { try { this.req = req; this.resp = ...

14. Invoking doPost() method of a servlet from another servlet    coderanch.com

Originally posted by Sajee Joseph: Hello all, I have a certain question. I need to call the doPost() method of a servlet(Servlet B) from another servlet ( servlet A). I tried doing so using the RequestDispather.forward(). But by doing so the doGet() method is called instead. Please note that the Servlet B is already existing one & i dont have the ...

15. About doPost in servlet    coderanch.com

hi !! i am beginner in JAVA and i wish you can help me. assume that i have a servlet called 'servlet1.java' i need to call it using its doPost method NOT the doGET? can some one tell me how is that as i know that if i use the url i will call the doGET and i read about calling ...

16. unable to send huge data from jsp to servlet using doPost    coderanch.com

There is a limit to how large a query string can be. It used to be 255 chars, but some browsers will now take more. Merely specifying that the method is 'post' isn't going to help if you are still embedding the data in the query string. If you have to build up the name/value pairs with javascript, create hidden input ...





17. doPost() is not called in servlet logic    coderanch.com

21. doPost question    java-forums.org

22. doPost() is not called in servlet logic    java-forums.org

Hello My problem is this. - i have a jsp page with a

..
- i have a servlet: XServlet.java in which i override the doGet() and the doPost() methods. - in my form i have some submit buttons...one for each table - because i have the method declared to be on POST i thought that in my servlet ...