John McNally wrote:
 
> I defined a build target for Ant that checks for the existence of a 2.2
> class before including the JSP related classes.  I am not clear though,
> is this code required in all cases?

The TurbineConfig class lets you initialize Turbine easiliy ouside
the servlet container.  (See the javadocs for an example)

To do that, the class has to implement javax.servlet.ServletConfig and 
javax.servlet.ServletContext interfaces. The problem is that the
ServletContext interface changed in an incompatible way between 
2.0 and 2.2 specification. I'm not sure how to make it compile and
run in both environments.


Rafal

--
Rafal Krzewski
Senior Internet Developer
mailto:[EMAIL PROTECTED]
+48 22 8534830 http://e-point.pl


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to