login.jsp = <%@ taglib prefix="s" uri="/struts-tags"%> <%@ page contentType="text/html; charset=UTF-8"%> Login Form

Struts 2 Hello World Example

I tried this: login.ftl = <#assign s=JspTaglibs["struts-tags.tld"] /> Login Form

Struts 2 Hello World Example

<@s:form action="Welcome" method="post"> <@s:textfield name="username" label="Username" /> <@s:textfield name="description" label="Description" /> <@s:password name="password" label="Password" /> <@s:submit /> But it didn't output html form. How can I convert from .jsp to .ftl? --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org