Re: Allow Servlet to Control 100-continue response

2011-06-19 Thread Pid
On 18/06/2011 06:53, Rehtron wrote: Hi Currently if a client supplies the Expect: 100-continue header on a POST or PUT, Tomcat appears to send the response header (100-continue) before passing control to the servlet. Out of interest, are you asking to control specifically the 100 response,

A Tomcat 6 Socket Server

2011-06-19 Thread netfolio
To whom is reading this mail. Hello, For some time i have been learning some server technologies for my own needs. I have tried PHP but the way its constructed or the way it handles scripts for object oriented programing wasn't suitable for me. Java is more the way i think of programing

Re: Allow Servlet to Control 100-continue response

2011-06-19 Thread Simon Olofsson
On 2011-06-18 13:46, Mark Thomas wrote: You can use a Filter as mack Lu suggested Wrong. Thanks for the correction. In StandardWrapperValve the request is acknowledged before the FilterChain is constructed. I should've looked it up :) Simon

Re: Allow Servlet to Control 100-continue response

2011-06-19 Thread Rehtron
Thanks to all who reply. Yes, I am developing a REST interface for a large file storage system by Servlet Tomcat. The Expect 100-continue is highly inefficient for LARGE file transfer, I need to validate HTTP header by our access control logic when PUT a file, if the headers is invalid, the

Re: A Tomcat 6 Socket Server

2011-06-19 Thread Rehtron
Hi Tomcat is a Servlet container, Servlet abstract HTTP interaction, HTTP is application layer protocol, it encapsulate the socket and bytes processing. For socket processing, I think your should refer to some frameworks of transfer layer protocol like Netty, XSocket and Mina. Zijian

FW: How to configure Tomcate 7 to remove OutOfMemory permgen error

2011-06-19 Thread Thomas Adler
Hi! I am trying to use MyEclipse - I have simple database with 5 tables and I am trying to use MyEclipse Spring 3 CURD application scaffolding to generate Spring CRUD application, that uses Spring 3, Hibernat, Java Servlets 3, JSF 2 and Primefaces 2.1 JSF components - as I understand -

Re: Allow Servlet to Control 100-continue response

2011-06-19 Thread Pid
On 19/06/2011 11:59, Rehtron wrote: I will investigate the Tomcat Valve mechanism, but one thing is for sure, the Valve based implementation depend on the Tomcat private implementation, that means I cannot use Jetty to do unit test. Why not test with Tomcat instead? Can Servlet 3.0 Comet

Re: FW: How to configure Tomcate 7 to remove OutOfMemory permgen error

2011-06-19 Thread Pid
On 19/06/2011 20:57, Thomas Adler wrote: Hi! I am trying to use MyEclipse - I have simple database with 5 tables and I am trying to use MyEclipse Spring 3 CURD application scaffolding to generate Spring CRUD application, that uses Spring 3, Hibernat, Java Servlets 3, JSF 2 and

Re: Feature request: fullstart command

2011-06-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mladen, On 6/17/2011 1:21 AM, Mladen Turk wrote: On 06/17/2011 12:14 AM, Christopher Schultz wrote: On 6/16/2011 5:03 PM, Francis GALIEGUE wrote: I was actually wondering about these. I think I have my answer now :/ Solutions in C or other

Re: A Tomcat 6 Socket Server

2011-06-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Herendi, On 6/19/2011 4:06 AM, netfo...@uw.hu wrote: I have looked for books. Most or all of them covers only JSP, JSF or JDBC but non of them covers TCP - socket communication in details such as the ServerSocketFactory, the JSSEFactory or the