Re: Custom Connector class

2015-12-16 Thread Roel Storms
2015-12-16 14:11 GMT+01:00 Christopher Schultz : > Roel, > > On 12/16/15 4:56 AM, Roel Storms wrote: > > It should, if you implement parseParameter and all these other methods > > before getStream is called, in the wrapper itself. But since you ha

Re: Custom Connector class

2015-12-16 Thread Roel Storms
e the HttpServletRequest.getStream since it has no knowledge of this wrapper. The wrapped object never uses the wrapped implementation of methods since it has no knowledge of the wrapping. 2015-12-16 4:06 GMT+01:00 Christopher Schultz : > Roel, > > On 12/15/15 5:13 PM, Roel Storms wrote: > > I don

Re: Custom Connector class

2015-12-15 Thread Roel Storms
of concept, I am not worried about maintaining this code, which would indeed be almost impossible. Thanks for the advice on the size of requests. I'm still pondering on that issue. Roel 2015-12-15 2:10 GMT+01:00 Christopher Schultz : > Roel, > > On 12/12/15 11:17 AM, Roel S

Re: Custom Connector class

2015-12-12 Thread Roel Storms
build a wrapper that would overwrite getStream, getReader, getInputStream, getParam, getParameterNames, etc. But then I would be generating a lot of duplicate code. Since my implementation is purely experimental I don't think it's such big of a problem to modify Tomcat internals (the Conn

Re: Custom Connector class

2015-12-09 Thread Roel Storms
tream(). The servlet wouldn't be able to call getReader or getParam anymore. I would like my Valve to be transparent in that sense. 2015-12-09 13:07 GMT+01:00 Konstantin Kolinko : > 2015-12-09 14:13 GMT+03:00 Roel Storms : > > Hello, > > > > In Tomcat 4.1 it used to

Custom Connector class

2015-12-09 Thread Roel Storms
y the Connector.createRequest() method. Is this no longer possible via configuration? Kind regards, Roel Storms

Re: ServletRequest.getInputStream, getReader, getParameter.

2015-11-24 Thread Roel Storms
ething which clearly doesn't belong on this mailing list anymore. But I disagree with you on the fact that session management is fine the way it is. Thanks for the advice and I clearly have some technical stuff to work out. Roel 2015-11-24 19:15 GMT+01:00 Christopher Schultz : > Roel, &g

Re: ServletRequest.getInputStream, getReader, getParameter.

2015-11-24 Thread Roel Storms
2015-11-24 16:11 GMT+01:00 Christopher Schultz : > Roel, > > On 11/24/15 9:44 AM, Roel Storms wrote: > > I am trying to protect the client from: > > > > Session fixation > > Tomcat already provides session-fixation protection when using URL-based > or

Re: ServletRequest.getInputStream, getReader, getParameter.

2015-11-24 Thread Roel Storms
are at either client or server-side 2015-11-24 15:19 GMT+01:00 Christopher Schultz : > Roel, > > On 11/24/15 5:12 AM, Roel Storms wrote: > > It's to implement a new session mechanism that guarantees integrity of > the > > requests sent in the session and also protect

Re: ServletRequest.getInputStream, getReader, getParameter.

2015-11-24 Thread Roel Storms
session identifier in Tomcat as your session mechanism. Again, I am still doing some research and maybe what I am doing is not worth it. 2015-11-24 11:36 GMT+01:00 Mark Thomas : > On 24/11/2015 10:12, Roel Storms wrote: > > It's to implement a new session mechanism that guarantees i

Re: ServletRequest.getInputStream, getReader, getParameter.

2015-11-24 Thread Roel Storms
n see I still have a lot to do. If I need any more information I will not hesitate to ask. Thanks for all the info! 2015-11-23 23:01 GMT+01:00 André Warnier (tomcat) : > On 23.11.2015 21:14, Roel Storms wrote: > >> Ok, thank you for the clear response. I see the problem with file type

Re: ServletRequest.getInputStream, getReader, getParameter.

2015-11-23 Thread Roel Storms
Ok, thank you for the clear response. I see the problem with file type elements. 2015-11-23 17:18 GMT+01:00 André Warnier (tomcat) : > On 23.11.2015 16:31, Mark Thomas wrote: > >> On 23/11/2015 14:30, Roel Storms wrote: >> >>> Hello, >>> >>> I a

Re: ServletRequest.getInputStream, getReader, getParameter.

2015-11-23 Thread Roel Storms
2015-11-23 16:31 GMT+01:00 Mark Thomas : > On 23/11/2015 14:30, Roel Storms wrote: > > Hello, > > > > I am working on a Valve that does some integrity checking on HTTP > requests > > (the details aren't important) where I need this valve to have access to > &

ServletRequest.getInputStream, getReader, getParameter.

2015-11-23 Thread Roel Storms
integrity check without getInputStream or getReader but with getParameters, will not work if the data submitted is not in the expected format. Kind regards, Roel Storms

Re: apache fop remains active in servlet environment

2007-11-29 Thread Roel
And how can i use that to render an in-memory DOM object? The xml I need to render is constructed on the fly from database records and then fed to fop. Roel mgainty wrote: > > FOP 0.94 has working servlet code > which can be called specifying the xml and xsl > http://servername

apache fop remains active in servlet environment

2007-11-29 Thread Roel
O Auto-generated catch block throw new ServletException(e); } System.gc(); Anyone has any ideas? Roel -- View this message in context: http://www.nabble.com/apache-fop-remains-active-in-servlet-environment-tf4896511.html#a14023743 Sent from th

apache fop and security manager problem

2007-06-20 Thread Roel Dillen
-commons-1.1.jar Any thoughts? Sincerely Roel java.lang.UnsupportedOperationException: Don't know how to handle "application/pdf" as an output format. Neither an FOEventHandler, nor a Renderer could be found for thi

Betr.: Re: Problem with HttpSessionListener

2006-10-11 Thread Roel De Nijs
")); } add this line System.out.println("sessionGetAttribute - id = " + request.getSession().getId()); before/after this line String test = (String)request.getSession().getAttribute("test"); so you will be able to see if the get- and setAttribute happen on the same ses

Betr.: RE: From Tomcat 5.0.28 to 5.5.20

2006-10-10 Thread Roel De Nijs
Base has been specified, and will be ignored" - message >>> "Caldarale, Charles R" <[EMAIL PROTECTED]> 10/10/2006 15:45 >>> > From: Roel De Nijs [mailto:[EMAIL PROTECTED] > Subject: From Tomcat 5.0.28 to 5.5.20 > > i want to migrate from tomcat 5.

From Tomcat 5.0.28 to 5.5.20

2006-10-10 Thread Roel De Nijs
1 host. so it looks like this: which adjustments i have to do to get rid of that message but still be able to access my web-application. any tips, hints, suggestions, remarks,... are welcome thanks a lot for your

Betr.: Re: The Future of Tomcat

2006-02-02 Thread Roel De Nijs
or they think coffee and/or island :-) >>> [EMAIL PROTECTED] 2/02/2006 16:50:03 >>> > True, but the HTTP server is still what most people think of when they > hear the name "Apache". Probably same people, that think of Applets or Javascript when they hear the word "Java"? > > Dave Leon :-) ---

The Future of Tomcat

2006-02-02 Thread Roel De Nijs
time to replace every Tomcat app server with some alternative. So does Tomcat have a future or will it die in the future? Greetz Roel ** Disclaimer: zie www.aquafin.be

Betr.: RE: Memory Management between different webapps

2006-02-02 Thread Roel De Nijs
at random situations, so it's a really big mistery why in test everything goes well and in production it crashes more then once a day. And it's doing it for approx 4 months now, so it's time it's getting solved. >>> [EMAIL PROTECTED] 2/02/2006 11:06 >>&g

Memory Management between different webapps

2006-02-02 Thread Roel De Nijs
ory over the web-apps? Is this completely random, or first come first gets? What if a web-app is called for the first time and all possible memory is allocated to other web-apps? Many thanks already Roel ** Disclaimer:

Getting StandardContext

2006-01-25 Thread Roel De Nijs
Hi, I was wondering if it's possible to programmatically get the StandardContext-object from e.g. a Servlet that's running in the container. So you can call getters like getDocType, programmatically add some mime types etc. G