webwork/src/main/webwork/examples/vxml VXMLTest.java,NONE,1.1
[email protected] Mon, 20 May 2002 22:27:00 -0700
| Newsgroups | gmane.comp.java.webwork.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/webwork/webwork/src/main/webwork/examples/vxml In directory usw-pr-cvs1:/tmp/cvs-serv11834/main/webwork/examples/vxml Added Files: VXMLTest.java Log Message: -added support for VoiceXML JSP tags -added support for SOAP JSP tags -updated documentation --- NEW FILE: VXMLTest.java --- /* * WebWork, Web Application Framework * * Distributable under Apache license. * See terms of license at opensource.org */ package webwork.examples.vxml; import webwork.action.ActionSupport; import java.util.List; import java.util.ArrayList; /** * Simple VXML test. * * @author Jeff Haynie ([email protected]) * @version $Revision: 1.1 $ */ public class VXMLTest extends ActionSupport { // Attributes ---------------------------------------------------- // Public -------------------------------------------------------- public class G { String value; String tag; public G(String v, String t) { value=v; tag=t; } public String getValue () { return value; } public String getTag () { return tag; } } public List getGrammar() { List l=new ArrayList(3); l.add(new G("Jeff","TAG='Jeff Haynie'")); l.add(new G("Matt","TAG='Matt Baldree'")); l.add(new G("Rickard","TAG='Rickard Oberg'")); return l; } // Action implementation ----------------------------------------- protected String doExecute() throws Exception { return SUCCESS; } // Protected ----------------------------------------------------- } _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm