If your application uses external grammar files, they should be stored in the web server’s document root, or in some other well-known location within the Portal Server 7.1 web application.
To make the application accessible from the voice Portal Desktop, you must create a second grammar file that allows users to select the application. The grammar for the channel must be unique across all of the voice-enabled channels. For consistency, the grammar should allow users to optionally speak the word channel after the name of the channel.
For example, the following grammar allows weather or weather channel:
Weather [ (weather ?channel) ]
Name this file weather.grammar and store the file in the following directory:
/opt/SUNWportal/web-src/jsp/default/weather/vxml/Nuance/grammars