Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa JSP-Servlet plaz help me i try to compile from last 2 day .

Have Programming Question? Ask it here!
 
 
 


rajubenakan
plaz help me i try to compile from last 2 day .
0 Answer(s)      2 years ago
Posted in : JSP-Servlet


org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 34 in the jsp file: /saveUpdate.jsp name cannot be resolved to a variable 31: { 32: sqlUpdateRecord="update acc set name=?, DOB=?,Address=?,Mobileno=?,Vehicleno=?,deaths=?,location=?,status=? where slno="+slno; 33: psUpdateRecord=conn.prepareStatement(sqlUpdateRecord); 34: psUpdateRecord.setString(1,name); 35: psUpdateRecord.setString(2,DOB); 36: psUpdateRecord.setString(3,Address); 37: psUpdateRecord.setString(4,Mobileno);

An error occurred at line: 37 in the jsp file: /saveUpdate.jsp Mobileno cannot be resolved to a variable 34: psUpdateRecord.setString(1,name); 35: psUpdateRecord.setString(2,DOB); 36: psUpdateRecord.setString(3,Address); 37: psUpdateRecord.setString(4,Mobileno); 38: psUpdateRecord.setString(5,vehicleno); 39: psUpdateRecord.setString(6,deaths); 40: psUpdateRecord.setString(7,location);

An error occurred at line: 38 in the jsp file: /saveUpdate.jsp vehicleno cannot be resolved to a variable 35: psUpdateRecord.setString(2,DOB); 36: psUpdateRecord.setString(3,Address); 37: psUpdateRecord.setString(4,Mobileno); 38: psUpdateRecord.setString(5,vehicleno); 39: psUpdateRecord.setString(6,deaths); 40: psUpdateRecord.setString(7,location); 41: psUpdateRecord.setString(8,status);

Stacktrace: org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:331) org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:457) org.apache.jasper.compiler.Compiler.compile(Compiler.java:378) org.apache.jasper.compiler.Compiler.compile(Compiler.java:353) org.apache.jasper.compiler.Compiler.compile(Compiler.java:340) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:646) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334) javax.servlet.http.HttpServlet.service(HttpServlet.java:722)


Advertisement
View Answers

