Comment

ef
error,
May 21, 2009 at 1:24 PM

when i try to run this code at local host the error appear..Why this error appear?

org.apache.jasper.JasperException: String index out of range: -41011
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause

java.lang.StringIndexOutOfBoundsException: String index out of range: -41011
java.lang.String.substring(Unknown Source)


View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Development process Questions

Fileupload in servlet
Fileupload in servlet  If we upload a file using servlet can it possible to put the uploaded file in any locationof the syatem(in D drive or in C... !"); } else{ System.out.println("Error!"); } } catch(Exception e 

JSP Servlet Questions

FileUpload and Download
FileUpload and Download  Hello sir/madam, I need a simple code for File upload and Download in jsp using sql server,that uploaded file should be store in database with its content and also while downloading it should 

JDBC Questions

fileupload - JDBC
fileupload  HI I want help,I wrote the code for file upload inserting the file when retriving that file getting error please reply if any body knows 

JDBC Questions

fileupload - JDBC
fileupload  HI I want help,I wrote the code for file upload inserting the file when retriving that file getting error please reply if any body knows 

Struts Questions

FileUpload
 

Java Beginners

java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory Maven
java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory Maven  Hi, I am getting following error while running a maven based project: [INFO] Initializing Spring FrameworkServlet 'dispatcher' [ERROR] failed 

Java Beginners

java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory Maven
java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactory Maven  Hi, I am getting following error while running a maven based project: [INFO] Initializing Spring FrameworkServlet 'dispatcher' [ERROR] failed 

Development process Questions

Fileupload from source path to destination path
Fileupload from source path to destination path  first we will create one .doc file and .rtf file in one location statically.In html we will give... successfully !"); } else{ System.out.println("Error!"); } } catch(Exception e 

JSP Servlet Questions

JSP error
JSP error  what is difference between global-exception and error-page in jsp. which condition they are use 

JSP Interview Questions

FileUpload and Download
FileUpload and Download  Hello Sir/Madam, I have used the below coding for Upload and download file, but it is not stored in database and also it s not download the file with its content... just it download doc with 0 Bytes 

JSP Interview Questions

FileUpload and Download
FileUpload and Download  Hello Sir/Madam, I have used the below coding for Upload and download file, but it is not stored in database and also it s not download the file with its content... just it download doc with 0 Bytes 

JSP Interview Questions

FileUpload and Download
FileUpload and Download  Hello Sir/Madam, I have used the below coding for Upload and download file, but it is not stored in database and also it s not download the file with its content... just it download doc with 0 Bytes 

JSP Interview Questions

FileUpload and Download
FileUpload and Download  Hello Sir/Madam, I have used the below coding for Upload and download file, but it is not stored in database and also it s not download the file with its content... just it download doc with 0 Bytes 

JSP Interview Questions

FileUpload and Download
FileUpload and Download  Hello Sir/Madam, I have used the below coding for Upload and download file, but it is not stored in database and also it s not download the file with its content... just it download doc with 0 Bytes 

Java Beginners

jsp error
jsp error  <p>hi, could please help whenever i run jsp file in my eclipse i got this error.my jsp file is</p> &lt;%@ page language... encountered an internal error () that prevented it from fulfilling this request 

JSP Servlet Questions

jsp error - JSP-Servlet
jsp error  HTTP Status 404 - /jsp... message /jsp/ description The requested resource (/jsp/) is not available..., The 404 or Not Found error message is an HTTP standard response code indicating 

JSP Servlet Questions

JSP Error - JSP-Servlet
JSP Error  When i am running my registration.jsp getting following error. HTTP Status 500... description The server encountered an internal error () that prevented it from fulfilling 

JSP Servlet Questions

Error 500-Server are not find the jar file in the program of upload the file - JSP-Servlet
Error 500-Server are not find the jar file in the program of upload the file  Hello Sir, your response: Hi friend, The 500 Internal Server Error is a "server-side" error, meaning the problem is not with your PC or Internet 

JSP Servlet Questions

jsp error - JSP-Servlet
jsp error  Hello, my name is sreedhar. i wrote a jsp application to generate a report from oracledata base and the report should display in Ms-excel... in detail. Visit for more information. http://www.roseindia.net/jsp/ Thanks 

JSP Servlet Questions

jsp error - JSP-Servlet
jsp error  how to remove below error:: exception org.apache.jasper.JasperException: java.lang.NullPointerException root cause...... newpo.jsp:   JSP Page 

JSP Servlet Questions

jsp error - JSP-Servlet
jsp error  To Upload and insert the file into oracle Database with Current Date and Time In JSP and my project is online library management system plz help how to store some books in particular folder and after how retrive 

JSP Servlet Questions

JSP Translation error - JSP-Servlet
JSP Translation error  Hello friends, In a new file declared first variable shows the following error. ----------------------------------------------- An error occurred at line: 2 in the jsp file: /stud 

JSP Servlet Questions

JScript error - JSP-Servlet
JScript error  Hello friends, I am doing jsp... logins while updating profile it will not show any error. But, in many logins it shows error as unterminated string. I am not able 

JSP Servlet Questions

Servlet Error - JSP-Servlet
/lib folder if database is mysql. servlet-api.jar jsp-api.jar mysql-connector.... Error showing ==>Admin/FirstServlet is not a servlet Sincerely Prakash   Hi prakash servlet-api.jar jsp-api.jar mysql-connector 

JSP Servlet Questions

JSP error page - JSP-Servlet
JSP error page  Hi i have 1000 of JSP. but we coded it without adding... the exception occured in JSP. is there any short cut i can do? do not want to add this line.../DAO/bean layer and not in the JSP. let me know if you have any idea. Thanks 

JSP-Tutorials

JSP Error 500
JSP Error 500          JSP Error 500 is to generate error status 500 in jsp.  The Error 500 occurred when the server encounter an internal error 

JDBC Questions

jsp error - JDBC
jsp error   in this code the else part is nt executing atall... of that a error is like-----------"java.sql.SQLException: [Microsoft][ODBC Driver Manager... the line is not getting incremented u r getting that error just do this change 

JSP Servlet Questions

jsp runtime error - JSP-Servlet
jsp runtime error  sir, when i am running ur prog... from this website.... http://www.roseindia.net/jsp/poi/readingWriting.shtml i did the same as per guidelines...but i got error..!!!! org.apache.jasper.JasperException 

JSP Servlet Questions

Tomcat error - JSP-Servlet
the error :-this is non microsoft product please see event log . what might be the reason of such error  HI, Can you paste the error log here.We 

JSP Servlet Questions

Script error - JSP-Servlet
running this it shows an error as "STACK OVERFLOW". Correct the code . The code... then send me jsp code. Thanks 

JDBC Questions

JSP SQL Error
JSP SQL Error  Hi While trying to execute the below code i'm getting the following error "java.sql.SQLException: Io exception: Got minus one from a read call ". please help me out. <% try{ String Username 

JSP Servlet Questions

jsp-servelet,error http404
jsp-servelet,error http404  I am using mysql commandclient to connect with eclipse using jsp and servelet. I keep getting the error hhtp 404. Register.jsp Name:<input type="text" name="userName"/>< 

Development process Questions

JSF-fileupload-ajax - Development process
JSF-fileupload-ajax   for the above code , iam able to bind the contractname & contractNo but i am unable to bind the upload property in the bean it is giving null value 

JSP Servlet Questions

Programming Error - JSP-Servlet
(""); } catch(SQLException se) { out.println("Database Error :"+se.getMessage()); } catch(Exception e) { out.println("General Error :"+e.getMessage... ServletException,IOException {doPost(req,res);} } There is some error 

JSP Servlet Questions

output error - JSP-Servlet
output error  /*hi friends, the given below is my servlet program error? How can i solve this problem? */ HTTP Status 500... report message description The server encountered an internal error 

Development process Questions

Jsp Error - Development process
Jsp Error  Hi, While executing Add_Data.jsp , am getting following error. "Data type mismatch in criteria expression." "View_Data.jsp...) at jsp_servlet.__add_data._jspService(__add_data.java:146 

JSP Servlet Questions

error message - JSP-Servlet
error message  hi, friends after complete my servlet programe i can type http://localhost:8080 on the browser. the servlet program is insert data into dbms. but i have errormessage that is "window can not access the specified 

Programming Tutorials

JSP Error Page
JSP Error Page          JSP Error Page is used to specify the custom... directive. The page errorPage.jsp shows the error generated in calling the JSP page 

Hibernate Questions

jsp-Hibernate Error - Hibernate
jsp-Hibernate Error  hi, my problem is, I designed an Interface where i am tring to listing the all rows of a table using Iterator and putted a link for deleting each row. I am deleteing row using row id of that record.it delete 

JSP Servlet Questions

jsp code error - JSP-Servlet
jsp code error  hello, is anyone here who can solve my problem. what happen experts where r u? r u not able to do 

JSP Servlet Questions

jsp code error - JSP-Servlet
jsp code error  hello, is anyone here who can solve my problem. what happen experts where r u? or u r not able to do 

JSP Servlet Questions

Programming Error - JSP-Servlet
(); } } }//End of class m geeting error in this can u please tell me whats the error nd how to solve 

