ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: Fwd: Ant - invoke a servlet?
Date Thu, 18 Oct 2007 08:52:10 GMT
Rob Wilson wrote:
> Hi All,
> 
> I plan to have a servlet that is invoked via JSP to upload some files to a
> dynamic website, I would like to enable my Ant build to make use of this
> servlet too.  Is this possible? Could someone please shed some light on how
> this can be achieved?
> 

The <get>task does a get.

For more complex http operations, there is an httptasks antlib in Ant's 
subversion repository, which gives you <post>.
I dont know about file uploading.

> Perhaps I can't do it as a servlet and need to consider a web-service or RMI
> instead? Any advice would be appreciated.

Being proficient in both, I would strongly encourage you to reach the 
limits of http first

-- 
Steve Loughran                  http://www.1060.org/blogxter/publish/5
Author: Ant in Action           http://antbook.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message