This is what worked for me... Try closing the browser and letting the Netbeans run triangle open the page. If that doesn't work modify the xml file on the servlet tab, rather than the xml tab. Select JSP file, write in the name of the JSP file: /MyOwnJSP.jsp
On Sep 6, 9:48 pm, Srilaxmi Seetharamachar <srilax...@yahoo.com> wrote: > HELLO, > Below is the web.xml screen shot of my excersise1.I have modified web.xml > file as in the lab work to MyOwnJsp.jsp The screen shot is below. > > When I run the project the browser will open as servelet file.It will not > open MyOwnJsp.jsp file as per the lab work. > (http://localhost:8080/MyFirstWebApp/MyOwnServelet) > > Please help... > Thank you.. > > <?xml version="1.0" encoding="UTF-8"?> > <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://java.sun.com/xml/ns/javaeehttp://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> > <servlet> > <servlet-name>MyOwnServelet</servlet-name> > <servlet-class>myownpackage.MyOwnServelet</servlet-class> > </servlet> > <servlet-mapping> > <servlet-name>MyOwnServelet</servlet-name> > <url-pattern>/MyOwnServelet</url-pattern> > </servlet-mapping> > <session-config> > <session-timeout> > 30 > </session-timeout> > </session-config> > <welcome-file-list> > <welcome-file>MyOwnJsp.jsp</welcome-file> > </welcome-file-list> > </web-app> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en -~----------~----~----~----~------~----~------~--~---