You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by Nikita Tovstoles <ni...@eviltwinstudios.net> on 2006/04/25 01:43:03 UTC

testing 2.4 servlets with Cactus possible?

Hi,

I'm new to Cactus and am trying to unit-test a web-app that extensively 
uses Servlet 2.4 method request.getRemotePort(). Cactus 1.7.2 chokes on 
it because Servlet API 2.4 isn't yet supported. Are there any patches/ 
workarounds available that'd let me use cactus to test servlet using 
request.getRemotePort()?

thanks
-nikita


RE: testing 2.4 servlets with Cactus possible?

Posted by Pedro Nevado <pn...@javato.com>.
I have been using Cactus with Servlet 2.4., integrated in IntellijIDEA and
with Ant scripts. The only prevention is to avoid the tasks related with
"cactification" of the wars.
I hope this helps.
Regards,
Pedro

-----Mensaje original-----
De: Nikita Tovstoles [mailto:nikita@eviltwinstudios.net]
Enviado el: martes, 25 de abril de 2006 1:43
Para: cactus-user@jakarta.apache.org
Asunto: testing 2.4 servlets with Cactus possible?


Hi,

I'm new to Cactus and am trying to unit-test a web-app that extensively
uses Servlet 2.4 method request.getRemotePort(). Cactus 1.7.2 chokes on
it because Servlet API 2.4 isn't yet supported. Are there any patches/
workarounds available that'd let me use cactus to test servlet using
request.getRemotePort()?

thanks
-nikita


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-user-help@jakarta.apache.org