What does action="/Resources" mean to JSP/Servlet?
What does action ="/Resources" mean in <form ... action="/Resources"> for JSP/Servlet?
In a JSP/Servlet side it could mean anything since any URL can be aliased to a givn resource, it could be translated by the server as resource.html, resource.jsp, another.jsp, and Servlet/ResourceServlet or even an image although these do not make that much sense.
Remember that the web.xml file allows you to define custom translations between a URL and what resource ultimately gets returned.
Most Recent servlet Faqs
- What is the getInputStream() of ServletRequest for?
- How to get the client information in a Servlet?
- Can I control Session timeout?
- What is the difference between RequestDispatcher's forward method and HttpServletResponse's sendRedirect method?
- When do I use HttpSessionListener?
- What is the difference between the request attribute and request parameter?
- What is the defferent between getNamedDispatcher() and getRequestDispatcher()?
Most Viewed servlet Faqs
- What is the difference between the request attribute and request parameter?
- When do I use HttpSessionListener?
- How to use ServletContext.getResourceAsStream(java.lang.String path)?
- What is the difference between RequestDispatcher's forward method and HttpServletResponse's sendRedirect method?
- Can I control Session timeout?
- How to get the client information in a Servlet?
- What is the defferent between getNamedDispatcher() and getRequestDispatcher()?