[Laszlo-user] relative path in dynamic dataset
ankit rastogi
ankit.r at gmail.com
Mon Mar 6 21:40:22 EST 2006
I am not sure the question may sound silly but it has huge implications for
me.
I have a webapp with laszlo the laszlo file are under
Contextroot -- resources/lzx/common/rolelib.lzx
and my dataset in welcome.lzx points to servlet at runtime which is located
in
Contextroot - WEB-INF/classes
Here is the coede through which I currently access this servlet.
This has hardcoded URL and I want to give relative stuff.
<library>
<dataset name="currentroleds" src="
http://localhost:8080/gui/FetchRoleServlet" request="true"/>
<datapointer name="currentroledp" xpath="currentroleds:/*"/>
</library>
when I try something like http://../../../FetchRoleServlet
The debugger gives error that
http://localhost:8080/Contextroot/resources/lzx/common/../../../FetchRoleServletnot
found.
please rescue.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-user/attachments/20060306/d13cc536/attachment.html
More information about the Laszlo-user
mailing list