Fwd: How to configure maxParameterCount

2012-04-25 Thread Zhi Xie
-- 已转发邮件 --
发件人: Zhi Xie 
日期: 2012年4月25日 下午5:58
主题: How to configure maxParameterCount
收件人: users-h...@tomcat.apache.org



Hi, is there anybody know how to customize the tomcat connecter's
maxParameterCount. The default value is 1, too large for me. I need to
set it to 1000.
How to configure it?

Thank you very much.
-- 
Best Regards
Gary




-- 
Best Regards
Gary
Apache Geronimo


Re: How to configure maxParameterCount

2012-04-26 Thread Zhi Xie
thank you. no further question.

在 2012年4月25日 下午6:37,Konstantin Kolinko 写道:

> 2012/4/25 Zhi Xie :
> > -- 已转发邮件 --
> > 发件人: Zhi Xie 
> > 日期: 2012年4月25日 下午5:58
> > 主题: How to configure maxParameterCount
> > 收件人: users-h...@tomcat.apache.org
> >
> >
> >
> > Hi, is there anybody know how to customize the tomcat connecter's
> > maxParameterCount. The default value is 1, too large for me. I need
> to
> > set it to 1000.
> > How to configure it?
> >
>
> That is a question for the users@ list.
>
> 1. read "Configuration reference" part of Documentation
> 2. edit Connector attributes in server.xml
> 3. restart Tomcat
>
> What is the problem?
>
> Best regards,
> Konstantin Kolinko
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>
>


-- 
Best Regards
Gary
Apache Geronimo


Could anybody give me some reference about how Tomcat handle the default servlet

2012-06-12 Thread Zhi Xie
If I deploy a war with a web.xml like this.


http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
  Test WAR

  
  
default
/images/*
  


I want to know Tomcat how to handle it.
1. How to find DefaultServlet to handle this map.
2. If I define my own default servlet, how tomcat assure the DefaultServlet
don't override my own servlet.

I have debugged it in Tomcat 6.0.35. But I couldn't find the answer.

Could anybody give me some reference. Thank you very much.

Best Regards
Gary


How to use the usehttponly feature in application level

2012-12-02 Thread Zhi Xie
Sorry, I don't find any doc to introduce this. There are a lot of docs to
show how to implement the feature in conf/context.xml.

...

Who can tell me how to implement the feature in application level?
For example, I have 2 applications in the Tomcat server. One is named
HelloWorld, the other is named HiWorld. I hope the HelloWorld should use
the usehttponly feature, the other is not.

Any advice is appreciated.

-- 
Best Regards
Gary