Home Tutorialhelp Comment Help me Code

 
 

Comment

Lan
Help me Code,
October 14, 2008 at 12:38 PM

org.apache.jasper.JasperException: An exception occurred processing JSP page /hello/BookEntryForm.jsp at line 30

27: String bookname=request.getParameter("book_name");
28: String author=request.getParameter("author");
29:
30: stmt.executeUpdate("insert into books_details(book_name,author) values('"+bookname+"','"+author+"')");
31:
32:
33: rst=stmt.executeQuery("select * from books_details");


Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:515)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:426)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


root cause

java.lang.NullPointerException
org.apache.jsp.hello.BookEntryForm_jsp._jspService(BookEntryForm_jsp.java:84)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:384)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
JSP Servlet Questions

Help me
Help me  HI I am using Tomcat6.0 this is the problem i got wen i run the code java.lang.NullPointerException...) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) here is code login.jsp <html> <body 

JSP Servlet Questions

Help me
Help me  HI I am using Tomcat6.0 this is the problem i got wen i run the code , i am using login.html ,login .jsp,login.java and web.xml code...) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) // here is code login.jsp &lt 

JSP Servlet Questions

CAN U HELP ME TO CODE IN JSP FOR ONLINE VOTING SYSTEM
CAN U HELP ME TO CODE IN JSP FOR ONLINE VOTING SYSTEM  can u help me to code in jsp for online voting system 

JSP Servlet Questions

Please help me.
Please help me.  Hi i am trinath in below there is a url.In that url there is a code of edit a jsp page.I understand that code but only one thing i...://www.roseindia.net/answers/viewqa/JSP-Servlet/9584-JSP-Servlet-Search 

JSP Interview Questions

please help me
please help me  Dear sir, I have a problem. How to write JSP coding... before. This name list should get from the database. Please help me. By the way, I'm using access database and jsp code. Thank you 

JSP Servlet Questions

help me in solving this error
help me in solving this error  Hello, i have installed tomcat 6.0, i... that problem may be in your code. So please post your code. Thanks   Hello Friend, It seems that problem may be in your code. So please post your code. Thanks 

JSP Servlet Questions

help me
help me  HI. Please help me for doing project. i want to send control from one jsp page to 2 jsp pages... is it possible? if possible how to do 

Java Server Faces Questions

plz help me find a program
plz help me find a program  plz help..i want a source code in jsp for order processing 

Java Beginners

help me
help me  please send me the java code to count the number of similar words in given string and replace that word with new one 

JSP Servlet Questions

help me - JSP-Servlet
help me   how to open one compiled html file by clicking one button from jsp 

Java Beginners

Please help me to modify my java code from php code
]; } } I tried like this (see below JSP code) ... but this is not giving me the exact result as the above PHP code is giving. So please help me to convert...Modify Java code from PHP Code  i want to covert this php code int 

Development process Questions

Help Me
Help Me  What is the source code for Sample example for Mortgage Calculator in J2ME language for developing Symbian 

Java Beginners

