Erik Thompson
mrlobster99 at gmail.com
Mon Jun 18 02:55:43 EDT 2007
Thanks for the suggestion. When I use the .psp_ extension to try and view the generated source on the problem page it also produces a blank page. I guess it isn't a big deal as I have a work around. For the one that works using the work around the .psp_ extension produces: SP-produced Python Code: /var/www/html/test3.psp: 1. req.write("""""",0); <% 2. PSP(req, "/var/www/html/borders/test.psp").run(form) PSP(req, "/var/www/html/borders/test.psp").run(form) 3. req.write(""" %> 4. 5. """,0) The include file has: PSP-produced Python Code: /var/www/html/borders/test.psp: 1. req.write ("""<html> <html> 2. <head> <head> 3. <title>include test</title> <title>include test</title> 4. </head> </head> 5. <body> <body> 6. include text include text 7. """,0); <% 8. x = 0 x = 0 9. x += 1 x += 1 10. req.write("<br>hi there.<br>") req.write("<br>hi there.<br>") 11. req.write (""" %> 12. """,0); req.write(str( x ),0); req.write(""" <%= x %> 13. </body> </body> 14. </html>""",0) </html> The resulting expected html is: <html> <head> <title>include test</title> </ head> <body> include text <br>hi there.<br> 1 </body> </html> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20070617/67ce3219/attachment.html
|