declaring a class in JSP

2000-12-13 Thread romain
Yo dudes, I have this JSP: <% private class Something{} %> this get's rejected by Jasper. Is there any reason why? Sloot.

Re: How to configure Tomcat-Apache connection (long)

2000-12-13 Thread Wojciech Wasowicz
Dave Newton wrote: > > If I open .jsp file through tomcat - it runs > > If I open .jsp file through apache - tomcat communication - it displays > > text of file > > I think w/o seeing actual files it'll be tough to help. If you're including > the conf-auto file and have all your ports etc. set up

Loading beans

2000-12-13 Thread Venkat
Hi All   Can anyone help me to resolve this   When i created more contexts in server.xml and added them to uriworkers.properties, but when i use beans, i'm not able to access   to be clear:   i have created a contex  by name tests path d:/tests subfolders d:/tests/web-inf/classes i place

Binding to IP? (Tomcat 3.2)

2000-12-13 Thread Aleksey Tsalolikhin
Dear all, Is there any way to get Tomcat to bind to a particular socket, rather than just a port? We're running Tomcat as stand-alone web server (load testing of our application showed it ran faster under stand-alone Tomcat than with Apache+mod_jserv), with the HTTP connector b

IIS with different contexts

2000-12-13 Thread vishnuv
hi, I am using Tomcat version 3.2 beta 6. I have currently six contexts in server.xml. I have perfectly configured the IIS. the ISAP_redirectdll shows green. When i was previously using version 3.1, all these contexts were prefectly working when routed through IIS. But now that i have install

RE: webapps are useless toys?!

2000-12-13 Thread CPC Livelink Admin
I think the idea is that Webapps are distinct self-contained applications and therefore should not depend on _anything_ outside of the webapp. If you have components which need to share session info, they _should_ be in the same webapp. You would then build your webapp as you would any applicatio

Tomcat and JSSI

2000-12-13 Thread JTaylor700
Hello: Has anybody successfully intertwined the JSSI with the Tomcat engine so that it will parse the jhtml files allowing the server side includes?  I am running the new tomcat version 3.2 Jaosn

error 401 : IIS redirector

2000-12-13 Thread Rajeev Jha
HI trying to set up tomcat to work with IIS4.0. but i am unable to redirect requests from IIS to tomcat . the IIS logs show the following : 07:03:19 127.0.0.1 GET /samples/images/powered.gif 304 07:03:19 127.0.0.1 GET /jakarta/isapi_redirect.dll 401 and the isapi.log file has the following mess

Re: How do I determine the Relese Ver No

2000-12-13 Thread Sunil Kumar K
Hi Guys,    Can u ppl help me out    can anyone send me a complete installation script for tomcat 3.2 on Red Hat Linux 6.2    I have apache 1.3.14    apache Jserv 1.1.2cheersSunil - Original Message - From: Craig R. McClanahan To: [EMAIL PROTECTED] Sent: Thursday,

webapps are useless toys?!

2000-12-13 Thread Andy Nuss
Hi, Does anyone with a need for one session for all areas of the site (single sign-on for users) find the current JSP specification for Web-apps useful? It seems like each webapp is a separate servlet context, which means that there is no way to share session info among different components of t

RE: UserDir and Tomcat.

2000-12-13 Thread Kenichi Mori
Thank you for this information. I can go on with this solution because I have very few users including me. I hope Tomcat will have a future like apache's mod_userdir. And since Tomcat uses XML for configuration, I believe it will be done by providing a custom XML tag for configuration to run user

Re: Advices for IIS-Tomcat integration & Service configuration

