for servletss,
inside the defaultwebapp folder , create the following directory structure
applications\DefaultWebApp
all your servlets will go into the myProject folder.
additionally u need to let weblogic know abt this by mapping them in the web.xml file which is located in the applications\DefaultWebApp
open web.xml and
add this entry
<servlet>
<servlet-name>HelloWorld</
<servlet-class>myProject.H
</servlet>
<servlet-mapping>
<servlet-name>HelloWorld</
<url-pattern>/HelloWorld</
</servlet-mapping>
remeber your package name shuld be
package myProject ,,, else remove the myProject from <servlet-class>
cheers,
Main Topics
Browse All Topics





by: illusionz70Posted on 2004-05-24 at 20:57:30ID: 11148621
hi, x.jsp //where localhost is the ip address of your server for local machine u can use localhost , 7001 is the default weblogic port , index.jsp is your jsp page inside the defaultwebapp folder.
by default your weblogic instalation creates a folder DefaultWebApp inside the applications folder. you place all your JSP's inside this folder.
to refer to them you would use
http://localhost:7001/inde
cheers,