S
SJ
Hi,
I have a problem with the HTML <base> element, URL re-writing and Postback.
We are using URL re-writing on the server, and I'd like to use the base
element to make the URLs in the ASPX pages more maintainable. Otherwise, we
have to manually output the application root eg. src="<%= AppRoot %>". This
is cumbersome and hard to maintain.
However, there seems to be no way - apart from a client-side script - to
rewrite the action attribute of the form to handle the full path to the
file. Does anyone know if there is a better way to achieve re-writing of the
action attribute so that it automatically handles the full path?
Thanks
Simon
I have a problem with the HTML <base> element, URL re-writing and Postback.
We are using URL re-writing on the server, and I'd like to use the base
element to make the URLs in the ASPX pages more maintainable. Otherwise, we
have to manually output the application root eg. src="<%= AppRoot %>". This
is cumbersome and hard to maintain.
However, there seems to be no way - apart from a client-side script - to
rewrite the action attribute of the form to handle the full path to the
file. Does anyone know if there is a better way to achieve re-writing of the
action attribute so that it automatically handles the full path?
Thanks
Simon