- From: Yanyang FANG <f_yanyang@hotmail.com>
- Date: Sat, 20 Apr 2002 21:46:12 -0400 (EDT)
- To: <www-voice@w3.org>
- Message-ID: <OE50fepHjon60TMZQu5000023dc@hotmail.com>
Hi everyone, Thank you in advance if you offer me any idea about my question. I have tried to sort this problem for a 3 days but still :(( emergency!!! question:How to call an existed vxml file from another VXML which is generted dynamiclly by my servlet,I try to use some element such as out.println("<goto next=\"mainmenu.vxml\"/>"); or out.println("<link next=\"D:\\Program Files\\VoiceServerSDK\\samples\\en_GB\\banking\\mainmenu.vxml\">"); but the VXML browser alway says " file not found" or unknow protocol. there three files are involved: testmainvxml.vxml calls validation.java(servlet), and then I try to let serlvet to call mainmenu.vxml which is stored in the some place with testmain.vxml file:testmainvxml.vxml <?xml version="1.0"?> <vxml version="1.0"> <form> <field name="membershipnumber" type="digits"> <prompt> Welcom to Big Bird Bank. please key in or say your 6 digits membership number</prompt> </field> <filled> <submit next="http://localhost:8080/servlet/bankservlet.validtion"/> </filled> </form> </vxml> part of code of servlet out.println("<?xml version=\"1.0\"?>"); out.println("<vxml version=\"1.0\">"); out.println("<form>"); out.println("<block>"); out.println("you are right customer"); out.println("<goto next=\"mainmenu.vxml\"/>") out.println("</block>"); out.println("</form>"); out.println("</vxml>"); File: mainmenu.vxml <?xml version="1.0"?> <vxml version="1.0"> <menu> <prompt> Welcom to Big Bird Bank. For account balance, press or say <break size="small"/>1, account balance or <break size="small"/>inquiry:</prompt> <choice next="inquiry.vxml"> <grammar> 1 | inquiry </grammar> <dtmf>1</dtmf> </choice>...... what can I do for this? Thanks a lot Jennifer
Attachments
- image/gif attachment: clip_image002.gif
Received on Monday, 22 April 2002 05:20:07 UTC