Hi, Srilaxmi.

Just a sugestion: Open in NetBeans the file you want to execute (servlet 
or JSP file). Then execute it using Shift + F6. This action normally 
opens the (default) browser and displays in it the very file you 
selected. The URL displayed in the browser is the one you can type 
manually to open the file.

If your server is configured to turn to another TCP/IP port than 8080 or 
if there is some problem in the xml file, then you will see the server 
configuration in the URL displayed by your browser.

-- 
Hope it Helps
mihai



Srilaxmi Seetharamachar a écrit :
> 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/javaee 
> http://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to