When you generating a VGWebTransaction program or VGUIRecord into a Web
project, the build descriptor option
tempDirectory identifies
the directory in which to store the JSP files. The name of each JSP file is
as follows:
recordAlias.jsp
- recordAlias
- The name of the VGUI record or (if an alias is specified) the alias
The option tempDirectory is used only when a
JSP file of the same name is in the WebContent\WEB-INF directory of the project
to which output is generated.
If you do not specify a value for
tempDirectory and
if a JSP file with the name
recordAlias.jsp is already in the directory
WebContent\WEB-INF, the following statements apply:
- The new JSP file is stored with the following name, in the directory WebContent\WEB-INF:
newrecordAlias.jsp
- Subsequent generations of the same UI record override the file newrecordAlias.jsp
A benefit of receiving the most recently generated JSP file is that you
can copy and paste snippets of that file into the JSP file that you customized
earlier. If you did not specify a value for tempDirectory,
however, you should remove the file newrecordAlias.jsp from the Web
project before deploying that project.
You use the build descriptor option
genProject to direct output
to a Web project. If you use the build descriptor option
genDirectory instead,
the effects are as follows:
- Output goes into a directory instead
- The option tempDirectory has no effect
- The prefix new is not in the name of the generated JSP file
- A generated JSP file overwrites any same-named file in the
directory
Related concepts