Sunday, December 21, 2014

resume

https://docs.google.com/document/d/1vftifCvZ9LTR59AwB0wY9R5FZSXG7Xw1gLqW1kdOlEw/edit?pli=1

Sunday, June 16, 2013

Struct 2 java.io.IOException: Stream closed

java.io.IOException: Stream closed org.apache.jasper.runtime.JspWriterImpl.ensureOpen(JspWriterImpl.java:210) org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:115) org.apache.jasper.runtime.JspWriterImpl.flush(JspWriterImpl.java:177)

Saturday, June 15, 2013

Struts 2 FreeMarker Template Error

freemarker.core.InvalidReferenceException: Error on line 69, column 13 in template/simple/select.ftl stack.findValue('top') is undefined. It cannot be assigned to itemKey

Why This error Occured

Case 1

It generally occurs if you populating the java.util.list that use used to populate structs 2 tags from data base or any dynamic content source.

How to trouble shoot

I f you are using databse to populate select list go back and chick you data base.
it is better to write an if statement to to incepct the value is not null before adding to list.

if(something!=null)
{
list.add(something);
}