Related Tutorials/Questions & Answers:
plaz help me i try to compile from last 2 day .
plaz help me i try to compile from last 2 day .   org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 34 in the jsp file: /saveUpdate.jsp name cannot be resolved to a variable 31
plaz help me i try to compile from last 2 day .
plaz help me i try to compile from last 2 day .   org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 34 in the jsp file: /saveUpdate.jsp name cannot be resolved to a variable 31
Advertisements
Mysql last day of month
Mysql last day of month       The Tutorial illustrate an example from 'Mysql Last Day of Month'. To  understand and grasp the example we run LAST_DAY
help me 2
help me 2  write java program to enter five numbers and will determine the location of the number sample output: ENTER 5 NUMBERS: 1 2 3 4...]; System.out.println("Enter Array Elements: "); for(int i=0;i<
Mysql last day of month
an example from Mysql Last Day of Month. To understand the example we use... Mysql last day of month       Mysql Last Day of Month is useful to provide you the last
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
Get Last Day of The Month
Get Last Day of The Month     ... a code that helps you in getting the last day of the month. For this we have.... The println print the Max Day  from the int variable max day of max day of month
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
i need latest oracle certified java dumps.. Pleas help me?
i need latest oracle certified java dumps.. Pleas help me?  i need latest oracle certified java dumps.. Pleas help me
sir i,have a assignment for these question plz help me sir - JavaMail
sir i,have a assignment for these question plz help me sir  ...; Hi Friend, Try the following codes: 1)ADT Stack: import... { int arr[] = new int[n]; int top = -1; public void push() { try
hi i m new to hibernate..plzzzzzzzzzzzzzz help me.... - Hibernate
hi i m new to hibernate..plzzzzzzzzzzzzzz help me....  hi friends i m......... plzzzzzzzzzzzzzzz help me whats the problem... its showing me //************Error... change my query ... now its showing me this error... plz help me..... MY PRG
i have a problem to do this question...pls help me..
i have a problem to do this question...pls help me..  Write a program....   Hi Friend, Try this: import java.util.*; public class ReverseNumber... reversedNumber = 0; for (int i = 0; i <= num; i
help me..
help me..  Design and write a class named Person and its two... a matric number and status (year 1, year 2 or year 3). An employee has a department..., month and day. A lecturer has a rank (Lecturer, Senior Lecturer, Associate
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>...("Please Enter your Last Name!") nn2.focus(); return
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
inheritance....please help me friends...!!!... this is important project that i have to do it..
inheritance....please help me friends...!!!... this is important project that i have to do it..   Point ................. #x : int #y : int + Point() + Point(xCoordinate:int, YCoordinate:int) + getX() : int + getY() : int
how to find last day 0f any given month in mysql?
how to find last day 0f any given month in mysql?  how to find last day of any given month in mysql?   Hi Friend, Here is required code: DECLARE @dtDate DATETIME SET @dtDate = '8/18/2007' SELECT DATEADD(s,-1,DATEADD
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
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... help me to convert it into Java. if (request.getParameter("orders") != null... same, as they alter it before. Please help me on this topic "how to order rows
compile this program and let me know the resolution
+" is greater than "+i); } } please compile and let me know the resolution  ...compile this program and let me know the resolution  class Maxof2... argument. //Converting String format to Integer value int i = Integer.parseInt
I really need help with this assignment question Please help me out Please
I really need help with this assignment question Please help me out Please  * Description* You are hired to develop a laptop inventory information...??First Nameâ??, â??Last Nameâ??, and â??Laptop Modelâ?
help me
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... button, and nationality I'm using dropdown list. Please help me. your kindness
help me
, one checked out , the customer is removed from the line. in addition, i want... help me
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... the result will be 1 2 3 4 5 6 7 8 9 10 2 4 6 8 10 12 14 16 18 20 3 6 9 12 15 18 21 24
Please help me to modify my java code from php code
Modify Java code from PHP Code  i want to covert this php code int...]; } } 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
help me...
help me...  there is the picture given - cat - dog - rabbit - mouse... create the objects from the class based on the picture given. create a statement to print the output from each object based on methods created in the class
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
Help me
Help me  HI I am using Tomcat6.0 this is the problem i got wen i run... bgcolor="white"> <h1> I have been invoked by &lt;% out.print...) throws ServletException, IOException { try
I want Mini Java Project for Student Admission System. actually i want 2 know how 2 start this...please show me my way.....
I want Mini Java Project for Student Admission System. actually i want 2 know how 2 start this...please show me my way.....  I want Mini Java Project for Student Admission System. actually i want 2 know how 2 start this...please
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
help me
help me  how to print from a-z, A-Z with exact order using for loop? Thanks for all concern
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
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
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...&gt; I have been invoked by &amp;lt;% out.print(request.getAttribute
help me
appropriate buttons or selecting from menu): 1) display the contents of the file 2...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
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
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
help me
help me  Dear sir/medam i would like to know how to use the java... 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
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
Help me
Help me  Hi, LWUIT is working in eclipse j2me for Symbian OS
How do I compile the registration form?
How do I compile the registration form?  How do I compile the registration form as stated at the bottom of the following page (URL is below). Do I need ANT? If so, please give instructions. I am a student. http
Help Me
Help Me  What is the source code for Sample example for Mortgage Calculator in J2ME language for developing Symbian
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
please help me solve this problem when i am create database connection using servlecontext
please help me solve this problem when i am create database connection using servlecontext  hi... I have create a database connection using servletcontext . in this code when i login first time it will exceute sucessfully
I have only one day to visit the Jaipur..
I have only one day to visit the Jaipur..  Hi, I have only a day to travel in Jaipur ..hence, bit worried about what to see first
Example to compile a java file with the help of the program
Example to compile a java file with the help of the program... are describing you the way to compile the java file with the help of the java program. The steps involved for compiling the java file from the program are described
i got an error while compile this program manually.
i got an error while compile this program manually.  import... mapping.findForward("errors.jsp"); } } i set both servlet,struts jar files and i got an error in saveErrors() error Heading cannot find
sir i,have a another assignment for these question plz help me sir - JavaMail
sir i,have a another assignment for these question plz help me sir  ... to both. plz help me sir... if it reads a Dollar, while leave the value as it is if it reads a Rupee. 2. Design
sir i want small project with of health care system with struts and hibernate plz help me
sir i want small project with of health care system with struts and hibernate plz help me  sir i want small project on health care system with struts and hibernate plz help me
help regarding creation of last year project
help regarding creation of last year project  i dont know whether i picked up the right category or not. actually m a last year bsc it student. i... to this topic like what DB i require or what to do .....plz help
 

 

 

DMCA.com