Previous Topic: Content CompressionNext Topic: Support for Tabbed Browsing


Run Web Generation

To be able to run a Web Generation application, you need to deploy it under an Application Server. Use the EAR file created by the Build Tool under your model's java\delpoy.j2ee directory. Follow your Application Server's deployment instructions to actually deploy the EAR file.

Your generated application can be invoked from a supported browser. The URL to access Web Generation applications will rely on the context specified plus the trancode. It will follow one of the following formats:

For example: <http://<hostname>/<context>/trancode.jsp>
can now be accessed through
<http://<hostname>/<context>/trancode>.

The web.xml file is also used to modify the Session Timeout value, which is set to 30 minutes by default.

GUI applications allow you to define CLEAR SCREEN INPUTS at execution time, which affect the processing of the application. For Web Generation, this variable must be either set in the JSP before deployment or specified as a URL parameter. After generating the application and before assembling and deploying, you must add the following line of code to JSP, which serves as the entry point of the application:

request.setAttribute("clearScreenInputs", "myValue");

The additional code must come between the <% and the %>.

An alternative to modifying the generated .jsp file is to add the clearScreenInputs parameter in the URL. For example you can enter something similar to the following:

http://<host:port>/<context>/<trancode>.jsp?clearScreenInputs=a,b,c..