Problem including a file in Tomcat 5.5.9

2005-08-18 Thread Gabriel Belingueres
Hi, Writing a jsp page in my app, I need to include other file in it, but I got this issue in my Tomcat 5.5.9, when I write the include without parameters like this: jsp:include page=/menu.jsp /jsp:include I doesn't like written like this, so I write it like this and it works: jsp:include

strange cache behavior in Tomcat 5.5.9?

2005-07-31 Thread Gabriel Belingueres
Hi, In my JSP pages I put the following tags to avoid the browser cache the pages. head meta http-equiv=Expires content=0 / meta http-equiv=Pragma content=no-cache / meta http-equiv=Cache-Control content=no-cache / ... /head When used in Tomcat 4.1.12 it behaves correctly (the back button in the

problem configuring JDBCRealm from admin tool 5.5

2005-07-06 Thread Gabriel Belingueres
Hi, I have a problem when configuring a JDBCRealm from the admin tool. I use no digest algorithm, so I leave the text field in blank, but the generated server.xml file includes an oughfull: digest= attribute, so Tomcat throws me an exception telling me that it can not find the required ()

weird characters on JSP output

2005-05-19 Thread Gabriel Belingueres
Hi, I'm having a weird problem when Tomcat 5.5.9 generates JSP files. At the end of the generated HTML code, it prints three weird characters. Here is the java source code that Tomcat generates (look at the 3 characthers in color RED): I may guess the problem may came from some strange

Re: weird characters on JSP output

2005-05-19 Thread Gabriel Belingueres
Errr the characters didn't show up in the email... for more information, at the end of the page, the browser shows me the following characters: Iuml;raquo;iquest; TIA On 5/19/05, Gabriel Belingueres [EMAIL PROTECTED] wrote: Hi, I'm having a weird problem when Tomcat 5.5.9 generates JSP

Deny directory listing in Tomcat 4.1.x

2005-05-17 Thread Gabriel Belingueres
Hi, I need to deny the access to my web app's directory listing in Tomcat 4.1.x. How do I do that? TIA, Gabriel

Re: Common vs. Shared

2005-05-12 Thread Gabriel Belingueres
Yes, it works this way for javax.mail.Session too. You need to put mail.jarand activation.jar in lib/common so as you can find the Session from JNDI. On 5/6/05, Michael Echerer [EMAIL PROTECTED] wrote: Ron Heeb wrote: my understanding comes from this book i got: 'common is responsible for

DBCP monitoring

2005-05-09 Thread Gabriel Belingueres
Hi, Are there any DBCP monitoring tool that allow me to monitor how many open connections (and other stats) does DBCP holding? TIA, Gabriel

DBCP monitoring tool

2005-05-09 Thread Gabriel Belingueres
Hi, Are there any DBCP monitoring tool that allow me to monitor how many open connections (and other stats) does DBCP holding? TIA, Gabriel

Re: sending a JSP page by email

2005-03-11 Thread Gabriel Belingueres
it. What do you think? Haim -Original Message- From: Gabriel Belingueres [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 15, 2004 12:15 AM To: tomcat-user@jakarta.apache.org Subject: sending a JSP page by email Hi, How can I take advantage of Tomcat's JSP processing

sending a JSP page by email

2004-12-14 Thread Gabriel Belingueres
Hi, How can I take advantage of Tomcat's JSP processing engine to use a JSP page as a template for an email? That is, I want to do something like a page forwarding from a servlet, but this forwarding process the JSP page and, instead of send it to the browser, it send it by email to somebody.

Problem with Sessions...is this a Tomcat bug?

2004-12-09 Thread Gabriel Belingueres
Hi, I just discovered a weird thing: I have a Tomcat 4.1.12 running in my machine, which is called ale2000, and I test my app using http://localhost:8080/xx as the url (not the machine name configured in Windows) When some of the html page make a request to the app, using

changing DBCP version to Tomcat 4.1.x

2004-11-23 Thread Gabriel Belingueres
Hi, I need to connect to through a DataSource to an Informix database using Tomcat 4.1. As seen in the DBCP docs, DBCP 1.1, which came with Tomcat 4.1 is NOT compatible with IBM-Informix's JDBC driver. This problem is solved in DBCP 1.2, so what I did is replacing the DBCP and POOL jar files in

handling Relm's errors

2004-11-19 Thread Gabriel Belingueres
Hi, I'd like to know how to handle JDBCRealm's SQLExceptions in a graceful fashion. Also, I'd need to know how to differenciate between a login failed because authentication (user does not exist in de DB) or authorization (user/password ok but no permission to acces that resource). This is

question about Realm's scope

2004-11-18 Thread Gabriel Belingueres
Hi I'm running a Tomcat 5 in my job, where we have deployed a number of web application (ie. contexts). Some of this web applications require that the user be authenticated by a login screen (allways checking against the same database table), and some of the other applications are independent of

Re: Realm using LOTS of DB connections

2004-11-18 Thread Gabriel Belingueres
May be you should try using a DataSourceRealm, so that connections could be pooled by DBCP. On Thu, 18 Nov 2004 11:05:02 -0800 (PST), Norris Shelton [EMAIL PROTECTED] wrote: We have the manager app for each of our contexts set-up to use the DB to authenticate users. Unfortunately, it is using