I've been looking for a better way to write web applications.  I've used
asp/vbscript and then moved to php on apache/linux.

I used the webkit adapter and setup a seperate application directory and
it works fine.  I added a psp handler in the apache configuration and it
works OK too.

What I'm confused about right now is the Page/SitePage stuff.  From what I
understand, psp files use the Page ?servlet? and by default override the
writeHTML method.  How does writeHTML become the default method?  I would
like writeContent or writeBody to be the default method because I don't
want to have to write <%@ Page method="writeContent"%> in every psp file. 
Note that the psp files are not in the application directory.  The app
directory is /var/www/appdir and psp directory is /var/www/html/pspdir.

I looked at the examples and this is what I am seeing:
<%@ page imports ="sys,os,time,PSP.Examples.PSPExamplePage:PSPExamplePage"%>
<%@ page method="writeContent" %>
<%@ page extends="PSPExamplePage"%>

Do I I have to do all of this with every psp file?

Can I define some SitePage with a default method of writeContent so that I
can just write content and the rest of the document will be automatically
generated?

Thanks

Randall




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to