Hi Dimitris, I am sorry for you, indeed every user here spent "too much time" studying... Actions use plain java code, and return sitemap parameters. They're really fun, you may try them then... Ivan is right ;-)
Babs ----- Original Message ----- From: "Katzigas Dimitris" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Atlanoff" <[EMAIL PROTECTED]> Sent: Wednesday, October 02, 2002 1:29 PM Subject: Re: xsp problem with authentication context > I' am sorry but the action stuff doesn't say anything to me. > I have little experience on them. > > I invested too much time to the authentication framework and i don't wont to > waste it. > > ----- Original Message ----- > From: "Atlanoff" <[EMAIL PROTECTED]> > To: "Katzigas Dimitris" <[EMAIL PROTECTED]> > Sent: Wednesday, October 02, 2002 2:06 PM > Subject: 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]> > > > --------------------------------------------------------------------- > 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]> > > > ________________________________________________________________ > Etudiant: Wanadoo t'offre le Pack eXtense Haut Débit soit 150,92 euros d'économies ! > Et pour 1 euro de plus, reçois le CD-ROM du jeu Dark Age of Camelot > + 1 mois de jeu en réseau offert ! > Clique ici : http://www.ifrance.com/_reloc/mail.etudiant --------------------------------------------------------------------- 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]>