Andreas,

If the taglib for the struts-html.tld is not defined, the <html:xxxx> tags
cannot be rendered, thus remain within your end HTML document.  Check to
ensure you have the following defined within your JSPs:

<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>



-----Original Message-----
From: Zielke, Andreas [mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 21, 2001 10:48 AM
To: '[EMAIL PROTECTED]'
Subject: Using html:form within templates


Hi,

I've just started using struts and ran into the following problem:
I've created a table layout for my pages; at the moment this is my template.

All my "real" jsps now look like this:

<%@ taglib uri='/WEB-INF/struts-template.tld' prefix='template' %>
<template:insert template='/template.jsp'>
  <template:put name='title' content='Information about this site'
direct='true'/>
  <template:put name='selectionTable'
content='/includes/EmptySelectionTable.html' />
  <template:put name='content' content='/includes/InformationContent.html'/>
</template:insert>

The problems began, when I used Jsps that use html:form tags (i.e.
<html:form action="/newticketresult" focus="report">.

These tags are not replaced by meaningful html-code; instead they appear
within
the page - rendering the form useless.

At the moment I just don't see a way how I could solve this in an elegant
manner,
so I'd be grateful for any suggestions.

Andreas

Reply via email to