chris32680
08-14-2008, 01:18 PM
Hi all,
I tried googling for this and wasn't able to find anything...but that's probably because i'm not exactly sure of the right wording to search.
Here's the situation.
We produce a browser based software package that our company uses and that we sell to another company. We each have our own webserver to host and the backend is an oracle DB.
each of our webservers obviously have their own urls...
www.company1.com/whatever/...
www.company2.com/whatever2/...
One of our web developers produced a very nice menu bar that we're implementing and since it's static html we decided to not try and code it into a pl/sql stored procedure like we do most of our other web applications.
This menu bar has lots of links and a couple forms to perform some actions on each clients' databases.
The problem we're running into is that since it's not a stored procedure, we can't just use the oracle owa_util package to retrieve the url "prefix" (ie www.company1.com/whatever/) so that each site's links point to the correct location.
Is there a way where once you're "in" a site, to not have to put the entire url prefix on every link?
or maybe it's a javascript solution to actually change that portion of the url?
Any ideas or help would be appreciated!
Thanks a ton.
Chris
I tried googling for this and wasn't able to find anything...but that's probably because i'm not exactly sure of the right wording to search.
Here's the situation.
We produce a browser based software package that our company uses and that we sell to another company. We each have our own webserver to host and the backend is an oracle DB.
each of our webservers obviously have their own urls...
www.company1.com/whatever/...
www.company2.com/whatever2/...
One of our web developers produced a very nice menu bar that we're implementing and since it's static html we decided to not try and code it into a pl/sql stored procedure like we do most of our other web applications.
This menu bar has lots of links and a couple forms to perform some actions on each clients' databases.
The problem we're running into is that since it's not a stored procedure, we can't just use the oracle owa_util package to retrieve the url "prefix" (ie www.company1.com/whatever/) so that each site's links point to the correct location.
Is there a way where once you're "in" a site, to not have to put the entire url prefix on every link?
or maybe it's a javascript solution to actually change that portion of the url?
Any ideas or help would be appreciated!
Thanks a ton.
Chris