Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

Redirects with ant-contrib post task

raju

2008-04-29

Replies:

Author LoginPost Reply

Hi,

I am trying to post data to an API say http://localhost/save which in turn
calls create or update based on whether the passed id exists in Database or
not.
<post to="http://localhost/myapp/save?id=2167"
    verbose="true" file="C:\test.properties">
</post>

Problem is when i hit save with above code which is one action save,based on
input since it gets redirected to action create or update session is getting
lost so it always creates a new record.

Is there any task which could help me on this issue?i had a look ant
ant-fikin-tasks also

Regards
Raju
--
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.