Skip to content

Tag: java

Error Parsing File JSP or JAVA in Netbeans 7.3.1

I migrated my project from Net beans 6.9.1 to Net Beans 7.3.1 and faced this annoying error a red exclamation icon on a random file jsp or java . I opened them and did not find any error. I tried some suggestions after searching Google to disable html and jsp validation with no luck , another suggestion was t…

Load a file in Resources with FileInputStream

I know the safe way to open a file in the resources is: now the problem is that my file is a model for a decider in the Weka Wrapper package and the Decider class has only a method: load takes the file and opens it as a FileInputStream. Do you see a workaround? I really would like to ship

JAXB Mapping to JSON

I have written a JAX-RS (Jersey) REST Service, which accepts XML messages of ONIX XML format. Generally, I have generated all the required classes for JAXB binding from the given schema with xjc. There are more than 500 classes overall and I cannot modify them. Now, when I have a JAXB-mapped object, I need to…

Can not issue data manipulation statements with executeQuery

I’m getting an error when im trying to run my gui to inset data into a table, the error being Can not issue data manipulation statements with executeQuery(). The goal of this gui is to get the user to input information into the text area and then click submit and this information is uploaded to the data…