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

about resource bundle  RSS feed

 
yalamanchili sushama
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
iam working with resource bundle,when iam trying to retrive keys from properties file using a java file iam getting the result if i use the same codeing in servlets its giving java.lang.NullPointerException,could any one please help me to avoid my problem.

Actually i want to read username and password from property file inorder to validate the login page i.e when i enter loginname,password in login.jsp i want to check whether the entered values are matching with the values in the preoperty file.can any one suggest me whether this is the right way or not if there is any other better way please do suggest me
thanking all,
sushama.
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like we should move this to the Servlets forum. I think.

It is not a J2ME question for sure.

Mark
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!