• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

101

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I got java.lang.Nullpointer Exception in JSP while displaying Label and value for the maintainLoc in the follwing code

Jsp code:

<td class="search _label"><itab:fieldLabel fieldId="appMaintLoc"/></td>
<td class="search _field"><itab:field fieldID="appMaintLoc" styleClass="input"/></td>


Java Code

The above jsp code getting values from the following code


if(values!=null){
String value=((HashMap) values.get(0)).get("LABEL").toString();
out.println("<span" + getOptions(" text")+ ">" +value);
}


please help me in this
 
Skool. Stay in. Smartness. Tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic