Hi,<br><br>I am trying to do login-authentication in a servlet rather than doing via a scriplet in Jsp. For this, I created a LoginServlet and passed it pageContext, request and response objects from OpenCms JSP template using form's POST method. In LoginServlet, I am gerttng exception on creating below object:<br>
<br>CmsJspActionElement cms = new CmsJspActionElement(pageContext,request,response);<br><br>exception: org.opencms.main.CmsRuntimeException: "org.opencms.jsp.CmsJspBean" is usable only on a OpenCms controlled JSP page.<br>
<br>My question is: Is it possible to do login-authentication in OpenCms via self developed LoginServlet? <br><br>Any guidelines are highly appreciated.<br><br>Thanks.<br><br>Bye,<br>Viki.