#ADD_WARFILE
|
Syntax: |
#ADD_WARFILE = <Filename>
|
||
|
Meaning: |
With
Html programs a war file <Programname>.war is created which is deployed
in the webserver. With
#ADD_WARFILE additional files can be added to the war file. #ADD_WARFILE
can be used to include additional files when the program has to be called
from an individual web site (e.g. in a frame). |
||
|
Parameter: |
|
||
|
Sample: |
The program Demo shall be called from the web site
myframe.html in a separate frame. The html site myframe.html contains
2 frames. In the first frame logo.html is loaded, in the second frame
the program demo.html is loaded. The html site logo.html contains the
images image1.jpg und image2.gif. The Html site myframe.html has the following
content: <html> <head> <title>Demo</title> </head> <frameset rows="100,*"
cols="*" border="1"> <frame
src="logo.html" /> <frame
src="demo.html" /> </frameset> <body> </body> </html> In order that all needed files are deployed in the
webserver the following instructions are necessary: #HTML_INDEXFILE
= "myframe.html" #ADD_WARFILE
= "logo.html" #ADD_WARFILE
= "image1.jpg" #ADD_WARFILE =
"image2.gif" |
||
|
See also: |