I think this is coming out of some classes in the Struts codebase. I'll
see about getting us (Struts) nstandardized on the MockObjects api.
- Ted.
Jeff Martin wrote:
> Looks like encodeRedirectUrl has not been written, so it's just throwing
> an UnsupportedOperationException
>
> BTW. as far as I know we're not involved in servletunit although we do
> have a similar set of mocks.
>
>
> On Tue, 2002-09-03 at 16:32, Oren Gross wrote:
>
>>Anyone familiure with the next exception?
>>
>>java.lang.UnsupportedOperationException: encodeRedirectUrl operation is not
>>supported!
>> at
>>servletunit.HttpServletResponseSimulator.encodeRedirectURL(HttpServletRespon
>>seSimulator.java:199)
>> at
>>org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
>>va:1748)
>> at
>>org.apache.struts.action.ActionServlet.process(ActionServlet.java:1595)
>> at
>>org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
>> at
>>servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:
>>254)
>> at
>>com.mercury.topaz.admincenter.app.db.DbListActionTest.testPerformClearDb(DbL
>>istActionTest.java:37)
>> at
>>com.mercury.topaz.admincenter.app.db.DbListActionTest.main(DbListActionTest.
>>java:44)
>>______________________________
>>Oren Gross, Software Developer
>>Mercury Interactive, APM - R&D
>>+972-3-5399407, og...@me...
>>
>>
>>-------------------------------------------------------
>>This sf.net email is sponsored by: OSDN - Tired of that same old
>>cell phone? Get a new here for FREE!
>>https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
>>_______________________________________________
>>Mockobjects-java-users mailing list
>>Moc...@li...
>>https://lists.sourceforge.net/lists/listinfo/mockobjects-java-users
>>
--
Ted Husted, Husted dot Com, Fairport NY US
co-author, Java Web Development with Struts
Order it today:
http://husted.com/struts/book.html
|