Re: JSP + custom tags (XML)

2002-11-28 Thread Bill Barker
Well, this is simple enough (assuming that you can overlook Kwok's flame-bating :). According to the JSP spec (same in 1.1/1.2/2.0), your taglib definition must be relative to web.xml (e.g. see section 7.3.2 of the 1.2 JSP spec). In particular, this means that it must be in the file

Re: Chinese Content in JSP

2002-11-28 Thread Bill Barker
Tomcat 3.3.1 does a very good job at attempting to guess the charset (given the limitations of the 2.2 Servlet Spec). However, this can never be perfect (as seen by the 2.3 Sevlet-Spec adding 'request.setCharacterEncoding'). As long as you don't mind coding to Tomcat-specific behavior, you can

jk2 connector

2002-11-28 Thread mmichot
hi, I would like to connect Apache 2.0.43 with Tomcat 4.1 by using the JK2 connector, I have try to build the src found at the adress : http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0.2/src/jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz Here you can find my

Re: why is my style sheet and and validation.js ??

2002-11-28 Thread Bill Barker
Well, basically, because mod_webapp maps your entire context to Tomcat, and in Tomcat everything is eventually handled by a Servlet. Without checking the source code, I believe that this particular bug is even fixed in the latest 4.0.x release. It's a very old bug. [EMAIL PROTECTED] wrote in

Re: Evaluating the possibility of using tomcat have some questions.

2002-11-28 Thread Bill Barker
Like with the rest of mod_jk, all versions of the 'isapi_redirector.dll' can be used with any version of Tomcat (= 3.3), and any version of the Connector. D. Farris [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Greetings, We are evaluating the possibility of

RE: [OT] - Let's be nice -- Re: How do I integrate my CLASSPATH on Tomcat?

2002-11-28 Thread Steve Beech
Smile and the world smiles with you ;o) -Original Message- From: Pae Choi [mailto:[EMAIL PROTECTED]] Sent: 28 November 2002 00:12 To: Tomcat Users List Subject: Re: [OT] - Let's be nice -- Re: How do I integrate my CLASSPATH on Tomcat? You listen up. You should know who started this

Re: JSP + custom tags (XML)

2002-11-28 Thread Kwok Peng Tuck
Bill Barker wrote: Well, this is simple enough (assuming that you can overlook Kwok's flame-bating :). It wasn't flame baiting honest really ... believe me. :) If he want to parse a xml using a taglib he can use xtags at the jakarta taglib projects. According to the JSP

Re: URGENT: Tomcat4 - Setting my Application as Default

2002-11-28 Thread David Brown
Bob McCormick writes: I'm having a devil of a time configuring my Application so that when I enter 'http://someIP_or_name_or_localhost/' I get my application rather than than the Tomcat Startup Screen. At this point, I'm brain-dead I think. Here's what I've done so far: 1. Changed the

Java method equal to perl crypt()?

2002-11-28 Thread Galbayar Dorjgotov
Ok, I have an existing MySQL database that has user's passwords stored that were encrypted using the Perl crypt() function. I was wondering what the best way to re-use this database using JSP. I know enough Java to get most functionality working, and I can already connect to and read/write to

Tomcat output an error during startup: ManagedBean is not found with Ajp13Connector

2002-11-28 Thread Scherbinko Timur
Hello everybody, Tomcat output an error during startup: Nov 28, 2002 1:18:47 PM org.apache.commons.modeler.Registry loadRegistry INFO: Loading registry information Nov 28, 2002 1:18:48 PM org.apache.commons.modeler.Registry getRegistry INFO: Creating new Registry instance Nov 28, 2002 1:18:51 PM

package declaration / import - new improved!

2002-11-28 Thread Paul_Wallace
Hi, Similar to a recent posting, after some research into the subject, regarding importing a package into my JSP, I understand thus: If I have Abean.java and of course Abean.class belonging to package mybean (source below), in webapps/mydir/WEB-INF/mybean/mybean.class, and my JSP in

Mod_jk2 load balance not work

2002-11-28 Thread m jun
Dear all, I succeed to config apache + tomcat + mod_jk + loadbalance. But when replace mok_jk with mod_jk2, the load balance not work. Anyone can help me ? Here are my config file: * /* workers2.properties*/ [logger] file=${serverRoot}/logs/jk2.log level=info

Re: Is it possible to have a serlvet as a first page?

2002-11-28 Thread Pae Choi
The short answer is YES. I done that before, but put the static page back as a home page. Pae [EMAIL PROTECTED] writes: I'm using ajp13 with apache1.3 and tc4.0.x. Im using virtual hosts, and the config I use for this one looks like this: VirtualHost 130.236.228.174:80

Re: package declaration / import - new improved!

2002-11-28 Thread Ron Smits
Your bean needs a constructor without arguments like: public class Abean { public Abean () { // does nothing } } this way the bean can be instanciated. Ron On Thu, 2002-11-28 at 10:37, [EMAIL PROTECTED] wrote: Hi, Similar to a recent posting, after some research into the

Apache/Tomcat sendRedirect :0 problem

2002-11-28 Thread John Cho
Hello, I'm having an issue with Tomcat 4.1.12 and Apache 1.3.x where if I make a call to response.sendRedirect(http://hostname/servlet/foo;) Apache for some reason sends a redirect URL to the browser in the form of: http://hostname:0/servlet/foo Does anyone know what is causing this? And how

Re: [OT] - Let's be nice -- Re: How do I integrate my CLASSPATH on Tomcat?

2002-11-28 Thread m batsis
Right there with you Steve :-) Imagine all the peopl... Manos Steve Beech wrote: Smile and the world smiles with you ;o) -Original Message- From: Pae Choi [mailto:[EMAIL PROTECTED]] Sent: 28 November 2002 00:12 To: Tomcat Users List Subject: Re: [OT] - Let's be

Re: Using Zip file instead of TAR file

2002-11-28 Thread Bill Barker
It should be the same. There is a chance that some of the config files in the ZIP might have the Windows CRLF end-of-line terminator (instead of the Solaris LF), but I believe that xerces treats this as white-space. Of course, installing gtar isn't that bad, and saves you many MB on the

Tomcat classloads

2002-11-28 Thread Reynir Hübner
Hello, I am wondering if there is any short-cut into seeing how much memory each webapp in tomcat is taking at runtime ? I know it's possible to wrap the classloader object for webapplications, and make it count the numbers of objects instanciated, aproxiate the memory taken by each object by

Tomcat 4.1.15 and IIS integration

2002-11-28 Thread Panos Konstantinidis
Hello, Does anybody know of any tutorial to integrate Tomcat 4.1.15 with IIS? All the tutorials/help I have found so far explain how to do Tomcat 3.x and IIS integration. The basic problem is that 3.x uses the AJP13Connector while Tomcat4.1.15 uses the Coyote one. If I uncomment the

Re: Is it possible to have a serlvet as a first page?

2002-11-28 Thread Rasputin
* [EMAIL PROTECTED] [EMAIL PROTECTED] [1151 01:51]: I'm using ajp13 with apache1.3 and tc4.0.x. Im using virtual hosts, and the config I use for this one looks like this: VirtualHost 130.236.228.174:80 DocumentRoot /home/httpd/html/blaskan ServerName blaskan.studorg.liu.se

Re: Using Zip file instead of TAR file

2002-11-28 Thread Rasputin
* randie ursal [EMAIL PROTECTED] [1122 02:22]: does it mean, there's a fixed no. of log files ang previous log files will not be cleanup by Tomcat, it will just rotate? 'cron is strong in his mountain' as Conan used to say. Stick 30 2 * * * /usr/bin/find /path/to/logs -name '*log' -type -f

Make Tomcat serve a URL in the form of www.mywebapp.com

2002-11-28 Thread Panos Konstantinidis
Hello more questions about Tomcat. After a few days and changes in the configuration files I managed to transfer all web application from Resin to Tomcat. What I would like to do now is to configure Tomcat to server a url in the form of www.mywebapp.com. mywebapp is configured under the

Tomcat 3.3.1 crashing with Socket Write Error

2002-11-28 Thread Johan Lind
Hi! I'm running a Web Application in TomCat Standalone 3.3.1 on port 81 and it crashes randomly. This is the servlet log: --Start of Log-- 2002-11-28 12:34:12 - /wfm: IOException in R( /wfm + /images/arrow_button_l_bottom.gif + null) - java.net.SocketException: Connection reset by peer: socket

a great problem (BUG?) transforming xml to html across xslt

2002-11-28 Thread Dionisio Ruiz de Zarate
Hello from the http://java.sun.com/xml/jaxp/dist/1.1/docs/tutorial/xslt/work/Stylizer.java i have load one classe and i have transform it (i attach the classe). this class run welss on RESIN , this class transform one XML using one XSLT tempalte and produces HTML. for using i make this:

a great problem (BUG?) transforming xml to html across xslt. With the java file

2002-11-28 Thread Dionisio Ruiz de Zarate
Hello from the http://java.sun.com/xml/jaxp/dist/1.1/docs/tutorial/xslt/work/Stylizer.java i have load one classe and i have transform it (i attach the classe). this class run welss on RESIN , this class transform one XML using one XSLT tempalte and produces HTML. for using i make this:

Re: Make Tomcat serve a URL in the form of www.mywebapp.com

2002-11-28 Thread Andoni
Hi, You need to go up another level in the tags of your server.xml. The container which holds your Context is the Host container whose name= attribute is the domain name you want to call from your browser. As for other names, if you want to have multiple Virtual Hosts you can have multiple Host

Re: package declaration / import - new improved!

2002-11-28 Thread Mehdi . Nejad
You shouldn't need an empty constructor in order to import a class. I notice the path to your bean was : webapps/mydir/WEB-INF/mybean/mybean.class classes should go into WEB-INF/classes - not the root of WEB-INF ! so u want : webapps/mydir/WEB-INF/classes/mybean/mybean.class That should

newbie question

2002-11-28 Thread Pascal Platteeuw
Hello, I've installed tomcat but I still have some problems to make it run as I want... Tomcat is an Http server right ? Then how do I see the HTML page I write and that are not in the tomcat root (my html pages, my images, and css are on a separate disk...) ? Is there something I miss ?

SV: newbie question

2002-11-28 Thread Morten Tollefsen
Hi! I think you have to edit your server.xml file under TOMCAT_HOME\conf. The new web site has to be added to this file! You have to define path-name and docbase (where on the disk the files are placed). Try to copy the /examples context, and edit the copy... Morten T. -Opprinnelig

Filter in Tomcat 3.3.1

2002-11-28 Thread Laxmikanth M.S.
Hi all, can filter be applied in Tomcat 3.3.1. did anyone try filters in tomcat3.3.1 if so please tell me the sequnce... thanks in advance Regards Laxmikanth M S Off* : 91-80-6610330 extn 1256 Res* : 91-80-5267150 http://www.sonata-software.com Coming together is the beginning, staying

Re: SV: newbie question

2002-11-28 Thread Mehdi . Nejad
Tomcat is an Http server right? Sounds to me like maybe you need to be using something else, like Apache or IIS, Tomcat is most useful, and usually only used because of, its java application service and rarely solely for its http. Hope that helps, Mehdi

Re: newbie question

2002-11-28 Thread Andoni
If you are only going to serve html, jpg, gif, css, etc. pages. (i.e. static text files) then you should not be using tomcat at all. Instead you should use Apache web server. Only use Tomcat if you want to run Java based Web-applications. If for some reason you MUST you Tomcat then put the

Protecting the WEB-INF Directory - Apachee

2002-11-28 Thread Asaf Barkan
Hi all, There is a security bug reported at: http://www.westpoint.ltd.uk/advisories/wp-02-0002.txt Which encounter the possibility to retrieve configuration files from tomcat WEB-INF directory, Through web servers used to route requests to tomcat. In the IIS the isapi_redirect.dll Protects us

Re: SV: newbie question

2002-11-28 Thread Pascal Platteeuw
No, my purpose is to have a bunch of html page running along some jsp pages... For jsp interpretation, I need tomcat... And as I install tomcat on a system disk and as I have my data on another disk i was wondering if there is any possibility not to move my data to my system disk or not to move

How to add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
Hi All, Using Tomcat 4.1.12 on Win 2K I am getting a 404 error when I try to create a new webapp and add a very basic servlet. The servlet works if I create the package structure within the examples WEB-INF/classes. Here are the steps: 1. created webapps/study 2. created

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Collins, Jim
I believe that servlet has been disabled by default in 4.1.12 for security reasons. That is probably why you can't use: http://localhost:8080/study/servlet/TestServlet Jim -Original Message- From: Curley, Thomas [mailto:[EMAIL PROTECTED]] Sent: 28 November 2002 12:58 To: [EMAIL

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
Well I also tried http://localhost:8080/study/servlet/com.wrox.projsp.ch03.TestServlet but the same whereas http://localhost:8080/examples/servlet/com.wrox.projsp.ch03.TestServlet works ?? Thomas -Original Message- From: Collins, Jim [mailto:[EMAIL PROTECTED]] Sent: 28 November 2002

AW: How to add a servlet to a new Webapp

2002-11-28 Thread Martin Gruner
Hi! Try to access /study/TestServlet!! Martin -Ursprüngliche Nachricht- Von: Curley, Thomas [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 28. November 2002 13:58 An: [EMAIL PROTECTED] Betreff: How to add a servlet to a new Webapp Hi All, Using Tomcat 4.1.12 on Win 2K

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
No - The requested resource (/study/TestServlet) is not available. Note I have just added the servlet mappings into examples web.xml and I can also now access the TestServlet in the examples context using either http://localhost:8080/examples/servlet/com.wrox.projsp.ch03.TestServlet or

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Collins, Jim
Can you post your web.xml? -Original Message- From: Curley, Thomas [mailto:[EMAIL PROTECTED]] Sent: 28 November 2002 13:16 To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: How to add a servlet to a new Webapp No - The requested resource (/study/TestServlet) is not

RE: Java method equal to perl crypt()?

2002-11-28 Thread Varley, Roger
The only problem I have is if I migrate to JSP, how can I compare passwords that are supplied in the JSP page to the password in the DB that was stored via the Perl crypt() function? Assuming that the Perl crypt() function is an implementation of the Unix crypt command then try either

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
Jim, I just took the examples web.xml and added the mapping - here it is -Original Message- From: Collins, Jim [mailto:[EMAIL PROTECTED]] Sent: 28 November 2002 13:18 To: 'Tomcat Users List' Subject: RE: How to add a servlet to a new Webapp Can you post your web.xml? -Original

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Ron Smits
If I understand everything correctly :) the invoker servlet is by default disabled. I had to add the following to my web.xml to be able to access servlets that are not defined in the web.xml: servlet-mapping servlet-nameinvoker/servlet-name url-pattern/servlet/*/url-pattern

RE: How to add a servlet to a new Webapp

2002-11-28 Thread mech
This problem is new with 4.1.12. For security reasons the invoker servlet had been disabled in the global /conf/web.xml file. This invoker servlet usually loads user servlets that are not mapped correctly as far as i understand. This is done by using a default mapping /servlet/*. In productive

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Collins, Jim
Thomas has got a mapping to the invoker servlet in the web.xml file he posted so it should not be a problem. -Original Message- From: mech [mailto:[EMAIL PROTECTED]] Sent: 28 November 2002 13:25 To: 'Tomcat Users List' Subject: RE: How to add a servlet to a new Webapp This

Re: SV: newbie question

2002-11-28 Thread Mehdi . Nejad
Pascal, If you have apache serving your html, images etc, and Tomcat parsing java requests, you can just create new virtual directories in Apache, so that particular requests (ie /images) would map to completely different directories - this would be done in you httpd.conf somewhere... I've

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
Correct ! - I origionally copied the examples web.xml -Original Message- From: Collins, Jim [mailto:[EMAIL PROTECTED]] Sent: 28 November 2002 13:28 To: 'Tomcat Users List' Subject: RE: How to add a servlet to a new Webapp Thomas has got a mapping to the invoker servlet in the web.xml

Re: Make Tomcat serve a URL in the form of www.mywebapp.com

2002-11-28 Thread Rasputin
* Panos Konstantinidis [EMAIL PROTECTED] [1142 11:42]: Hello more questions about Tomcat. After a few days and changes in the configuration files I managed to transfer all web application from Resin to Tomcat. What I would like to do now is to configure Tomcat to server a url in the

Configure IIS + Tomcat 4.1.12

2002-11-28 Thread Luca Ventura
Hello everybody! I have installed Tomcat 4.1.12 as Servlet Container and IIS 5 as Web Server on my Win2000 machine. I am trying to configure JK2 connector (isapi_redirector2.dll) to redirect JSP/Servlets requests from IIS to Tomcat but unsuccessful. Can someone help me? I tried to follow the

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Collins, Jim
You mention in your first post that the servlet works if you create the package structure in WEB-INF/classes. Is the servlet no longer in this directory? -Original Message- From: Curley, Thomas [mailto:[EMAIL PROTECTED]] Sent: 28 November 2002 13:29 To: Tomcat Users List Subject: RE:

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
Jim - its in both webapps under classes - com.wrox.projsp.ch03.TestServlet -Original Message- From: Collins, Jim [mailto:[EMAIL PROTECTED]] Sent: 28 November 2002 13:35 To: 'Tomcat Users List' Subject: RE: How to add a servlet to a new Webapp You mention in your first post that the

Apache Mod_jk.conf file.

2002-11-28 Thread Andoni
I have my .conf files working fine, I just have a question that is bugging me. I am told everywhere to put my mod_jk.conf file under the /tomcat/conf/ directory and then include it in the bottom of my httpd.conf file. Is there any real reason for this separation? Can I just take all that is in

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
Here the study.jar file - cd to webapps and jar -xvf . -Original Message- From: Curley, Thomas Sent: 28 November 2002 13:37 To: Tomcat Users List Subject: RE: How to add a servlet to a new Webapp Jim - its in both webapps under classes - com.wrox.projsp.ch03.TestServlet

Re: How to add a servlet to a new Webapp

2002-11-28 Thread Rodrigo Ruiz
If you copied the examples web.xml, then you must have a lot of references to servlet classes and filters not present in your new webapp. This can make the context not to be created, because of exceptions raised during context initialization. Try to delete all unused entries before starting the

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
thanks - will try -Original Message- From: Rodrigo Ruiz [mailto:[EMAIL PROTECTED]] Sent: 28 November 2002 13:46 To: Tomcat Users List Subject: Re: How to add a servlet to a new Webapp If you copied the examples web.xml, then you must have a lot of references to servlet classes and

Re: Configure IIS + Tomcat 4.1.12

2002-11-28 Thread Panos Konstantinidis
I found a new URL which deals with Tomcat 4.0.1. http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/ It might help. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe,

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Collins, Jim
Hi Thomas, I got it to work using this web.xml: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app display-nameTomcat Examples/display-name description Study

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
Hi, this is now working thanks to you all. Attached is the web.xml. As Rodrigo stated I pruned it down and it turns out that at a min I need the 'Servlet Mapped Filter', the invoker mapping. If anyone can explain the web.xml file in plain lang / what filters do and how to get rid of the

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Curley, Thomas
Jim, many thanks NB: - presume you uncommented the invoker in conf/web.xml to get this working Thomas -Original Message- From: Collins, Jim [mailto:[EMAIL PROTECTED]] Sent: 28 November 2002 14:08 To: 'Tomcat Users List' Subject: RE: How to add a servlet to a new Webapp Hi Thomas,

http.conf

2002-11-28 Thread mmichot
Hello, I try to configure Apache2.0.43 to work with Tomcat4.1 I have add this lines at the end of the httpd.conf LoadModule jk_module libexec/mod_jk-1.3.26.dll AddModule mod_jk.c JkWorkersFile C:/Tomcat4_1_12/conf/workers.properties JkLogFile C:/Tomcat4_1_12/logs/mod_jk.log JkLogLevel debug

RE: How to add a servlet to a new Webapp

2002-11-28 Thread Collins, Jim
You would not need to uncomment the invoker in this case because the servlet mapping is specified in your web.xml file. If you did not have this in the web.xml file: servlet-mapping servlet-nameTestServlet/servlet-name url-pattern/TestServlet/url-pattern /servlet-mapping Then

R: Configure IIS + Tomcat 4.1.12

2002-11-28 Thread Luca Ventura
Thanks but it speaks about JK connector (ISAPI redirector 1.0) and not about JK2 (Coyote) connector :-( Best regards, Luca -Messaggio originale- Da: Panos Konstantinidis [mailto:[EMAIL PROTECTED]] Inviato: giovedi 28 novembre 2002 15.07 A: Tomcat Users List Oggetto:

Re: How to add a servlet to a new Webapp

2002-11-28 Thread Rodrigo Ruiz
Thomas, filters are classes that preprocess / postprocess servlet requests. Defining a filter, you are instructing the server to pass the requests to a specified filter, instead of directly passing it to the servlet. Filter is responsible of redirecting the request to the servlet between pre and

Re: http.conf

2002-11-28 Thread Andoni
Hi, Have you checked that you have a folder called libexec in your apache installation? Does that folder contain a file called mod_jk-1.3.26.dll I realise these things may seem obvious but I'm just asking if you've checked them. Then, are you sure that the mod_jk.c module has been compiled in

Re: http.conf

2002-11-28 Thread mmichot
Thanks for helping me! the folder libexec exist and the file mod_jk2-2.0.43.so exist (I m on linux) But I have compiled Apache 2 just by the normal way ./configure make make install PS : just an other small question, from which contry are leaving ? -- To unsubscribe, e-mail: mailto:[EMAIL

Re: http.conf

2002-11-28 Thread Andoni
I do not understand your other small q.? Do you want to know where I live? A. - Original Message - From: mmichot [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, November 28, 2002 2:56 PM Subject: Re: http.conf Thanks for helping me! the folder libexec exist

bug in tomcat converting xml using xslt?

2002-11-28 Thread Dionisio Ruiz de Zarate
Hello from the http://java.sun.com/xml/jaxp/dist/1.1/docs/tutorial/xslt/work/Stylizer.java i have load one classe and i have transform it (i attach the classe). this class run welss on RESIN , this class transform one XML using one XSLT tempalte and produces HTML. for using i make this:

Re: http.conf

2002-11-28 Thread mmichot
yes because it's the first time I see an adress ended by ie indigo.ie what about my first question On Thursday 28 November 2002 04:11 pm, Andoni wrote: I do not understand your other small q.? Do you want to know where I live? A. - Original Message - From: mmichot [EMAIL PROTECTED]

Re: http.conf

2002-11-28 Thread Andoni
http://www.iana.org/cctld/cctld-whois.htm .ie is Ireland. Andoni. - Original Message - From: mmichot [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, November 28, 2002 3:16 PM Subject: Re: http.conf yes because it's the first time I see an adress ended by ie

Re: bug in tomcat converting xml using xslt?

2002-11-28 Thread Rodrigo Ruiz
Dionisio, Your transformamaquinas bean is internally calling response.getWriter(). This interfere with the JSP, as it calls the same method internally to create the out variable. If you use this code inside a servlet you should have no problem. For using the bean in a JSP, you should use out,

[ Tomcat as Webserver ]

2002-11-28 Thread Osvâneo A . Ferreira
Hi, I´m using tomcat-4.1.2 and I would like know, it´s can used as WebServer. I configured a non-SSL legacy HTTP/1.1 connector on port 80. It´s possible ? [ Osvâneo ]

3 Problems 2 Solutions with building mod_jk under AIX 5.1

2002-11-28 Thread David Maquenne
Hi, I am encountering problems with the compilation of mod_jk under AIX 5.1 I use first the configure script and then a make. The configure script gives me a warning : *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared

RE: [OT] - Let's be nice -- Re: How do I integrate my CLASSPATH on Tomcat?

2002-11-28 Thread Jerry Birchler
I'm not recommending this as something to do, but you could write some shell script to parse the CLASSPATH and copy each jar or symlink them into the common /lib directory. -Original Message- From: micael [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 27, 2002 1:18 PM To: Tomcat

Re: Make Tomcat serve a URL in the form of www.mywebapp.com

2002-11-28 Thread Panos Konstantinidis
Hello Andoni, yes you are right, I should have done more manual reading, it was all there but paradoxically I had not seen it. Anyway thank you for your time and help I really appreciate it. It works fine now. All I did was to add a Host tag and a Context as a sub-element to this host.

RE: [ Tomcat as Webserver ]

2002-11-28 Thread Jerry Birchler
Yes, sort of. I think you are talking about integrating Apache with Tomcat through a listener and sharing html and images from Tomcat. For instance, I had integrated Apache with Tomcat using the Coyote listener. I wanted to share /images and such between Tomcat and Apache as I have both JSP and

tomcat 4 and javax.sevlet.*

2002-11-28 Thread OWEN S.G.
Hi, I completely new to Tomcat and Java, so bear with me... I've just installed Tomcat 4 and j2se sdk 1.4.1 and am trying to run an example from Wrox press Beginning JSP Web development. The java compiler is complaining that javax.servlet.jsp.* and javax.servlet.http.* are not defined. I can see

Re: [OT] - Let's be nice -- Re: How do I integrate my CLASSPATH o n Tomcat?

2002-11-28 Thread Pae Choi
:-) Right there with you Steve :-) Imagine all the peopl... Manos Steve Beech wrote: Smile and the world smiles with you ;o) -Original Message- From: Pae Choi [mailto:[EMAIL PROTECTED]] Sent: 28 November 2002 00:12 To: Tomcat Users List Subject: Re:

[OT] Re: Java method equal to perl crypt()?

2002-11-28 Thread AAron nAAs
Although off topic, the standard unix crypt algorithm has been written/ported to many languages (I've even seen source code in books.. Applied Cryptography I think). I know versions exist for Java, or you could just convert a basic, C, C++ or Pascal version to Java. Seek with Google, -AAron

Re: filter jsp:include servletPath?

2002-11-28 Thread AAron nAAs
Due to the complexity of the question and probably vendor specific-ness of the answer, I've altered course and solved the problem. I wrote my own small taglib to implement the jsp:include functionality. I just need to change the jsp:include page=/include.html/ tags into mylib:include

Re: [ Tomcat as Webserver ]

2002-11-28 Thread Osvâneo A . Ferreira
You´re correct. Now I make a some test integrating Apache with Tomcat. Thanks for help. Osvâneo A. Ferreira - Original Message - From: Jerry Birchler [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, November 28, 2002 2:31 PM Subject: RE: [ Tomcat as Webserver ]

Re: [ Tomcat as Webserver ]

2002-11-28 Thread David Brown
Osvâneo A. Ferreira writes: Hi, I´m using tomcat-4.1.2 and I would like know, it´s can used as WebServer. I configured a non-SSL legacy HTTP/1.1 connector on port 80. It´s possible ? [ Osvâneo ] Hello Osvaneo (sorry, no circumflex), within networks, protocols and tcp all things r

Re: Apache Mod_jk.conf file.

2002-11-28 Thread David Brown
Andoni writes: I have my .conf files working fine, I just have a question that is bugging me. I am told everywhere to put my mod_jk.conf file under the /tomcat/conf/ directory and then include it in the bottom of my httpd.conf file. Is there any real reason for this separation? Can I just

Re: Apache Mod_jk.conf file.

2002-11-28 Thread Andoni
I have version 4.0.4 Andoni. - Original Message - From: David Brown [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, November 28, 2002 5:23 PM Subject: Re: Apache Mod_jk.conf file. Andoni writes: I have my .conf files working fine, I just have a question

Re: Apache/Tomcat sendRedirect :0 problem

2002-11-28 Thread David Brown
John Cho writes: Hello, I'm having an issue with Tomcat 4.1.12 and Apache 1.3.x where if I make a call to response.sendRedirect(http://hostname/servlet/foo;) Apache for some reason sends a redirect URL to the browser in the form of: http://hostname:0/servlet/foo Does anyone know what is

Re: How to add a servlet to a new Webapp

2002-11-28 Thread David Brown
Curley, Thomas writes: Hi All, Using Tomcat 4.1.12 on Win 2K I am getting a 404 error when I try to create a new webapp and add a very basic servlet. The servlet works if I create the package structure within the examples WEB-INF/classes. Here are the steps: 1. created webapps/study 2.

Apache/Tomcat

2002-11-28 Thread type_o
Hello, I configured Apache2 to work with Tomcat4.1.12 using mod_jk. this is my worker.properties: worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=myhost worker.ajp13.type=ajp13 I am using linux Slackware, all works fine, I have the apache and the tomcat on the same computer. my

HTTP Status 500

2002-11-28 Thread Paul Kavanagh
Hi there, I'm trying to get the attached webapp (from Chapter Three of Mastering Struts) working with Tomcat 4.1.12. My understanding is that I should be able to just drop the attached (unzipped of course) into a webappname/ folder and then be able to access it via http://localhost/webappname. Is

MYSTERY SOLVED: RE: How to add a servlet to a new Webapp

2002-11-28 Thread micael
The reason is that the invoker servlet is not turned off for the examples. Okay? Check the code and the xml. At 01:06 PM 11/28/2002 +, you wrote: Well I also tried http://localhost:8080/study/servlet/com.wrox.projsp.ch03.TestServlet but the same whereas

char encodings

2002-11-28 Thread Maxime Colas des Francs
Hi, I use tomcat 4.1.12 with taglibs and i try to Internationalize my application. But i have some problems with special chars like accent char. in a test jsp page, i write : c:if test=${empty param.test} jsp:forward page=/test.jsp jsp:param name=test value=éèêàç/ /jsp:forward /c:if 1:

Re: MYSTERY SOLVED: RE: How to add a servlet to a new Webapp

2002-11-28 Thread smurray
i am having the same problem described in this thread what does this (the proposed solution) mean: The reason is that the invoker servlet is not turned off for the examples. Okay? Check the code and the xml. I am migrating from 4.0.3 to 4.1.12. Thanks, Scott -- To unsubscribe, e-mail:

thread comunicating with ServletContexts

2002-11-28 Thread Reynir Hübner
Hi, I have a slight problem I am starting up a thread when application starts with a ServletContextListener implementation. The purpouse of the thread is to monitor a directory that has few xml descriptor files in it. Attributes from the XML files are parsed into the ServletContext on

Re: SV: Problems running VeriSign trial sertificate in Tomcat.

2002-11-28 Thread Joseph Stephen
You need to import the verisign test ca root certificate in to the java cacerts found under java_home/lib/security/cacerts.. THe test ca root certificate can be downloaded from www.verisign.com/trial/server/faq/index.html or something like that --- Morten mot. Tollefsen [EMAIL PROTECTED] wrote:

Re: Apache/Tomcat sendRedirect :0 problem

2002-11-28 Thread John Cho
Hi David, It works for me if you specify a port. I see the problem if you don't specify the port (assume port 80). My setup has apache serving port 80 but redirecting requests /servlet/* to Tomcat 4.1.12 using mod_jk. A servlet on Tomcat then redirects via http://hostname/servlet/foo; which

Re: MYSTERY SOLVED: RE: How to add a servlet to a new Webapp

2002-11-28 Thread micael
You just have to either turn the invoker servlet back on (with security problems, if it is not yet fixed) or use the standard xml way of getting access to the classes. At 04:15 PM 11/28/2002 -0500, you wrote: i am having the same problem described in this thread what does this (the proposed

Re: How to add a servlet to a new Webapp

2002-11-28 Thread Rasputin
* Curley, Thomas [EMAIL PROTECTED] [1114 14:14]: If anyone can explain the web.xml file in plain lang / what filters do and how to get rid of the invoker then please do See the link to chapter 5 at http://www..moreservlets.com -- Rasputin :: Jack of All Trades - Master of Nuns -- To

Re: http.conf

2002-11-28 Thread Rasputin
* mmichot [EMAIL PROTECTED] [1156 14:56]: Thanks for helping me! the folder libexec exist and the file mod_jk2-2.0.43.so exist (I m on linux) Then change the LoadModule line to load .so , not .dll -- Rasputin :: Jack of All Trades - Master of Nuns -- To unsubscribe, e-mail:

Re: thread comunicating with ServletContexts

2002-11-28 Thread Nathan Smith
I have implemented Scheduler program that has a thread monitoring a database table for any new tasks that need to be run in the background. At the moment these tasks consist of just servlets, but should probably work with a class that extend a Struts Action. I created an HttpURLConnection

Re: tomcat 4 and javax.sevlet.*

2002-11-28 Thread David Brown
Tushar Kulkarni writes: Hi, I have installed Tomcat4.1. I want to change the directory webapps\examples\JSP to say C:\myExamples. So that I can store my jsp files in to the myexamples directory and access it through the browser with the address , http://localhost:8080/myexamples instead

RE:mod_jk

2002-11-28 Thread Andrewjj20
i am using tomcat 4.1, and apache 2.0.43, i am also useing the mod_jk.dll found on the website andrewjj20 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

unusual glitch (XML file location)

2002-11-28 Thread Paul_Wallace
Thanks Mehdi, That did the trick. I have now parsed the XML (finally), one last thing, to anyone... If a path to the XML file is provided or not, it is defaulting to c:\WINNT\system32 hence if I place the XML file thus: c:\WINNT\system32\stocks.xml , with the JSP calling it: Document

  1   2   >