Visakh,

Thank you very much for your advise that fixed the problem.

My next question is where should the class file be to configures with NES 4.0.
Should I add it to the Servlets->Configure Servlet Atrributes in NES or should I
add it to the classpath.

Thanks,

Pedro

Visakh Menon wrote:

> NES 4.0 works with JSP .92 Specs only. It doesn't take <jsp:usebean> tag
> which came with JSP 1.0. So you either try using old <USEBEAN> or start
> using a webserver that supports Jsp 1.0 / 1.1.
> iPlanet 4.1 (NES 4.1) supports jsp 1.1. Otherwise try using jrun as servlet
> engine.
>
> There were quite a few mails in this list about this problem. Just browse
> through the archive. It will surely help you.
>
> Cheers
>
> Vis..
>
> >From: Pedro Meza <[EMAIL PROTECTED]>
> >Reply-To: A mailing list about Java Server Pages specification and
> >     reference <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: Java Beans & NES 4.0 error
> >Date: Wed, 26 Apr 2000 09:29:15 -0600
> >
> >I am trying to write my first bean but I recieve an error on compilation.
> >I
> >believe I have the tags correct. I know there is a <usebean> tag but I
> >don't think
> >I should use that.
> >
> >warming ( 7562);  JSP compilation error:  java.lang.Exception:  JSP parse
> >error
> >(line 30) - Incomplete tage ending of /jsp:usebean, stack:
> >java.lang.Exception: JSP
> >parse error (line 30) - Incomplete tag ending of /jsp:useBean
> >
> >This is the code:
> >
> ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> ><HTML>
> ><HEAD>
> ><TITLE>Reusing JavaBeans in JSP</TITLE>
> >
> ><META NAME="author" CONTENT="Marty Hall -- [EMAIL PROTECTED]">
> ><META NAME="keywords"
> >       CONTENT="useBean,JavaBeans,JSP,JavaServer Pages,servlets">
> ><META NAME="description"
> >       CONTENT="Reusing JavaBeans in JSP: very simple example.">
> ><LINK REL=STYLESHEET
> >       HREF="My-Style-Sheet.css"
> >       TYPE="text/css">
> ></HEAD>
> >
> ><BODY>
> >
> ><CENTER>
> ><TABLE BORDER=5>
> >   <TR><TH CLASS="TITLE">
> >       Reusing JavaBeans in JSP</TABLE>
> ></CENTER>
> ><P>
> >
> ><jsp:useBean id="test" class="hall.SimpleBean" />
> ><jsp:setProperty name="test" property="message" value="Hello WWW" />
> >
> ><H1>Message: <I><jsp:getProperty name="test" property="message" /></I></H1>
> >
> ></BODY>
> ></HTML>
> >
> >Please help.
> >
> >Thanks,
> >
> >Pedro
> >(303)624-1545
>
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> 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

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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