Re: ClassCastException uppon requests

2001-10-18 Thread David Treves
2001, David Treves wrote: Date: Wed, 17 Oct 2001 19:52:26 +0200 From: David Treves [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: ClassCastException uppon requests Hi, I wrote a very simple servlet that supposed to receive 2 parameters from a form

please help me to pass that obstacle...

2001-10-21 Thread David Treves
Hi, I am really tired of that trial and error games... I am trying to have the Tomcat look for EJB object stored in JBoss application server. I am using Tomcat and JBoss 2.4.0. I did the following: 1) added context parameters (the environment variables for JNDI) context-param

Re: Handling apostrophes

2001-10-22 Thread David Treves
Hi there, you should simply duplicate in every input string the apostrophe. Meaning that if the input string is: eee'eee after manipulating it - BEFORE inserting it to the DB it will be: eee''eee ( ' twice, NOT A double quote) in the DB it will appear as SINGLE apostrophe. That will

admin context

2001-10-22 Thread David Treves
Hello there, I tried following the instructions of how to manage the admin context in Tomcat 3.2.3, yet could not understand what to do... what is the trusted attribute in the Context tag in server.xml? where do I need to define users? in tomcat-users.xml? which role does the admin have?

Re: Handling apostrophes

2001-10-22 Thread David Treves
- From: David Treves [mailto:[EMAIL PROTECTED]] Sent: 22 October 2001 10:09 To: tomcat-user Subject: Re: Handling apostrophes Hi there, you should simply duplicate in every input string the apostrophe. Meaning that if the input string is: eee'eee after manipulating it - BEFORE

jsp:pluggin question

2001-03-27 Thread David Treves
Hello everybody, I have two questions: 1. If I want to update the pluggin version that Tomcat should add to the HTML code while creating the "OBJECT" tag, how can I do it? (I am talking about "OBJECT codebase="http://java.sun.com/products/plugin/1.2.2/jinstall-1_2_2-win.cab#V

update jsp:pluggin (applet type)

2001-04-03 Thread David Treves
Hi, I asked too many people that question, yet no answer... Is there a way to update the auto-generated code to jsp:pluggin for applet type? I am using Tomcat 4 (beta 1) and I my user requiered to have 1.3 pluggin for Java, where can I update that detail? thanks, David.

Tomcat 3.2.2 on IIS 5

2001-07-08 Thread David Treves
Hi, I am sorry to raise such an issue as I am sure that it was well handled so far, only that I couldn't find any solution to my problem in any archive... I want to have the Tomcat 3.2.2 to serve IIS 5 (out of process). I followed the instructions too well... But (there is always a 'but',

Re: help me with IIS+tomcat

2001-07-11 Thread David Treves
Hello, I tried to follow that link to do exactly what they instruct to do, yet I keep getting these errors every time I access the examples application. Note that I see the requested pages and it operates just fine, but I get the following errors anyway. I would like to add that I cannot see

Re: help me with IIS+tomcat

2001-07-11 Thread David Treves
that the pages are showing up correctly, so what's the problem? You can't see other applications because you haven't told the redirector that you want to see them - you need to edit the uriworkermap.properties file, just like the HOWTO says. Randy -Original Message- From: David Treves

problems serving HTTP requests

2001-07-17 Thread David Treves
Hi, I searched the archives yet didn't find anything can help me... I installed the Tomcat 3.2.2 in an out-of-process mode with IIS 5,for some time it worked just fine. Today Tomcat decided it is on a strike... I cannot get any servlet/jsp file served by it. Instead I getthe option to

Re: problems serving HTTP requests

2001-07-17 Thread David Treves
of getLastModified() is returning the right timestamp, then everything's OK. -- Bill K. -Original Message- From: David Treves [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 17, 2001 1:40 AM To: tomcat-user Subject: problems serving HTTP requests Hi, I

POST/GET problems

2001-01-21 Thread David Treves
t? Thnaks in advance, David Treves. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

passing an object using sessions - STRANGE???

2001-01-23 Thread David Treves
session.getAttribute("atr"); String lala = foo.str; out.println("sessionVar: " + lala); I get an error ("The page cannot be displayed") because of the third line (when I comment it, the servlet IS found and executed...).

Re: passing an object using sessions - STRANGE???

2001-01-24 Thread David Treves
escription of the error message to the web browser. If you have set up some error pages, you might want to comment them out until you get the pages compiling. Randy -Original Message----- From: David Treves [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 23, 2001 12:24 PM To: MAILING tomca

installing Tomcat 4 (b1) on IIS

2001-01-27 Thread David Treves
hi, I want to install Tomcat 4 on IIS 5, only that the documents in Jakarta site refer the ver 3. Trying to use them didn't make it work... Is there anyone who knows what I should do in order to install Tomcat 4 on IIS 5? Thanks, David Treves

applet communicating a servlet

2001-01-30 Thread David Treves
Hi, I am looking for a "How to" document about that subject, does anyone know of a good article? thanks, David. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

adding dynamic content to jsp:param

2001-02-04 Thread David Treves
Hi, I tried to create a page which dynamically will add an id to each user who enters the page, this id should be used by an applet. In order to do so I used JSP to create that id, and now I am trying to insert that number as a parameter to the applet: jsp:plugin type="applet" code="foo"

connecting to MS-SQL

2001-02-14 Thread David Treves
Hi, I am trying to connect to a MS-SQL 7 database. I manage to create all the necessary object, but when I execute the servlet I get the following error: [Microsoft][ODBC Driver Manager] Invalid cursor state I use JdbcOdbc driver supplied with SDK 1.3 Any idea? David Treves

Re: connecting to MS-SQL

2001-02-14 Thread David Treves
.3 certainly works with SQL 7 and is very Quick. -Original Message- From: David Treves [mailto:[EMAIL PROTECTED]] Sent: 14 February 2001 13:38 To: mailing list tomcat-users Subject: connecting to MS-SQL Hi, I am trying to connect to a MS-SQL 7 database. I manage to create all th