Re: [Actionframework-users] configuration questions
Status: Inactive
Brought to you by:
ptoman
From: Petr T. <Pet...@pi...> - 2002-08-05 16:50:25
|
Grrr, it seems my previous mails have disappeared... :( Sorry for delay. > I want to use ActionServlet to handle ALL the webpages on a specific > vhost, much like one would do with php or jsp. One problem I'm > having is with the 'is-new-session' attribute of the template tag. > When I put that attribute in, it seems like the marked template is > ALWAYS displayed, regardless of what the actual template name I typed > in was. However, excluding that attribute results in a > NullPointerException being thrown. I'm going through the code now to > try and figure out why this might be happening, but I thought I'd > also ask. is-new-session attr is flag for the template to be shown upon a new session. I don't understand which template is always displayed for you - the one with 'is-new-session'? As for the exception, could you post a full stacktrace please? Btw, what's the problem with Tomcat? You should be able to create examples/as_examples.war (by running 'ant war') and deploy it into Tomcat's webapps directory. > Also, I'm wondering about if ActionServlet can be configured to work > with the older Apache JServ. ActionServlet says it is compatible > with JSDK 2.0, which means the Java Servlet API 2.0, right? So, in > theory I think it should work, but I have been unable to find > anything to indicate either way. Any advice would be appreciated. I run my AS-based app in Apache/JServ 1.1.2 with no problems, but I would recommend you to try Tomcat first. Petr -- [ http://dione.zcu.cz/~toman40 - Pet...@pi... - ICQ=22957959 ] |