Hi nivedita,
I also face the same problem. My usebean tag is also not working. The
import statement is working properly. But when I am using <jsp:useBean
.../> It is giving me some problem
My java program is as follow
package com.kotak.bean;
public class Test
{
String name="";
public void setName(String name)
{
this.name=name;
}
public String getName()
{
return name;
}
};
My jsp program is as follows
<%@ page language="java" import="com.kotak.bean.Test" %>
<jsp:useBean id='hi' class='com.kotak.bean.Test' type='com.kotak.bean.Test'
scope='request' />
The error is as follows
java.lang.Exception: JSP parse error (line 15) - Incomplete tag ending of
/jsp:useBean
at
com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java:3
02)
at
com.netscape.server.http.servlet.NSServletEntity.update(NSServletEntity.java
:149)
at
com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.jav
a:463)
Please any one tell me the problem
Thanx in anticipation
----- Original Message -----
From: Nivedita <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 28, 2000 10:48 AM
Subject: USe Bean Tag not working in Iplanet4.1
> Hello,
> I face a problem while using a bean in Iplanet4.1.
> The exception i get is as following:
>
> [29/Nov/2000:19:15:02] info ( 273): Internal Info: loading servlet
> /testbean.jsp
> [29/Nov/2000:19:15:08] failure ( 273): Internal error: exception thrown
> from the servlet service function (uri=/testbean.jsp):
> java.lang.NoSuchMethodError: javax.servlet.ServletResponse: method
> flushBuffer()V not found, Stack: java.lang.NoSuchMethodError:
> javax.servlet.ServletResponse: method flushBuffer()V not found
> at
org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java:193)
> at
>
_0005ctestbean_0002ejsptestbean_jsp_0._jspService(_0005ctestbean_0002ejsptes
> tbean_jsp_0.java:105)
> at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
> at
>
com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.jav
> a:448)
>
> The same jsp works fine with java web server and tomcat.
>
> Thanks,
> Nivedita
>
>
===========================================================================
> 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
>
===========================================================================
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