Re: Logout with basic autorization

2001-11-14 Thread Fredrik Westermarck
kevin ritter wrote: > > Can anyone one verify if this is really the case, that is, to logout with > BASIC authentication you have to close the browser window? This seems to be > a little goofy. Are there any work arounds? The troubles of revoking user credentials when using HTTP-authentication i

AW: Java and double

2001-11-14 Thread Ralph Einfeldt
That changes nothing. If the left side of an assignment is double, all numbers to the right are automagically double. Such helpers are just needed if the left side has a lower precision than double (float, int, short, byte) The only ways to get more precise results: - use BigDecimal. - round

Re: STARTUP.SH DOESN'T WORKS FINE

2001-11-14 Thread Nikola Milutinovic
> | Tom Drake wrote: > | > | > This has nothing to do with tomcat. It is standard unix behavior. > | > When a user logs out, all processes created by that user are killed. > | > | > | No, when a user logs out all processes that are children to that shell > instance > | are sent a HUP signa

Re: STARTUP.SH DOESN'T WORKS FINE

2001-11-14 Thread Nikola Milutinovic
> > Every well written daemon and server process SHOULD do that > > (among other things). > > But you need to remember that you are not running Tomcat, you are running > Java - that's a big difference. And it limits what is possible. Good point. "Every well written daemon" will do the

Re: Servlet Mapping...:(

2001-11-14 Thread Pritpal Dhaliwal
You were lucky in the first one, second one, luck wasn't there. - Original Message - From: "BacardiWasabi" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, November 14, 2001 11:02 PM Subject: Servlet Mapping...:( > time for a silly question... > > > > fi

Re: Precompile JSP

2001-11-14 Thread KL OOI
Can I compile it first? - Original Message - From: "Lars Nielsen Lind" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]>; "KL OOI" <[EMAIL PROTECTED]> Sent: Thursday, November 15, 2001 3:31 PM Subject: Re: Precompile JSP > The first time you use the page with the web serv

Precompile JSP

2001-11-14 Thread KL OOI
Hi all, Do anyone here know how to compile all the JSP pages before I roll out for production?? Thanks.. Regards, KL OOI

Servlet Mapping...:(

2001-11-14 Thread BacardiWasabi
time for a silly question... file - web.xml TestAction ActionServlet TestAction /TestAction ActionServlet - web-inf\classes Context path - framework a) when my url is http:...:8080/framework/servlet/TestAction - it is working fin

Authentication Filter

2001-11-14 Thread Pritpal Dhaliwal
Is there an authentication filter that could be used with Servlet Spec 2.3. Does tomcat 4 come with one that could be used? Thanks in Advance, Pritpal Dhaliwal -- To unsubscribe: For additional commands: Troubles with the list:

RE: Tomcat to read cookies on session start?

2001-11-14 Thread Deacon Marcus
Hi, > -Original Message- > From: Jeremy Pierson [mailto:[EMAIL PROTECTED]] > Sent: Thursday, November 15, 2001 4:52 AM > To: [EMAIL PROTECTED] > Subject: Tomcat to read cookies on session start? > > > I need to create a new object and load it into the session attributes > whenever a new s

Tomcat to read cookies on session start?

2001-11-14 Thread Jeremy Pierson
I need to create a new object and load it into the session attributes whenever a new session is created. To make this more interesting, this object needs to check for information stored in a cookie sent by the browser (stored from a prior visit) and fetch any related information from a databa

Fw: Duplicate Class Names in JSP Question

2001-11-14 Thread Thomas Burns
Incidentially, using the following works fine as well... <%@ page import="com.redsoft.ems.beans.app.*" %> <%@ page import="com.redsoft.ems.tags.app.*" %> - Original Message - From: Thomas Burns To: Tomcat Users List Sent: Wednesday, November 14, 2001 9:36 PM Subject: Duplicate Class N

Re: Duplicate Class Names in JSP Question

2001-11-14 Thread Craig R. McClanahan
The generated Java class for your JSP page is required to be legal Java code -- and it's not legal to import both of these names in the same source file. Therefore, your program is in error. Craig On Wed, 14 Nov 2001, Thomas Burns wrote: > Date: Wed, 14 Nov 2001 21:36:21 -0600 > From: Thomas

RE: Tomcat 4 Upgrade Assistance?? - Tomcat 3.3 app does not startup under Tomcat 4.0

