users@jersey.java.net

Preprocessing URL HTTP-GET parameter / HTTP-POST data

From: KSChan <mr.kschan_at_gmail.com>
Date: Sun, 27 Jan 2008 13:46:35 +0800

Hi,

I would like to know is there any ways to preprocess the data when invoking
the web service?

For example, if I have a web service to obtain USER ID from DB with a LOGIN
NAME and PASSWORD; could I preprocess the data before the invocation of the
method defined in the resource? The preprocessing is aimed as preventing SQL
injection for "all" resource so that I won't need to process the data every
time.

ks.

-- 
I, have a dream. I want to make my dream come true.
http://mr.kschan.googlepages.com