HTTP Status 404 - /wstore/orderServlet
Description
Environment
Attachments
discovered while testing
Activity
Anna FadeevaSeptember 29, 2013 at 5:14 PM
Carlos, Hello!
This error is still available.
Dirk NiemeyerSeptember 29, 2012 at 10:56 PM
Some more details:
The log shows
17:11:27.239 LoginServlet.doPost: doPost - Forward to /orderServlet [53]
when it gets stuck.
In the code
LoginServlet.doPost sets url="/orderServlet" and calls
RequestDispatcher dispatcher = getServletContext().getRequestDispatcher(url);
dispatcher.forward(request, response);
When you add a product then the basketServlet is called from a form in index.jsp. That works without problem and forwards to /basket.jsp:
17:36:08.391 BasketServlet.doGet: Forward to /basket.jsp [35]
When you click on Login then the html code
<input type="button" onclick="window.top.location.replace('./loginServlet');" name="Login" value="Login">
is used without problem and finally puts you into login.jsp.
It shows:
18:00:34.962 LoginServlet.doGet: Forward to /login.jsp [56]
In that case LoginServlet.doGet is setting url to "/login.jsp" and also using
RequestDispatcher dispatcher = getServletContext().getRequestDispatcher (url);
dispatcher.forward (request, response);
So it seems the page flow
from jsp to servlet is working and
from servlet to jsp is working but
from servlet to servlet is not working.
Could it be a problem related to the equinox servletbridge?
Regards,
Dirk Niemeyer
Steps to reproduce on demo.idempiere.com
Log in at https://demo.idempiere.com:8443/wstore/loginServlet
Email: admin @ gardenworld.com
Pass: GardenAdmin
Push the Add button in front of Azalea Bush
Push the Create Secure Order button
Push the Submit Info button
The error appears:
NOTE: If after that you enter the URL
https://demo.idempiere.com:8443/wstore/orderServlet
The servlet is recognized and the order is created properly
Regards,
Carlos Ruiz