Xapplication query

Hi,
I want to parse the query given by the user before the search in the database. I tried to use a plugin but it doesent work.

This is the function in the java file

public class VarHandler{

public static String parseVar(Element elem, VariablesHandler varFor){

and this is how i define the plugin in xapplication.xml



variables



An error occurs

An error occurred in the application program. Please report the following problem to your webmaster.
Error message: The method VarHandler.parseVar with formal arguments (org.jdom.Element element, com.softwareag.xtools.xapplication.plugin.VariablesHandler variables) was not found.
Help message: The class and one or more methods with the required name were found, but the arguments of found methods does not match with the formal arguments.
Exception id: 274
Exception Type: DesignException

Stacktrace:

PluginException: id = 274 arg[0] = VarHandler.parseVar arg[1] = (org.jdom.Element element, com.softwareag.xtools.xapplication.plugin.VariablesHandler variables)
id = 274 arg[0] = VarHandler.parseVar arg[1] = (org.jdom.Element element, com.softwareag.xtools.xapplication.plugin.VariablesHandler variables)
at com.softwareag.xtools.xapplication.plugin.Action.forName(Action.java:60)
at com.softwareag.xtools.xapplication.plugin.XMLDispatcher.getAction(XMLDispatcher.java:87)
at com.softwareag.xtools.xapplication.plugin.XMLDispatcher.addPlugin(XMLDispatcher.java:71)
at com.softwareag.xtools.xapplication.plugin.XMLDispatcher.addMapping(XMLDispatcher.java:59)
at com.softwareag.xtools.xapplication.jsp.XApplicationXml.configure(XApplicationXml.java:231)
at com.softwareag.xtools.xapplication.jsp.XApplicationXml.configure(XApplicationXml.java:217)
at com.softwareag.xtools.xapplication.jsp.ApplicationContext.forServlet(ApplicationContext.java:77)
at com.softwareag.xtools.xapplication.jsp.ServletSessionContext.findApplicationContext(ServletSessionContext.java:170)
at com.softwareag.xtools.xapplication.jsp.ServletSessionContext.findSessionContext(ServletSessionContext.java:96)
at com.softwareag.xtools.xapplication.jsp.ServletSessionContext.findSessionContext(ServletSessionContext.java:71)
at com.softwareag.xtools.xapplication.jsp.JspTag.checkContext(JspTag.java:242)
at com.softwareag.xtools.xapplication.jsp.JspTag.doStartTag(JspTag.java:123)
at org.apache.jsp.search_jsp._jspx_meth_xapp_module_0(search_jsp.java:98)


Help!!! it’s urgent