2000-12-13 Thread Lee Poh Heng
Try using the workers.properties and and uriworkermap.properties file from Tomcat 3.1 instead of those in 3.2. 3.2 has some new setting which are not in the How-To. - Original Message - From: "Kintzer, Michael" <[EMAIL PROTECTED]> To: "'Nacho '" <[EMAIL PROTECTED]>; "''tomcat-user' '" <[

welcome file

2000-12-13 Thread Tran, Francis
Hello! I am trying to have all my http request foward to a mainServlet first and after few verification send it to the appropriate page. For example, if you type http://mylocalhost/ if should go directly to myapp/servlet/mainServlet which reside in Tomcat. However if you type

precompile jsp

2000-12-13 Thread Joan Xiao
Hi all, I've been trying to use jspc to precompile the jsp pages into java classes. Below is the steps I've taken: 1. run jspc and generate the java code and web.xml 2. insert the web.xml generated in step1 into my web.xml. 3. compile the java files into class files. Now I have problem with w

RE: can jsp handle multipart/form-data ?

2000-12-13 Thread jokozlow
Title: RE: can jsp handle multipart/form-data ? Try this: * Using the Orielly lib, create your multi object, but use a temporary file storage location in the constructor. * Once the file is saved to your temporary location, get the "File" instance. * Save the file to your DB, or a permanent

RE: Advices for IIS-Tomcat integration & Service configuration

2000-12-13 Thread Kintzer, Michael
Hola Ignacio, Thanks for all the tips. I got isapi_redirect.dll working fine with IIS5 and Tomcat 3.2.1 at home without any problems. I did not need to remove ajp13. I'll probably remove it anyway. I did use a shorter directory name for Tomcat than the default. Now I just need to figure out

RE: webapp directory

2000-12-13 Thread guyr
Dave, thanks for the pointers. However, (1) I would be more confused than ever . My workers.properties file is totally erroneous. It has workers.tomcat_home=c:\jakarta-tomcat workers.java_home=c:\jdk1.2.2 both of which are wrong. But Tomcat is successfully serving both JSPs and servlets. H

Tomcat reports incorrect HTTP port from HttpUtils.getRequestURL(request)

2000-12-13 Thread David M. Holmes
** Please respond to [EMAIL PROTECTED] ** Tomcat 3.2 final If I call this https://www.affiliate.com/test.jsp and test.jsp contains this <%= HttpUtils.getRequestURL(request).toString() %> I get this https://www.affiliate.com:80/test.jsp Notice the incorrect port. Is this a known bug with the Se

building URL's?

2000-12-13 Thread Jacob Kjome
What is the best way to build URL's without hardcoding them? Right now, I have tried this: SERVLET_HOME = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + request.getRequestURI(); DOCUMENTS_HOME = request.getScheme() + "://" + request.getServerName() + ":

RE: Installtion problem

2000-12-13 Thread micky mimo
Title: RE: Installtion problem Crazy! lets drink a few more cups of coffe. /===\ | Micky Mimo    | | Systems Specialist    | | (781) 457 - 1317  | | [EMAIL PROTECTED] | \===/ -Or

Re: Installtion problem

2000-12-13 Thread Craig R. McClanahan
John de la Garza wrote: > I get the exact same error! No ports are in use. Let me know if you get > this figured out, please! > Using "netstat" by itself does not list ports on which a server application is listening. You have to use "netstat -a" to see those. Craig McClanahan

Re: Current the context from a servlet - to open a file?

2000-12-13 Thread Craig R. McClanahan
Jeff Taylor wrote: > When running a servlet (located in webapps/myapp/WEB-INF/classes) I'd > like to open a ascii file (located in webapps/myapp). What's the best > way of obtaining the current Context -- so as not to hardcode it in? Is > there an appropriate class/method to call? Thanks in ad

RE: Tomcat 4.0 milestone 4 and jsp:expression tag

2000-12-13 Thread Patrick McFarlane
Pierre, Thanks for taking the time to email me. I downloaded the nightly build as of 12/10/2000, got it built and running and tried changing the request-time attribute expressions as specified and it didn't seem to have the desired effect. It seems that they aren't recognized/evaluated. I will t

Re: Filters in Tomcat 4 m4

2000-12-13 Thread Dan Malks
Craig, "Craig R. McClanahan" wrote: > Dan Malks wrote: > > > All, > > I've looked around but can't find any discussion about the filter > > examples in the current release of Tomcat 4 m4. > > > > I'd like to test some filters, but when trying to use one, get the > > following in the name_example

Re: role-based security how to?

2000-12-13 Thread Thom Park
..But use of   /is/ broken in tomcat 3.2 e.g. consider the following web.xml fragments:  fred and in the servlet definition we have  

RE: Installtion problem

2000-12-13 Thread Dave Newton
Hola, > I have just downloaded Tomcat 3.2.1 onto Windows 98 machine. You poor thing ;) > tomcat run I don't know what that is, when I was running Tomcat under Windows I just did 'tomcat start' and 'tomcat stop' as per the documentation. > tomcat start > 2000-12-13-ContextManager: Adding conte

