Setting up the Web server involves:
Specifying the MIME type
Putting the files on the server
Using the appropriate software for your Web server, register the MIME type for the DataWindow plug-in. For PowerBuilder 10.5, the MIME type is:
application/datawindow10.5
The file extension associated with the MIME type is PSR.
Your server documentation might use the term content type instead of MIME type.
You must copy the PSR and HTML files to appropriate directories on your server.
Files |
Location |
What you do |
---|---|---|
HTML page |
The HTML documents directory or subdirectory |
Copy the HTML page to the directory specified in any URLs that link to the page. |
PSR file named in the SRC attribute of the Embed element |
The HTML documents directory or some other directory as appropriate |
Copy the PSR file to the directory you specified in the Embed element attribute. |
About URLs The URLs you specify in your HTML page are logical paths as defined by the Web server. For example, the system path for your PSR might be:
C:\WEBSITE\HTDOCS\PB\DWB_ATT_CROSSOUT.PSR
If htdocs is defined as the server’s documents directory, the logical path for the URL would be relative to the documents directory:
pb/dwb_att_crossout.psr