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 .
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


rajubenakan
plaz help me i try to compile from last 2 day .
0 Answer(s)      2 years and 3 months 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
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
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
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
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..  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
Hii i want a JMS application can anybody help me
Hii i want a JMS application can anybody help me  jms application
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
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
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â?
I need help on my Java code.... please please help me out!?
I need help on my Java code.... please please help me out!?  Well my... the anagram on screen or the output file! Please show me whats wrong. Thanks i...(); File inFile = new File(fileName); try{ readFile = new Scanner
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
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  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
 

 

 

DMCA.com