on 06-16-2010 1:23 PM
Hello,
just a simple question, but I can't find the answer... I want to write a servlet for Netweaver 7.1 CE. So I created my WebApp DC, created a new servlet "MyServlet" and configured as following the web.xml
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
id="WebApp_ID" version="2.5">
<display-name>My Servlet</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
<servlet>
<description>My new servlet</description>
<display-name>MyServlet</display-name>
<servlet-name>MyServlet</servlet-name>
<servlet-class>de.aseaco.test.MyServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>MyServlet</servlet-name>
<url-pattern>/test/MyServlet</url-pattern>
</servlet-mapping>
</web-app>
I expected now that I can access my servlet with http://server:port/test/MyServlet
But I only get 404 Resource not found - In the NWA I can see the servlet and the url-pattern I gave...
Should be simple
Thx in advance, Frank
Okay I forgot the application name in the request... Stupid
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.