Re: xsp-request:get-parameter-values - Java String[]
Hello Christian, -- How about like this sample: I used vector instead array, but it works correctly. xsp:structure xsp:includejava.util.Vector/xsp:include /xsp:structure xsp:logic Vector v = (Vector)request.getAttribute(checkup); for(int i=0; i lt; v.size(); i++) { } /xsp:logic === CJ doesn't work... CJ thx, Chris CJ its Cocoon 2.0.1... -- Best regards, Atlanoffmailto:[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]
Re: xsp problem with authentication context
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]