Hi,
This is my Customized PdfView Code from org.displaytag.export package. I am keeping this package inside a Spring container. I have my properties file and xml files where I have specified my path. Now when I tried to print the path value using the annotation from spring 3.0, I received a null value.Any updation to resolve this is appreciated.
public class TemplatePdfView extends PdfView {
String mypath;
//protected PageContext pageContext;
// private Table tablePDF;
/**
* The default font used in the document.
*/
// private Font smallFont;
// private Font smallFont;
@Autowired
private VelocityEngine velocityEngine;
@Value("${app_path.loc}")
public String appPath;
public void setAppPath(String appPath) {
this.appPath = appPath;
}
static final Logger logger = Logger.getLogger(TemplatePdfView.class);
method()
{
logger.info(app_path.loc);
}