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: {
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)
View Answers
Ads
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
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
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
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
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
How do I learn Java programming in one day from zero?
How do
I learn Java programming in one
day from zero? Hi,
I am.... Is there any way of really learning Java in one
day?
How do
I learn Java programming in one
day from zero?
I am aware of C and C++ programming language.
I have used
How do I learn Java programming in one day from zero?
How do
I learn Java programming in one
day from zero? Hi,
I am.... Is there any way of really learning Java in one
day?
How do
I learn Java programming in one
day from zero?
I am aware of C and C++ programming language.
I have used
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
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
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
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
, one checked out , the customer is removed
from the line.
in addition,
i want...
help me
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'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
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
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