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="" style="font-weight: bold;">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/../../../FetchRoleServlet not found.

please rescue.

Thanks.
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to