This will be very usefull for me too, but I don't understand how to use this variable.
Actually in my dbform-config.xml I have:


<field name="image1" fieldType="diskblob" size="120" directory="/somepath/servlet/images" encoding="false" />

where servlet is the root of my web-application.

I try to modify it in this way:
<field name="image1" fieldType="diskblob" size="120" directory="$(SERVLETCONTEXT_REALPATH)/images" encoding="false"/>


but the new images aren't uploaded in the specified directory.
Do I have to modify something else?

Thanks
Viviana

At 11.41 14/04/2004 +0200, you wrote:
> Apropos "directory"-attribute : is it possible to define a
> path relative to the webapp-path ?

Yes, you can. Use the $(SERVLETCONTEXT_REALPATH) variable inside your directory attribute. This will we substituted with the context
path of your application!


Cheers,
Henner




------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration. _______________________________________________ DbForms Mailing List

http://www.wap-force.net/dbforms



------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to