really strange it's work now...

----- Original Message -----
From: "alexj" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, February 11, 2003 3:56 PM
Subject: Re: sslex trouble


> sslext this is a sslext trouble ..
>
> ----- Original Message -----
> From: "alexj" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Tuesday, February 11, 2003 3:39 PM
> Subject: sslex trouble
>
>
> > Hi I got some trouble after I had setting up my project to use
> > sslex. I got an error message like :
> >
> > org.apache.jasper.JasperException: /login.jsp(8,1) Unable to load class
> form
> >
> >
> > I have update my login.jsp page to include sslex tag :
> >
> > <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
> >
> > <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
> >
> > <%@ taglib uri="/WEB-INF/sslext.tld" prefix="sslext"%>
> >
> > <html>
> >
> > <body>
> >
> > <center>
> >
> > <img border="0" src="images/soft-intro.gif" width="368" height="321">
> >
> > <sslext:form action="/login">
> >
> > <table width="45%" border="1" style="border-collapse: collapse">
> >
> > <tr>
> >
> > <td><bean:message key='app.userName'/></td>
> >
> > <td align="center"><html:text property="userName" /> </td>
> >
> > </tr>
> >
> > <tr>
> >
> > <td><bean:message key='app.userPassword'/></td>
> >
> > <td align="center"><html:password property="userPassword" /></td>
> >
> > </tr>
> >
> > <tr>
> >
> > <td colspan="2" align="center"><html:submit/> </td>
> >
> > </tr>
> >
> > </table>
> >
> > <html:errors />
> >
> > </sslext:form>
> >
> > </center>
> >
> > </body>
> >
> > </html>
> >
> > I put sslex jar in the WEB-INF/classes directory and sslex.tld into
> > WEB-INF/lib.
> >
> > Then I update my struts-config descriptor :
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> >
> > <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD
Struts
> > Configuration 1.1//EN"
> > "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";>
> >
> > <struts-config>
> >
> >
> > <!-- ========== Data Source Configuration
> > =============================== -->
> >
> > <data-sources>
> >
> > <data-source>
> >
> > <set-property property="driverClass" value="org.postgresql.Driver" />
> >
> > <set-property property="url"
> value="jdbc:postgresql://localhost:5432/ibmss"
> > />
> >
> > <set-property property="driverClass" value="org.postgresql.Driver" />
> >
> > <set-property property="maxCount" value="30" />
> >
> > <set-property property="minCount" value="1" />
> >
> > <set-property property="user" value="alexj" />
> >
> > <set-property property="password" value="" />
> >
> > </data-source>
> >
> >
> > </data-sources>
> >
> >
> > <!-- ========== Form Bean Definitions
> ================================== -->
> >
> > <form-beans type="org.apache.struts.action.ActionFormBean">
> >
> > <form-bean name="loginForm" type="soft.ibmss.struts.form.LoginForm">
> >
> > <form-property name="userPassword" type="java.lang.String" />
> >
> > <form-property name="userName" type="java.lang.String" />
> >
> > </form-bean>
> >
> > </form-beans>
> >
> >
> > <!-- ========== Global Exception Definitions
> > ============================== -->
> >
> > <global-exceptions />
> >
> >
> > <!-- ========== Global Forward Definitions
> > =============================== -->
> >
> > <global-forwards type="org.apache.struts.action.ActionForward" />
> >
> >
> > <!-- ========== Action Mapping Definitions
> > =============================== -->
> >
> > <action-mappings type="org.apache.struts.config.SecureActionConfig">">
> >
> > <action
> >
> > attribute="loginForm"
> >
> > input="/login.jsp"
> >
> > name="loginForm"
> >
> > path="/login"
> >
> > type="soft.ibmss.struts.action.LoginAction">
> >
> > <set-property property="secure" value="true"/>
> >
> > <forward name="login" path="/login.jsp" />
> >
> > <forward name="student" path="/form/student.jsp" />
> >
> > <forward name="prof" path="/form/prof.jsp" />
> >
> > </action>
> >
> > </action-mappings>
> >
> >
> > <!-- ========== Controller Configuration
> > ================================ -->
> >
> > <controller />
> >
> >
> > <!-- ========== Message Resources Definitions
> > ============================ -->
> >
> > <message-resources parameter="soft.ibmss.struts.ApplicationResources" />
> >
> >
> > <!-- ========== Plug Ins Configuration
> ================================= -->
> >
> > <plug-in className="org.apache.struts.action.SecurePlugIn">
> >
> > <set-property property="httpPort" value="8080"/>
> >
> > <set-property property="httpsPort" value="8443"/>
> >
> > <set-property property="enable" value="true"/>
> >
> > </plug-in>
> >
> >
> > </struts-config>
> >
> > Any idea ?? (the sample sslex app work fine in secure mode)
> >
> > <--
> > Alexandre Jaquet
> > ->
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to