You are not logged in Log in Join
You are here: Home » Members » Ioan's Zope Documents » Jsp for Zope » Why I build this product

Log in
Name

Password

 
 

Why I created Zope JSP


First: Use this product as an jsp document generator from templates.

I know some Java and JSP enough to build an application.
But in my work, on my office and in extra time I do not use Java.
Why? Because nobody asked me!

This product has been made when I was trying to fill an Oracle SQL
database with hundreds of townsends records to test performance.
An old benchmark that I did in 2002 can you tell a bit more.

I know how to create and use java servlets.
But this product do not support servlets.
Why? Because you need to put your compiled code into lib and classes folder,
this is ok, then to update web.xml. So far is ok!
But when you call the servlet will not work because client call Zope and Zope forward
request to jsp server ... To use servlets I need to create another zope object (JSP servlet)
and this object will forward request. I'll do this in next version!

You can upload into Zope database your .jar and .class files as
Zope files (not as documents) and to put them into WEB-INF/lib and WEB-INF/classes
then to call them (import them) into your jsp documents.
Use dtml documents as text documents accesible from jsp server.
Dtml documents will be saved into jsp server document root together with jsp documents.

Use dtml methods as text documents accesible only from Zope.
Dtml methods are not replicated (saved) into jsp server document root.
Use them as building blocks to be included into dtml documents and jsp documents.

Use zope file objects anywhere in your jsp folder,
but the best place for them is in WEB-INF folder and its subfolders: lib and classes