httpunit support for struts-based application.

"Jungwhan Kim" <[email protected]>
Newsgroups gmane.comp.web.httpunit.devel
Message-ID <[email protected]>
I am just wondering if httpunit fully supports making requests to the struts-based application and getting response from it.
 
i have a simple code like this, but it keeps throwing an exception saying "No routed host" or something.
 
here is my code.
 
 
  WebConversation conversation = new WebConversation();  URL serverUrl = new URL("http://www.<domain>.net/photo_album.do");  WebRequest request   = new GetMethodWebRequest( serverUrl, "" );  WebResponse response = conversation.getResponse( request );  System.out.println(response.getContentLength());
 
 
please help... Thanks.
_________________________________________________________________
Try Live.com - your fast, personalized homepage with all the things you care about in one place.
http://www.live.com/getstarted

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Httpunit-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/httpunit-develop
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.