Re: <kein Betreff>
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Organization | http://freemail.web.de/ |
| Message-ID | <[email protected]> |
Thx a lot. That's excatly what I've been searching for !!! > -----Ursprüngliche Nachricht----- > Von: Discussion of use and development of HttpUnit <[email protected]> > Gesendet: 07.11.07 15:56:42 > An: "Discussion of use and development of HttpUnit" <[email protected]> > Betreff: Re: [Httpunit-develop] <kein Betreff> > > We just slap a "<base href=\"" + getBaseTomcatURI() + "\">\r\n" at the top of the JSP before we write it. Then the relative links know what they're relative to. Hope that helps! > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of Russell Gold > Sent: Tuesday, November 06, 2007 5:59 PM > To: Discussion of use and development of HttpUnit > Subject: Re: [Httpunit-develop] <kein Betreff> > > > On Oct 31, 2007, at 2:13 AM, [email protected] wrote: > > > Yes, it returns the text of the response but that is the text that > > has been interpreted already. So the browser cannot resolve the > > relative links. Perhaps is it possible to give the whole response to > > the corresponding JSP? > > I think I am not clear on what you are trying to accomplish. > > > > > >> -----Ursprüngliche Nachricht----- > >> Von: Discussion of use and development of HttpUnit <[email protected] > >> > > >> Gesendet: 30.10.07 12:12:24 > >> An: Discussion of use and development of HttpUnit <[email protected] > >> > > >> Betreff: Re: [Httpunit-develop] <kein Betreff> > > > > > >> > >> > >> On Oct 29, 2007, at 4:51 AM, [email protected] wrote: > >> > >>> Hi, > >>> > >>> I'm new to HTTP-Unit and my first tests were finished successful. > >>> Now I'm thinking of abusing the framework to navigate in external > >>> web applications from my Java web application. With HTTP-Unit it > >>> would be easy to login and navigate in such an application. > >>> > >>> But now my question. Is it possible to generate an JSP output from > >>> the HTTP-Unit response. I would like to show the current HTTP-Unit > >>> site in my own web application. > >> > >> > >> I don't see why not. The getText() method returns the text of the > >> response and you can do whatever you like with it, including writing > >> it to a JSP file. > >> > >> ------------------------------------------------------------------------- > >> This SF.net email is sponsored by: Splunk Inc. > >> Still grepping through log files to find problems? Stop. > >> Now Search log events and configuration files using AJAX and a > >> browser. > >> Download your FREE copy of Splunk now >> http://get.splunk.com/ > >> _______________________________________________ > >> Httpunit-develop mailing list > >> [email protected] > >> https://lists.sourceforge.net/lists/listinfo/httpunit-develop > >> > > > > > > _____________________________________________________________________ > > Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! > > http://smartsurfer.web.de/?mc=100071&distributionid=000000000066 > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a > > browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Httpunit-develop mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/httpunit-develop > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Httpunit-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/httpunit-develop > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Httpunit-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/httpunit-develop > __________________________________________________________________________ Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach! Mehr Infos unter http://produkte.web.de/club/?mc=021131 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/