I am not receiving the static first name , last name , can someone direct me in the right direction
Person.java package org.me.hello; ************************************ public class Person { public Name name; public Person(String firstName, String lastName) { name = new Name(); name.setFirstName(firstName); name.setLastName(lastName); } } ********************************************** Name java. package org.me.hello public class Name { public String firstName; public String lastName; public void setFirstName(String firstName) { this.firstName = firstName; } public void setLastName (String lastName) { this.lastName = lastName; } public String getFirstName() { return firstName; } public String getLastName() { return lastName; } } In the INIT.JAVA This code was placed at the bottom of the code org.me.hello.Person person = new org.me.hello.Person ("Derez","Lusk"); sce.getServletContext().setAttribute("person", person); Can't get any output any leads ?? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---