Hi Salman,

> before anyone can really answer your question you need to decide if you
> are going to use servlets or psp to render your pages / process your
> content.  The webware docs are pretty good about telling you what
> functions do what and I think there is still a pretty good page showing
> you the basics of both psp and servlets.

I recomend you to take a look at Cheetah[1] or Kid[2] as template
language and at FormEncode[3] to form handling.

[1] http://www.cheetahtemplate.org/
[2] http://www.kid-templating.org/
[3] http://www.formencode.org/

> Or using a try statement:
>
> try:
>     f1 = self.request().fields('Donit')
> except:
>     f1 = None

Or even better, you can pass a default value to the "field" method:

f1 = self.request().field('Donit', None)

Good luck,
Regards

-- 
Michel Thadeu Sabchuk
Curitiba - Brasil

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to