RE: [OS-webwork] Velocity vs. JSP

2004-02-22 Thread Erik Jõgi
> Rickard Öberg wrote > ... > 2) Great performance > 3) Templates does not have to be in files (JSP files do) > ... where does the performance win over JSPs come from? As JSPs are compiled into servlets, how do you beat that? if you don't put your templates into separate files, then where do you

[OS-webwork] Hibernate adminApp's interceptor

2004-02-21 Thread Erik Jõgi
hello, I had a look at Hibernate's adminApp regardig Hibernate session/ transaction handling. In the adminApp the transaction is commited (which also calls flush()) in the HibenateInterceptor after the invocation. I think this is not the best solution because flush() and the actual commit() are

[OS-webwork] Velocity vs. JSP

2004-02-21 Thread Erik Jõgi
Hello, Following the 'Tomcat out of memory' thread in this list I got the impression that several people were suggesting to Velocity instead of JSPs for for the views. I haven't got any experience with Velocity besides looking at the stuff that is part of WebWork but for some reason I have had

[OS-webwork] WebWork2 with Hibernate

2004-01-18 Thread Erik Jõgi
s opened. For this I was also wondering: What is the scope of an Interceptor instance? Is there a new one created for each request? For any custom interceptor: what is the recommended way to deal with exceptions? Any comments on my ideas would be greatly appreciated. best reg

[OS-webwork] same action several times

2003-11-27 Thread Erik Jõgi
hello, I am taking my first steps with Webwork2. Now I'm trying to solve this kind of situation: The user must enter a list of products codes with their quantities. I have a simple form that has two input fields and an action tied to it which takes the input and passes to a session scoped compon