logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: chiba-web patch: do not extend ChibaServlet: msg#00023

Subject: Re: chiba-web patch: do not extend ChibaServlet
Gediminas,

thanks for the patch. I'll review that asap and eventually merge it in.


Gediminas Paulauskas wrote:
> Currently PlainHtmlServlet and FluxHelperServlet inherit from 
> ChibaServlet, and, among other non-used methods inherit init(), where 
> all chiba configuration is initiated. So after first form submit one of 
> these servlets is created, and all configuration is read again and may 
> even break something. In my case the servlet crashed.
Can you explain what happened? Thought that this static information 
should not pose a problem.

Joern
> 
> To solve this problem, I've created a base servlet to inherit from, 
> AbstractChibaServlet, with methods used in other servlets, and inherited 
> all servlets which need those methods from it, instead of main 
> ChibaServlet. A patch attached.
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Chiba-developer mailing list
> Chiba-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/chiba-developer


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


<Prev in Thread] Current Thread [Next in Thread>