JSP Servlet Questions

Error output - JSP-Servlet
Error output  Can anyone please assist me; The printed output should be: The product is 10. But instead of it I got; The product is undefined. Can anyone trace what went wrong of my code pls 

JSP Servlet Questions

Programming Error - JSP-Servlet
integer.parseInt but its giving error. Please Reply me . Thank you 

JSP Servlet Questions

Programming Error - JSP-Servlet
is access). Then how to do this in jsp?? Please Reply me?? Please do Reply 

JSP Servlet Questions

code error - JSP-Servlet
is error in this progrm. ss function describe() { window.status 

JSP Servlet Questions

Programming Error - JSP-Servlet
??? And when i tried its giving me error than cannot find variable.In 

JSP Servlet Questions

jsp code error - JSP-Servlet
jsp code error  I have a jsp page named "tMastDepartment".which has some table row containing text box like 'project code','Departmentcode','employee_id', 'address', and 'city' and a one dropdown list which contains department 

JSP Servlet Questions

Programming Error - JSP-Servlet
statement in jsp i want to calculate the price of placing ad according to user 

JSP Servlet Questions

Programming Error - JSP-Servlet
("http://localhost:8080/examples/jsp/modify.jsp?filename="+filename 

Development process Questions

Jsp Error - Development process
Jsp Error  Hi, While executing following code "View_Service.jsp" , am getting Internal Server Error java.sql.SQLException: [Microsoft][ODBC...(JdbcOdbcStatement.java:288) at jsp_servlet.__add_data._jspService(__add_data.java:146 

JSP Servlet Questions

Proogramming Error - JSP-Servlet
,BankName shoukd get validated but i tried its getting error sir can u please tell me 

JSP Servlet Questions

SQL error - JSP-Servlet
){ System.out.println("Error occured while updating!!!"); } con.close 

JSP Servlet Questions

Programming error - JSP-Servlet
"); } catch(SQLException se) { out.println("Database Error :"+se.getMessage()); } catch(Exception e) { out.println("General Error :"+e.getMessage()); } %> 

JSP Servlet Questions

Programming Error - JSP-Servlet
Programming Error  How to validate login page using jsp where it checks for username whether it is empty or not or is it including number or not if it is the paste alert message.   Hi Friend, Try the following 

JSP Servlet Questions

jsp-Hibernate Error - JSP-Servlet
jsp-Hibernate Error  hi, my problem is, I designed an Interface where i am tring to listing the all rows of a table using Iterator and putted a link for deleting each row. I am deleteing row using row id of that record.it delete 

JSP Servlet Questions

insertion error - JSP-Servlet
insertion error  my first jsp page : In this i m getting all the values through a method called getAllDetails,the values are getting inserted... into table. below is the codeof jsp and java pages; function 

JSP Servlet Questions

Programming error - JSP-Servlet
Programming error  Actually there is an error in placeorder.jsp file where there are 5 fields OrderNo ,Name , Address, Email, PhoneNo where if I delete an order of client based on orderno then suppose in database if there are 5 

JSP Servlet Questions

Programming Error - JSP-Servlet
in jsp. when user types some thing in draft ad textarea then it should get 

Development process Questions

Error in Jsp - Development process
Error in Jsp  Hi Friends, For the following code when i include src in script Sub-Combo box is not working . but if i remove src then it will work. Add Data var arr = new Array(); arr["Select"] = new Array 

JSP Servlet Questions

Programming error - JSP-Servlet
where if @ is not given or (dot). is not given etc then it should display error 

JSP Servlet Questions

JSP Page Error
JSP Page Error  Hello Sir. I m using Oracle 10g as a database n tomcat server DSN name : NB Username NB Password EBS Table name consumer When i run jsp page on the browser it only shows the code nothing else.. I have 

JSP Servlet Questions

JSP Page Error
JSP Page Error  Hello Sir. I m using Oracle 10g as a database n tomcat server DSN name : NB Username NB Password EBS Table name consumer When i run jsp page on the browser it only shows the code nothing else.. I have 

JSP Servlet Questions

JSP Page Error
JSP Page Error  Hello Sir. I m using Oracle 10g as a database n tomcat server DSN name : NB Username NB Password EBS Table name consumer When i run jsp page on the browser it only shows the code nothing else.. I have 

JSP Servlet Questions

Programming Error - JSP-Servlet
 

JSP Servlet Questions

Programming error - JSP-Servlet
 

JSP Servlet Questions

Programming Error - JSP-Servlet
 

JSP Servlet Questions

Programming error - JSP-Servlet
 

JSP Servlet Questions

Programming Error - JSP-Servlet
 

JSP Servlet Questions

Programming error - JSP-Servlet
 

JSP Servlet Questions

Programming Error - JSP-Servlet
 

JSP Servlet Questions

Prog Error - JSP-Servlet
 

JSP Servlet Questions

Programming error - JSP-Servlet
 

JSP Servlet Questions

Programming Error - JSP-Servlet
 

JSP Servlet Questions

Programming Error - JSP-Servlet
 

JSP Servlet Questions

programming error - JSP-Servlet
 

JSP Servlet Questions

compilation error - JSP-Servlet
 

JSP Servlet Questions

servlet error - JSP-Servlet
 

JSP Servlet Questions

Programming Error - JSP-Servlet
 

JSP Servlet Questions

Programming Error - JSP-Servlet
 

JSP Servlet Questions

JSF error - JSP-Servlet
 

JSP Servlet Questions

Programming Error - JSP-Servlet
 

JSP Servlet Questions

Programming Error - JSP-Servlet
 

JSP Servlet Questions

Java compilation error - JSP-Servlet
*; ^ An error occurred at line: 18 in the jsp file: /employee_upload_profile...); ^ An error occurred at line: 18 in the jsp file...(); ^ An error occurred at line: 18 in the jsp file: /employee_upload 

JSP Servlet Questions

Error in loading jsp file - JSP-Servlet
Error in loading jsp file  I did as u have said. I copied iitem.jsp in webapps\examples\jsp and item.java in webapps\examples\WEB-INF\classes\form...:8080/webapps/examples/jsp/iitem.jsp In both cases,it is giving the following error 

JSP Servlet Questions

error at the oracle programm with jsp - JSP-Servlet
error at the oracle programm with jsp  an error occured at myodbc:jdbc:missig comma 

JSP Servlet Questions

file upload error - JSP-Servlet
://www.roseindia.net/jsp/file_upload/employee_upload_profile_image.shtml... error as following: javax.servlet.ServletException... ----------------------------------------------------------------------------- This error occured 

Development process Questions

Jsp error when i run this a jsp file
Jsp error when i run this a jsp file  hi I got this error when i run the jsp file in IDE and outside also please help me java.lang.NullPointerException org.apache.jsp.insertjsp.jspInit(insert_jsp.java:22 

JSP Servlet Questions

javascript programing error - JSP-Servlet
javascript programing error  hi deepak i m using explorer to run javascript program in this there is no option to check error will u plz tell me the way to check error in explorer as we can check with mozila 

JSP Servlet Questions

file upload error - JSP-Servlet
file upload error  Iam doing jsp project. File uploading is one part of the project. In this particular part i got an error... by multipart/Form-data encrypted form. And this error occurred in the processing 

JSP Servlet Questions

file upload error - JSP-Servlet
file upload error  Iam doing jsp project. File uploading is one part of the project. In this particular part i got an error... by multipart/Form-data encrypted form. And this error occurred in the processing 

JSP Tutorials

Error page in JSP
Error page in JSP In this section we will discuss about "Error page... the JSP page a runtime error may occur inside the page or outside the page. JSP... in the directive in the originating JSP page by setting error page parameter like 

Java Beginners

Showing Error for Prepared stmt in a jsp
Showing Error for Prepared stmt in a jsp  i hav a task to connect jsp... org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred...=pstmt.executeUpdate(); 31: %> An error occurred at line: 29 in the jsp file 

Java Beginners

Showing Error for Prepared stmt in a jsp
Showing Error for Prepared stmt in a jsp  i hav a task to connect jsp... org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred...=pstmt.executeUpdate(); 31: %> An error occurred at line: 29 in the jsp file 

Development process Questions

Dynamin Jfree chart in jsp---error
error details. Have a look at the following link: http://www.roseindia.net/jsp...Dynamin Jfree chart in jsp---error   While compiling this CODE...("Problem in creating chart."); } %> Generated error: < 

JSP Servlet Questions

Error in servlets
Error in servlets  I cant execute my servlet or jsp programs. Im getting an error resource not found. I am using tomcat 6.0. I have set the path and class path correctly. My code is also correct. I have done everything but i 

JSP Servlet Questions

Location finding error - JSP-Servlet
file uploading program has an error. It requires the location should be given from... the error as file not found. Below is the coding.The problem line is marked... information from JSP Request Header String contentType = request.getContentType 

JSP Servlet Questions

javax servlet error - JSP-Servlet
getting the error below, when im trying to enter my web page.. Please help me...: Servlet.init() for servlet jsp threw exception...: javax/servlet/jsp/JspFactory (Unsupported major.minor version 49.0 

JSP Tutorials

Error testing in JSP
Error testing in JSP       This section illustrates you about the error testing in jsp. In JSP, you..." %>. The JSP page where the exception can occur specifies the error page name 

JSP Servlet Questions

java Compilation error:jsp code - JSP-Servlet
java Compilation error:jsp code   I am getting an Generated Servlet error: String literal is not properly closed by a double-quote. here is my... action='/Employee_App1/add1.jsp' >"); out.println("<TABLE border='3 

Advertisements Advertisements
 

 

 

DMCA.com