Re: getParameter in Tomcat on IIS

2001-01-26 Thread Eric Weber

Hi

I did not test your page with my hint, but I had a similar problem.
And couldn't believe the reason when I found out why it was not working.

In your form you are writing name in lower case.
 
> Eric,
> 
> > Hi
> >
> > Are you using by any change this option when doing a post :
> > enctype="multipart/form-data" ?
> 
> Not at all, I'm using the form (and JSP code) attached to this e-mail.
> 
> Cheers
> --
> Víctor A. Rodríguez ( http://www.bit-man.com.ar)
> Telefónica de Argentina - http://www.Telefonica.com.ar
> Tel. (54-11) 4333-7305 - Fax: (54-11) 4303-5586 int. 1680
> 
>   
> 
>test.htmlName: test.html
> Type: Hypertext Markup Language (text/html)
> 
>test.jspName: test.jsp
>Type: unspecified type (application/octet-stream)
> 
>   
> -
> 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: getParameter in Tomcat on IIS

2001-01-26 Thread Eric Weber

Hi

Are you using by any change this option when doing a post :
 enctype="multipart/form-data" 
?

Eric

"Rodriguez Victor A." wrote:
> 
> Hi All,
> 
> I'm new to the list and I'm setting up Tomcat 3.2 + IIS and we get the
> problem stated in  http://znutar.cortexity.com/BugRatViewer/ShowReport/55
> and http://w4.metronet.com/~wjm/tomcat/ToFeb11/msg02723.html (getParameter
> is null when values from a HTML FORM are sent to a JSP). The getParameter
> works well if the method used is GET, but if POST is used the value returned
> is null (only detected in MSIE 4.x).
> 
> Does anyone have any clue about this problem ?? (actual Tomcat bug, MSIE
> bug), Any workarounds ??
> 
> Thanks for all your help.
> --
> Víctor A. Rodríguez ( http://www.bit-man.com.ar)
> Telefónica de Argentina - http://www.Telefonica.com.ar
> Tel. (54-11) 4333-7305 - Fax: (54-11) 4303-5586 int. 1680
> 
> -
> 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: oracle driver problem Zip or Jar?

2001-01-23 Thread Eric Weber

Hi

I got it working without renaming the zip file.
But just sure that the file is in a directory oracle/jdbc/lib and that
you include the filename in your path :
for example : setenv CLASSPATH
${CLASSPATH}:/home/username/oracle/jdbc/lib/classes12.zip   

ERic

> Ganasen Gounden wrote:
> > I developed a custom servlet that uses the oracle classes12.zip class
> > file which works well with Jrun when I set the classpath. I am having
> > problems running it on Tom Cat 3.2.1. It might be that the zip file is
> > not recodnised. I looked for a download of a Jar file from oracle but
> > could not find one.
> > I unzipped the classes12.zip and the program worked but oviously this
> > is not how it must work. How can I solve this problem or how can I get
> > a Jar file?
> 
> Just rename the ZIP file to classes12.jar; ZIP and JAR are the same file
> format, just used for different things... :)
> 
> --
> Kurt Bernhard Pruenner --- Haendelstrasse 17 --- 4020 Linz --- Austria
> Music: http://www.mp3.com/Leak --- Work: http://www.ssw.uni-linz.ac.at
> ...It might be written "Mindfuck", but it's spelt "L-A-I-N"...
> np: Leak - Broken
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

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




enctype="multipart/form-data" problem

2001-01-23 Thread Eric Weber

Hi

I read here http://www.oop-reserch.com/tomcat_3_1_ext.html that JSP
could NOT handle yet data posted by a form with the method POST and 
enctype="multipart/form-data".

Is this true?
At least when I tried it out under Tomcat 3.1. it did not work.

Did anybody solve the problem?

ERic

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




Re: How 2 use JAR files with Tomcat in Debian

2001-01-18 Thread Eric Weber

Hi

You have to include the name of the jar in the class path, for example :
setenv CLASSPATH ${CLASSPATH}:/usr/java/java3d-utils-src.jar 

Eric


Nagappan A wrote:
> 
> Hello all,
> I'm using Debian GNU/Linux + Apache + Tomcat. I, have list of class
> files and I, have made it 2 a jar. Now, how can I access those jar files. I,
> have mentioned the jar file in the CLASSPATH, while startup. Apart from that
> I, have place in the Home directory of Tomcat ($TOMCAT_HOME). While starting
> the service of tomcat, all the jar files has been loaded. But I'm NOT able 2
> access the class files inside those jar files. The JSP pages, shows that
> there is NO such class found. How 2 solve this.
> 
> Thankx in advance
> Regards
> Nagappan
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

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




oracle blob problem

2001-01-17 Thread Eric Weber

Hi

I try to get a BLOB from an oracle database and to save it to a file.
>From a small test program everything works fine. When I copy the code
into a servlet I get a strange error from the database at the moment
when I try to read the first byte on the InputStream:

java.io.IOException: ORA-01013: user requested cancel of current
operation
at oracle.jdbc.dbaccess.DBError.SQLToIOException(DBError.java)
at
oracle.jdbc.driver.OracleBlobInputStream.needBytes(OracleBlobInputStream.java)
at
oracle.jdbc.driver.OracleBufferedStream.read(OracleBufferedStream.java)
at
oracle.jdbc.driver.OracleBufferedStream.read(OracleBufferedStream.java)
at lib.download.service(download.java:60)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:597)
at
org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Thread.java:484)

The JDBC connection works fine for Varchar and other "normal" data from
the database.

I saw in the archive that somebody had a similar problem, but I couldn't
find any answer to the problem.

I use Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0_01)
and Oracle8i Enterprise Edition Release 8.1.5.0.0. with the thin
driver(classes111.zip) from oracle.
I use Tomcat 3.1.

Does anybody have an idea about this problem?

ERic

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