- From: Gorukanti , Venkat <Venkat-Gorukanti@forum-financial.com>
- Date: Fri, 18 Feb 2000 15:47:08 -0500 (EST)
- To: "'www-jigsaw@w3.org'" <www-jigsaw@w3.org>
> Hi, > > Thanks for immediate reply but I am getting now different error.The Error is: > Error compiling source file: file:/C:/Jigsaw/Jigsaw/WWW/servlet/date.jsp > sun.tools.javac.Main > > I am send error file also > > > /* > Generated by JavaEmitter on Fri Feb 18 15:28:18 EST 2000 > Please do not modify. > */ > > import java.util.Date; > import java.io.IOException; > import javax.servlet.*; > import javax.servlet.http.*; > import javax.servlet.jsp.*; > > public class jsp___2fdate_2ejsp extends org.gjt.jsp.HttpJspPageImpl{ > > public final long _gnujspGetTimestamp() { > return 950905698623L; > } > private static final String[] _gnujspDeps = new String[] { "/date.jsp" }; > public final String[] _gnujspGetDeps() { > return _gnujspDeps; > } > public final long _gnujspGetCompilerVersion() { > return 1999101701L; > } > public void _jspService (HttpServletRequest request, > HttpServletResponse response) > throws ServletException, IOException > { > response.setContentType ("text/html"); > JspFactory factory = JspFactory.getDefaultFactory (); > PageContext pageContext = factory.getPageContext (this, > request, > response, > null, > true, > 8192, > true); > HttpSession session = pageContext.getSession (); > ServletContext application = pageContext.getServletConfig().getServletContext(); > JspWriter out = pageContext.getOut (); > ServletConfig config = pageContext.getServletConfig(); > Object page = this; > > try { > > > // line:/date.jsp:1 > out.print ("<HTML>\n<HEAD>\n\t<TITLE>JSP date page</TITLE>\n\t"); > > // line:/date.jsp:5 > out.print ("\n</HEAD>\n<BODY>\n\n<H1>JSP date page</H1>\n\nThe current date is "); > // line:/date.jsp:10 > out.print ( new Date() ); > > // line:/date.jsp:10 > out.print (".\n\n</BODY>\n</HTML>\n"); > } catch (Exception e) { > out.clearBuffer (); > pageContext.handlePageException (e); > } finally { > out.close (); > factory.releasePageContext (pageContext); > } > > } > > } > > Thanks, > Venkat. > > On Fri, 18 Feb 2000, Gorukanti , Venkat wrote: > > > Hi, > > After installed the gnujsp pulgin I tried to browse the jsp page .It > > is giving error The Error is: The server was unable to find the > > servlet class : org.gjt.jsp.JspServlet Could you please tell me what > > is the problem. > > You should add the jar of GNUjsp to the CLASSPATH, see the scripts, the > CLASSPATH is fixed here. > Regards, > > /\ - Yves Lafon - World Wide Web Consortium - > /\ / \ Architecture Domain - Jigsaw Activity Leader > / \ \/\ > / \ / \ http://www.w3.org/People/Lafon - ylafon@w3.org > > > >
Received on Friday, 18 February 2000 16:06:52 UTC