NSP helps in generation of dynamic content by embedding scripts in HTML. NSP is a clone of Active Server Pages (ASP).
The following information should be considered when creating a NSP.
All scripts should be embedded within the tags "<%. %>".
NSP script should always be saved under the directory SYS:\NOVONYX\SUITESPOT\DOCS or a sub directory under it.
Always use RESPONSE.WRITE instead of PRINT to display results using a NSP.
Try creating your first NSP using these steps:
Create an HTML file with the following code using any standard authoring tool or text editor such as NOTEPAD.
’Create an HTML page <html> <head> <title> helloworld </title> </head> <body> System time is </body> </html> ’Embed the script in the HTML page <html> <head> <title> helloworld </title> </head> <body> ’Embed the code for getting the current time System time is <% = cstr(now) %> </html>
Save the script as helloworld.asp under NOVONYX\SUITESPOT\DOCS.