help me
help me  pls... xplain dis code:- function go() { window.location.replace("logout.jsp",'window','toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1'); self.close 

Java Beginners

Help me
Help me  plz i want code of program to add real numbers and magic numbers in java example this input :- 5+3i-2+3i output:- 3+6i 

Java Beginners

help me
the order, Fourth button is Find length of text. and there are panels. Please help me. i want to write the code on this program. please share ur idea.   ...help me  Dear sir/medam i would like to know how to use the java 

Java Beginners

Please help me to modify my java code from php code
Please help me to modify my java code from php code  i want to covert this php code int java/JSP . if (isset($_POST['orders'])) { $orders...]); $array[] = $item[1]; } } I tried like this (see below JSP code 

JSP Servlet Questions

help me to do it in jsp
help me to do it in jsp  if we click on a topic it should direct to another page in separate window i need to create a part of the web page which... to insert and update the topics via admin page. pls help me to do 

Java Beginners

plz help me - Java Beginners
plz help me  Thanks deepak continue response..i face some problem i.... if i m login then display sessionvalid .jsp not display admin page i want display... give me reponse my persinal given id  Hi ragni, i am sending 

JSP Servlet Questions

help in insert code - JSP-Servlet
help in insert code  I have some doubt in following code. I want to insert value using prepared statement.we r accessing connection from other package.can u plz help me out.  hiimport java.io.*;import java.sql.*;import 

JSP Servlet Questions

please help me.
please help me.  How to move the edits.jsp in below link? http://www.roseindia.net/answers/viewqa/JSP-Servlet/9584-JSP-Servlet-Search-and-Edit.html 

JSP Servlet Questions

please help me.
please help me.  Please send me the validation of this below link. the link is http://www.roseindia.net/answers/viewqa/JSP-Servlet/9584-JSP-Servlet-Search-and-Edit.html Thanks Trinath 

JSP Servlet Questions

please help me.
please help me.  Please send me a code of template in opencms and its procedure.so i can implement the code. Thanks trinath 

JSP Servlet Questions

plz help me!!!!!!!! - JSP-Servlet
plz help me!!!!!!!!  i`ve set the environment varaibles for tomcat as well as jdk.. but i`m not understanding where i`ve to save my servlet..i.e.... there are compilation errors.. plz do help me.   make sure that you did 

Java Beginners

Help me quickly plz??
Help me quickly plz??  Can you help me to write code quickly this code is a java code take input as double and should use command line arguments and enhanced for statement then find the combine of the numbers plz help quickly 

JSP Servlet Questions

please help me.
please help me.  I have a jsp page under that i add a list box under i get the countries through my database. so how can i do 

Java Beginners

Plz help me in writing the code - Java Beginners
Plz help me in writing the code   Write a two user Chess Game. (users must be on different systems 

Java Beginners

Plz help me in writing the code - Java Beginners
Plz help me in writing the code   Write a two user Chess Game. (users must be on different systems 

Struts Questions

Help me plzz
Help me plzz  Hello Roseindia.... I need ur help urgently... I am... project not web project so kindly provide me a help.... It will be good for me if u provide me all required files like; strtus.xml web.xml 2 Jsp pages thnx 

Java Beginners

help me please
help me please  how can i do dictionary with the use of array code in java, where i will type the word then the corresponding meaning for that word will appear...thanks 

Java Beginners

please help me to write a code for this program
please help me to write a code for this program   1 1 1 1 2 2 1 1 3 4 3 1 1 4 7 7 4 1 

Java Beginners

please help me to write a code for this program
please help me to write a code for this program   1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 

Java Beginners

hi frnds.. help me..
hi frnds.. help me..  i ve a doubt in incompatible type error (block letter). plz help me clear this error! thanks in advance. This is my code. double velo[][] = new double [task] [resource]; for(int i=0;iList<Double> 

PHP Questions

PLZ HELP ME. i need php code.
PLZ HELP ME. i need php code.   I want php code for bellow OUTPUT. output is just example but it must be letters only. abc bcd efg jku rgt azs hje qqc wws adt 

Java Beginners

please help me to give code - Java Beginners
please help me to give code  Write a function with a signature cheerlead(word) that prints a typical cheer as follows. The word robot: Gimme an R Gimme an O Gimme a B Gimme an O Gimme a T What did you give me? ROBOT 

JSP Servlet Questions

Help Me plzzz
Help Me plzzz  org.apache.jasper.JasperException: Unable to compile class for JSP Generated servlet error: D:\prash\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp1\work\Catalina\localhost\HelloServlet\org\apache\jsp 

Java Beginners

Help me - Java Beginners
Help me  I m using session in my project session is activated and admin_home.jsp page will be display but data r not displayed plz guide what is incorrect my code 

Java Beginners

please help me to give code - Java Beginners
please help me to give code  Write a function, sliding(word, num)that behaves as follows. It should print out each slice of the original word having length num, aligned vertically as shown below. A call to sliding(examples, 4 

SQL Question

Can anybody help me with this simple MySql code
Can anybody help me with this simple MySql code  select c.countryid... cad 2013-03-16 18:26:31 can any one help me with the query because i want to select al of them but it should select for me only 1 duplicate countryid 

Java Beginners

help me to solve this question
help me to solve this question   A user needs to key in data... name, School, course code, course name, session, semester A user can edit the data... code, course name, session, semester A user can display all the records 

JSP Servlet Questions

JSP CODE
JSP CODE  Please help me as soon as possible.Its Urgent. I am working on my college ALUMNI PORTAL. I want to have a ADD FRIEND option in a user's profile. Please send me code 

Java Beginners

please help me to give code - Java Beginners
please help me to give code  Write a program that uses loops to generate an n x n times table. The program should get n from the user. As a model here is a 4 x4 version: | 1 2 3 4 

Java Beginners

please help me to give code - Java Beginners
please help me to give code  Write a program that prints an n-level stair case made of text. The user should choose the text character and the number of stairs in the stair case * ** *** ****   Hi friend 

Java Beginners

Please help me
Please help me  Hi Sir, please send me the code for the following progrems... 1) all sets are integer type: input: set1={10,20,30,40} set2={15,25,35} output: union={10,15,20,25,30,35,40} 2) input: "Hi what 

Java Beginners

help me - Java Beginners
help me  helo guys can you share me a code about Currency Conversion.Money will convert according to the type of currency.would you help me please... into 2 decimal places sample 1.25) Mexican_________ guys help me..thank 

Mobile Applications Questions

Please help me fix this code - MobileApplications
Please help me fix this code   Please help me in this area of code... in the background of the forms in this code i want to sum all expenses amount...); //*********************************************This code section is for List All Trip Expenses Screen 

Java Beginners

please help me to give code - Java Beginners
please help me to give code  Write a program that reads a file named famous.txt and prints out the line with the longest length. In the case of a tie, you may print out only one of them. For example in the file: Alan Turing 

Java Beginners

please help me here
please help me here  please show me how can this show the right output that i need please continue doing this program using only if else and do while...: if no: it will return to: Would you like another transaction? ... heres the code thati 

Java Beginners

please help me here
please help me here  please show me how can this show the right output that i need please continue doing this program using only if else and do while...: if no: it will return to: Would you like another transaction? ... heres the code thati 

Management

Plz Help Me
Plz Help Me  Write a program for traffic light tool to manage time...? Program must be written in Micro C.   Here is a code that displays traffic light on the frame. We have used java swing. It may help you. import 

Java Beginners

help me - Java Beginners
help me   i want to create a login form in java with jdbc connection in ist form there will two label for passworrd and user name and two button...; Hi Friend, Try the following code: 1)LoginDemo.java import 

JSP Servlet Questions

jsp code
according to selectde menu,,,,please send me such type code,,,,plz help me...jsp code  i want to jsp code which are working as,i have three drop down menu 1st menu for class second menu for subject and third menu as chapter 

JSP Servlet Questions

help me on jstl- <c:url> - JSP-Servlet
help me on jstl c:url  what is jstl in java 

JSP Servlet Questions

jsp code - JSP-Servlet
jsp code  Can anyone help me in writing jsp/servlet code to retrieve files and display in the browser from a given directory.  Hi Friend, Try the following code: Thanks 

Java Beginners

plz help me - Java Beginners
plz help me  Deepak I can write a sessioon code plz help me admin_home.jsp page is display but data is not disply plz help me what is wrong 

Java Beginners

please help me to overcome this problem
please help me to overcome this problem  how to make it easy to write java code. can u please give me suggestions 

JSP Servlet Questions

jsp code for display of data from database and snap shot of the output
jsp code for display of data from database and snap shot of the output ... in which i have entered these data.plz some one help me..i m going to submit my... http://www.roseindia.net/jsp/Accessingdatabase-fromJSP.shtml 

JSP Servlet Questions

could anyone please help with the code.
could anyone please help with the code.  protected void doPost...",null); String target="jsp/hrms_default.jsp"; String action... all the details from the jsp page */ System.out.println("inside action 

Applet Questions

help
help  pls help me to get the code of a java program a program to perform different shapes in a menu using javaapplet 

JSP Servlet Questions

jsp code - JSP-Servlet
jsp code  Hello Everybody, can anyone help me to findout the modules as i am developing a whiteboard application using jsp? this application is my dream application. Thank you 

JSP Servlet Questions

code in jsp
want a code to sort a list of students on the basis of there 12% marks and AIEEE rank.....n where n how to implement that.....can you help me plzzz...code in jsp  hi.. I had started a project on college admission system 

Java Beginners

urgent...pleAse help me.....please!
urgent...pleAse help me.....please!  please help me urgent! how can i do dictionary with the use of array code in java, where i will type the word then the corresponding meaning for that word will appear...thanks 

JSP Servlet Questions

JSP code - JSP-Servlet
JSP code  hi i want to clear text box fields after click on submit button (after the value get stored). how can i do that . plz help me out. thanking u......... This is what my code is. Jam Name 

JSP Servlet Questions

JSP Code - JSP-Servlet
JSP Code  Hi, Do we have a datagrid equivalent concept in JSP? If so, then please help me to find the solution of the problem. Its Urgent..., Please visit the following links: http://www.roseindia.net/jsp/data-grid.shtml 

Java Beginners

plz help me - Java Beginners
plz help me  deepak hw can i create a data grid in jsp and also how can i connect to the data base plz help me  to create data grid in jsp use html tables with borders. to connect to data base use scriptlets. ex 

JSP Servlet Questions

JSP code - JSP-Servlet
me how to link these pages with each other using JSP..and how to write the code... requirements i already define bean class...plz send me urgent help i very thankful to u...JSP code  hello,i working in project with JSP technology,i have one 

Java Beginners

Help me please!!! - Java Beginners
Help me please!!!  im badly needing the complete code for this project in java!!! can you please help me???!!! it is about 1-dimensional array... the answers 8Hours from now!!! Kindly help me!! please!!please!!! NOTE 

Ajax Questions

ajax code please help to solve this........
ajax code please help to solve this.  in this i am trying to get data... null; } please help me when i am running this it show an error...="tiles" %> <jsp:directive.page import="p.form.BirthForm"/> < 

JavaScript Questions

help me in disabling checked checkboxes
help me in disabling checked checkboxes  <%@ page language="java... as enabled. I have stuck this problem from last 2 days....so please, help me out...[]'); Tha above code is running.....but i want some modification 

Java Beginners

please help me - Java Beginners
please help me   I have some error in this programe //write acomputer programe using java to generate following series : //output: //1,2,3,0... have done modification in your code and here is the code according to the series 

Java Beginners

Could someone Possibly help me with this
Could someone Possibly help me with this   think of a number and allow the user to guess it import java.util.*; public class ThinkNumber...(); } System.out.println("Correct!!!!!!!"); } } But when the code is run I do 

JDBC Questions

SQLException:Column not found? (help me:(
SQLException:Column not found? (help me:(  import javax.swing.... FlowLayout()); lblCode=new JLabel("Stock Code:"); lblName=new..._Code=txtCode.getText(); String Stock_Name = txtName.getText 

Java Beginners

help
running it, it tells me:- Exception in thread "main...!  We have modified your code. The character you want to display in the printf method is actually invalid.Therefore error occurs. Anyways, check your code 

Java Interview Questions

help
based on the percentage of cheating. please help me... other for me before Tuseday I answer the first part please continue to me... for the above. You must submit the source code to your teacher by printing the programs 

Java Beginners

please any one can help me to write a code for this question?
please any one can help me to write a code for this question?  1) Copy one file content to other? 2) Count the number of words in a file 

JSP Servlet Questions

JSP Code - JSP-Servlet
to display only 10 records per pages in jsp, then how can i achieve this concept. Please help me to find the solution. Its really urgent. Regards Vinay Kumar...JSP Code  Hi, I have a problem in limiting the number of row 

Java Beginners

please any one can help me to write a code for this question?
please any one can help me to write a code for this question?  Q 1) In a class first day 25 students are joined. After two days that total students will increased to 60. We can develop a program by using ArrayList concept 

Java Beginners

Please help me to write a code for add contacts to groups in a website?
Please help me to write a code for add contacts to groups in a website?   Iam developing a site. In that site I need to write code for Groups... send a code for this? Please make it fast 

IDE Questions

help me
help me  i have done as u directed but nothing happens gud to me..... . i am using netbeans is that matter at all help me and take me out from trouble where to store jfree api to use it for j2ee based project 

Java Beginners

Pleae help me to give logic and code for this program - Java Beginners
Pleae help me to give logic and code for this program  Write a function that given the string ?original? create a new string ?dramatic? that has two consecutive copies of each letter from the original string. For example 

IDE Questions

help me
help me  MY GLASSFISH SERVER NOT START PROPERLY help me warning shows DPL5404:Specification-Version for the optional package [ GNUJAXP ] in the jarfile [ C:\Program Files\Java\jdk1.7.0_02\jre\lib\ext\gnujaxp.jar 

Ajax Questions

help me
help me  hi sir pls tell me how to use ajax form validatin from very simple way with two ot three text field pls help me use ajax in php my email id is:- rohit11tripathi@gmail.com pls sir give me some vasic information i know 

HTML Questions

help me..
help me..   what are the component needed by grid computing, cloud computing and ubiquitous computing? discuss about the security of above computing. difference between that 3 computing 

Development process Questions

Help me
Help me  Hi, LWUIT is working in eclipse j2me for Symbian OS 

Java Beginners

help me..
help me..  Write a program that inputs four words and them displays all possible permutations of the words. So, for example, if the words mad, dog, bites and man are entered, then the following are output : man bites mad dog mad 

Java Beginners

help me...
help me...  Write a program that inputs four words and them displays all possible permutations of the words. So, for example, if the words mad, dog, bites and man are entered, then the following are output : man bites mad dog 

JSP Interview Questions

help me
button, and nationality I'm using dropdown list. Please help me. your kindness...help me  Hi I'm loges. I'm doing my final year project now, I have some problem in my project and i need some help on it. NowI'm doing a site 

JSP Servlet Questions

jsp help
with it. so that my project can run independently in any server. plz help me. am so...jsp help  Hi i am doing my project in jsp.using netbeans 6 and mysql 5.0. and i managed to complete it. and now its submission time. but am confused 

Java Interview Questions

help me
help me  how to print from a-z, A-Z with exact order using for loop? Thanks for all concern 

Java Beginners

Need a JSP CODE
Need a JSP CODE  *Hi I need JSP source code for selling products which are in database.. please can any one help me ..URGENT* Thank You 

Java Beginners

help me...
help me...  there is the picture given - cat - dog - rabbit - mouse a. create a class name b. create its attributes (at least 3 attributes) : species, size, leg c. create its methods ( at least 3 methods) : walk, eat, sleep 

RMI Questions

very urgent : Iam unable to code this program plz help me - RMI
very urgent : Iam unable to code this program plz help me  Write a Multi-user chat server and client.  Hi friend, Chat server is a standlone application that is made up the combination of two-application, server 

Java Beginners

pls send me the code for login and register - Java Beginners
pls send me the code for login and register  pls immediately send me the jsp code for login and registration with validation with java bean in mysql database...  Hi friend, This login action code 

Java Beginners

help me
help me 

Java Beginners

help me..
help me..  Design and write a class named Person and its two subclasses named Student and Employee. Make Lecturer and Admin subclasses of Employee. A person has a name, address, phone number and email address. A student has 

JSP Servlet Questions

jsp code problem - JSP-Servlet
jsp code problem  Hi, I have employee details form in jsp. After... have a problem with open the next form. plz, help me. thanks,  Hi friend, Please give me detail and send me error code page. Please 

Java Beginners

help me
help me  I have a quastion a bout array whic is>>> 1-write aprogram to diplay a multiplication table for 1to 10 by entering the start number and the end number. EXAMPLE: ENTER START NUMBER:1 ENTER END NUMBER:3 

JDBC Questions

Help me
Help me  hello!!!!. i have a Excel file which includes 4 columns and somewhat 8500 rows.these rows i have printed in SQL thru Excel file and i have 1 MYSql database which includes all those 4 fields i have defined in excel file 

JavaScript Questions

this is my javascript code and i am not understanding the mistake in this,please help me?
this is my javascript code and i am not understanding the mistake in this,please help me?  <html> <h2>Form Validation</h2> <script language = "Javascript"> function checkEmail 

Java Beginners

help me
help me  Create a GUI application that allows a user to select a text file (using the JFileChooser). The program will then allow the user to do the following operations (selection of these operations must be made by clicking 

Java Beginners

Help me on database connectivity in J2ME - Java Beginners
Help me on database connectivity in J2ME  i want help in J2ME. i want code for database connection with MySQL. spcl to fecth and insert data from databse. please help me 

Advertisements Advertisements
 

 

 

DMCA.com