on 11-13-2008 9:59 AM
Hi Experts,
i have created j2ee(web module project) in nwds.
in that i have html page with 2 input fields,on submit it should call servlet (java servlet file).
Note: i have done servlet mapping in web.xml file
<servlet-mapping>
<servlet-name>AddServlet</servlet-name>
<url-pattern>/AddServlet</url-pattern>
</servlet-mapping>
i have tried with both servlet name and url pattern(when calling from submit action)
Submit action code:
<form action="/Addservlet" method=POST>
and i am getting error after submitting
404 Not Found
SAP J2EE Engine/7.00
The requested resource does not exist.
Details: Go to main page of this application!
can anybody tell me how to find out the url of the servlet?
and any document which gives the step by step procedure to dev the jsp/servlet project in nwds
Regards,
Vani R G
Hi,
The solution is in the "Defining a URL pattern" section of this link:
[http://help.sap.com/saphelp_nw04/helpdata/en/13/e7bf3eb8b73614e10000000a114084/frameset.htm]
It seems that URL Pattern should be <url-pattern> / </url-pattern>
and
servlet name is <servlet-name> QuickReservationServlet </servlet-name>
Hope that this will help you in your project.
Thanks.
p256960
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.