[jboss-user] [EJB/JBoss] - File in wich folder?
Ceene
do-not-reply at jboss.com
Mon Jun 16 09:07:51 EDT 2008
Hi everybody
I have a litle question. I try to read a file in my WebApplication
but I have no idea in wich JBoss-Folder I have to put the files.
My code
| public String getFehlerMeldung(String code, int kezi) {
| String text = "";
| String datei = "";
|
| //Datei ermitteln
| switch(kezi)
| {
| case 1: datei = "hwnStatusGesamt.hwc";
| case 2: datei = "hwnStatusAnrede.hwc";
| case 3: datei = "hwnStatusTitel.hwc";
| case 4: datei = "hwnStatusVorname.hwc";
| case 5: datei = "hwnStatusAdel.hwc";
| case 6: datei = "hwnStatusNachname.hwc";
| case 7: datei = "hwnStatusNachsatz.hwc";
| case 8: datei = "hwnStatusNamensrest.hwc";
| }
|
| try
| {
| BufferedReader test = new BufferedReader(new FileReader(datei)); ..............
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4158337#4158337
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4158337
More information about the jboss-user
mailing list