Posted by Aaron Ravenberg <ar...@benefitsxml.com>.
Thank you for your reply,
I actually was able to figure out last night that it had to do with my
server enviroment. When I ran the files on another machine they worked
*cheer*.
Thank you
Aaron
-----Original Message-----
From: Cedric Dumoulin [mailto:cedric.dumoulin@lifl.fr]
Sent: Thursday, July 19, 2001 4:43 AM
To: struts-user@jakarta.apache.org
Subject: Re: <html:tags and templates
You certainly have an error in 'login.jsp' or 'myheader.jsp', caught by
the
<get> tag. Have you try to call these pages directly ? Do they work ?
Cedric
Aaron Ravenberg wrote:
> Hi,
>
> My <html:TAGS> are not working with my template set up. When I include
the
> html and bean taglib directive in my login.jsp it my server throws a
> "javax.servlet.ServletException: runtime failure in custom tag 'get'".
When
> I move it to the template.jsp or index.jsp, the tags print out in the
source
> but do not do anything. Any pointers would be appreciated. Sample code
> included below. I am using weblogic 5.1 sp 9
>
> Thank you,
>
> Aaron Ravenberg
>
> index.jsp
>
> <template:insert template="/template.jsp" >
> <template:put name="header" content="/myheader.jsp" direct="false" />
> <template:put name="body" content="/login.jsp" direct="false" />
> </template:insert>
>
> template.jsp
>
> <html>
> <body>
> <table>
> <tr><td><template:get name="header" /></td></tr>
> <tr><td><template:get name="body" /></td></tr>
> </table>
> </body>
> </html>
>
> login.jsp
>
> <html:html>
> <html:form name="loginForm" action="login.do" >
> <table>
> <tr><td><html:text property="userid" size="15"></td></tr>
> <tr><td><html:password property="password" size="15"></td></tr>
> </html:form>
> </html:html>
>
> myHeader.jsp
>
> Just static html
Re:
Posted by Cedric Dumoulin <ce...@lifl.fr>.
You certainly have an error in 'login.jsp' or 'myheader.jsp', caught by the
<get> tag. Have you try to call these pages directly ? Do they work ?
Cedric
Aaron Ravenberg wrote:
> Hi,
>
> My <html:TAGS> are not working with my template set up. When I include the
> html and bean taglib directive in my login.jsp it my server throws a
> "javax.servlet.ServletException: runtime failure in custom tag 'get'". When
> I move it to the template.jsp or index.jsp, the tags print out in the source
> but do not do anything. Any pointers would be appreciated. Sample code
> included below. I am using weblogic 5.1 sp 9
>
> Thank you,
>
> Aaron Ravenberg
>
> index.jsp
>
> <template:insert template="/template.jsp" >
> <template:put name="header" content="/myheader.jsp" direct="false" />
> <template:put name="body" content="/login.jsp" direct="false" />
> </template:insert>
>
> template.jsp
>
> <html>
> <body>
> <table>
> <tr><td><template:get name="header" /></td></tr>
> <tr><td><template:get name="body" /></td></tr>
> </table>
> </body>
> </html>
>
> login.jsp
>
> <html:html>
> <html:form name="loginForm" action="login.do" >
> <table>
> <tr><td><html:text property="userid" size="15"></td></tr>
> <tr><td><html:password property="password" size="15"></td></tr>
> </html:form>
> </html:html>
>
> myHeader.jsp
>
> Just static html