David.Bear at asu.edu
Tue May 16 23:49:35 EDT 2006
I'm using the psp template formulation from the modpython web site. I do not have any psp code in the template yet. The dispatcher code seems to be working. I have an html only file. I have an index.py file. In index.py I have a function called begin. The html template (which right now is only html) lives in documentroot/template. there is a graphic src image tag in that template that points to documentroot/images/my.jpg. documentroot here means the directroy where index.py lives. the problem is the image is never sent to the browser. I know it must be related to what document root is, and I assume the answer is found in some psp global variable...so, how do I construct my <img src=".."> tag to properly find the jpg? -- David Bear phone: 480-965-8257 fax: 480-965-9189 College of Public Programs/ASU Wilson Hall 232 Tempe, AZ 85287-0803 "Beware the IP portfolio, everyone will be suspect of trespassing"