Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

package javax.faces.context does not exist

843842Nov 6 2006 — edited Nov 8 2006
i get the following errors when trying to compile my class
package javax.faces.context does not exist
package javax.faces.component does not exist
package javax.faces.validator does not exist
i'm really new to this and i do not know what this means
i hope someone can help me

this is my really simple code
package  ourdemo;

import javax.faces.context.*;
import javax.faces.component.*;
import javax.faces.validator.*;

public class player
{
     String firstname;
     String lastname;    

     public void setfirstname(String a)
     { firstname=a; }

     public String getfirstname()
     { return firstname; }

     public void setlastname(String b)
     { lastname=b; }

     public String getlastname()
     { return lastname; }

     public void changeName()
     { lastname = firstname+" "+lastname; }              

}
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 6 2006
Added on Nov 6 2006
3 comments
332 views