Hello Dimitris, -- How about another way to authorize via actions: ///login-action .... login = (String)request.getParameter("login"); password = (String)request.getParameter("password"); String sql = "begin loginproc('" + login + "', '" + password + "'); end;"; ... //my static method to execute SQL inside current session DBUtils.runSQL(session, sql); .... if(...) return newSiteMap; else return null; ... ///sitemap fragment <map:match pattern="enter.html"> <map:act type="login"> <map:redirect-to uri="main.html"/> </map:act> <map:redirect-to uri="error.html"/> </map:match>
-- Best regards, Иван mailto:[EMAIL PROTECTED] --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>