Hi,I am also getting below error while running the application.Did anybody had 
the same issue?javax.el.PropertyNotFoundException: The class 
'org.apache.taglibs.standard.examples.beans.Person' does not have the property 
'name'
 
Regards,
Sujata

--- On Thu, 22/10/09, derezone <derez...@yahoo.com> wrote:


From: derezone <derez...@yahoo.com>
Subject: [java ee programming] Re: 4006- homework
To: "Java EE (J2EE) Programming with Passion!" 
<java-ee-j2ee-programming-with-passion@googlegroups.com>
Date: Thursday, 22 October, 2009, 10:40 PM



I made a suggested change   modiselle

this code: in the init.java

org.me.hello.Person person = new org.me.hello.Person("Derez,"Lusk");

      sce.getServletContext().setAttribute("person", person);

the error is that it cannot  find the symbol - constructor  Person()


On Oct 21, 9:37 pm, derezone <derez...@yahoo.com> wrote:
> 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 ??





      Yahoo! India has a new look. Take a sneak peek http://in.yahoo.com/trynew
--~--~---------~--~----~------------~-------~--~----~
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