I made an application in which the user must confirm his input by clicking a confirmation link in an email that was sent by the server. Now, if the user clicks the link a standard servlet should be called on the server side. For instance, if the user clicks the link
http://www.mypage.com/[email protected]&password=12345 then on the server side the following servlet should be called: public class ConfirmationHandler extends HttpServlet { private static final long serialVersionUID = 1L; public void doPost( HttpServletRequest request , HttpServletResponse response ) { /*do some stuff with the parameters here*/ } } Therefore, i registered the ConfimationHandler this way in my gwt.xml module file <servlet path="/ConfirmationHandler" class="mypage.server.ConfirmationHandler"/> Now, if i want to call this servlet manually by typing http://localhost:8888/mypage.Index/ConfirmationHandler i get the error message: ----------------------- HTTP Status 405 - HTTP method GET is not supported by this URL type Status report message HTTP method GET is not supported by this URL description The specified HTTP method is not allowed for the requested resource (HTTP method GET is not supported by this URL). Apache Tomcat/5.0.28 ----------------------- What am i doing wrong here? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
