Pavan, Here are the notes found at http://jakarta.apache.org/cactus/changes.html :
- The WebRequest.setMethod() has been removed as deprecating it would have led to potential error difficult to locate (as Cactus default behaviour is now to pass parameter using GET, whereas before it was passing them using POST). (VMA) - The existing WebRequest.addParameter(name, value) is now passing the parameter in the URL query string by default (same as calling WebRequest.addParameter(name, value, WebRequest.GET_METHOD). (VMA) - Added a new WebRequest.addParameter(name, value, method) where method is either "GET" or "POST". This let you choose on a fine grain level, which method you'd like to use to pass a given parameter. (VMA) There is no documentation yet for Cactus 1.3 as it is not released. However you'll be able to find some information in the changes notes and in mailing list archives. Sorry about that, we need to improve our way of handling documentation for the next version. Thanks -Vincent > -----Original Message----- > From: Pavan Aripirala Venkata [mailto:[EMAIL PROTECTED]] > Sent: 09 March 2002 01:13 > To: Cactus Users List > Subject: RE: update from cactus 1.2 to cactus 1.3 - setMethod() removed? > > Is the setMethod() of org.apache.cactus.WebRequest removed? I > downloaded the latest nightly build (03/08/2002) and the documentation > doesn't say that it is deprecated or removed. Was it removed for a > purpose? > > Pavan. > > > -----Original Message----- > From: Vincent Massol [mailto:[EMAIL PROTECTED]] > Sent: Saturday, February 09, 2002 10:37 AM > To: 'Cactus Users List' > Subject: RE: update from cactus 1.2 to cactus 1.3 > > > Florent, > > It seems to me that the error is in your web.xml. It looks as if the > mapping of the ServletRedirector servlet is wrong (maybe there is a > trailing "/" in your mapping - something that was in Cactus 1.2 but has > been rightly removed in Cactus 1.3). > > WRT the migration guide, yes we could provide something. It would be : > > Step 1 : Put aspectjrt.jar in both your client side and server side > classpaths > > Step 2 : Modify your cactus.properties to the new format > > For example: > cactus.contextURL = http://localhost:8000/cactus > cactus.servletRedirectorName = ServletRedirector > > Step 3 : Ensure that cactus.servletRedirectorName does not end with a > "/" and that the mapping in web.xml is : > > <servlet-mapping> > <servlet-name>ServletRedirector</servlet-name> > <url-pattern>/ServletRedirector</url-pattern> > </servlet-mapping> > > Thanks for the suggestion. > > ... Ok let's do it ... done ... It is now available on the web site at > http://jakarta.apache.org/cactus/howto_migration.html > > Cheers, > -Vincent > > > -----Original Message----- > > From: Florent Nisseron [mailto:[EMAIL PROTECTED]] > > Sent: 07 February 2002 10:57 > > To: [EMAIL PROTECTED] > > Subject: update from cactus 1.2 to cactus 1.3 > > > > Hi, > > > > I use cactus to test some EJBs with j2sdkee.1.3.1 > > it works well ( thanks cactus and junit :) with 1.2 release > > but i try to migrate to 1.3 ... and it doesn't work anymore > > > > I add the aspectjrt.jar > > I change my cactus.properties to > > <<< > > cactus.contextURL = http://localhost:8000/cactus > > cactus.servletRedirectorName = ServletRedirector > > <<<< > > > > but It doesn't work anymore. > > > > the error is > > java.io.FileNotFoundException: > > > http://localhost:8000/cactus/ServletRedirector?Cactus_TestMethod=testCon > te > > > xtTestSequence1&Cactus_TestClass=test.CurrencyConverterEJBTestSuite.cont > ex > > t.Context&Cactus_AutomaticSession=true&Cactus_Service=CALL_TEST > > > > but if i try > > http://localhost:8000/cactus/ServletRedirector in my browser I get a > the > > following error > > <<<<<<<<<<< > > J2EE SDK/1.3.1 - HTTP Status 503 - Servlet ServletRedirector is > > currently unavailable > > type Status report > > message Servlet ServletRedirector is currently unavailable > > description The requested service (Servlet ServletRedirector is > > currently unavailable) is not currently available. > > <<<<<<<<<<<<<< > > > > any idea ? > > I check the entire list of what's new in 1.3 on the Cactus web site > but > > i find no more information about migration > > Is there an how to for migration ? > > > > Thanks for advance > > > > Florent > > > > > > > > > > > > -- > > To unsubscribe, e-mail: <mailto:cactus-user- > > [EMAIL PROTECTED]> > > For additional commands, e-mail: <mailto:cactus-user- > > [EMAIL PROTECTED]> > > > > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe, e-mail: <mailto:cactus-user- > [EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:cactus-user- > [EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
