Do i have to do something configuration in weblogic 6.1 to put a javabean?

Hi,
I'm trying to do a simple example about a simple javabean....but it...is giving to my some errors....my question is:
Do i have to do something configuration in weblogic 6.1 to put a simple javabean?...
i have created a web application called mywebapp, I have created \WEB-INF\classes directory�there I have put my simpleBean.class��my jsp is in the root of \mywebapp directory�.
I am using weblogic 6.1�..jdk 1.3��.Somebody could help me or give me some suggestions or ideas?�..
Thanks in advance�
Mary
<!-- JSP Directives -->
<html>
<head>
     <title>Hello</title>
</head>
<body>
<basefont face="Arial">
<jsp:useBean id="simpleBean" scope="page" class="simpleBean" />
<!-- Set bean properties -->
<jsp:setProperty name="simpleBean" property="fname" value="Andrew"/>
<jsp:setProperty name="simpleBean" property="lname" value="Patzer"/>
<!-- Display welcome message -->
<center>
     <b><%= simpleBean.welcomeMsg() %></b>
</center>
</body>
</html>
public class simpleBean implements java.io.Serializable {
/* Member Variables */
private String lname;
private String fname;
public simpleBean() {
/* Initialize bean properties */
setLname("");
setFname("");
/* Accessor Methods */
public String getLname() {
return lname;
public void setLname(String _lname) {
lname = _lname;
public String getFname() {
return fname;
public void setFname(String _fname) {
fname = _fname;
/* Display personalized message */
public String welcomeMsg() {
return "Hello " + fname + " " + lname +
", welcome to the wonderful world of JavaBeans!";
////////////////errors
Full compiler error(s):
/apps/wclust1/bea/wlserver6.1/config/domadmin/applications/mywebapp/WEB-INF/_tmp_war_srvadmin_srvadmin_mywebapp/jsp_servlet/__hello.java:87: cannot resolve symbol
symbol : class simpleBean
location: class jsp_servlet.__hello
simpleBean simpleBean = null; //[ /hello.jsp; Line: 12]
^
/apps/wclust1/bea/wlserver6.1/config/domadmin/applications/mywebapp/WEB-INF/_tmp_war_srvadmin_srvadmin_mywebapp/jsp_servlet/__hello.java:88: cannot resolve symbol
symbol : class simpleBean
location: class jsp_servlet.__hello
simpleBean = (simpleBean)pageContext.getAttribute("simpleBean"); //[ /hello.jsp; Line: 12]
^
/apps/wclust1/bea/wlserver6.1/config/domadmin/applications/mywebapp/WEB-INF/_tmp_war_srvadmin_srvadmin_mywebapp/jsp_servlet/__hello.java:91: cannot resolve symbol
symbol : class simpleBean
location: class jsp_servlet.__hello
simpleBean = (simpleBean)pageContext.getAttribute("simpleBean"); //[ /hello.jsp; Line: 12]
^
/apps/wclust1/bea/wlserver6.1/config/domadmin/applications/mywebapp/WEB-INF/_tmp_war_srvadmin_srvadmin_mywebapp/jsp_servlet/__hello.java:93: cannot resolve symbol
symbol : class simpleBean
location: class jsp_servlet.__hello
simpleBean = new simpleBean(); //[ /hello.jsp; Line: 12]
^
4 errors

Well...i already could resolve my problem.....
I only put my javabean into a package...and with it....all is working very fine....
Best regards,
Mary

Similar Messages

Maybe you are looking for

  • Fault with phone line cleared, but IP profile stil...

    Hi, Apparently there was a fault with my phone line (didn't seem anthing wrong to me), which had caused my IP profile to be dropped, although my connection had never dropped. So an Openreach engineer came out and did something down the road from my h

  • ITunes 10.6.1.7 doesn't work

    I upgraded to 10.6.1.7 and now iTunes doesn't work. I also tried to install the iCloud but I can't find that either. Should I remove the iCloud application?

  • Satellite U200-122: Fingerprint Software doesn't work correctly with Firefox

    When I first installed Firefox on my U200-122, everything worked fine. LogIn on different sites by fingerprint was no problem. After an firefox update the problems began. Instead of filling in my username and pw, Fingerprint software popups and asks

  • Cancelled billing document number missing in document flow

    Hello Experts, there is a MAM sales order in which one line item created as a separate billing document is cancelled.however in the document flow the cancelled billing document is not visible.any suggestions how to slove the issue? Regards, Raj

  • Trouble with JavaSound

    Hi, I've been having some trouble with JavaSound... basically, I just want to play a clip, and return control only after the clip has finished playing (its for a bunch of new CS students who dont know a thing about threads / synchronization, but want