Perhaps you should use: Cache-control: private

2000-05-30 Thread Sam Heisz
When I was researching a caching problem I experienced with logout pages, I noticed that ASP pages set the following HTTP header: Cache-Control: private This is probably something we all want to do on any dynamic pages that we create that are specific to some user, from RFC2068: private

FW: Unix version of 'I Love You'

2000-05-19 Thread Sam Heisz
This is the Unix version of "I Love You" which works on the honor system. If you receive this mail, you should delete a bunch of GIFs, MP3s and binaries from your home directory, then send a copy of this email to everyone you know and then click on the following link:

Re: session tracking on the server side (connections)

2000-05-09 Thread Sam Heisz
In one of the faqs below there is the answer to this. Search the faq for "listener". Sam === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at:

HTML output in declared function

2000-05-08 Thread Sam Heisz
Hi all, I want to declare a function that prints out some HTML, something like: - begin(index.jsp) %! public void printSimpleHeader() { % img src=%= imageurl("simpleheader.gif") % !-- I actually have more HTML here, elided for sake of brevity -- %! } % body % printSimpleHeader(); %

request.isUserInRole() - NullPointerException

2000-05-01 Thread Sam Heisz
Using Resin 1.1. I get a NullPointerException on the following code if there is no authenticated user for the session. Does this seem right to everyone? %= request.isUserInRole("customer") ? "true" : "false" % I can get around it with: %= (request.getUserPrincipal() != null)

Re: Model 2 questions basic

2000-04-17 Thread Sam Heisz
You can check on-the-fly for null in your hash map, that way you don't need to specify the names of all possible action classes in init(): // check the requestURI actionName mappings String actionName = (String) mapping.get(request.getRequestURI()); Action action = (Action)

Model 2- Loading changed Action classes without restarting the se rver

2000-04-14 Thread Sam Heisz
I am fairly new to the list, and first I want to thank Kevin, Craig, Daniel, and everyone else who contributed to the Model 2 discussion. One question I have: is there any way to explicitly cause an Action class to be unloaded, so that a newly compiled version will be loaded in its place? It

Re: Model 2, where to store and access the Database ConnectionPool

2000-04-10 Thread Sam Heisz
On Fri, 7 Apr 2000, Sam Heisz wrote: sam What stops the instance from getting garbage collected? I read that sam starting version something-something-something, the garbage collector sam is more aggressive and will collect instances of objects that are only sam referred to by a member variable

Re: Model 2, where to store and access the Database ConnectionPool

2000-04-07 Thread Sam Heisz
Cammarano Richard wrote: i am currently using a connection pool manager that is designed as a singleton where I call ConnectionManager.getInstance() to return the single pool instance. At first I was storing the connection manager in the servlet context until my coworker pointed out that I