2001-11-14 Thread Brett Porter
this is due to the fact that the servlet 2.3 spec enforces the order of elements in web.xml. Make sure they appear in the order given by the error and it should be fine. Cheers, Brett -Original Message- From: Greg Callaghan [mailto:[EMAIL PROTECTED]] Sent: Thursday, 15 November 2001 2:42

Tomcat 4 Upgrade Assistance?? - Tomcat 3.3 app does not startup under Tomcat 4.0

2001-11-14 Thread Greg Callaghan
Hi, I've got Tomcat 4 up and running fine with the example apps. A separate application I have however, which runs fine under Tomcat v3.3, is having troubles starting up under Tomcat v4. Are there any upgrading to Tomcat 4 (from Tomcat 3.3) guidelines which exist which one needs to follow?

Duplicate Class Names in JSP Question

2001-11-14 Thread Thomas Burns
I have the following code in one of my .jsp files. <%@ page import="com.redsoft.ems.beans.app.User" %> <%@ page import="com.redsoft.ems.tags.app.User" %> It causes the errors listed below. Interestingly, if I comment out either page directive, I don't get the error. I also verified through test

Re: Byte Serving PDF's

2001-11-14 Thread Kar YEOW
I believe PDF will show the pages downloaded so far without having the users wait for the entire file. Have a look at the prospectous on this site www.funtastics.com.au the PDF file seems to behave like that. Hope this help. Kar - Original Message - From: "MacDonald, Todd" <[EMAIL PROTECT

Re: Byte Serving PDF's

2001-11-14 Thread Remy Maucherat
> If all it takes is the ability to respond to requests for ranges of a file > (which is how I understand PDFs to work), then Tomcat 4's HTTP connector > in stand-alone mode knows how to do this already for static files. If you > create the content dynamically, then it is up to your application t

Re: Logout with basic autorization

2001-11-14 Thread Craig R. McClanahan
On Wed, 14 Nov 2001, kevin ritter wrote: > Date: Wed, 14 Nov 2001 18:41:01 -0600 > From: kevin ritter <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, > kevin ritter <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: Logout with basic autorization > > Can anyo

RE: Byte Serving PDF's

2001-11-14 Thread Craig R. McClanahan
If all it takes is the ability to respond to requests for ranges of a file (which is how I understand PDFs to work), then Tomcat 4's HTTP connector in stand-alone mode knows how to do this already for static files. If you create the content dynamically, then it is up to your application to respon

JDK 1.4 and Tomcat 4.01 - XML ClassCastException

2001-11-14 Thread David Sanders
Windows 2000 JAVA_HOME=\j2sdk1.4.0-beta3 Tomcat 4.01 bin\startup produces the message below in logs/localhost_log.2001-11-14.txt. * This error does NOT occur when JAVA_HOME is JDK 1.3.1. It only occurs with 1.4. 1.4 includes javax.xml.parsers.DocumentBuilderFactory. How can I avoid this e

Re: Logout with basic autorization

2001-11-14 Thread kevin ritter
Thanks for responding; however, I'm already calling session.invalidate() as show below: <%@ page language="java" import="com.jcafeinc.learningCenter.users.*" %> <%@ include file="global-header.jsp" %> <%request.getSession().invalidate(); RequestDispatcher rd = getServletContext().getRequestD

Re: Logout with basic autorization

2001-11-14 Thread Tom Drake
I think your servlet or jsp can simply call session.invalidate(). - Original Message - From: "kevin ritter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 14, 2001 4:41 PM Subject: Re: Logout with basic autorization | Can anyone one verify if this is really the c

The name of the security certificate is invalid or does not match thename of the site.

2001-11-14 Thread Miao, Franco CAWS:EX
I already let 'CN' field that matches the name of the machine on which are running tomcat when I generated the key with keytool, just wondering why I still get " The name of the security certificate is invalid or does not match the name of the site." message ? Anything I should do about server.xm

Re: Logout with basic autorization

2001-11-14 Thread kevin ritter
Can anyone one verify if this is really the case, that is, to logout with BASIC authentication you have to close the browser window? This seems to be a little goofy. Are there any work arounds? Thank you in advance. Peace Kevin Ritter - Original Message - From: "Jonathan Eric Miller" <[E

Re: Why am I getting a Javascript file request instead of my servlet ?

2001-11-14 Thread James Adams
[EMAIL PROTECTED] wrote: > > > > Subject: Why am I getting a Javascript file request instead of my servlet ? > Date: Wed, 14 Nov 2001 12:11:49 -0700 > From: James Adams <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > > I hav

Win32, TC4 and server

2001-11-14 Thread Brett Knights
H, I am trying to run TC4.01 with Apache 1.3.20, mod_jk, and JavaService on WinNT4 SP6a If I run with the -server option TC dies quietly (no logs, nothing written to System.out) after 2 to 6 hours of operation. Running with -hotspot seems stable but is incredibly slow (this is the first time I

Re: STARTUP.SH DOESN'T WORKS FINE

2001-11-14 Thread Janek Bogucki
--- Tom Drake <[EMAIL PROTECTED]> wrote: > > Effectively the process is killed. I think we are > saying the same thing. > As far as I know, there's no way to receive SIGHUP > (or any other Unix > signal) > in your java code anyway. > It is possible to register a shutdown hook which is executed

Re: Generating .keystore does not work

2001-11-14 Thread Sachin Pandey
Which version of JDK are u using? Sun's JDK comes along with the KeyPairGenerator in the form of sunrsasign.jar in the jre/lib directory. The IBM's jdk doesn't come along with the RSA provider so u have to put the sunrsasign.jar in the jre/lib/ext directory and edit the java.security file to

RE: Byte Serving PDF's

2001-11-14 Thread Chris Tucker
Ok, so now I want to know more. :-) This sounds like a potentially very useful solution to an irritating problem... are there any issues with increased file sizes or anything? As far as byte-by-byte sending of data, it's really easy to write a custom application that runs as a server to do this

Re: Wrap an HttpServletRequest

2001-11-14 Thread Jeff Kilbride
Hi Diego, You can also do this by adding query string data to the URL you are forwarding to, for example: - String myPage = "/path/myPage.jsp"; String myForward = myPage + "?newParam1=value1&newParam2=value2"; RequestDispatcher rd = getServletContext().getRequestDispatcher(myForward); r

RE: Byte Serving PDF's

2001-11-14 Thread Timothy Shadel
I wrote a small servlet that went through PDF's byte by byte sending them to the output stream. It also looked for default values in PDF form fields and replaced them with parameters sent in by the request. Here's a slice of the code, but it's the part that loads the PDF file. The actual wri

Re: Byte Serving PDF's

2001-11-14 Thread David Wall
> Is this even possible? From my understanding of the PDF format, it is > inherently random-access and relies on the entire file being available > before it can be displayed. I don't know how it does it, but I've downloaded PDFs that seem to work page-by-page because when I click down, I can see

RE: Dynamic Email

2001-11-14 Thread Timothy Shadel
Thanks for the tip. It looks like the developer's guide at http://jakarta.apache.org/velocity/developer-guide.html#Using%20Velocity%20In%20Servlets is going to give me the most options there. I'd REALLY like to avoid training my group on ANOTHER view mechanism, and I'd like to take custom JSP

Netscape 4.7 and Tomcat 4.0.1 SSL

2001-11-14 Thread Brian Lind
I normally use mod_ssl to do SSL, but was testing out SSL with Tomcat 4.0.1 under Linux JDK 1.4beta3 and ran into a strange problem. IE 5.5 accepts the certificate from Tomcat, even though the issued by and issued to fields are blank for some reason, but Netscape spits out the following error:

RE: Byte Serving PDF's

2001-11-14 Thread MacDonald, Todd
Yes. It's not only possible, but support for it is built in to most modern web servers. The PDF has to be "optimized" for byte-serving and the web server has to be capable of byte-serving. So my question remains. Anyone out there done it or know how to configure Tomcat 4 to do it? -T -Or

RE: Can't get Tomcat 3.2.3 and IIS to work together

2001-11-14 Thread Rob Griffin
I'll answer my own question now that I have found the answer in case anyone else has this problem. I found that I had inadvertently (stupidly??) added the ISAPI filter in two places in IIS, once on the Default Web Site node and again on the computer node. The duplicate filters interfere with

Class location

2001-11-14 Thread Mihai Gheorghiu
I have the following structure: /webapps/development/WEB-INF/classes I put together a web page that includes an applet, Search.class. Search.class makes use of Swing and some other graphics classes included in Fields.jar So I created the web page Search.html with HTMLConverter and placed it in dev

RE: Tomcat 3.2.3 - Image loading problem

2001-11-14 Thread Marko Sarunac
Larry, The time that image does not load apache says [Wed Nov 14 14:45:32 2001] [error] [client ip.address] File does not exist: /home/user/www/site/images/corner_top.jpg;jsessionid=92s03xnlw1 However the second time around, it comes up and there is no log entry for every images missing i get

RE: Byte Serving PDF's

2001-11-14 Thread Chris Tucker
Is this even possible? From my understanding of the PDF format, it is inherently random-access and relies on the entire file being available before it can be displayed. -Original Message- From: MacDonald, Todd [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 2:24 PM To: 'Tom

RE: Byte Serving PDF's

2001-11-14 Thread MacDonald, Todd
The PDF's are pre-existing. I need to "byte serve" them (for page-at-a-time access via the Acrobat Reader plug-in in the client's browser). Currently we have a servlet that reads the file and streams the whole thing back. Some of the PDF's are quite large (13 megs). This means that the user ha

RE: Dynamic Email

2001-11-14 Thread Kevin McBrearty
Check out Velocity at apache.org Kevin McBrearty ATG Automation Technologies Group Ltd. __ "A computer lets you make mistakes faster than any other invention in human history, with the possible exception of handguns and tequila." - D.W. McArthur > -Origin

RE: Why am I getting a Javascript file instead of my servlet ?

2001-11-14 Thread Rajah Kalipatnapu
>From my experience you might be facing this problem with Netscape browser. If you try the same with explorer you may not face this problem. This is only one possibility I know. There may be some other reasons which I cannot guess. Ok, lets c if you can access your page through IE( thought IE s

RE: Applets in Servlets ---- again

2001-11-14 Thread Shen Shengjun
I think I still didn't get it in Tomcat 3.2.2 although it works if I use the html code the servlet generated directly, that is, save as an html file. Do I have to upgrade to Tomcat 4.0 to use applets in servlets? Thanks! Shen __ Do You Yahoo!? Fi

Loading class files

2001-11-14 Thread Yiu Wing
Hello All, I'm writing an applet that uses JDBC to connect to MySQL server , and the applet is embedded in a jsp. I'm new to this, so I went on and read the docs that come with Tomcat. I'm also using CVS and ant for the development. The source code layout of my project is as suggested in the do

RE: Byte Serving PDF's

2001-11-14 Thread Jim Urban
Do you want to dynamically generate the PDF on the fly and return it directly to the browser or to simply "serve" PDF files? If you want to do the first, check out the FOP website and have a look at the FOPServlet source code. This assumes you can make the contents of the PDF available in XML fo

problem loading JSP on start up (tomcat 3.2.3)

2001-11-14 Thread david chan
Hi, I have a JSP need to load on tomcat startup, so I specify it in the web.xml: TestStartup /jsp/TestStartup.jsp 1 Then I restart tomcat, but it is not even compiled, so I added URI mapping of t

Dynamic Email

2001-11-14 Thread Timothy Shadel
Hi, I'd like to generate dynamic e-mail content, typically based on some parameters stored in the current HttpSession. JSP seems like a great tool for this. I can easily edit the "static" portion of the e-mail, and have non-technical personnel work with it. I'd get all the advantages JSP gi

Re: STARTUP.SH DOESN'T WORKS FINE

2001-11-14 Thread Janek Bogucki
Hi Nancy, This is what happens under Linux: 1. Switch to a virtual console and login 2. execute startup.sh (Tomcat is running) 3. exit from shell 4. Login and Tomcat is still running. So I have daemon behaviour under Linux. -Janek --- Nancy Crisostomo Martinez <[EMAIL PROTECTED]> wrote: >

Re: Why am I getting a Javascript file instead of my servlet ?

2001-11-14 Thread D. Jay Newman
> I wasn't saying JavaScript was bad or should be gotten rid of - I was > suggesting dumping all of the JavaScript as a first step to figuring out > where the problem is (division of one large problem into areas to limit the > amount of code to be examined). Very true. -- D. Jay Newman

Re: Why am I getting a Javascript file request instead of my servlet ?

2001-11-14 Thread James Adams
As a test I have set the action of the form equal to alert(1) as well as to a test JSP which prints the form parameters, both of these work well. However when the action is my form handler servlet that's when I get the bad voodoo - it tells me that it can't find the .js file when I submit, and it

Class not found in import

2001-11-14 Thread Geoffrey J Bourne
When my JSPs compile, they can't find imported classes (for example javax.ejb.CreateException). The above example is in the j2ee.jar file and I've included it in my CLASSPATH. In fact, I've run javap javax.ejb.CreateException just to make sure. Is there so where in Tomcat (on NT) that you c

RE: Why am I getting a Javascript file instead of my servlet ?

2001-11-14 Thread Randy Layman
> -Original Message- > From: D. Jay Newman [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 14, 2001 4:03 PM > To: [EMAIL PROTECTED] > Subject: Re: Why am I getting a Javascript file instead of my > servlet ? > > > > First suggestion: Eliminate the JavaScript. Our > develo

Re: Why am I getting a Javascript file instead of my servlet ?

2001-11-14 Thread D. Jay Newman
> First suggestion: Eliminate the JavaScript. Our developers (myself > included) have had plenty of problems with variables named action resetting > the URL that the form posts to. JavaScript itself isn't too bad. It's very useful to add interaction to a page. Just don't try having a Java

RE: Why am I getting a Javascript file instead of my servlet ?

2001-11-14 Thread Randy Layman
First suggestion: Eliminate the JavaScript. Our developers (myself included) have had plenty of problems with variables named action resetting the URL that the form posts to. Also, try posting to different things - a non-existent HTML file to start with and check what URL is req

Why am I getting a Javascript file instead of my servlet ?

2001-11-14 Thread James Adams
I have a page (JSP) which contains a form with a servlet as the action of the form. However whenever I submit the form I am getting a Not Found 404 error telling me that a Javascript file which is used for Javascript on the page is not found. I am perplexed as to why this is happening, especiall

RE: mod_jk / Ajp13 config fix on heavily loaded system

2001-11-14 Thread Maureen Fisher
We are currently experiencing heavy load using ajpv13. We had set those parameters as Henri specified as 100, 50 and 20 and still she died. We went back to 12 and experienced same problems. My questions are: 1) Like apache has the built-in monitor (server-status) where you can watch the state

RE: STARTUP.SH DOESN'T WORKS FINE

2001-11-14 Thread Tanner, Don
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nancy, Try the following; If you DO NOT want the output from tomcat.sh to go to the file nohup.out nohup tomcat.sh start >> /dev/null 2>&1 Later! DT The opinions expressed above are probably mine but not necessarily the opinions of my employers.

FW: Xerces Parser Security and Path Problems

2001-11-14 Thread Frank Lawlor
> > There seems to be a problem related to security when loading > > jars from WEB-INF/lib. This was reported earlier by Sergey > V. Udaltsov > > in the post titled "policy for classes in WEB-INF/lib/my.jar". > > > > It's not clear to me that this is a bug. > > The exception goes away because th

RE: resp.sendRedirect("./Join2?Email_Address=" + EmailAddress);

2001-11-14 Thread Carl Boudreau
Hey Tom, Another java developer has sugested another avenue of attack I have replace that last code snippet with ; if(TxtCheck1.equals(User_Name)) { // User join1 data has been added to Database String Redirect_String = "./Vali

Byte Serving PDF's

2001-11-14 Thread MacDonald, Todd
Anyone know how (or better yet, have some code to) byte serve PDF's through Tomcat 4? -T -- To unsubscribe: For additional commands: Troubles with the list:

Re: resp.sendRedirect("./Join2?Email_Address=" + EmailAddress);

2001-11-14 Thread Tom Drake
Carl: encodeURL() and encodeRedirectURL() do not do what you think they do. These methods may add a 'jsessioniid=...' entry to url. They will not URL encode the url string itself. However, I think that I was wrong about the '@' anyway. You could still have a problem with invalid characters in yo

Re: STARTUP.SH DOESN'T WORKS FINE

2001-11-14 Thread Tom Drake
- Original Message - From: "Nikola Milutinovic" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, November 14, 2001 11:07 AM Subject: Re: STARTUP.SH DOESN'T WORKS FINE | Tom Drake wrote: | | > This has nothing to do with tomcat. It is standard unix behavio

Re: Java and double

2001-11-14 Thread phillipmastroianni
try putting a 1000d (I think you have to tell the vm that this is a double value or it may try an compute a float! - Original Message - From: Micael Padraig Og mac Grene <[EMAIL PROTECTED]> Date: Wednesday, November 14, 2001 9:41 am Subject: Re: Java and double > Not sure what your poin

RE: STARTUP.SH DOESN'T WORKS FINE

2001-11-14 Thread Randy Layman
> -Original Message- > From: Nikola Milutinovic [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 14, 2001 2:07 PM > To: Tomcat Users List > Subject: Re: STARTUP.SH DOESN'T WORKS FINE > > > Every well written daemon and server process SHOULD do that > (among other things). > >

Why am I getting a Javascript file request instead of my servlet ?

2001-11-14 Thread James Adams
I have a page (JSP) which contains a form with a servlet as the action of the form. However whenever I submit the form I am getting a Not Found 404 error telling me that a Javascript file which is used for Javascript on the page is not found. I am perplexed as to why this is happening, especiall

Re: STARTUP.SH DOESN'T WORKS FINE

2001-11-14 Thread Nikola Milutinovic
Tom Drake wrote: > This has nothing to do with tomcat. It is standard unix behavior. > When a user logs out, all processes created by that user are killed. No, when a user logs out all processes that are children to that shell instance are sent a HUP signal (Hang UP). A process may choose to

Re: Xerces Parser Security and Path Problems

2001-11-14 Thread Craig R. McClanahan
On Wed, 14 Nov 2001, Frank Lawlor wrote: > Date: Wed, 14 Nov 2001 12:51:37 -0600 > From: Frank Lawlor <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: "Tomcat (E-mail)" <[EMAIL PROTECTED]> > Subject: Xerces Parser Security and Path Problems > >

Re: Cp1252

2001-11-14 Thread Nikola Milutinovic
Chen, Gin wrote: > Hi all, > When I am using JBoss and Tomcat 4.0.1 integrated build. I get an > error with any of my JBoss.xml files that have the encoding="Cp1252"?> line. CP-1252? You mean Micro$oft CodePage 1252? Don't expect it to work with ANY Java based tool. Java recognizes Unico

Xerces Parser Security and Path Problems

2001-11-14 Thread Frank Lawlor
I encountered a couple of problems trying to use xerces and security in my application. BUG 1: I have xerces.jar in myapp/WEB-INF/lib. This works fine until I turn on security (-security switch) which uses conf/catalina.policy. I added a permission for my application to do anything: grant

RE: Tomcat 3.2.3 and struts 1.1 - fixed!

2001-11-14 Thread Marko Sarunac
I have deleted the jaxp.jar and parser.jar and replaced it with parser.jar and crimson.jar from jaxp 1.1 implementation and it seems to work now Thanks Larry! -Original Message- From: Larry Isaacs [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 5:57 AM To: 'Tomcat Users Li

RE: Request Dispatcher

2001-11-14 Thread Rajah Kalipatnapu
thats exactly correct, and if do not want to use forward, may be u can use a conditional statement -Original Message- From: Tom Drake [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 10:32 AM To: Tomcat Users List Subject: Re: Request Dispatcher JSP provides an easier way t

Re: Request Dispatcher

2001-11-14 Thread Tom Drake
JSP provides an easier way to do what you are attempting. However, the 'hot' include mechanism, is very much like a function call. the output from the included jsp/servlet simply appears in the middle of your output stream. It does not replace the entire page. If you need a completely different r

Request Dispatcher

2001-11-14 Thread Scott Walter
I am trying to use a RequestDispatcher include with a JSP page, it seems to be including the content above the location where I have coded the include. Any clues??? Below is my code <% RequestDispatcher rd = request.getRequestDispatcher(pageName);

Re: parameters

2001-11-14 Thread Craig R. McClanahan
On Wed, 14 Nov 2001, Bongiorno, Christian wrote: > Date: Wed, 14 Nov 2001 12:59:06 -0500 > From: "Bongiorno, Christian" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > Subject: parameters > > I am pretty sure that this is tru

RE: mod_jk / Ajp13 config fix on heavily loaded system

2001-11-14 Thread Travis Schmid
> -Original Message- > From: Schulz, Sebastian, fiscus GmbH, Bonn > [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 14, 2001 1:19 AM > To: '[EMAIL PROTECTED]' > Subject: AW: mod_jk / Ajp13 config fix on heavily loaded system > > > what's about loadbalancing? > > say, we have de

parameters

2001-11-14 Thread Bongiorno, Christian
I am pretty sure that this is true, but just to get a sanity check, do the username and password come in as parameters to the servlet as part of the ServletRequest? -- To unsubscribe: For additional commands: Troubles with the list:

maxIdleBackup, {min,max}IdleSwap query

2001-11-14 Thread Paul DuBois
I've been pondering the Tomcat Manager component documentation (http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/manager.html) with regard to storing sessions in JDBC-based backing store. I am not clear on the distinction between backing up a session and swapping it (the behaviors controlle

Re: Wrap an HttpServletRequest (fwd)

2001-11-14 Thread Craig R. McClanahan
This was asked on TOMCAT-USER also, so I'm forwarding my rely. Craig -- Forwarded message -- Date: Wed, 14 Nov 2001 09:09:58 -0800 (PST) From: Craig R. McClanahan <[EMAIL PROTECTED]> Reply-To: Tomcat Developers List <[EMAIL PROTECTED]> To: Tomcat Developers List <[EMAIL PROTECTED

RE: resp.sendRedirect("./Join2?Email_Address=" + EmailAddress);

2001-11-14 Thread Carl Boudreau
Well Tom, I have changed the following code to read; if(TxtCheck1.equals(User_Name)) { // User join1 data has been added to Database String Redirect_String = "./ValidUser?firstname=" + User_Name; //resp.se

Re: Where can I find the .sendRedirect source code?

2001-11-14 Thread Craig R. McClanahan
On Wed, 14 Nov 2001, Carl Boudreau wrote: > Date: Wed, 14 Nov 2001 09:37:37 -0600 > From: Carl Boudreau <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > Subject: Where can I find the .sendRedirect sou

SHA passwords of LDAP and tomcat

2001-11-14 Thread Isaac Cruz Ballesteros
Does anyone know why a SHA password generated by openLDAP is different from a SHA password generated by Tomcat? # slappasswd -h {SHA} -s tomcat {SHA}U2wLM5NFYWwbM8r0VEVNi4oZDWw= # java org.apache.catalina.realm.RealmBase -a SHA tomcat tomcat:536c0b339345616c1b33caf454454d8b8a190d6c This is a p

Re: cannot execute binary file

2001-11-14 Thread Noble Long
Possibly, but it is not only happening in Tomcat. It happens when I put the CLASSPATH in /root/.bashrc or /root/.cshrc on startup. Thanks for the info on tomcat.policy though. They are different versions (Tomcat 3.2.2 -working) (Tomcat 3.2.1 - not working). Noble - Original Message - Fr

Re: Java and double

2001-11-14 Thread Micael Padraig Og mac Grene
Not sure what your point is. The code is okay, check out the "internal" math yourself. You can do it by hand. If you want more precision, use different code. -Original Message- From: Mangi, Rick <[EMAIL PROTECTED]> To: 'Tomcat Users List' <[EMAIL PROTECTED]> Date: Wednesday, November 1

Re: STARTUP.SH DOESN'T WORKS FINE

2001-11-14 Thread Tom Drake
This has nothing to do with tomcat. It is standard unix behavior. When a user logs out, all processes created by that user are killed. Unix provides simple way to around this feature. Simply type the following command: nohup tomcat.sh run & In this case all 'console output produced by tomc

Re: cannot execute binary file

2001-11-14 Thread Tom Drake
I think that this may have to do with the security policy not allowing you to load classes or jars from 'other' directories. Look in conf/catalina.policy or conf/tomcat.policy (depending on the version of tomcat you are using). You will probably need to add an entry that looks like this: grant c

RE: Java and double

2001-11-14 Thread Slava
Try to use BigDecimal. It should be OK. --- "Mangi, Rick" <[EMAIL PROTECTED]> wrote: > Ya, I've seen that one before. use the java.math package. > > -Original Message- > From: Laurent Michenaud [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 14, 2001 10:39 AM > To: [EMAIL PROTECT

Cp1252

2001-11-14 Thread Chen, Gin
Hi all, When I am using JBoss and Tomcat 4.0.1 integrated build. I get an error with any of my JBoss.xml files that have the line. The error is when starting JBoss and it says: [AutoDeployer] Deployment failed:file:/C:/JBoss-2.4.3_Tomcat-4.0/jboss/deploy/SpecSL.jar [AutoDeployer]

AW: Java and double

2001-11-14 Thread Ralph Einfeldt
As in most other programming languages float and double are implemented in way that numbers are not represented exactly. That's caused by the internal format which is used to store floats and doubles. If you want know more of the basics have a look at http://cch.loria.fr/documentation/IEEE754/

STARTUP.SH DOESN'T WORKS FINE

2001-11-14 Thread Nancy Crisostomo Martinez
Hello everybody! I hope you could help me, please.. Actually, I'm begining to use Tomcat, and I have a succeded start because it still works PERFECT to me... But muy problem is very strange : I installed Tomcat to Solaris 8, and when I start it (startup.sh | tomcat.sh start ) it starts, but when

Re: cannot execute binary file

2001-11-14 Thread James Chuang
You can set TOMCAT_OPTS in your environment, and tomcat will use them as part of it's startup env. When I added the classes12.zip to my TC environment, I just added it directly to the tomcat.sh as well, and it works fine. Why don't you put together a small test program that loads the driver, and

Config crashing Tomcat 4.01

2001-11-14 Thread L Rutker
Hi, I am new at this and the way I mapped my servlet might be odd but crashing tomcat wasn't what I expected. I am running Tomcat 4.01 standalone on NT 4 SP6 I am starting it using the shortcut provided by the installation (\Apache Tomcat 4.0\bin\bootstrap.jar" start) and stopping it with the st

RE: Java and double

2001-11-14 Thread Mangi, Rick
Ya, I've seen that one before. use the java.math package. -Original Message- From: Laurent Michenaud [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 10:39 AM To: [EMAIL PROTECTED] Subject: Java and double Hi, Excuse me... this mail shouldnot be on this mailing list but i

RE: Java and double

2001-11-14 Thread Jim Rueschhoff
There is no problem. Float and Double represents a number as a mantissa and radix which produces a close but not exact representation of a number. If you round to a reasonable number of decimal places you will get the "correct" result but if you insist on looking at the full precision of the num

RE: mod_webapp compiling problems

2001-11-14 Thread Petry Roman, ITS-IT
Hello... first.. tnaks for your fast answers.. Apachetoolbox is a nice shell-script, which helps you to compile Apache with a lot of modules, if you want.. nice thing.. btw.. Ok.. But back to tomcat.. I deleted from the makefile, in the Apache-1.3 dir, the following line.. -S LDFLAGS_SHLIB="$

RE: Problem in starting Tomcat

2001-11-14 Thread Larry Isaacs
All versions of Tomcat use more than just 8080. Search server.xml for "port=" to find the ports that could be used. Those not part of a commented-out entry will be used. Cheers, Larry > -Original Message- > From: rehan [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 14, 2001 8:1

Installing Tomcat4.0.1 on Mandrake 8.0

2001-11-14 Thread Nick Woolley
Hi, I've been documenting my installation of Tomcat 4 on Mandrake Linux 8.0. For what it's worth I'm posting this here. It's a draft, and intended ultimately to contribute to a user's installation guide for the Melati package (www.melati.org, which requires a servlet container). As such,

RE: REPOST: NEED HELP URGENT:: internet explorer nullifies session on open new window

2001-11-14 Thread Amit Kelkar
Hi Geoff, Thanks for all the reponses... Here is the latest I have on the issue: * There seems to be a issue with IE 6, with can be fixed up with some options * The session seems to keep alive if we use our full domain name (postmodern.com.au), but not with a local address such as 192.168.x.x B

Re: Major (guru mode) help required

2001-11-14 Thread Pier Fumagalli
On 14/11/2001 05:01 pm, "raj" <[EMAIL PROTECTED]> wrote: > Of course on the browser, I only get my Error.jsp displayed, (no HTTP > errors there). Without the specific error happening, it's impossible to know what's going on. Sorry. Pier -- To unsubscribe: For

Re: Major (guru mode) help required

2001-11-14 Thread raj
Hi Pier, Thanks for replying. I set debug=99 on WarpConnector, and my apache_log.2001-11-14.txt comes up with the following: 2001-11-14 16:38:21 WarpEngine[Apache]: Mapping request 2001-11-14 16:38:21 WarpHost[domainname]: Mapping request for Host 2001-11-14 16:38:21 WarpEngine[Apache]: Mappi

  1   2   >