Re: error

2002-09-06 Thread Justin Ruthenbeck
You're (probably -- don't know without seeing the code) calling sendRedirect() on a response that has already been written. Check to make sure you haven't already written something to the response. Once you start your output (or actually -- once the server sends output to the client), you

RE: Error in tomcat but not in resin (caucho)

2002-09-06 Thread Justin Ruthenbeck
Many app servers buffer the response output and allow anything to be done to the response until the first time the buffer is flushed to the client. This can lead to runtime situations where you can call response.setHeader() AFTER writing something to the response... so long as you don't

Re: How to get Excel directly started using response.setContentType(...) from JSP?

2002-09-04 Thread Justin Ruthenbeck
Zsolt -- Guess I'm a bit confused why you wouldn't want to use the setContentType() method in your jsp ... this is how a problem like this is normally solved (and why the method exists in the first place). Regardless, you can also do it by extension on your jsp. Depending on how your

RE: Is Tomcat just an add-on?

2002-09-04 Thread Justin Ruthenbeck
Let's try saying this a different way... Tomcat and Apache are completely separate servers and running one, the other, or both does not affect how the other operates independently. If you configure Tomcat to receive requests from Apache, then you are opening an additional port (8009 by

Re: How to get Excel directly started using response.setContentType(...) from JSP?

2002-09-04 Thread Justin Ruthenbeck
setContentType(), but I do get asked by IE whether I want to open or save the document. From a servlet using the ...xls in the URL I can prevent the question whether I want to open the document, it will be opened without any questions. Zsolt On Wednesday 04 September 2002 20:46, Justin Ruthenbeck

RE: Log out Screen

2002-08-29 Thread Justin Ruthenbeck
In most cases, this is true ... but I think everyone can agree that there is nothing more frustrating than filling out some web-based form with lots of information (takes a long time to complete), attempting to submit, running into a session timeout, and not being able to get back to the

Re: File Filtering

2002-08-21 Thread Justin Ruthenbeck
Rui -- The answer depends on why you want to do it. You mentioned that you don't want browsers to have access to the files... ever? Do you need this done dynamically? Who needs access? Are these static files? Resources used by your app at runtime? justin At 11:39 AM 8/21/2002, you

Re: problems with Connections

2002-08-21 Thread Justin Ruthenbeck
Perhaps this is what you had in mind at the end of your last message, but if all of your DAO objects inherit from a common base class (as they should), why not add your connection opening logic to that class, add a closeConnection() method as well, and then code like this in each of your

Re: Setting Path for properties file

2002-08-21 Thread Justin Ruthenbeck
Jillian -- Instead of loading the properties from the file, you can load it dynamically as a system resource, then pass the InputStream into a new Properties object. This way, you'll be able to load the properties file from anywhere in the classpath instead of just a hardcoded logical path

Running jspc with -p option (specify package) problem

2002-08-16 Thread Justin Ruthenbeck
hints on where I can go in the source to fix it? Again, my apologies if this is known/addressed and I missed it. Much appreciated, justin _ Justin Ruthenbeck Software Engineer NextEngine Inc. 401 Wilshire Blvd, 9th Floor Santa Monica CA 90401 [EMAIL PROTECTED

Re: Running jspc with -p option (specify package) problem

2002-08-16 Thread Justin Ruthenbeck
if this is known/addressed and I missed it. Much appreciated, justin _ Justin Ruthenbeck Software Engineer NextEngine Inc. 401 Wilshire Blvd, 9th Floor Santa Monica CA 90401 [EMAIL PROTECTED] This email is intended only for the use of the individual or entity to which it is addressed

<    1   2   3