I just switch from jsp .92 to 1. I did a little test to see how it reacts
to beans. I get no error. And I get no data back from the bean. What
could be wrong?
----------------------JSP-------------------
<html>
<head>
<title>Bean Testin</title>
</head>
<body>
....
<jsp:useBean id="BeanTest" scope="session" class="harman.BeanTest" />
<jsp:getproperty name="BeanTest" property="name" />
<jsp:getproperty name="BeanTest" property="title" />
<jsp:getproperty name="BeanTest" property="company" />
</body>
</html>
--------------BEAN ---------------------
package harman;
public class BeanTest extends Object
{
private String name = "Cory L Hubert";
private String title = "Site Developer";
private String company = "Plumb Design";
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getTitle() {
return title;
}
public void setTitle(String Title) {
this.title = title;
}
public String getCompany() {
return company;
}
public void setCompany(String company)
{
this.company = company;
}
}
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html