RE: Newbie Question, this should be easy

2001-02-19 Thread Samson, Lyndon [IT]

You should really run tomcat using the jdk from Sun ( or IBM ) rather than
that supplied by
an IDE.


-Original Message-
From: Ashant Chalasani [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 17, 2001 8:19 AM
To: [EMAIL PROTECTED]
Subject: RE: Newbie Question, this should be easy


Paul - James,

Thanks for your answer.  Still have problems...

I am also writing some servlets, which work just fine through the Tomcat 
server.  The problem exists only w/ JSP pages.  Does this still mean the 
class-path is wrong.

My Windows environment class-path is set to Java_Home=C:\JBuilder3, and this

starts up the tomcat server fine and also processes servlets right.

Where should tools.jar be included, if still needed.

Thanks, Ashant


From: "CPC Livelink Admin" [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: Newbie Question, this should be easy
Date: Fri, 16 Feb 2001 21:36:46 -0500


Well, there are two errors.  One, you don't have the java compiler in your
classpath. This is usually in a file called tools.jar.

Second, the XML tag extentions are case sensitive.  You will need to use
jsp:usebean and jsp:setproperty (thought I can't remember if it is useBean
and setProperty instead - rats)

Regards,
Paul

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Newbie Question, this should be easy

2001-02-17 Thread Ashant Chalasani

Paul - James,

Thanks for your answer.  Still have problems...

I am also writing some servlets, which work just fine through the Tomcat 
server.  The problem exists only w/ JSP pages.  Does this still mean the 
class-path is wrong.

My Windows environment class-path is set to Java_Home=C:\JBuilder3, and this 
starts up the tomcat server fine and also processes servlets right.

Where should tools.jar be included, if still needed.

Thanks, Ashant


From: "CPC Livelink Admin" [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: Newbie Question, this should be easy
Date: Fri, 16 Feb 2001 21:36:46 -0500


Well, there are two errors.  One, you don't have the java compiler in your
classpath. This is usually in a file called tools.jar.

Second, the XML tag extentions are case sensitive.  You will need to use
jsp:usebean and jsp:setproperty (thought I can't remember if it is useBean
and setProperty instead - rats)

Regards,
Paul

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Newbie Question, this should be easy

2001-02-16 Thread CPC Livelink Admin


Well, there are two errors.  One, you don't have the java compiler in your
classpath. This is usually in a file called tools.jar.

Second, the XML tag extentions are case sensitive.  You will need to use
jsp:usebean and jsp:setproperty (thought I can't remember if it is useBean
and setProperty instead - rats)

Regards,
Paul


-Original Message-
From: Ashant Chalasani [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 8:25 PM
To: [EMAIL PROTECTED]
Subject: Newbie Question, this should be easy


Hi all,

I have the following error when trying to load a simple JSP page.  Please
find the JSP code as well as the error below.  Could someone see what the
problem is?

Thanks in advance, AC

JSP
---

% page import = "Input.Splash" %

JSP:USEBEAN
id="schedule"
class="Input.Splash"
scope="session"

JSP:SETPROPERTY
property="*"
name="numguess"

HTML
HEAD
TITLE This life ain't good enough/TITLE
/HEAD

BODY
PTesting some JSP./P

This text was brought back.
P
!--% schedule.getText() %--

/BODY/HTML


Error: 500
-
Location: /Uni-Calendar/many.jsp
Internal Servlet Error:

javax.servlet.ServletException: sun/tools/javac/Main
at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code)
at java.lang.Thread.run(Thread.java:479)

Root cause:
java.lang.NoClassDefFoundError: sun/tools/javac/Main
at
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128)
at org.apache.jasper.compiler.Compiler.compile(Compiled Code)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:152)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:164)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code)
at java.lang.Thread.run(Thread.java:479)


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




RE: Newbie Question, this should be easy

2001-02-16 Thread James Goodwill

It is jsp:useBean and jsp:setProperty.  The JSP standard actions are camel
case and follow the bean spec.

Thanks,
James

-Original Message-
From: CPC Livelink Admin [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 7:37 PM
To: [EMAIL PROTECTED]
Subject: RE: Newbie Question, this should be easy



Well, there are two errors.  One, you don't have the java compiler in your
classpath. This is usually in a file called tools.jar.

Second, the XML tag extentions are case sensitive.  You will need to use
jsp:usebean and jsp:setproperty (thought I can't remember if it is useBean
and setProperty instead - rats)

Regards,
Paul


-Original Message-
From: Ashant Chalasani [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 8:25 PM
To: [EMAIL PROTECTED]
Subject: Newbie Question, this should be easy


Hi all,

I have the following error when trying to load a simple JSP page.  Please
find the JSP code as well as the error below.  Could someone see what the
problem is?

Thanks in advance, AC

JSP
---

% page import = "Input.Splash" %

JSP:USEBEAN
id="schedule"
class="Input.Splash"
scope="session"

JSP:SETPROPERTY
property="*"
name="numguess"

HTML
HEAD
TITLE This life ain't good enough/TITLE
/HEAD

BODY
PTesting some JSP./P

This text was brought back.
P
!--% schedule.getText() %--

/BODY/HTML


Error: 500
-
Location: /Uni-Calendar/many.jsp
Internal Servlet Error:

javax.servlet.ServletException: sun/tools/javac/Main
at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code)
at java.lang.Thread.run(Thread.java:479)

Root cause:
java.lang.NoClassDefFoundError: sun/tools/javac/Main
at
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128)
at org.apache.jasper.compiler.Compiler.compile(Compiled Code)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:152)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:164)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at org.apache.jasper.servlet.JspServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled Code)
at java.lang.Thread.run(Thread.java:479)


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]