Comment on Tutorial - Uploading a file to a server using JSP By Ramesh Kumar Swarnkar



Comment Added by : Tarun

Comment Added at : 2013-02-17 03:13:21

Comment on Tutorial : Uploading a file to a server using JSP By Ramesh Kumar Swarnkar
hi,
thier is an error coming with me when i am uploading file as that
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source)
at java.lang.String.substring(Unknown Source)
at org.apache.jsp.upload_005fread_005ffile_jsp._jspService(upload_005fread_005ffile_jsp.java:79)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
can u suggest me out of this..


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. hello, that was very useful
but i have a by

View Tutorial          By: echo at 2011-04-05 11:50:41

2. Hi All,

This code is working fine i

View Tutorial          By: A.Balaji at 2010-09-27 04:40:38

3. This code worked but it only add the same vales se
View Tutorial          By: Dammy Temmy at 2013-01-17 17:22:17

4. please try to elaborate the explanation with examp
View Tutorial          By: bhavitha at 2014-02-21 06:09:12

5. Simply explained theory.......
Thanx......!

View Tutorial          By: Priya at 2013-03-03 14:42:05

6. package com.anand;

import java.sql.

View Tutorial          By: Anand at 2012-11-12 00:00:07

7. its cool, you've cleared me.
View Tutorial          By: zealous at 2013-09-10 17:40:26

8. Hi every one. I am working on my project in j2me a
View Tutorial          By: wazir at 2010-11-26 08:27:43

9. This example is working fine....I think BillGates
View Tutorial          By: Monoj Rath at 2010-07-15 01:27:51

10. This article is very clear,short and direct to the
View Tutorial          By: N JIBRIN at 2007-03-15 11:48:26