Hi,

   I wrote a test psp file -- test.psp:
      <psp:include path = "/text.psp" >
   The test.psp file is located at /Webware/PSP/Examples/ch29.

   When I run this psp program, I got the following error:
      File "G:\python22\lib\ntpath.py", line 218, in getmtime
      st = os.stat(filename)
      OSError: [Errno 2] No such file or directory:
'G:\\temp\\Webware\\PSP\\Examples\\ch29\\text.psp'
   It seems that the path specified by "/test.psp" is still relative to the
"test.psp" page.

   If I place the text.psp to the right directory --
G:\\temp\\Webware\\PSP\\Examples\\ch29\\text.psp, the test.psp program works
fine.

   My question is: what is the difference between <psp:include path =
"/text.psp" > and <psp:include path = "text.psp" >? Both of them are looking
for the G:\\temp\\Webware\\PSP\\Examples\\ch29\\text.psp.

Thanks,
Su


_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to