RE: Installtion problem

2000-12-13 Thread John de la Garza
I get the exact same error! No ports are in use. Let me know if you get this figured out, please! By the way, if you didn't realize, after the server starts and outputs this error, it will still work. Are you using JDBC realm security? That is when I started seeing the problem. -Origi

Current the context from a servlet - to open a file?

2000-12-13 Thread Jeff Taylor
When running a servlet (located in webapps/myapp/WEB-INF/classes) I'd like to open a ascii file (located in webapps/myapp). What's the best way of obtaining the current Context -- so as not to hardcode it in? Is there an appropriate class/method to call? Thanks in advance! Jeff

Installtion problem

2000-12-13 Thread Andy Sosnowski
Hi I have just downloaded Tomcat 3.2.1 onto Windows 98 machine. When I invoke   tomcat run   I get the following messages.   2000-12-13 03:42:38 - ContextManager: Adding context Ctx( /admin )2000-12-13 03:42:38 - ContextManager: Adding context Ctx(  )2000-12-13 03:42:38 - ContextManag

RE: Advices for IIS-Tomcat integration & Service configuration

2000-12-13 Thread Jacob Kjome
One thing to add... You can use long names for directories as long as you do it like the following: C:\Progra~1\Apache~1\Jakarta\Tomcat would be equivalent to C:\Program Files\Apache Group\Jakarta\Tomcat I have use this in my integration with both Apache Server and IIS and it works fine. Ja

Re: role-based security how to?

