I completely agree. Struts is nice for a site with a small set of
actions but when a site gets very complex it's a different story. As
an example I just was handed over a large complex web application from
a different consultant and the amount of class files, XML files, and
jsp tags in the
On Mon, Sep 23, 2002 at 10:20:06AM -0400, Aaron Held wrote:
> class loginUser(FormValidator):
> def validate(self,fieldDict):
> user=UserManager.login(fieldDict['userName'],fieldDict['password'])
> if (user==None):
> return {"form":'This is not a valid Use
I completely agree. Struts is nice for a site with a small set of
actions but when a site gets very complex it's a different story. As
an example I just was handed over a large complex web application from
a different consultant and the amount of class files, XML files, and
jsp tags in the
I like this thread, because it is one of the main reasons that I
switched from Java to Python for web development. We all (python and
Java developers) have an understanding of how to architect a web system
and divide logic and presentation, but it is so much easier in Webware
then Java. We w
Why do you want to forward to another servlet?
If you need additional logic you can put the code
in modules and call them from the main servlet as needed?
You can pass around the session object if you need to.
Tim Lavoie wrote:
>>"GT" == Geoffrey Talvola <[EMAIL PROTECTED]> writes:
>
>
> "GT" == Geoffrey Talvola <[EMAIL PROTECTED]> writes:
GT> You can modify the request object however you please before
GT> calling forward(). Just do:
GT> self.request().setField('newkey', 'newvalue')
GT> And that key/value pair will be available to the servlet you
> No. What is Struts?
Struts is a Java Apache (jakarta Project) that uses the MVC architecture
(Model View Controller)
Struts = Cheetah using the 'Containment' method
servlet.py = controller
template.tmpl = view
So in jsp/psp you call the view and the view has logic to manipulate the
model
Not sure what you are looking for, but I use Cheetah in a non-standard
way that may fit.
1) I have a templates directory that is not in the web path
2) I create normal webware servlets based on page.py
3) I override writeHTML with a new function that prepars all of the
details needed for that p
Tim Lavoie wrote:
> Hi all,
>
> I'm new to Webware, but have been using other web environments for a
> lng time. What I would like to do is to use Webware for a core
> controller, forwarding to Cheetah for display. Think of Struts, if you
> know that.
>
> I've got a couple main questions to
On Fri, Sep 20, 2002 at 12:28:29PM -0500, Tim Lavoie wrote:
> What I would like to do is to use Webware for a core
> controller, forwarding to Cheetah for display. Think of Struts, if you
> know that.
No. What is Struts?
> Also Cheetah-related, but what is the best way to have other
> serv
Hi all,
I'm new to Webware, but have been using other web environments for a
lng time. What I would like to do is to use Webware for a core
controller, forwarding to Cheetah for display. Think of Struts, if you
know that.
I've got a couple main questions to start off:
To forward using th
11 matches
Mail list logo