How to run servlet in tomcat

2001-01-23 Thread dsd dsd
Hello I created directory called kiran in D:/tomcat/jakarta-tomcat/webapps/ . I have set the context path in /conf/server.xml I have kept both source and class file in /kiran directory now tell me how to execute this servlet file how to use web.xml file please assist me with example with

AW: Great Software ... we'll go into production ;)

2001-01-23 Thread Ingo Rammer
Hi, this will be just tomcat. Ingo -Ursprngliche Nachricht- Von: Ciot, Thierry [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 23. Jnner 2001 04:30 An: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' Betreff: RE: Great Software ... we'll go into production ;) Just curious, will that

Re: How to run servlet in tomcat

2001-01-23 Thread venkatesan
Ok Then in Kiran should have following structure \webapps\kiran \src(new directory-dir)Copy ur *.java files \index.html (ur *.html file) \WEB-INF(dir)

RE: Syntax and Performance

2001-01-23 Thread horn_ken
In terms of performance, little difference is caused by splitting scriptlets (perhaps the extra print noted below. However, this may be a typo on your part, but %! String hostname;% declares an *instance* variable "hostname". While this assignment: % hostname=

NT tomcat

2001-01-23 Thread Affan Alim
Hi All, In tomcat for NT can i use java beans please give me reply.

Re: NT tomcat

2001-01-23 Thread Robuschi \(Delfi\)
of course!!! You can place them in the WEB-INF/classes directory and use from the jsp pages Bye Robuschi Roberto Delfi srl P.za Ravenet 1/b - 43100 PARMA Tel. 0521/932474 Fax 0521/989045 [EMAIL PROTECTED] --- http://www.delfi.it

Illeagal Argument Exception - Cookies -JSP Page

2001-01-23 Thread kalai selvan
I am developing a small Demo WAP Application. My WML page is generated by the following JSP Page. My JSP Page ?xml version="1.0"? !DOCTYPE wml PUBLIC "-//PHONE.COM//DTD WML 1.1//EN" "http://www.phone.com/dtd/wml11.dtd" %@ page

tomcat lisence

2001-01-23 Thread Affan Alim
Hi All, Tomcat has nay lisence or it is free from the tomcat site.

SV: tomcat lisence

2001-01-23 Thread Cato Førrisdahl
Affan Alim wrote Hi All, Tomcat has nay lisence or it is free from the tomcat site. Both, actually. Tomcat is released under the Apache Software License (http://www.apache.org/LICENSE-1.1.txt) I believe. This license (among other stuff) grants you free-of-charge download and use. Correct me if

beans problem

2001-01-23 Thread Affan Alim
Hi All, Please tell me how i will make .class to .jar i am new in java.

Re: beans problem

2001-01-23 Thread Steve Smale
Hi Affan, A .jar file is an [J]ava [AR]chive file, similar to zip file. You should find the utility jar.exe in your jdk distribution in the bin directory. Type JAR on its own and you will get help on the command. You will need to use jar -c to make a new jar archive. Steve On Tue, 23 Jan

Session creation speed

2001-01-23 Thread Steve Smale
Im having problems with creating sessions with a servlet in tomcat. When the getSession line is reached in the code it freezes for around 9-10 seconds before returning a session, leading the user to think theyre not going to get anything back... This only seems to be the case with new sessions

Re: beans problem

2001-01-23 Thread Affan Alim
Hi Smale, Thanks. - Original Message - From: Steve Smale [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 23, 2001 11:02 AM Subject: Re: beans problem Hi Affan, A .jar file is an [J]ava [AR]chive file, similar to zip file. You should find the utility jar.exe

Any way to add a directory for class loading?

2001-01-23 Thread Stefán F. Stefánsson
Hello. I was wondering if there is any way to specify an additional directory that Tomcat should use for class loading, say perhaps outside of the web app directory structure? Kind regards, Stefan p.s. I'm using EmbededTomcat so I would appreciate if someone could tell me if that was

Re: Session creation speed

2001-01-23 Thread leak
When the getSession line is reached in the code it freezes for around 9-10 seconds before returning a session, leading the user to think theyre not going to get anything back... That's because of the secure random number generator that's used to create the session ID - it takes quite some

Form based authentication and JDBC Realm with Interbase

2001-01-23 Thread Nigel Stirzaker
Hi I'am try to get form based authentication working with jBoss/Tomcat and interbase 5.6 but I'am getting the following error. Interbase is working fine for the CMP and code and general setup works fine with mySQL (our other trial database). It looks to me like the param being setup for the query

Re: Session creation speed

2001-01-23 Thread Steve Smale
Thanks for that, its steaming along at a good ol' speed now! What is to gain by using the secure random generator? On Tue, 23 Jan 2001 [EMAIL PROTECTED] wrote: You could try adding -dtomcat.sessionid.randomclass=java.util.Random to the JVM's command line Sorry, make that

Re: Session creation speed

2001-01-23 Thread Endre Stølsvik
On Tue, 23 Jan 2001, Steve Smale wrote: | | Thanks for that, its steaming along at a good ol' speed now! | | What is to gain by using the secure random generator? I guess it's more secure?! It initializes a better random number generator, which isn't that predictable. If you can predict a

RE: Form based authentication and JDBC Realm with Interbase

2001-01-23 Thread Ignacio J. Ortega
Please post your server.xml JDBRealm config, to have a look at it.. Saludos , Ignacio J. Ortega -Mensaje original- De: Nigel Stirzaker [mailto:[EMAIL PROTECTED]] Enviado el: martes 23 de enero de 2001 12:41 Para: '[EMAIL PROTECTED]' Asunto: Form based authentication and JDBC Realm

FW: Form based authentication and JDBC Realm with Interbase

2001-01-23 Thread Nigel Stirzaker
Sorry to post this again but I was asked to include the relevant section of the server.xml file RequestInterceptor className="org.apache.tomcat.request.JDBCRealm" debug="99" driverName="interbase.interclient.Driver"

Tomcat 3.2: 500 error, what does it mean?

2001-01-23 Thread Davanzo Luca
Hi, I have a servlet calles "xmlcpreove.prova1"; I copied it into webapps/examples/webinf/classes under a directory xmlcprove; i modified web.xml withan appropriate servletservlet-nameservlet-classxmlcprove.prova1/servlet-class/ servlet but when trying the servlet with

RE: Form based authentication and JDBC Realm with Interbase

2001-01-23 Thread Nigel Stirzaker
Thanks I've posted it onto the list. Here is a copy aswell RequestInterceptor className="org.apache.tomcat.request.JDBCRealm" debug="99" driverName="interbase.interclient.Driver"

Re: Session creation speed

2001-01-23 Thread Luc Vanlerberghe
Note that this only happens for the very first session that is created after tomcat is started. All following session id's will be generated much faster, it's only the initialisation of the secure random number generator that takes a long time. The latest versions of tomcat (both the 3.x and

JNDI and Tomcat

2001-01-23 Thread Bob Mulrenin
I am using JNDI and RMI -- Has anyone used JNDI with Tomcat? Both Linux and NT give me difficulty. JNDI looks like my problem ... I have the jndi.properties files referred to in many classpathswhether it be automatic under the web app classes folder, etc. Thanks! Bob Robert Mulrenin

RE: Invoking a servlet from JSP

2001-01-23 Thread Michael Wentzel
I have a self-contained servlet that returns a single value. I am trying to include the output of this servlet in-line on an HTML/JSP page. When I try to invoke the servlet using the following JSP INCLUDE tag, the page bombs with Exception #500 (java.lang.IllegalStateException: Writer

RE: How do I precompile JSP files for final Production use?

2001-01-23 Thread Michael Wentzel
I don't want the files to be compiled at startup. I don't want them to ever have to be compiled once installed on the users machine. I want to compile them, package the .class files and ship my application. Has anyone tried this with success? I don't want to install the JDK on the users

Re: JNDI and Tomcat

2001-01-23 Thread Simon Oldeboershuis, outermedia
Bob Mulrenin schrieb: I am using JNDI and RMI -- Has anyone used JNDI with Tomcat? Both Linux and NT give me difficulty. JNDI looks like my problem ... I have the jndi.properties files referred to in many classpathswhether it be automatic under the web app classes folder, etc.

jsp and servlets won't run

2001-01-23 Thread Paul Charsley
I have installed tomcat together with mod_jk to work with Apache 1.3.14 on Linux. Tomcat 3.2.1 and Apache both seem to start up fine and when I type in http://myhostname/examples I can see the example pages with the links to the examples. However the jsp and servlet examples do not run. No errors

Re: oracle driver problem Zip or Jar?

2001-01-23 Thread Ganasen Gounden
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

RE: How do I precompile JSP files for final Production use?

2001-01-23 Thread Hobson, Don
Michael, I don't want to install the JDK onto the server either. It is too big. When I install my app I will install Tomcat to use http as the transport mechanism. Is there a way around having to install the JDK at all? -Original Message- From: Michael Wentzel [mailto:[EMAIL PROTECTED]]

RE: How do I precompile JSP files for final Production use?

2001-01-23 Thread Michael Wentzel
I don't want to install the JDK onto the server either. It is too big. When I install my app I will install Tomcat to use http as the transport mechanism. Is there a way around having to install the JDK at all? The other option is to compile the jsp's somewhere else and copy over the

Re: Invoking a servlet from JSP

2001-01-23 Thread Angus Mezick
turn your servlet into a taglib or a javabean. I think you are using the wrong approach using a servlet like this. --Angus "Robert E. Baker" wrote: I have a self-contained servlet that returns a single value. I am trying to include the output of this servlet in-line on an HTML/JSP page.

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

Re: Single sign-on with Tomcat 3.21

2001-01-23 Thread Aron Kramlik
Does anyone have any ideas about this very interesting question or the email with subject "How can I share Sessions between Contexts?" which is also the same question I think. Aron Kramlik. Frederic Kam-Thong wrote: The J2EE spec makes it clear that single sign-on for web-based applications

startup class in Tomcat

2001-01-23 Thread William Au
Besides setting load-on-startup in the web.xml file, is there another way to have a startup class define in Tomcat? ( ie I want a class to run whenever Tomcat is started) Bill - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Single sign-on with Tomcat 3.21

2001-01-23 Thread Aron Kramlik
Does anyone have any ideas about this very interesting question or the email with subject "How can I share Sessions between Contexts?" which is also the same question I think. Aron Kramlik. Frederic Kam-Thong wrote: The J2EE spec makes it clear that single sign-on for web-based applications

Re: oracle driver problem Zip or Jar?

2001-01-23 Thread Kurt Bernhard Pruenner
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

RE: enctype=multipart/form-data problem

2001-01-23 Thread Michael Wentzel
Check out the archive for more information about multipart requests. There have been several threads started. In short it is possible but haven't heard of anyone getting it done with jsp's but with servlets instead. --- Michael Wentzel Software Developer A

RE: startup class in Tomcat

2001-01-23 Thread Stefán F. Stefánsson
Make a servlet which init() only calls the methods needed in your class. That way you extract the functionality to your class and the servlet is only a wrapper. In other words, create a new servlet that actually does nothing except in the init method it calls the necessary methods in your class.

Why doesn't build.sh work?? I followed the README

2001-01-23 Thread Tim Darling
When I do ./build.sh, I get 'Command not found' (I have execute privelges on it) Any one know? Please help! Thanks.. I'm running Solaris. I untarred the jakarta-tomcat-3.2.1-src.tar file into /export/local/jakarta/jakarta-tomcat-3.2.1-src Following the README, I added to

RE: Invoking a servlet from JSP

2001-01-23 Thread Troy Landers
You can try using javax.servlet.RequestDispatcher or in the worst case you can open up a java.net.HttpURLConnection to the servlet and grab the returned data. I'm pretty sure that there is a struts taglib that will do the latter too. Troy -Original Message- From: Robert E. Baker

'Dir checksum error' untarring jakarta-tomcat-3.2.1-src.tar onSolaris .. ??

2001-01-23 Thread Tim Darling
Same error untarring jakarta-tomcat-3.1.1-src.tar on Solaris. Anyone seen this? If I untar on Linux and retar then ftp to Solaris, I get the same error. Please help! - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: problem with classpath and .jar files

2001-01-23 Thread André Alves
Hi, Yes, I create the directory struct in .jar. --- CPC Livelink Admin [EMAIL PROTECTED] escreveu: Did you create the jar with directories? -Original Message- From: Andr Alves [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 23, 2001 11:46 AM To: [EMAIL PROTECTED] Subject:

Re: 'Dir checksum error' untarring jakarta-tomcat-3.2.1-src.tar onSolaris .. ??

2001-01-23 Thread Ludovic Maitre
Tim Darling wrote: Same error untarring jakarta-tomcat-3.1.1-src.tar on Solaris. Anyone seen this? If I untar on Linux and retar then ftp to Solaris, I get the same error. Please help! - To unsubscribe, e-mail:

HOW TO ? Passing parameter to another page

2001-01-23 Thread Christophe . Demez
Hello, I have a simple problem, in a JSP page I have for ... { td a href="queryShareDetails.jsp?key=" jsp:getProperty name="queryShare" property="MyPrimaryKey"/" jsp:getProperty name="queryShare" property="symbol"/ /a /td ... } I want to put a link with a dynamic parameter. Why ?

Re: help need

2001-01-23 Thread Kief Morris
Affan Alim typed the following on 04:37 PM 1/23/2001 + Any body knows about the big diffrences between the tomcat server, Jrun and Java Web Server which is power full and why? Tomcat 3.x is (as I understand it) the replacement for Java Web Server - Sun joined with Apache to form Jakarta,

Servlets under /webapp/app_name/java ?

2001-01-23 Thread Aidee Angulo P.
Hi All, What I should do for configure servlets directory other than /servlets for a new application? with regards, Aide P.D. Please tell me how I should do in web.xml and server.xml. - To unsubscribe, e-mail: [EMAIL

response.sendRedirect() and NSAPI redirection...

2001-01-23 Thread Dean Des Rosiers
Hello, All. I have a legacy web app running under iPlanet Web Server 4.1. I have configured the app to run under Tomcat 3.2 and it runs fine. Our app needs iPlanets additional speed in handling static content, though, so I configured iPlanet to use the NSAPI redirector. Everything seems

RE: tomcat installation under win98

2001-01-23 Thread Cato Førrisdahl
Daniel Aderhold wrote: Hello. I'm new to Tomcat. Hi, how nice. You have something to look forward to if you take the time to read a little bit. :) I want to run jsp pages and java servlets in my PC. I'm using Windows 98. That shouldn't be a problem at all. I'm confused about which file(s) I

Re: 'Dir checksum error' untarring jakarta-tomcat-3.2.1-src.tar onSolaris .. ??

2001-01-23 Thread Purav Patel - Sun Microsystems
Using GNU tar will not give you any errors on Solaris. - Purav Tim Darling wrote: Same error untarring jakarta-tomcat-3.1.1-src.tar on Solaris. Anyone seen this? If I untar on Linux and retar then ftp to Solaris, I get the same

passing an object using sessions - STRANGE???

2001-01-23 Thread David Treves
Hi there, first allow me to apologize for the complexed description... :o) I am trying to pass an object using the HttpSession interface. my object is: class test { int num = 5; String str = "this is the string"; } I added the instance I created in the first JSP page to the session (

How do I get jk_jnicb.o ?? ./build doesn't make it, I don'tthink

2001-01-23 Thread Tim Darling
In src/native/jni_connect/ there's: Makefile.nw Makefile.solaris jk_jnicb.cjk_jnicb.exp jk_jnicb.hjni_connect.dsp jni_connect.dsw When I ./build, it doesn't seem to compile those files.. does anyone know where jk_jnicb.o is or how I can make it? Thanks again!

Re: Servlets under /webapp/app_name/java ?

2001-01-23 Thread Alex Fernández
A simple answer would be: place every servlet in your web.xml file, and apply a servlet mapping. You must do it for each one you have, but then it works (that's what I do). And also, you can skip those odd package names. Un saludo, Alex. web-app servlet servlet-name

[TOMCAT] Spaces in directories / filenames

2001-01-23 Thread Daniel Wabyick
Hello, I am running Apache with Tomcat 3.1 under Linux. I just transferred a web-app that was working under Windows NT / Weblogic to Linux and I am having a problem with spaces in filenames. This is definitely happening only under the web-app directory (served by Tomcat). Here is my

RE: Servlets under /webapp/app_name/java ?

2001-01-23 Thread Michael Wentzel
Set up a servlet mapping in web.xml. As follows: servlet-mapping servlet-name NameHere /servlet-name url-pattern /example/NameToBeCalled /url-pattern /servlet-mapping here all requests to localhost/example/NameToBeCalled

mod_jk, j_security_check

2001-01-23 Thread David Haraburda
Hi, I have a quick question. I am using form-based authentication, and was having a problem where Tomcat would see the ACTION="j_security_check" and try to load this page from the filesystem (which is not what I want, of course) I fixed this by doing: JkMount

sample JSP sites?

2001-01-23 Thread Richard Diaz
Hi I'm just learning JSP. I just installed linux 6.0 and I am going to put tomcat 3.2 on it. If anyone can post url to yout jsp sites links and a brief (or not) description on the site design it would be much appreciated! Rich _ Do

RE: HOW TO ? Passing parameter to another page

2001-01-23 Thread Stefan Langer
SO what is your problem exactly?? Stefan

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

2001-01-23 Thread Randy Layman
Its probably because the String str is not public, only package access. Tomcat should have complianed and printed out the description 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.

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

2001-01-23 Thread Stefan Langer
What kind of error message do you get?? WIth a quick look at your code there is one thing that I can think of. The variable str has package visibility so if the servlet that gets generated by Tomcat is not part of the anonymouse package (or the package you specifiy) it has no right to

Re: in other directory

2001-01-23 Thread Landaluze Produktions IS - Carlos
i dont see howe to start tomcat form another directory., can you help me more? can you say me where is it? thansk Carlos - Original Message - From: "Grobe, Gary" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 22, 2001 10:35 PM Subject: RE: in other directory In the docs

Re: problem with classpath and .jar files

2001-01-23 Thread André Alves
In winnt I placed .jar below of the /WEB-INF/classes/ and only configured in wrapper.properties classpath for .jar and the program functioned perfectly. I made this same configuration in redhat, but it did not work. Somebody knows which can be the cause of this? --- Jeffry Guttadauro [EMAIL

RE: problem with classpath and .jar files

2001-01-23 Thread Morahg, Yoav
.jars go in the WEB-INF/lib directory, not WEB-INF/classes. -Yoav -Original Message- From: Andr Alves [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 23, 2001 1:18 PM To: [EMAIL PROTECTED] Subject: Re: problem with classpath and .jar files In winnt I placed .jar below of the

Re: problem with classpath and .jar files

2001-01-23 Thread Jeffry Guttadauro
You should be able to get this to work without touching the wrapper.properties file. You want to place the .jar file for your application will need in that application's WEB-INF/lib directory, not below the WEB-INF/classes directory. [EMAIL PROTECTED] on 01/23/2001 12:21:00 PM Please

RE: problem with classpath and .jar files

2001-01-23 Thread André Alves
I already tried to place .jars in /WEB-INF/lib, but this did not function... therefore I is trying to know if it is necessary to configure or worker.properties or wrapper.properties so that tomcat finds jars... --- "Morahg, Yoav" [EMAIL PROTECTED] escreveu: .jars go in the WEB-INF/lib

Re: sample JSP sites?

2001-01-23 Thread Aidee Angulo P.
Hi Richard, Try to visit this: http://www.xmlclassroom.com/lvista/index.jsp Aidee Richard Diaz wrote: Hi I'm just learning JSP. I just installed linux 6.0 and I am going to put tomcat 3.2 on it. If anyone can post url to yout jsp sites links and a brief (or not) description on the

RE: Why doesn't build.sh work?? I followed the README

2001-01-23 Thread Tom Albinson
Hi Tim try sh build.sh that works on my system Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

WebApps and Sub-Projects

2001-01-23 Thread Waldhoff, Rodney
Title: WebApps and Sub-Projects We've got a J2EE project that like most is composed of multiple sub-projects, each sub-project being a fairly autonomous set of JSPs/Servlets/EJBs etc. but with some sharing of components across sub-projects (and a lot of linking between projects in the

Re: Invoking a servlet from JSP

2001-01-23 Thread robertbaker
Do you have an example of this, or can you point me in the right direction? Bob -- From: Troy Landers [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] Subject: Re: Invoking a servlet from JSP Date: Tue, 23 Jan 2001 09:57:15 -0600 You can try using

properties files and tomcat

2001-01-23 Thread Christoph Rooms
Hi, I want to read a properties file like this : Properties.class.getResourceAsStream("my.properties"); This function should find the properties files when it's in the CLASSPATH. I have putted the properties file in the WEB-APPS dir ... anyone ? thanks ...Christoph

error building mod_jk for Suse Linux

2001-01-23 Thread Landaluze Produktions IS - Carlos
in my Suse linux i have the jdk1.3 whe i got to comple the mod_jk from the jakarta3.2.1 source i make in the manual i read: i am in the apache1.3 directory and i make: apxs -o mod_jk.so -I../jk -I/usr/local/jdk/include -I/usr/local/jdk/include/linux -c *.c ../jk/*.c and it runs butr appear the

Re: WebApps and Sub-Projects

2001-01-23 Thread matt . wong
Hi Rodney, isn't this a generic design issue, rather than a jakarta-apache issue? It sounds like the solution you want lies in modularizing your project design so that the lots of little apps have an identical framework as your target one big-app. So: --- application framework (for testing,

RE: properties files and tomcat

2001-01-23 Thread Randy Layman
The problem is that java.util.Properties is loaded by the system class loader, which knows nothing about the class loaders for the web-applications. You need to do something like: public MyClass { public loadProps() {

org.apache.jasper.compiler.CompileException: Unable to convert a String to java.lang.Object for attribute name

2001-01-23 Thread Fisher, Vick
Title: org.apache.jasper.compiler.CompileException: Unable to convert a String to java.lang.Object for attribute name Hi All, I am trying to use a JRun tag called form. I have already used JRun foreach tag from the same jar in the same browser and tomcat server, so those parts seem to work

RE: properties files and tomcat

2001-01-23 Thread CPC Livelink Admin
Actually, there are good reasons to NOT do it that way. You may not have access to the file system for one, or the property file may be embedded ina JAR file. Whereas if you use the getResourceAsStream you don't have thise problems. However, if you need to access an arbitrary file, using

Re: Invoking a servlet from JSP

2001-01-23 Thread Craig R. McClanahan
"Robert E. Baker" wrote: I have a self-contained servlet that returns a single value. I am trying to include the output of this servlet in-line on an HTML/JSP page. When I try to invoke the servlet using the following JSP INCLUDE tag, the page bombs with Exception #500

Re: tomcat lisence

2001-01-23 Thread C. Jason Benedict
ok...so if it is free, can it be used in a production environment that generates a profit? -- C. Jason Benedict - Original Message - From: "Ciot, Thierry" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, January 23, 2001 1:20 PM Subject: RE: tomcat lisence Yep it is free both

Re: Invoking a servlet from JSP

2001-01-23 Thread Craig R. McClanahan
Michael Wentzel wrote: Do you have an example of this, or can you point me in the right direction? The tomcat implementation is in src/org/apache/tomcat/core/RequestDispatcherImpl.java. Depending on what you need passed to the servlet(as long as you don't need the entire HttpSession

tomcat under win98

2001-01-23 Thread Daniel Aderhold
Hello. I'm new to Tomcat. Please can any one tell me exactly which file(s) I must download from jakarta web site. I want to run jsp pages and java servlets in my home computer with win98. How must I install them? Best regards, Daniel Aderhold

RE: properties files and tomcat

2001-01-23 Thread Christoph Rooms
Hi Greg, You can use the CLASSPATH to load properties files ... Properties p = new Properties(); java.io.InputStream is; is = getClass().getResourceAsStream("rnb.properties"); if (is == null) throw new Exception("Properties file not found"); p.load(is); This works fine ! greetz,

Re: WebApps and Sub-Projects

2001-01-23 Thread Kief Morris
Waldhoff, Rodney typed the following on 12:57 PM 1/23/2001 -0600 It occurs to me that others must have encountered similar problems with overlaying sub-projects onto what for all intents and purposes is a single web application, and I wonder what if any solutions you have come up with. If

RE: jsp:getProperty... error in scriptlets

2001-01-23 Thread Stefan Langer
I'm sorry but I made a small mistake the import tag is not irrelevant. What I meant is that it doesn't concern the class attribute. Stefan

RE: database question

2001-01-23 Thread CPC Livelink Admin
If you can get an ODBC Driver to the target database, then you can use access to export (File Menu then Export) the entire DB using an ODBC connection. I have dones this for Oracle once. -Original Message- From: Richard Diaz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 23, 2001

Re: database question

2001-01-23 Thread Matt Wong
this is a common question from Access users wanting to convert to some other db, and the Microsoft answer is that the Access file format is proprietary and therefore if MS doesn't provide a conversion program (which they don't), then you're out of luck. The solution then is to write some VB

Possible isapi bug.

2001-01-23 Thread Craig Tataryn
I've noticed that if I edit my uriworkermap.properties file, shut down IIS and then restart IIS the changes I've made to the uriworkermap.properties file are not taken into account. In order to get the changes to take place, I have to reboot. Is it possible that the isapi dll is not being

Re: startup class in Tomcat

2001-01-23 Thread Craig R. McClanahan
William Au wrote: Besides setting load-on-startup in the web.xml file, is there another way to have a startup class define in Tomcat? ( ie I want a class to run whenever Tomcat is started) Tomcat 4.0 implements the new "application events" feature of the Servlet 2.3 (Proposed Final Draft)

Re: Single sign-on with Tomcat 3.21

2001-01-23 Thread Craig R. McClanahan
Frederic Kam-Thong wrote: The J2EE spec makes it clear that single sign-on for web-based applications should be supported (J2EE spec, section 3.4.1.1). The specification says: "It must be possible for one login session to span more than one application, allowing a user to log in once and

Which JVM for Tomcat?

2001-01-23 Thread Richard Diaz
I'm getting ready to install a JVM. Is it OK not to use Java2 with Tomcat (since that requires a 5+ meg download by the user) ? I am also Planning on using Expresso Tools. Which JVM works best with Apache Tomcat? Sun? IBM? thanks Rich

Re: properties files and tomcat

2001-01-23 Thread Craig R. McClanahan
Christoph Rooms wrote: Hi Greg, You can use the CLASSPATH to load properties files ... Properties p = new Properties(); java.io.InputStream is; is = getClass().getResourceAsStream("rnb.properties"); if (is == null) throw new Exception("Properties file not found"); p.load(is);

Re: tomcat lisence

2001-01-23 Thread Kief Morris
C. Jason Benedict typed the following on 03:50 PM 1/23/2001 -0600 ok...so if it is free, can it be used in a production environment that generates a profit? It is under the same license as the Apache web server, which is the most widely used web server on the Internet for commercial as well as

Cocoon and Tomcat

2001-01-23 Thread Robert Taylor
Greetings, I want to use Cocoon for XSL transforms with Tomcat. I'm fairly new to Tomcat and have read all available documentation (including the archives)on intalling Cocoon using Tomcat. Configuration: Win98, Tomcat3.2.1, Cocoon1.7.4 I have added all necessary Cocoon components to the Tomcat

Tools.jar

2001-01-23 Thread eitan golan (Kamoon IL)
Title: Tools.jar Hello there boys and Girls I have a license issue 1. Sun JDK's license is for non commercial or production use 2. For Production and commercial use they give the JRE 3. Tools.jar is a part of the JDK and is missing from the JRE 4. Tomcat needs Tools.jar for it's normal

jdbc realm

2001-01-23 Thread John de la Garza
If I have two different projects under the webapps dir and want each one to use a different data base, how can a do that? Seems that the jdbc realm stuff is in the conf/server.xml file that applies to all projects. - To

Re: Which JVM for Tomcat?

2001-01-23 Thread Jason Pell
You can use Java 2 with tomcat, because the JVM is running on the server, the user will not even know about it. But IBM JDK118 works nicely on linux/redhat 6.2 with tomcat 3.2.x. I am also using j2jdk1.3 from Sun. Both work fine. Cheers Jason Richard Diaz wrote: I'm getting ready to

Re: database question

2001-01-23 Thread Filip Hanik
ER/Win from Computer Associates will generate a schema for every database on the planet. It has round trip engineering too Filip ~ Namaste - I bow to the divine in you. ~ Filip Hanik Technical Architect [EMAIL PROTECTED] - Original Message - From: "Darrell Porter" [EMAIL PROTECTED] To:

RE: OFFTOPIC - jsp hosting sites

2001-01-23 Thread Damian Penney
http://www.aoindustries.com Comes highly recommended from my friend who hosts a site there, Tomcat, mySQL. PostGres, plenty of bandwidth all for an amazing $30 a month. Damian -Original Message- From: Darrell Porter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 23, 2001 3:18 PM To:

Re: Which JVM for Tomcat?

2001-01-23 Thread Filip Hanik
Applets run on the client machine in the client VM. (and this VM is complete separate from the Tomcat VM that runs on the server) if you want to control the client VM you can use the Java Plug-In. take a look at http://java.sun.com/products/plugin Filip ~ Namaste - I bow to the divine in you.

newbie [apache/tomcat] question: what does AJP stand for?

2001-01-23 Thread sharkis j avatar
howdy, i found a lot of info on ajpv12 vs ajpv13, for example, but nothing that explains the protocol in depth (including what it stands for). since it seems like the servlet container (e.g. tomcat) talks to the webserver adapter (e.g. mod_jk or mod_jserv) via ajp12 or ajp13 [and then the

JSP 404 error with TOMCAT standalone

2001-01-23 Thread Oleg Timofeyev
Hello, I need a little help here please. I just installed TOMCAT and use it as standalone. Problem is that examples of Servlets work fine but when I try example of JSP it gives me: Not Found (404)Original request: /examples/jsp/sessions/carts.jsp Not found request:

Re: newbie [apache/tomcat] question: what does AJP stand for?

2001-01-23 Thread Filip Hanik
try to look around on the Jserv section of Apache.org the APJ protocol was originally built to bridge Apache and JServ. (hence the name and all the references AjpServMount etc) the protocol was then adapted and modified to work with Tomcat. the module/protocol goal now is to allow plugins for

  1   2   >