Monday, August 18, 2008

WAP to work using Struts. (FW)

I got WAP to work using Struts.  I couldn't find any WML taglibs, so I just
use HTML comments so I could still benefited from the standard tags like
and . Example:

<%@ page language="java" contentType="text/vnd.wap.wml" %><%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %><%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %><%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
http://www.phone.com/dtd/wml11.dtd";>






Matched:
.
. other cool stuff here
.







Hope this is helpful to someone, and maybe someone else has a tip/gotcha for
me.


Anthony

No comments: