Dynamic ResourceBundle without the physical file.
Hi guys,.
We have a product that runs in a web environment that should allow customers to translate entries bundle to the runtime and the changes to be picked up without redeployment. Reach us successfully the goal to translate resources through the use of implementing ListResourceBundle, but the problem is that we cannot offer customers the option to add a new language (new place). Currently, we need the physical resource bundle java, so that users start to translate the text when running.
Does anyone know any solution that will allow us to dynamically register new Bundles?
Thank you
Florin
Rather buried in the docs, but the following method
public static final ResourceBundle getBundle (String baseName)
The parameter as following documents
baseName
-the base name of the resources, a full qualified class name all
You then nee a class that solves all calls to the database. I suspect, however, that you will actually finish by using the version of classloader explicit class because he might try to add the extension to the language the name of class (just guessing), and if this is the case then a custom class loader can be used to return (maybe) a single class with a semantics of construction or a proxy.
In any case, the final class resolves to a call to the database.
Tags: Java
Similar Questions
-
Migration DB by moving the physical files
Good evening!
We need business, which consists of moving internal databases to the server recently staged, and to this end, the Manager gave the instructions:
-Install oracle on the target server.
-stop current prod instance.
-Move all the files, following the correct file structure (ATO / OMF).
-Start the instances.
I'll do it for the test on my home environment, at the moment, I try to search for the procedure, but can't seem to find the correct nomenclature (English is not my native language), so I tried to look for the database migration by moving the physical files and etc. No specific links so far.
1 - is a method of migration good?
2 - Should what precautions I take?
3 - oracle recommends this kind of migration?
Any thoughts on this question will be useful.
The process depends on the exact version of the OS and the database source and target, which are unknown at this stage.
If they are exactly the same on the source and the target, it can be as simple as cloning the binary ORACLE_HOME from source to the target, close the source databases. copy the necessary database and support files and startup of the database on the target
-
I bought the design Adobe CS6 and premium and I need to download my product on my new laptop computer, however I don't have the CD came it with my purchase. How can I download my product without the CD files
Download and Installation Help-
https://helpx.Adobe.com/download-install.html
CS6 - http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html
You can also download the demo version of the software through the page linked below and then use your current serial number to activate it.
Don't forget to follow the steps described in the Note: very important Instructions in the section on the pages of this site download and have cookies turned on in your browser, otherwise the download will not work correctly.
CS6: http://prodesigntools.com/adobe-cs6-direct-download-links.html
-
Is it possible to save photos from lightroom without the original file?
I recently imported photos into lightroom, but I did not back up the original files on my computer and they are deleted from my card. The images still appear in lightroom. Is it possible to save them from lightroom without the original file?
Your images are not - and have never had - in Lightroom, they are just referenced in the Lightroom database.
Lightroom generates jpeg previews of the originals, however, and you can export users export preview plugin of Rob Cole: robcole.com - PreviewExporter.
To be clear, however, that are not originals.
-
Where can I find the physical files of APEX_APPLICATION_FILES
Dear Expert,.
I got the files from 'SELECT id, name FROM APEX_APPLICATION_FILES' list
F1761593527/f101.sql 1605213787030003
F928641689/f101.sql 1605004091027283
F1237766750/Doc1.rtf 1686620894182663
F1530590835/blebul1a.gif 1687611599284065
F1328258633/lippologo1.jpg 1609417775069075
F199693486/Doc1.rtf 1685122925154852
F1852805503/SQLAnywhere12_Full.exe 1682930319090730
1683026294099067 F796050035/new document texte.txt
1683131489100554 F823097404/new document texte.txt
List.RTF 1683316167115060 F747145779/product
where can I find the physical files?... It also removes the physical files if I run "DELETE FROM APEX_APPLICATION_FILES WHERE ID = '1682930319090730'?
Please notify
Thanks and greetings
LukeHello
Yes, you can use delete statement to delete the file.
Kind regards
Patel Kartik
------------------------------------------------------------------------
http://patelkartik.blogspot.com/
http://Apex.Oracle.com/pls/Apex/f?p=9904351712:1 -
Dear all,
I need your help I need to export data from user a (1 instance) and import it on another an instance without storage on location.
I used to do as an export of data about the physical location and then import into another instance where I stored the dump file on physical location.
Now I don't want to follow these method (standard method), is there any way possible means kindly share with me. Thank you very much in advance.
Dear VA Napoleon,
Thank you for your immediate response. If it's possible means gives the example script.
-
Can I change a muse created site without the original file to muse?
I created a website for a friend about six months ago. They recently asked me if I could make some changes and I discovered with a heavy heart that the file including all graphics etc custom made are completely gone from my computer. Is it possible to change the Web site without the file?
HTML is HTML. You can change it in the simplest text editor if you wish. If you ask if you can reimport the files published in Muse, then the answer is no.
Mylenium
-
Dynamic text from the text file problem
Go step by step to get my data from MYSQL/php... for now, I'm stuck and cannt even get it from a text file I do worng!
This is the code I use:
var myLoader:URLLoader = new URLLoader()
myLoader.dataFormat = pouvez
myLoader.load (new URLRequest ("trees.txt"))
myLoader.addEventListener (Event.COMPLETE, onDataLoad)
function onDataLoad(evt:Event) {}
for (var i: uint = 0; i < evt.target.data.cant; i ++) {}
This ["tcname_" + i] .text = evt.target.data ["tcname_" + i]
}
}
My trees.txt file contains the following:
Plum = tcname_0 & tcname_1 = olive
I made this as well:
& tcname_0 = Asian plum & tcname_1 = Amazon lily &
I have already created a few instances of dynamic text from tcname_0 up to tcname_5
I tried with having the text in dynamic text or leave it empt anyway... nothing is read from the text file, what I am doing wrong?
In your trees.text file, you neglected to include the variable of cant, so the loop has an undefined value to life...
Plum = tcname_0 & tcname_1 = olive & cant = 2
-
Everything affects the physical files hosted ASM name changes?
our system administration team changing the name of the file where the DSO is hosted... How to rename ASM? a link or document any metalink exist to quick referance?
Thank you
Raman.is there any required changes in Oracle ASM after the device physics change of name/is the names of device anywhere in Oracle ASM
N ° disks are labeled with a label of the DSO. ASM will look for this label and recognizes the drives even if the paths of the physical devices (e.g./dev/sdb--> / dev/sdz) has changed. However, you need to ensure that the new locations of the unit corresponds to your asm_diskstring setting.
--
Ronny Egner
My blog: http://blog.ronnyegner-consulting.de -
Cannot migrate the physical files using OPE utility loader
Hi friends,
With my problem of submodel still pending, I am facing another problem - 'Migration to XML Publisher rtf templates'.
I went through the document (DocId:Note 469585.1) regarding 'How to use OPE Loader?'
The document contains commands for the DOWNLOAD and UPLOAD of physical files.
Before you run these commands, I executed the following commands to migrate the "data Definitions" and "Definitions". The commands are the following:-
[crp2appl@erptrg CRP2_erptrg] $ FNDLOAD apps/apps 0 Y DOWNLOAD $XDO_TOP/patch/115/import/xdotmpl.lct corptmpl.ldt XDO_DS_DEFINITIONS APPLiCATION_SHORT_NAME = "SQLAP" DATA_SOURE_CODE = "XXAPCORPCHQPRT" TMPL_APP_SHORT_NAME = "SQLAP" TEMPLATE_CODE
= "XXAPCORPCHQPRT".
[crp2appl@erpdev CLN2_erpdev] $ FNDLOAD DOWNLOAD apps/apps $0 XDO_TOP/patch/115.
Import/xdotmpl. LCT corptmpl.ldt
After running these two commands, the "definition of data" and "details of the model" are migrated but not physical rtf files.
At this point, I tried to run the following command to the physical integrity (rtf) file migration which is given in the document mentioned above.
Java oracle.apps.xdo.oa.util.XDOLoader.
DOWNLOAD------.
-Apps DB_USERNAME------.
-Apps DB_PASSWORD------.
-JDBC_CONNECTION erptrg.recl.org:1521:CLN2.
-MODEL LOB_TYPE------.
-APPS_SHORT_NAME SQLAP.
-LOB_CODE XXAPDENACHQPR.
-LANGUAGE en
The parameters passed to XDOLoader...
[TERRITORY] [WE]
[DB_USERNAME] [apps]
[LOB_CODE] [XXAPDENACHQPRT]
[DOWNLOAD] [DOWNLOAD]
[JDBC_CONNECTION] [erptrg.recl.org:1521:CRP2]
[LANGUAGE] [en]
[DB_PASSWORD] [******]
[LOB_TYPE] [MODEL]
[APPS_SHORT_NAME] [SQLAP]
Start downloading...
Download files from XDO_LOBS: SELECT DATA. FILE_DATA, D
DATA TYPE. APPLICATION_SHORT_NAME, DATA. FILE_NAME, DATA. L
DATA. DATA XDO_LOBS, (SELECT LOB_COD XDO_FILE_TYPE
FILE_NAME, LANGUAGE, TERRITORY, N_SHORT_NAME, XDO_FILE_TY
LOB_CODE =: LOB_CODE AND APPLICATION_SHORT_NAME =: APPS_
E in (: TEMPLATE,: TEMPLATE_SOURCE) AND = LANGUAGE: LANGUAGES
TERMS OF TERRITORY)
where DATA. LOB_CODE = WORDS. LOB_CODE
and the DATA. LOB_TYPE = WORDS. LOB_TYPE
and the DATA. APPLICATION_SHORT_NAME = WORDS. APPLICATION_SHO
and the DATA. LANGUAGE = WORDS. LANGUAGE
and the DATA. TERRITORY = WORDS. TERRITORY
XDOLoader successfully done: Mon Sep 08 18:26:55 IST 2008
Now I tried to run the command to download
[crp2appl@erpdev CLN2_erpdev] $ java oracle.apps.xdo.oa.util.XDOLoader UPLOAD
-DB_USERNAME apps
-DB_PASSWORD apps
-JDBC_CONNECTION erpdev.recl.org:1521:CLN2
-TEMPLATE_SOURCE LOB_TYPE
-APPS_SHORT_NAME SQLAP
-LOB_CODE XXAPDENACHQPRT
-LANGUAGE en
-THE AMERICAN TERRITORY
-RTF XDO_FILE_TYPE
-FILE_CONTENT_TYPE application/rtf
-XXAPDENACHQPRT.rtf FILE_NAME
-NLS_LANG ENGLISH_UNITED STATES. WE8ISO8859P1
XDOLoader started: Mon Sep 08 18:06:06 IST 2008
The parameters passed to XDOLoader...
[TERRITORY] [WE]
[FILENAME] [XXAPDENACHQPRT.rtf]
[DB_USERNAME] [apps]
[XDO_FILE_TYPE] [RTF]
[LOB_CODE] [XXAPDENACHQPRT]
[NLS_LANG] [ENGLISH_UNITED]
[FILE_CONTENT_TYPE] [application/rtf]
[JDBC_CONNECTION] [erpdev.recl.org:1521:CLN2]
[LANGUAGE] [en]
[DB_PASSWORD] [******]
[LOB_TYPE] [TEMPLATE_SOURCE]
[DOWNLOAD] [DOWNLOAD]
[APPS_SHORT_NAME] [SQLAP]
Start loading...
Target file: XXAPDENACHQPRT.rtf
java.io.FileNotFoundException: XXAPDENACHQPRT.rtf (no such file or directory)
at java.io.FileInputStream.open (Native Method)
at java.io.FileInputStream. < init > (FileInputStream.java:106)
at java.io.FileInputStream. < init > (FileInputStream.java:66)
at oracle.apps.xdo.oa.util.XDOLoader.processUpload(XDOLoader.java:1040)
at oracle.apps.xdo.oa.util.XDOLoader.process(XDOLoader.java:1001)
at oracle.apps.xdo.oa.util.XDOLoader.main(XDOLoader.java:2244)
It says file not found.
What could be the problem?
Please help me solve this problem.File_name http://XXAPDENACHQPRT.rtf
Why is this http?
give the location of the rtf file.
or copy the rtf in the folder where you run this command
and mention XXAPDENACHQPRT.rtf filename.
Use the following command, that I used for on the migration of production test report.
DOWNLOAD Java oracle.apps.xdo.oa.util.XDOLoader - DB_USERNAME DB_PASSWORD apps & apps_password-JDBC_CONNECTION & JDBC_ADDR - MODEL LOB_TYPE - APPS_SHORT_NAME SHORTNAME - LOB_CODE LOBCODE - en-TERRITORY U.S. LANGUAGE. - XDO_FILE_TYPE-RTF-FILE_NAME filename.rtf - CUSTOM_MODE FORCE;
You command is - LOB_TYPE TEMPLATE_SOURCE change to-MODEL LOB_TYPE
-
RoboHelp 9.0.2.271 on Windows 7
Project opens, but there is no file, images, multimedia or style sheets. There are a lot of (obviously) broken links and the table of contents, Index and glossary are very good.
There is a corruption somewhere, and rather than restore the entire folder, maybe there are some files that you know can I restore individually before you restore the whole file from my backup.
The service asks me to search the forum first a solution before contacting them again.
Thanks in advance.
After the restoration, I started to copy in the .htm files that I had worked before the project went south. The last .htm file prevented the project to open. So I just restored this last backup file of last night and all is good to go!
-
How to play my music in the cloud if the physical files are gone
I downloaded my music to the cloud by game, then moved the files to an external hard drive that no longer works (very well, no?). I thought that songs would still play the cloud even if I had deleted the files from my mac. But when a song comes up, I get an error message that the file is not found. Fortunately, if I hit 'Cancel' instead of 'locate' (two options), it recognizes the song is in the cloud and the cheek. I can do that for my entire library rather than having to do a song at a time? Additional info: next removed songs, no cloud icon shows until I get the error message and then click Cancel, as explained above. Subsequently, the cloud icon appears, the song is playing and is subsequently available to play.
I think it should download them one album at a time. I think remember me what happens to me. Album search, and then click Download to iCloud next to the title of the album. It doesn't take too long.
Helga
-
With the help of the socket object to retrieve data from web application without the html files
I tried to use the socket object to retrieve data from a web application (I just control script version vs version online). So all I want to do is access http://hyle.io/version that returns me the current version of the application (such as a simple string) in order to compare it in my script and then notifies the user accordingly. I have just a few problems using the socket object. I used this code from the Adobe Javascript Tools Guide:
reply = ""; conn = new Socket; // access Adobe’s home page if (conn.open ("www.adobe.com:80")) { // send a HTTP GET request conn.write ("GET /index.html HTTP/1.0\n\n"); // and read the server’s reply reply = conn.read(999999); conn.close(); }
... that I then adapted as:
reply = ""; conn = new Socket; if (conn.open ("hyle.io:80")) { conn.write ("GET /version HTTP/1.0\n\n"); reply = conn.read(999999); conn.close(); }
And here is what I get:
HTTP/1.1 400 Bad Request Content-Length: 225 Content-Type: text/html Server: Pagodabox-Routing-Mesh
Bad Request
Your browser sent a request that this server could not understand.
Résultat : trueI don't know a lot about HTTP requests, but I wondered if it was related to the fact that I am not pointing to a specific HTML file and the type of request was wrong or if I should rather check if there is something wrong with my host?
The site/app is PHP and is hosted on PagodaBox if it helps.
Thanks in advance!
Hi Sebastien Lavoie,
It should work
var HTTPFile = function (url, port) {}
If (arguments.length == 1) {}
URL = arguments [0];
port = 80;
};
This.url = url;
This.port = port;
this.httpPrefix = this.url.match(/http:\/\//);
This.Domain = this.httpPrefix is nothing? This.URL.Split("/") [0] + ":" + this.port: this .url .split ("/") [2] +":" + this.port;
This.Call = ' GET ' + (this.httpPrefix == null? ' "). " http://" (+ this.url: this.url) + "HTTP/1.0\r\nHost: ' + (this.httpPrefix is nothing? "This.URL.Split("/ ") [0]: this .url .split (" / ") [2]) +" \r\nConnection: close\r\n\r\n ";
This.Reply = new String();
This.Conn = new Socket();
This.Conn.Encoding = "binary";
HTTPFile.prototype.getFile = {function (f)}
var typeMatch = this.url.match(/(\.) (\w{3,4}\b)/g);
If (this.conn.open (this.domain, "binary")) {}
This.Conn.Write (this.) Call);
This.Reply = this.conn.read (9999999999);
This.Conn.Close ();
} else {}
This.Reply = "";
}
(Return this.reply.substr(this.reply.indexOf("\r\n\r\n")+4);
};
}
Hyle var = new HTTPFile ("http://hyle.io/version");
Alert (hyle. GetFile());
And by the way, I like the idea of 'http://hyle.io'. Can you give me your email address, I want to learn more about this Web site.
Please send me an email to [email protected]
-
I backup weekly on an external hard drive using tools-backup of system accessories. I use the ASR feature for 2 years. Today, he wouldn't write the ASR files on the diskette in the drive. I checked the disk and other programs writing to her, but not the backup utility. Without the ASR files, the backup is useless. Does anyone know if this could be fixed by the re - install Windows XP Pro?
Hello
· What is you receive the exact error message?
For now, you can check out the link below and check if it will help: http://technet.microsoft.com/en-us/library/cc737810 (WS.10) .aspx
-
Sometimes, when I add a song to Windows Movie Maker it does not work.
When I try to add one of my songs, it is said: C:\Documents and Settings\Utilisateur\Mes documents\Ma Musique\iTunes\iTunes Media\Music\Craig Smart\I Miss You - Craig Smart.mp3 could not be imported. The selected file is not valid or is corrupted.
Help, please
When I try to add one of my songs, it is said: C:\Documents and Settings\Utilisateur\Mes documents\Ma Musique\iTunes\iTunes Media\Music\Craig Smart\I Miss You - Craig Smart.mp3 could not be imported. The selected file is not valid or is corrupted.
Help, please
2 responses on itunes and Windows Media Player (WMP) are:
1.
RE: iTunes and WMP - MusicBridge
Found this on the web. I can't vouch for it. Use it at your own risk.Excerpt:
iTunes is not compatible with Windows Media Player. iTunes is - like Apple-very protective of any product and does not like to share. So, you have to force off iTunes and WMP.To do this, you can use this sloppy program: MusicBridge.
The description of its creator:
MusicBridge allows people who use both iTunes and WMP on the same machine to keep their libraries in sync. MusicBridge offers a variety of synchronization options so that you can manage your collection of music in the media player, or both. MusicBridge duplicates of meta-data between Windows Media Player and iTunes, it does not copy the physical files between applications.Version 2.0.1 is a bug fixing release.
Best thing: it's free.
http://download.CNET.com/MusicBridge/3000-2141_4-10530687.HTML?tag=mncol;psum2.
courtesy of musiclover101:
convert the songs in your iTunes library to a format that Windows Media Player can understandYou can convert the songs in your iTunes library to a format of Windows Media Player can understand - (I tend to use mp3). This can be done inside of iTunes itself. If the songs in your iTunes library were purchased in the iStore and were purchased in the plus version (indicated by a small sign above the price of a song +), then they are DRM free, so they can be converted easily. However, if the songs were not purchased in the format more, you can convert them for 30 cents each. I highly recommend that you do as the plus version of songs are premium quality - and since they are DRM free, you can use them in almost all applications and you can burn them to CD and play almost anywhere. All the songs on the iTunes store are now version more, so you don't have to worry about searching for them in the future.
To convert songs to Windows Media Player can understand, open iTunes, and then do the following:
1. click Edit, preferences, and go to the general tab
2. click on the button "import settings".
3. change the "import using" at "MP3 encoder".
4. click OK and go back to your music library
5. choose the list view and select the first piece of your library
6. scroll all the way to the last song in your library
7. press the button SHIFT key, then click the last song to select all the songs in your library
8. click on "Advanced" and then "Create MP3 Version."
9. your songs should start to convert and according to how many songs do you have in your library, this could take some time
10. open Windows Media Player and press F3 or click file, add it to the library
11. click on OK - Windows Media Player should start to search for songs on your computer and after that he finished the search, you should find the songs in your library in your Windows Media Player to iTunes library.NOTE: This method will not work unless you have purchased iTunes songs or if you have converted the songs iTunes more for each 30 c
For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.
Maybe you are looking for
-
Easy Web browser control?
Can I use for my BDV-E780W easy browser to use keyboard or mouse? I only can it control by remote control...
-
Logic Pro 7.2 update cost?
What price has been the Logic Pro 7.2 update? (American or British price will be...) When he came out to the origin? Thank you...
-
Pavilion 23xi: turn off the power of the icon of the Pavilion 23xi monitor
A small but annoying problem. Computer start-up that a small monitor icon appears in the upper right, sometimes at least covers the button. I can get rid of it by pressing the exit button, but next time think I start computer it is back. He follows m
-
DVD/cd player looking for disc when there is already one in place.
My dvd/cd drive is no longer bed or written records as it does not recognize that there is a disc in the drive. I tried all types of discs and auto repair, nothing helps. Self said there's a problem, they can not fix. the Device Manager shows the
-
error on the application running on the playbook
Hello I built an application using phonegap, what I have running on other devices, but I built a .bar file and I get the following error when you try to install the application failure of 821 request-requires-system: System name not recognized 'Black