java - Variable not reachable without exception -


i have weird problem, classic of works on localhost , not in server.

i've tried find bigger problem , discovered code :

 <div class="pageheader"><h1>products2   #{products.debug}  </h1></div> 

when :

@managedbean(name="products") @sessionscoped public class productsbean { private string debug = "debug : ";  public productsbean() {     debug = "debug : "; } public string getdebug() {     return debug; }  public void setdebug(string debug) {     this.debug = debug; } 

and debug string has getters/setters,

works in localhost not on remote. in remote server doesn't echo string @ all, , no exception gets thrown , have no idea how start looking problem. thing problem gets repeated in other ways, instance page has datatable appears empty, though it's not in localhost. when tried file uploading in whole different page got exception of target unreachable, identifier resolved null, not problem in case, seems related somehow guess

any help? i'm running on oracle linux server oracle glassfish

the problem here.

target unreachable, identifier 'loadsimcards' resolved null 

i believe #loadsimcards resolved null during processing. object not getting created/prepopulated in bean.

check code , verify if indeed getting populated. can post java code if still facing issues.

also check beans.xml file , declaration in faces-config.xml

reference - jee cdi tip: target unreachable, identifier resolved null


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -