Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Not reading properties file  RSS feed

 
rahul khanna
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i'm trying to run a sample applicaiton(login) i got from http://www.javaranch.com/newsletter/200404/Journal200404.jsp#a7
i have the same directory strucure as given in the tutorial .

but i get the error
org.apache.jasper.JasperException: Can't find bundle for base name bundle.Messages, locale en_GB

i don know wht is goin wrong??
i'm using tomcat 5.0.27 and jdk 1_5_0_03.
there was a previous post regarding this.. but i'm not able to trace wht jar is being talked about .. please help
thanks in advance.
 
rahul khanna
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i fixed it...
silly mistake ..

i had named 'messageS.properties' to 'message.properties'

renamed it to 'messages.properties' and it works now..
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
discuss it here: http://www.coderanch.com/t/47940/Struts/Journal-Article-JavaServer-Faces-Part

Moreover, can you try it with jdk1.4.x rather than jdk 1.5.x? because i think your tomcat version asks for jdk 1.4.x.

Thanks.
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Glad to know that its working now.
Congrats.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!