2000-12-13 Thread Mike La Budde
Thanks Craig! I had tried defining several security-constraints like this: customers /pages/customers/* sales admin orders /pages/orders/*

RE: webapp directory

2000-12-13 Thread Sudheesh Nair
Title: RE: webapp directory But The same doesn't work for tomcat root directory . Even I am struggling to make this work for the tomcat root directory. I don't want to use a seperate web.xml from the another directory.. I need my directory to be the root doc_base for timcat by default. Any o

Advices for IIS-Tomcat integration & Service configuration

2000-12-13 Thread Nacho
Hola a Todos: This messages is intended to help a little everybody that are trying to get to work the IIS-Tomcat , with no luck. * check case of file names and directories is a big source of trouble * dont use long filenames in directories when possible try to install tomcat inside a path withou

Re: Filters in Tomcat 4 m4

2000-12-13 Thread Craig R. McClanahan
Dan Malks wrote: > All, > I've looked around but can't find any discussion about the filter > examples in the current release of Tomcat 4 m4. > > I'd like to test some filters, but when trying to use one, get the > following in the name_examples_log_2000_12_13.txt: > Are you just uncommenting th

RE: webapp directory

2000-12-13 Thread Dave Newton
> This is well-documented for for mod-jserv, but not at all for mod_jk. Again, I'd shoot for the "Working with mod_jk" document (http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/mod_jk-howto.html) where I would find the section called "Configuring Apache to use mod_jk" (http://jakarta.apac

RE: Tomcat started with jk_nt_service Terminates on console exit

2000-12-13 Thread jokozlow
Title: RE: Tomcat started with jk_nt_service Terminates on console exit Thank you for your responses.  Yes, your are correct, I am running JDK 1.3.  I have since rolled back to 1.2.2. Best Regards, Joel Kozlow > -Original Message- > From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]]

RE: webapp directory

2000-12-13 Thread guyr
Title: RE: webapp directory Yes. I put up a question last week asking how to get Apache to serve static stuff while just forwarding jsp and servlet requests to Tomcat.  This is well-documented for for mod-jserv, but not at all for mod_jk.  Unfortunately, I received no responses.  If you are

Filters in Tomcat 4 m4

2000-12-13 Thread Dan Malks
All, I've looked around but can't find any discussion about the filter examples in the current release of Tomcat 4 m4. I'd like to test some filters, but when trying to use one, get the following in the name_examples_log_2000_12_13.txt: 2000-12-13 13:34:13 StandardContext[/examples]: Exception

RE: How to configure Tomcat-Apache connection

2000-12-13 Thread Dave Newton
> > > I just can't accomplish jsp programs through apache. > > > > But what _happens_ when you try? > > > > Dave > > If I open .jsp file through tomcat - it runs > If I open .jsp file through apache - tomcat communication - it displays > text of file I think w/o seeing actual files it'll be toug

Re: webapp directory

2000-12-13 Thread Frank Morton
Title: RE: webapp directory Does doing this mean that static html files are served through tomcat, so it will be a slow way to serve those files? I don't know how to remap the Tomcat document root.  But to remap a single context, do this:     docBase="c:/Apach

Re: role-based security how to?

2000-12-13 Thread Craig R. McClanahan
Mike La Budde wrote: > I'm a bit at a loss as to how I'm supposed to configure the role-based > security in my webapp's web.xml file. > > Consider the following scenario for my webapp: > > arearoles > /pages/customers/* sales,admin > /pages/orders/*

Re: How do I determine the Relese Ver No

2000-12-13 Thread Craig R. McClanahan
Shahed Ali wrote:  Hi, I downloaded Tomcat 3.2 Final release a few days ago. How do I know if its b1 or b2 or what ? ThanksShahed On the "welcome" page you get when you first start Tomcat, you'll see in the title something like "Tomcat 3.2" -- which means you have the final version.  One of the

RE: Sessions and absolute URLs

2000-12-13 Thread guyr
Title: RE: Sessions and absolute URLs A bean is just java code with some conventions.  You can definitely access a bean from a servlet.  A JSP gets compiled into a servlet. -Original Message- From: Sen, Puny [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 12, 2000 1:02 PM To: '[EMA

Re: How to configure Tomcat-Apache connection

2000-12-13 Thread Wojciech Wasowicz
Dave Newton wrote: > > I just can't accomplish jsp programs through apache. > > But what _happens_ when you try? > > Dave If I open .jsp file through tomcat - it runs If I open .jsp file through apache - tomcat communication - it displays text of file You can see it in links I've sent earlier

RE: webapp directory

2000-12-13 Thread guyr
Title: RE: webapp directory I don't know how to remap the Tomcat document root.  But to remap a single context, do this:     docBase="c:/Apache/htdocs/domino" crossContext="false" debug="0" reloadable="true" >    

RE: Where to put the JSP files in Windows95

2000-12-13 Thread Andrew Paradis
You can put them in any directory you want, provided you update the conf/server.xml file appropriately. Say you want them in a directory named "foo." You would add this to server.xml: Don't forget to add a WEB-INF directory under "foo," and include a web.xml file in it. Cheers, Andrew >

RE: How to configure Tomcat-Apache connection

2000-12-13 Thread Dave Newton
> I just can't accomplish jsp programs through apache. But what _happens_ when you try? Dave

Re: How to configure Tomcat-Apache connection

2000-12-13 Thread Wojciech Wasowicz
Mike La Budde wrote: > Please read the mod_jk-howto.html file in your tomcat/doc directory. > > NOTES: > 1) You should be using Tomcat 3.2 (or, perhaps 4.0) I use 3.2 > > 2) You should use mod_jk (and not the older mod_jserv) I use it - I compiletd it from sources and > > 3) Make sure you inc

Where to put the JSP files in Windows95

2000-12-13 Thread Pratheba Periasamy
Hi, I have downloaded and installed Tomcat3.2 in Windows95. I have set the JAVA_HOME and TOMCAT_HOME variables. But I do not know, in which directory to put the JSP files. I have saved them in webapps directory. But when I view it in the browser using http://localhost:8080/Helloworld.jsp, I

RE: 404 with isapi_redirect.dll, tomcat3.2

2000-12-13 Thread Nacho
> 20:19:00 127.0.0.1 GET /jakarta/isapi_redirect.dll+ 404 this is strange, this plus sign after dll filename? a 404 ? it should be a 200 to signal that the dll has been found in the jakarta virtual dir... it seems you have done a mistake in the register changes please review that.. Saludos , Ig

Re: How to configure Tomcat-Apache connection

2000-12-13 Thread Mike La Budde
Please read the mod_jk-howto.html file in your tomcat/doc directory. NOTES: 1) You should be using Tomcat 3.2 (or, perhaps 4.0) 2) You should use mod_jk (and not the older mod_jserv) 3) Make sure you included the autogenerated mod_jk.conf-auto file into Apache's httpd.conf file. 4) Are you reall

RE: 404 with isapi_redirect.dll, tomcat3.2

2000-12-13 Thread Jacob Kjome
Have you restarted the server or the simply the IIS service? I was having these sorts of problems until the machine was rebooted due to maintainance on some unrelated stuff. If you haven't done this, do that and then report back to the list if it continues to behave this way. Jake -Origina

404 with isapi_redirect.dll, tomcat3.2

2000-12-13 Thread Carles Pi-Sunyer
I'm sorry if this is a repeat of an earlier message. I didn't see the first message appear on the mailing list. Hi, I'm having a problem getting the IIS redirect to work with tomcat 3.2. Here are the details: *) The filter is loaded (green arrow up). *) It appears that tomcat is never receiving

How to configure Tomcat-Apache connection

2000-12-13 Thread Wojciech Wasowicz
I have configured apache and tomcat so they communicate: apache - http://testlinux.softgroup.net.pl:8080/examples/jsp - apache communicating with tomcat tomcat - http://testlinux.softgroup.net.pl:8085/examples/jsp/index.html - tomcat own port - both are working - but if you will try to run

Re: Servlet Mappings and what am I doing wrong.

2000-12-13 Thread Andrew Oliver
thanks that did it! along with moving out of the webapps context and getting my own context in server.xml vs defaults thanks to everyone else who helped! --- Pier Paolo Bortone <[EMAIL PROTECTED]> wrote: > Ok. > > Andy, I send you my web.xml that could be help you, > where all dwf file are > h

Re: running init() twice?

2000-12-13 Thread Gocin.com
  I have had problems with the servlet being used in two different web-applications. This would cause two initializations of two different instances...   There should be something in the Context/whatever is passed to the init method that you could check for this. Or print out "this" and see

Re: Tomcat started with jk_nt_service Terminates on console exit

2000-12-13 Thread Mike La Budde
I'm guessing you are using jdk 1.3; since is a well-known bug with that jdk version. There may be a fix/patch available now, otherwise you will have to back down to jdk1.2.2. mhl At 12/13/2000 09:19 AM -0800, you wrote: I apologize if this is a silly question.  However, when I start Tomcat 3

AW: How do I determine the Relese Ver No

2000-12-13 Thread Ralph Einfeldt
3.2 final is, what it says it is: 3.2 final. Otherwise it would be 3.2b1 .. 3.2b8. -Ursprüngliche Nachricht- Von: Shahed Ali [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 13. Dezember 2000 18:14 An: [EMAIL PROTECTED] Betreff: How do I determine the Relese Ver No Hi, I downloaded Tomc

Re: [ANNOUNCEMENT] Security Related Updates - Tomcat 3.1.1 and Tomcat 3.2.1

2000-12-13 Thread Horace Vallas
het Craig - sorry to be dense - but what are the "appropriate contents" that should be replaced by 3.2.1? Is this just the various jar's in /lib? -- Wishing you an "OOBA OOBA" Y2K Horace...once known as "Kicker" :-) =

AW: Tomcat started with jk_nt_service Terminates on console exit

2000-12-13 Thread Ralph Einfeldt
See this mail thread just 5 days ago: Sun files this bug currently under 'recently closed' in a 'non public release': http://developer.java.sun.com/developer/bugParade/bugs/4323062.html They also give a reference to a tool that should solve the problem: http://www.kcmultimedia.

role-based security how to?

2000-12-13 Thread Mike La Budde
I'm a bit at a loss as to how I'm supposed to configure the role-based security in my webapp's web.xml file. Consider the following scenario for my webapp: arearoles /pages/customers/* sales,admin /pages/orders/* sales,clerks,admin /pages/product

How do I determine the Relese Ver No

2000-12-13 Thread Shahed Ali
Hi,   I downloaded Tomcat 3.2 Final release a few days ago.   How do I know if its b1 or b2 or what ?   Thanks Shahed

Tomcat started with jk_nt_service Terminates on console exit

2000-12-13 Thread jokozlow
Title: Tomcat started with jk_nt_service Terminates on console exit I apologize if this is a silly question.  However, when I start Tomcat 3.2 using the jk_nt_service, then logoff the server console, the main Tomcat thread is terminated.  I understand that logging off the console is a common a

RES: can jsp handle multipart/form-data ?

2000-12-13 Thread Jose Euclides da Silva Junior - DIGR.O
> Thanks a lot, Philippe! But, my doubt is how to persist the uploaded file, > since i should store it into my database, as an image field. Oreilly > component just returns me a file object of its method. This is another > problem! What should i do? Any hint? > Best Regards, > > José Eucli

Re: ROOT-Servlets not found

2000-12-13 Thread Foster Laura
I found the following message in the mail archive, but with no reply. As I have exactly the same problem, I would very much like to know what the answer is. Thanks Laura Foster Hello, this is the problem I have: I'm using Tomcat with Apache. All my static-files I put into the path TOMCAT_HOME\

Re: searchable site with all this mail???

2000-12-13 Thread Trevor Little
Try this: http://archives2.real-time.com/rte-tomcat/ > Luis Andrei Cobo wrote: > > Is there some really handy place where we can search through the > entire tomcat mailing list for answers to questions? > > Im going to assume if there is a majordomo behind this list or > something, then a copy

searchable site with all this mail???

2000-12-13 Thread Luis Andrei Cobo
Is there some really handy place where we can search through the entire tomcat mailing list for answers to questions?   Im going to assume if there is a majordomo behind this list or something, then a copy of every message still exit on some central server, so writing a JSP or two to search

Details about my IIS 5.0 + Tomcat 3.1 Installation problem

2000-12-13 Thread Gaël Laurans
I forget to say that I use W2000 Professional and the Sun JDK 1.2.2 (I try with the 1.3 on another machine and it doesn't work better) Thank you in advance, Gael Laurans

Yet another IIS 5.0 + Tomcat 3.1 Installation problem

2000-12-13 Thread Gaël Laurans
Hi all, I am trying to make tomcat 3.1 work with IIS 5.0 without any success. Tomcat works fine in standalone on the same machine. My problem looks very much like the problem reported by Michal Kinzer some days ago except that I work with Tomcat 3.1 and have nothing like an ajp13 worker configur

Re: jdbc2.0 in postgres

2000-12-13 Thread Dave Smith
Guillermo,   This is not a tomcat issue and does not belong on this list.   In answer to your query, the current postgres driver does not implement certain methods. To find out which ones, simply examine the source code for the driver (available with the distribution).   Dave - Orig

Re: Servlet Mappings and what am I doing wrong.

2000-12-13 Thread Pier Paolo Bortone
Ok. Andy, I send you my web.xml that could be help you, where all dwf file are handled by NetSite servlet. Bye. - Original Message - From: "Etienne Baert (SPS Office)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 13, 2000 4:14 PM Subject: RE: Servlet Mappings and

Re: Servlet Mappings and what am I doing wrong.

2000-12-13 Thread Matt Goss
Andrew, What you are doing won't work correctly on Tomcat. Apparently the * isn't a valid wildcard according to the servlet specification. instead, map your servlet to a specific filename like dosomething.do and then add information to the end of the URL to tell the servlet what page to forward to

RE: Servlet Mappings and what am I doing wrong.

2000-12-13 Thread Etienne Baert \(SPS Office\)
Hi Andy, I think your problem comes because you are putting directory information into the url-mapping value in web.xml : you wrote : /myorg.com/*.msp you should write : *.msp Your path to your application (context) should appear into the server.xml under the conf folder : Hope this helps,

Re: Servlet Mappings and what am I doing wrong.

2000-12-13 Thread Andrew Oliver
Apache + mod_jk. I'm actually trying it both standalone and normal (by trying on 8080 and trying on 80, but neither work). -Andy --- Pier Paolo Bortone <[EMAIL PROTECTED]> wrote: > How are you using tomcat? Standalone or with Apache > + mod_jk? > > There is a little difference. > - Origin

Re: Servlet Mappings and what am I doing wrong.

2000-12-13 Thread Pier Paolo Bortone
How are you using tomcat? Standalone or with Apache + mod_jk?   There is a little difference. - Original Message - From: Andrew Oliver To: [EMAIL PROTECTED] Sent: Wednesday, December 13, 2000 3:42 PM Subject: Servlet Mappings and what am I doing wrong. I have

Servlet Mappings and what am I doing wrong.

2000-12-13 Thread Andrew Oliver
I have some legacy code that uses its own non-jsp tag system. The following is my web.xml file put in webapps/myapp/WEB-INF dir The attempt is to map files with the extension *.msp to the RouterServlet. Unfortunately this is not happening, if I goto the directory and do an msp file it lists

RES: RES: can jsp handle multipart/form-data ?

2000-12-13 Thread Jose Euclides da Silva Junior - DIGR.O
Thanks a lot, Philippe! But, my doubt is how to persist the uploaded file, since i should store it into my database, as an image field. Oreilly component just returns me a file object of its method. This is another problem! What should i do? Any hint? Best Regards, José Euclides Júnior

Application Name

2000-12-13 Thread Saikat Chatterjee
Hello all, I have a question regarding retrieving the name of a web application. If i load a web app 'myapp' under webapps of tomcat, is it possible for me to get this name(myapp) from within a servlet? Thanks in advance, Saikat

Shutting down single context in TC

2000-12-13 Thread Shahed Ali
Hi, I am running Tomcat 3.2 / mod_jk / Apache with multiple processes listning on different ports.   I have worker threads corrosponding to these connectors using the ajp13 protocol, and each services a paticuliar Context  / corrosponding to an Apache Virtual Host.   My question is : Can

Using Jspc for precompilation of JSPs

2000-12-13 Thread G.Nagarajan
Hi, I am using JSPC for precompiling the jsp pages in my web applications. This is to avoid the delay when the page gets compiled for the first time. As far as I understood, jspc creates the .java files in the specified directory after which we have to compile them. The web.xml file has to modifi

Re: One virtualhost per webapp

2000-12-13 Thread Shahed Ali
Tomcat 3.2 has a HOST directive. Use that. I am doing just what you are trying to do and running only 1 instance of Tomcat. Regards Shahed. -Original Message- From: Angel Aray <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Tuesday, December 12, 2000 11:15 PM Subject:

Re: debug in tomcat

2000-12-13 Thread Kief Morris
Kief Morris typed the following on 10:07 13/12/2000 + >>Root cause: >>java.lang.NullPointerException >> at >>org.apache.jasper.compiler.TagBeginGenerator.generateSetters(TagBeginGenerat >>or.java:196) OK, I've tracked this down. In my own code, this is caused by having a setter with a di

Debugging Web Server

2000-12-13 Thread Marino Vittorio
Has anybody ever used the EchoServer.java for debugging purposes? I would appreciate any suggestions on how to make it work. Thanks, Vittorio

RES: stdout logging

2000-12-13 Thread Edson Carlos Ericksson Richter
I used this code. To start loggin, I have to call at least one time the init method. I`ve created some facilities to me (at my JSP and Servlets I`m not using System.err.println( "mensagem" ), but Log.log( "mensagem" (that`s short). (note that messages are in Brazilian Portuguese).

Re: FW: java platform

2000-12-13 Thread Martin Kuba
John de la Garza wrote: > > Does anyone here have experience running java under Solaris on a sparc and > Linux on a x86? I am looking to set up a server to run servlets and was > wondering which os runs java better. I would assume running Solaris on a > sparc would be the best, but I just wante

Re: stdout logging

2000-12-13 Thread Alan Wright
Same question but with more background (found text of unanswered query sent to another newsgroup) I am new to Java servlets and JSP so forgive me if the answer to these questions seems obvious: 1) How should I go about redirecting System.out.println("") output to a file for the Tomcat engine. I

stdout logging

2000-12-13 Thread Alan Wright
Is it possible to force tomcat to redirect all stdout to a specified logfile for any servlets/beans that are running under tomcat? Thanks Alan Wright

mod_jserv -DEAPI

2000-12-13 Thread Alan Wright
I get the following error when I restart httpd on my Cobalt Raq4 box. Setting up Web Service: [Sat Dec 9 10:12:15 2000] [warn] Loaded DSO /usr/lib/ap ache/mod_jserv.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI) Is there anywhere I can get e

Re: welcome-file-list

2000-12-13 Thread Sam Terburg
I want to execute a servlet as a welcome-file. how do i do this? i thought i'd put this in web.xml: test *.do index.do but that doesn't. i can't find the file index.do so it just skips the welcome file (including those defined in

using form-bnased authentication with links

2000-12-13 Thread Joakim Verona
hello, have anybody got form-based authentification to work with links? it works in netscape, explorer, mozilla, etc, but not links. does anybody know anything about this??? -- Joakim Verona [EMAIL PROTECTED] http://www.verona.se/

Directory Listing (Tomcat 3.1)

2000-12-13 Thread Nasrat, Paul (NOW)
I've had a look through the archives and at the documentation under http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/ But I'm still having problems with directory listing with Apache/Tomcat. It's definately tomcat doing the listing, I've tried placing the Directory directives below the

Fw: jdbc2.0 in postgres

2000-12-13 Thread Guillermo de Miguel
    Hi everybody, i have a problem with jdbc;i need to use Resulset's methods such as getFetchSize(), afterLast() and getRow(), the problem is a message "This method is not yet implemented.", I am using a Postgres and i would be very thanked if anybody could tell me how to reach a JDBC 2.0

Re: debug in tomcat

2000-12-13 Thread alex
hi all!!! i wrote mail to this mailling list before. but it seems that no one can help me! so i put my source file and error page to http://www.geocities.com/redbeebird/ if you have interesting please download it. and check. have fun in jsp! alex

webapp directory

2000-12-13 Thread Ralph Jensen
I try to configure Tomcat so that it uses a webapp directory other than TOMCAT_HOME/webapps (in addition to that one), but can't figure out how. The sample application webapps/examples works. I then copied the entire webapps directory somewhere else and now would like to access it by clicking on a

welcome-file-list

2000-12-13 Thread Tran, Francis
Hello! I am trying to have all my http request foward to a mainServlet first and after few verification send it to the appropriate page. For example, if you type http://mylocalhost/ if should go directly to myapp/servlet/mainServlet which reside in Tomcat. However if you type http

Re: debug in tomcat

2000-12-13 Thread Kief Morris
alex typed the following on 17:17 13/12/2000 +0900 >hi all!! >i got a problem with my code. >and the most of all. >i cannot find where i made mistake. >i was stuck for several days. >who can help me? I have a similar problem. >Root cause: >java.lang.NullPointerException > at >org.apache.ja

Re: How to configure apache to run .jsp

2000-12-13 Thread Jean-Luc BEAUDET
Wojciech Wasowicz a écrit : > I have configured apache and tomcat so they communicate: > apache - http://testlinux.softgroup.net.pl:8080/examples/jsp > - apache communicating with tomcat > tomcat - http://testlinux.softgroup.net.pl:8085/examples/jsp/index.html > - tomcat own port > - both

Re: UserDir and Tomcat.

2000-12-13 Thread Jean-Luc BEAUDET
Kenichi Mori a écrit : > Hi! > > I'm trying to make Tomcat work with Apache. > Platform is Kondara/MNU Linux 1.2-new(Based on RHL 6.x). > I want to make .jsp enable for each user accounts. > > Currently, I can access JSPs by accessing URL: > http://mytesthost/examples/jsp/ > > I checked appache's

RE: Tomcat Unix autostart

2000-12-13 Thread Jan Stevens
Hi, I spotted the problem. When tomcat is being started, it is connected to a tty (console at startup) At the end of the bootsequence every service connected to the console is being killed. When I add an entry to the inittab file, tomcat stays running, but this is not really the way I want to sol

How to configure apache to run .jsp

2000-12-13 Thread Wojciech Wasowicz
I have configured apache and tomcat so they communicate: apache - http://testlinux.softgroup.net.pl:8080/examples/jsp - apache communicating with tomcat tomcat - http://testlinux.softgroup.net.pl:8085/examples/jsp/index.html - tomcat own port - both are working - but if you will try to run

  1   2   >