I have written one simple servelet and I want to deploy the same
in Weblogic 6.1.
I have mapped it in web.xml file
<web-app>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
<servlet-mapping>
<servlet-name>HelloWorldServlet</servlet-name>
<url-pattern>/main</url-pattern>
</servlet-mapping>
<error-page>
<error-code>404</error-code>
<location>/error.jsp</location>
</error-page>
</web-app>
and trying to access with the
following url
http://localhost:7001/main --> It says file not found.
Do I need to create web application before accessing
servlets, If so how to create it?