Can we get a look at you're jsp code?

>From: cupid1 <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: problem with javaBean and jsp
>Date: Wed, 21 Mar 2001 20:45:45 -0500
>
>Hello every one,
>
>Please help with a small problem. I have this jsp code that I saved in
>public_html file in jws2.0.
>
>
>
>
>
>

>Hello, !
>

>
>
>
>Following is my Bean which is stored in classes\hello folder of jws2.0. It
>is in classpath.
>
>public class NameHandler {
>
> private String username;
>
> public NameHandler() {
> username = "John Doe";
> }
>
> public void setUsername( String name ) {
> username = name;
> }
>
> public String getUsername() {
> return username;
> }
>}
>
>when I test the jsp it gives me following result:
>
>Hello, !
>
>while I expect
>
>Hello, John Doe!
>
>could any one tell me what is wrong? Thanks.
>
>shuaib
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets


Get your FREE download of MSN Explorer at http://explorer.msn.com

=========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.html http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to