Hello I need modify month of a date. I've tried with: new Date().setMonth( new Integer( 4 ).intValue() ) for set month to april, but at compile, said me "Cannot cast from void to date" as whether "intValue()" return void any idea ?
I'm see that some write the full path of jrxml and some not. I've : String jrxml = new String("/home/user/workspace/sigaa/src/reportes/prueba.jrxml"); this would be but effective: String jrxml = new String("/reportes/prueba.jrxml"); but not find. This is a web project .Therefore the root is src/ How I do this?