I am using netbeans to develop my applications. Whenever I deploy the application and view it from the browser and access the related servlet through the HTML, it is giving me "NullPointException". I am u8sing GlassFish server 3.1. All the details are below
LoanBean.java
LoanBeanRemote.java
LoanBeanRemoteHome.java
LoanBeanServlet.java
index.html
ejb-jar.xml
glassfish-web.xml
I am attaching a screenshot of the error I get. Please help me
Are you better than me? Then please show me my mistakes..
1. <input type="text" accept="time"/> as you can see I have given the attribute "accept" except "name"
2. I had to remove the unnecessary white spaces using trim() method java when the data are submitted to the servlet
3. Had to replace the JNDI name with the correct one which is automatically assigned by the container. That name was in "glasfish-jar-xml.xml" (or something similar) file
Marking this thread as solved
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.