You didn't add a forms version, so this is hard to guess. If you are on 10g and higher then you are using Oracle Application Server; in the installation there is the mod_plsql apache module included as well:
so you could simply call a stored procedure via a HTTP request which updates your record. If you are on a lower version of forms you could make use of the free mod_owa module which you could configure with a plain apache installation on e.g. your database server: https://oss.oracle.com/projects/mod_owa/dist/documentation/modowa.htm
you should implement some sort of authentication as well; both mod_owa and mod_plsql also have the facility to do so via +owa_custom+
(see the OwaAuth directive in mod_owa for example).
Of course you could do the very same via a custom Java Servlet; however you'd have to implement the database connection pool, the call of your stored procedure, the authentication e.g. as well which you would get for free with the apache modules.