ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <>
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        
Author: Ant in Action 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message