Re: [Actionframework-users] configuration questions
Status: Inactive
Brought to you by:
ptoman
From: Petr T. <Pet...@pi...> - 2002-08-07 19:43:26
|
> i have managed to figure out what i need to do by over-riding > ActionServlet and implementing a couple methods, most of the work is > being done in handle() and newSession(). Good. > i can try and repro the exception, but the problem is really related > to what the documentation makes clear; i had no is-new-session and > the isNewSession() method was not over-ridden. it was happening in > the reqeust.setContentType() method, because the default > ActionReturnData didn't specify a contenttype to use. I see. AS prints "Setting HTTP response content-type: 'null'", which later causes NullPointerException. Thanks for bugreport! :) > tomcat is just such a configuration nightmare compared to jserv. i > still haven't had the courage to figure out how to make tomcat run > for a separate virtual server. i just get frustrated when 'latest > and greatest' so frequently seems to translate into 'insanely > complicated configuration you now HAVE to deal with'. i still get > tomcat errors with the url alias doesn't match the webapps directory > name. it just seems like someone decided how they liked to organize > their web stuff and its just been forced into the structure for > tomcat. anyway, i'm making headway; i can develop at least and if i > decided to move back to jserv when it comes time to 'release' what > i'm working on, so be it. I have no experience with Tomcat and vhosts, but I think this is more a question of Tomcat than AS, which behaves just as a usual servlet = if you get working Tomcat + vhost + any servlet, you should be able to use AS in a similar manner. Btw, some people prefer Jetty over Tomcat esp. because of speed. Petr -- [ http://dione.zcu.cz/~toman40 - Pet...@pi... - ICQ=22957959 ] |