 |
|
Oracle Tips by Burleson |
Oracle 10g Rewriting URLs to Access Local Contents in
OGS
When utilizing a monolingual application, which
by definition, only supports a single locale, the URL ending in /index.html
by default takes the user to the starting page of the application.
However, in a multilingual application, contents in different
languages are stored separately, and it is not uncommon for them to
be staged in different directories, based on the language or the
country name. This language or location information is then used
during retrieval by specifying it in the URL.
OGS removes the need for the developer to
hardcode paths and locate translated files by using the
ServletHelper class. The ServletHelper class rewrites the URLs based
on the current user locale as determined by OGS APIs.
Get the complete Oracle10g story:
To get the code instantly, click here:
Need an Oracle Mentor?
BEI is now offering personal mentors for Oracle DBAs where you can have an
Oracle expert right at your fingertips, anytime day or night. We work with
hundreds of Oracle databases every year, so we know exactly how to quickly
assist you with any Oracle question.
Why risk an unplanned outage? You can now get telephone access to Don
Burleson or any of his Oracle Certified DBAs with more than 20 years of
full-time IT experience. Click here for details:
http://www.dba-oracle.com/service_oracle_backup.htm

|