Mime-mapping to trigger e-mail client

2005-03-06 Thread Rob Hunt
I've got RFC822 e-mail messages stored in a database. I'd prefer *not* to write (or rely on) an email-to-HTML converter. Instead, I'd like to serve the content as-is and have the client's browser recognize the mime type and trigger an e-mail client. My question is, what mime-mapping will

Re: Mime-mapping to trigger e-mail client

2005-03-07 Thread Rob Hunt
So, I tried setting the servlet response content type to message/rfc822. With Netscape Nav 7.2, it prompts me to open the default application (suggesting MS Outlook Express, which is my default e-mail app). I click OK and get the e-mail content in all its glory. With IE 6, it simply displays

Re: Wild Card Hosting

2005-03-24 Thread Rob Hunt
There are some domain-name-registrars/DNS-providers that allow you to set up a wildcard host where their domain name servers will dynamically redirect HTTP requests. For example: http://*.domain.tld/ could be redirected to something like

[Way off topic] Getting MSOutlook calendar to interface with Tomcat-served data

2005-04-02 Thread Rob Hunt
I'd like to serve calendar/event info to the calendar in MS Outlook (or is that LookOUT!?). I know that it's possible to create output that can be statically imported, but I'd like to make it as easy as possible to periodically/on-demand synchronize Outlook with a Tomcat server.

RE: [Way off topic] Getting MSOutlook calendar to interface with Tomcat-served data

2005-04-03 Thread Rob Hunt
Synchronize as in one-way import/upload from the web server. Synchronize as in not duplicating entries. Synchronize as in not generating additional entries from events that had been modified; event A originally scheduled for 10:00am is moved to 2:00pm -- ultimate result, a single event

Linking/forwarding GET requests using Default servlet or other Tomcat feature

2005-07-27 Thread Rob Hunt
I'm running a stand-alone (no Apache front-end) TC 5.0.19 server on a WinXP box. I have a webapp that has a /teams directory that contains gameScores.htm, teamStandings.htm and scoreForm.htm. I also have a /playoffs directory (can you tell this is a sports-related site?) directory that has

Re: Linking/forwarding GET requests using Default servlet or other Tomcat feature

2005-07-27 Thread Rob Hunt
Yes, I know you can make many mappings to a given servlet/jsp, but that's not what I'm asking for. When an HTTP client requests /playoffs/gameScores.htm, I'm hoping there's some slight-of-hand trick/feature that will cause Tomcat to serve /teams/gameScores.htm WITHOUT a redirect so that it

Re: Linking/forwarding GET requests using Default servlet or other Tomcat feature

2005-07-27 Thread Rob Hunt
Yes, I know that an internal forward would work. I just didn't want to code/test/debug it. Yes, I'm being very lazy here; but I hate to reinvent the feature if it already exists and it just seems to me that this is something that probably should already exist (since it can be done in Apache).

Re: Tomcat and the HttpServletRequest Object

2005-08-13 Thread Rob Hunt
Jeff, You still haven't given a rationale why you *need* the parameters presented in a specific order (even though the brower's supposed to produce that result). I've worked with a set of generic form processing servlets and never had the desperate need to know the order upon receipt; if I'm

Re: How force Tomcat 5.5.4 to always use URL Rewriting

2005-08-13 Thread Rob Hunt
Set the cookies attribute for the given (server.xml) context/ node to false. This will force Tomcat to rely only on URL rewriting.

When would TC (5.0.19) not send back (or even log) a response?

2005-08-28 Thread Rob Hunt
I saw this interesting request show up in my log file: 2005-08-28 20:11:08 RequestDumperValve[catalina]: REQUEST URI =/cgi-bin/jud.cgi 2005-08-28 20:11:08 RequestDumperValve[catalina]: authType=null 2005-08-28 20:11:08 RequestDumperValve[catalina]: characterEncoding=null

Dropped response

2005-08-31 Thread Rob Hunt
I saw this interesting request show up in my log file: 2005-08-28 20:11:08 RequestDumperValve[catalina]: REQUEST URI =/cgi-bin/jud.cgi 2005-08-28 20:11:08 RequestDumperValve[catalina]: authType=null 2005-08-28 20:11:08 RequestDumperValve[catalina]: characterEncoding=null