Thanks. I thought you were telling me to "read the darn manuals". I
did discover the HttpRequestWrapper class. I guess I could use
this. Have you or anyone else had experience with this technique?
I would imagine that I could do something in a valve to wrap the
request and then pass it on. Is it possible to manually call the next
valve in the chain or does the valve implementor not have such
conrtol?

-will


Keith Bacon writes:
 > Will,
 > If I new I'd have told. I don't, I was only suggesting
 > the path you long ago went down!
 > If the only entry is the one for the servlet I'd guess
 > Tomcat doesn't let you replace anything else - only
 > the whole lot. I guess you could do this on bigger
 > servers. Good luck (heaven knows what you're up to!).
 > Keith,
 > 
 > --- William Shulman <[EMAIL PROTECTED]> wrote:
 > > 
 > > Thanks Keith-
 > > 
 > > I did this before (and just did it again to be
 > > sure). None of the .xml
 > > in files in my Tomcat dist (server.xml, web.xml,
 > > etc..) seem to
 > > contain configuration of these elements. I do see
 > > where you can
 > > specify 'servlet-name' in web.xml to define the
 > > Servlet class, but
 > > this is not what I am looking for. I also looked at
 > > the dtd
 > > definitions to see if they mention tags where I can
 > > define the 
 > > HttpServletRequest and/or Session class -- no luck
 > > there either. 
 > > 
 > > I also did a "find . | xargs grep
 > > HttpServletRequest" and did not find
 > > anything useful.
 > > 
 > > if you know which xml file allows for the
 > > configuration of these
 > > classes, would you tell me?
 > > 
 > > -will
 > > 
 > > 
 > > Keith Bacon writes:
 > >  > Hi William - just quick suggestions
 > >  > 1 - search for files called *.xml & look in them.
 > >  > 2 - or scan all files for "HttpServletRequest"
 > >  > That ought to find them.
 > >  > Just maybe the servlet spec specifies where this
 > > info
 > >  > is stored?
 > >  > Keith.
 > >  > 
 > >  > --- William Shulman <[EMAIL PROTECTED]>
 > > wrote:
 > >  > > 
 > >  > > Assume one is using a servlet container (like
 > > Tomcat
 > >  > > or similar).
 > >  > > Is there a way to specify to the servlet
 > > container
 > >  > > which class 
 > >  > > implementations to use for HttpServletRequest
 > > and
 > >  > > Session ? 
 > >  > > I am guessing that there may exist factories
 > > for
 > >  > > producing 
 > >  > > instances of these classes and I am wondering
 > > if
 > >  > > there is a 
 > >  > > hook, standard or specific to vendor, that will
 > >  > > allow me to 
 > >  > > specify my own implementations of these classes
 > > /
 > >  > > interfaces.
 > >  > > 
 > >  > > thanks in advance
 > >  > > -will
 > >  > > 
 > >  > > --
 > >  > > To unsubscribe, e-mail:  
 > >  > >
 > > <mailto:[EMAIL PROTECTED]>
 > >  > > For additional commands, e-mail:
 > >  > > <mailto:[EMAIL PROTECTED]>
 > >  > > 
 > >  > 
 > >  > 
 > >  >
 > > __________________________________________________
 > >  > Do You Yahoo!?
 > >  > Check out Yahoo! Shopping and Yahoo! Auctions for
 > > all of
 > >  > your unique holiday gifts! Buy at
 > > http://shopping.yahoo.com
 > >  > or bid at http://auctions.yahoo.com
 > >  > 
 > >  > --
 > >  > To unsubscribe, e-mail:  
 > > <mailto:[EMAIL PROTECTED]>
 > >  > For additional commands, e-mail:
 > > <mailto:[EMAIL PROTECTED]>
 > >  > 
 > > 
 > > --
 > > To unsubscribe, e-mail:  
 > > <mailto:[EMAIL PROTECTED]>
 > > For additional commands, e-mail:
 > > <mailto:[EMAIL PROTECTED]>
 > > 
 > 
 > 
 > __________________________________________________
 > Do You Yahoo!?
 > Check out Yahoo! Shopping and Yahoo! Auctions for all of
 > your unique holiday gifts! Buy at http://shopping.yahoo.com
 > or bid at http://auctions.yahoo.com
 > 
 > --
 > To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
 > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
 > 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to