Re: Why won't anyone help me out??

2003-02-04 Thread Dodd Gatsos
Steve, Did you include this tag in your JSP page? <%@ page import="org.burrus.test.LDAPAuthBean" %> As you can see from the error output, it is looking in the package: org.apache.jsp for the LDAPAuthBean, which suggests that you're missing this tag. Any class outside of java.lang, and a few oth

Re: error page for error code 500?

2003-02-04 Thread Dodd Gatsos
I just tested it out and I get the same problem. I am currently capturing and using a custom error page for 500 errors when Tomcat is not responding. Ie. - I am using Apache's ErrorDocument 500 http://whatever in the httpd.conf. This works fine. I was also able to capture Tomcat's 404 error-page

Re: How to specify a name for a content beeing served by s servlet

2003-01-09 Thread Dodd Gatsos
Yes, This is exactly what I did to send .csv files to the client with the correct name of the file rather than the called servlet as the default filename. Worked like a charm on both IE and Netscape. Dodd - Original Message - From: <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROT

Re: How to specify a name for a content beeing served by s servlet

2003-01-09 Thread Dodd Gatsos
Sorry, Here's the code line I used: response.setHeader("Content-Disposition","attachment; filename="+archive); Dodd - Original Message - From: <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, January 09, 2003 11:19 AM Subject: Re: How to specify a name for

Re: why can't tomcat 4.1.17 can't find javamail?

2002-12-20 Thread Dodd Gatsos
uot; <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, December 19, 2002 5:33 PM Subject: Re: why can't tomcat 4.1.17 can't find javamail? > Dodd Gatsos wrote: > > Still using Tomcat 4.0.3, so don't know if this i

Re: Why web.xml in my application runs twice when use Apache as WebServer?

2002-12-19 Thread Dodd Gatsos
andalone > > Apache Tomcat/4.0.3 > > # p2_test Connection pool start on pronettest > > # count = 1 > > Starting service Tomcat-Apach > > Apache Tomcat/4.0.3 > > > > When I start Apache: > > # p2_test Connection pool start on pronettest > > #

Re: why can't tomcat 4.1.17 can't find javamail?

2002-12-19 Thread Dodd Gatsos
Still using Tomcat 4.0.3, so don't know if this is valid. I use Tomcat/lib Have to restart Tomcat after you place it in there though. mail.jar right? Don't know if you already had it working in 4.0.3 or something. - Original Message - From: "Joseph Shraibman" <[EMAIL PROTECTED]> T

Re: Why web.xml in my application runs twice when use Apache as WebServer?

2002-12-19 Thread Dodd Gatsos
y > don't understand why? Will you please tell me in more detail how you > solve this problem in your environment? Your great help is highly > appreciated. > > Thanks! > > Ching-yu > > Dodd Gatsos wrote: > > >The servlet is starting the ConnectionPool in the

Re: Off-Topic: System for Apache + tomcat?

2002-12-19 Thread Dodd Gatsos
I've been using W2K with Apache/Tomcat on my home server for quite some time now. It's effectively the same as on a UNIX platform. We're running it on HP-UXs at the office. I've been very happy with it. Do it on your machine at home. - Original Message - From: "Michael Nicholson" <[E

Re: Why web.xml in my application runs twice when use Apache as WebServer?

2002-12-19 Thread Dodd Gatsos
The servlet is starting the ConnectionPool in the Init() method? It may be calling the Init method twice. Don't know why this might be happening, but you may try to set a static boolean condition around the creation of the ConnectionPool and set it to false inside. That way if it gets called twi

Re: Should not be this hard(why is this a security risk)

2002-12-19 Thread Dodd Gatsos
Just a guess... Because someone could theoretically drop a servlet into your file system programmed to issue commands passed in as a parameter and execute them as root? - Original Message - From: "Randy Paries" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: T

Re: How to start a standalone app from a servlet and problems withreading properties file

2002-12-19 Thread Dodd Gatsos
Dude, It's kinda crazy. I was having the same problem. Your best bet is to use an absolute path from the file system, (not from the base %TOMCAT_HOME% directory or anything like that). Not only is it difficult to determine what the default path is from Tomcat, but I've also noticed that if I rea

Re: 4.1.17 Problems - Possibly Coyote Connector?

2002-12-19 Thread Dodd Gatsos
Buy more memory. It's cheap. Is this supposed to be a server or a workstation? :) - Original Message - From: "Torsten Fohrer" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, December 19, 2002 11:27 AM Subject: Re: 4.1.17 Problems - Possibly Coyote Connect

Forwarding to an

2002-12-19 Thread Dodd Gatsos
Trying to forward a request to a certain location in a JSP page. Ie an section. It doesn't seem to work. I've tried both: getServletContext().getRequestDispatcher("/admin/AgentReport.jsp#section2"). forward(req,res); and: response.sendRedirect("/admin/AgentReport.jsp#section2"); But neither

Re: basic tomcat configuration

2002-12-18 Thread Dodd Gatsos
t; > myApp/WEB_INF/web.xml. It worked . > > > > but... Why I can just save a servlet at > > examples/WEB_INF/classes and it > > works ? With out > > put anything at examples web.xml file. > > > > The myApp Context in server.xml file is ok > > (

Re: basic tomcat configuration

2002-12-18 Thread Dodd Gatsos
Is this standalone or through apache with mod_jk? If mod_jk, is the Alias for myApp added and the JkMount in the mod_jk.conf file? Alias /myApp "/Tomcat/webapps/myApp" JkMount /myApp/* ajp13 Is the myApp Context added to the server.xml file? Is the and setup in the webapps/myApp/WEB-INF/web.x