jndi-datasource

2004-09-01 Thread Steve Cheng
I follow the tomcat document and try to setup JNDI in tomcat. http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-how to.html But I get the following exception. javax.servlet.ServletException: Cannot create JDBC driver of class '' for connect URL 'null'

Is it possible to modify request parameter?

2004-08-01 Thread Steve Cheng
Dear all, The question may be not a TC specific one. I am using RequestDispatcher to forward a request object from Servlet1 to Servlet2 as followings. protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { ... RequestDispatcher

Re: Embedding ${} syntax in jsp pages

2004-07-23 Thread Steve Cheng
Check your web.xml. It should looks like the followings web-app version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; steve - Original

Re: Jikes: -encoding is unsupported

2004-05-04 Thread Steve Cheng
it is that big :-)) ~ 3MB zipped greets, mike Steve Cheng wrote: Dear all, I get the follow error message when I am trying to use jikes to replace javac in tomcat 5.1. [javac] use: jikes [options] [EMAIL PROTECTED] file.java... [javac] For more help, try -help or -version. [javac

Re: Jikes: -encoding is unsupported

2004-05-04 Thread Steve Cheng
there is a Manifest file in the zip - simply ignore it :-) greets, mike Steve Cheng wrote: Thanks Michael, Please! Either you can upload it to a server or you can send me the zip file. Really thanks a lot! My email address is [EMAIL PROTECTED] steve - Original Message

Jikes: -encoding is unsupported

2004-05-03 Thread Steve Cheng
Dear all, I get the follow error message when I am trying to use jikes to replace javac in tomcat 5.1. [javac] use: jikes [options] [EMAIL PROTECTED] file.java... [javac] For more help, try -help or -version. [javac] Error: The option -encoding is unsupported in this build. Could