DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27225>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27225 Additional class level method for ServletTestCase ------- Additional Comments From [EMAIL PROTECTED] 2004-02-27 14:53 ------- Actually its not that bad to do the server side HTTPUnit right now. I have posted an actual web app for maven:genapp in their bug tracker that performs xdoclet + cactus:test Assuming you have the XDoclet plugin installed on your system and the jars in the proper place (I am not sure if they fixed up ibiblio already) you can extract web-jstl.zip into your genapp plugin folder. http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPGENAPP-6 The main purpose of this bug report is to prevent WebRequest request = new GetMethodWebRequest( "http://localhost:8080/test/SampleServlet? param1=value1¶m2=value2"); I would prefer WebRequest request = new GetMethodWebRequest( contextRoot + "/test/SampleServlet?param1=value1¶m2=value2"); or even better WebRequest request = new CactusGetMethodWebRequest("/test/SampleServlet? param1=value1¶m2=value2"); or to make it generic WebRequest request = new GetMethodWebRequest(new CactusUrl ("/test/SampleServlet?param1=value1¶m2=value2").toString()); (I am not sure if httpunit added a constructor that accepts a URL object. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
