On 04/11/2010, at 4:03 AM, Erick Tryzelaar wrote:

> On Sat, Oct 30, 2010 at 2:21 AM, john skaller
> <skal...@users.sourceforge.net> wrote:
>> I have the webserver mainly working now, though the following
>> conundrum may force me to change it again.
>> 
>> The webserver takes GET requests like
>> 
>> /std/array.flx
>> std/array.flx
>> 
>> and tries to load as written, if that fails searches for it in the FLX_PATH. 
>> There's some fun with my
>> new feature:
>> 
>> include "./child.flx"
>> 
>> because the browser thinks it is smart, and replaces the . with
>> the current file's directory, so I have to add an extra / in the anchor
>> href.
> 
> Maybe hashtags in the url trick would work here? As in
> http://localhost/#std/std.flx. You'd have to have a dynamic page to do
> that, but that might not be so bad. Here's a little doc about it:
> 
> http://ajaxpatterns.org/Unique_URLs


Ah, that's interesting! Didn't think about that..

Probably no, because we actually want a page reload.
Anyhow, the $ trick seems to work :)

--
john skaller
skal...@users.sourceforge.net





------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to