What value are you using in the <body-content> element for your 'checkLogon'
tag (in the TLD)? It should be 'JSP' to have the content evaluated as JSP.

--
Martin Cooper


"Andy Engle" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Hookom, Jacob" <[EMAIL PROTECTED]> wrote:
>
> > I don't see the:
> >
> > <%@ taglib uri="/tags/struts-html" prefix="html" %>
>
> Below is the entire JSP file.
>
>
> Andy
>
> ---
>
> <%@ page contentType="text/html" %>
> <%@ taglib uri="/WEB-INF/app.tld"           prefix="app"   %>
> <%@ taglib uri="/WEB-INF/struts-html.tld"   prefix="html"  %>
> <%@ taglib uri="/WEB-INF/struts-bean.tld"   prefix="bean"  %>
> <%@ taglib uri="/WEB-INF/struts-tiles.tld"  prefix="tiles" %>
> <%@ taglib uri="/WEB-INF/struts-logic.tld"  prefix="logic" %>
>
>
> <tiles:insert page="/template.jsp" flush="true">
>   <tiles:put name="header" value="/pagetop.jsp"/>
>   <tiles:put name="page-title" value="Login" type="String"/>
>   <tiles:put name="footer" value="/pagebottom.jsp" />
>
>   <tiles:put name="page-content" type="String">
>
>     <html:html>
>
>     <html:errors property="wrongLogin"/>
>
>
> <app:checkLogon showIf="notAuthenticated">
>
>   <html:form action="/login" method="POST">
>     Username: <html:text property="username" size="10" maxlength="10"/>
>     <br>
>     Password: <html:password property="password" size="10"
> maxlength="10" redisplay="false"/>
>     <br><br>
>
>     <html:submit value="Submit"/>
>     <html:reset/>
>   </html:form>
>
> </app:checkLogon>
>
>
>
>     <br>
>     How about looking at our list of <a href="<bean:message
> key="app.path"/>/userList.do">users</a>?
>
>     <br><br>
>
>     <app:checkLogon showIf="authenticated">
>       It appears that you are logged in already.
>     </app:checkLogon>
>
>     <app:checkLogon showIf="notAuthenticated">
>
>     <html:form action="/login" method="POST">
>     <table>
>       <tr>
>         <td>Username:</td>
>         <td>
>           <html:text property="username" size="10" maxlength="10"/>
>           <html:errors property="username"/>
>         </td>
>       </tr>
>
>       <tr>
>         <td>Password:</td>
>         <td>
>           <html:password property="password" size="10" maxlength="10"
>               redisplay="false"/>
>         </td>
>       </tr>
>
>       <tr>
>         <td colspan="2"><br></td>
>       </tr>
>
>       <tr>
>         <td align="right">
>           <html:submit value="Submit"/>
>         </td>
>         <td align="left">
>           <html:reset/>
>         </td>
>       </tr>
>     </table>
>     </html:form>
>     </app:checkLogon>
>
> <!--
>     This is the application path: <bean:message key="app.path"/>
> -->
>
>   </html:html>
>   </tiles:put>
>
> </tiles:insert>




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

Reply via email to