Hi,

  The path that you should have at runtime on the url is
http://localhost:8080/MyWebJpa/
and it should show the list of persons.

  In the web.xml you should have:

    <welcome-file-list>
        <welcome-file>
            index.jsp
        </welcome-file>
    </welcome-file-list>

  and in the index.jsp you should have:

    <jsp:forward page="ListPerson" />

  That should do it.

  By the way, I wrote the DeletePersonServlet.java and the delete
link
next to each person in the ListPerson.jsp. However I don't know how
to connect things so that when the user clicks on the delete that
record is deleted.

Thanks,

Ruben


On Oct 14, 1:25 am, Presario 6331RSH HAM <[EMAIL PROTECTED]> wrote:
> Hey all,
>
>   Did I miss something in this exercise about setting the relative
> url?
> I get the index.jsp at runtime.
> What is the path I should have?
> I tried the welcomeJPF.jsp but then I get a server error.
> Help please.

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to