The "html:text" tag below will produce the compiler error "No name is defined for the property value".
<html:text property="value" />
The Struts tag "html:rewrite" will rewrite the path prepending the context path.
The JSP code below will produce a compilation error if there is no MyOwnAction class found in your classpath folders.
<html:form action="/MyOwnAction">
Here is the JSP code with the Struts html:link tag.
<html:link page="/do/offerJavaTraining/">Java Training</html:link>
This Staruts tag will generate html link below:
<a href="offerJavaTraining.do">Java Training</a>
<html:text name="login" />
The "html:text" tag below will successfully compile and generate the following html:
<input type=text name="login" />
Two lines below produce the same URL:
<html:rewrite page="/css/cia.css" />
"<%=request.getContextPath()%>/css/cia.css"
|