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. Hi...Really nice post..But i got the error like
View Tutorial          By: Nithya at 2013-04-11 09:37:50

2. nice one
View Tutorial          By: dhusor at 2012-05-08 17:38:50

3. i want the database connectivity for telephone bil
View Tutorial          By: rohan at 2015-04-05 05:01:46

4. simply super...every one can understand
View Tutorial          By: prashanth at 2013-03-10 12:20:25

5. hi,
my problem is.......
i use vb.ne

View Tutorial          By: Anirban at 2009-10-25 10:15:13

6. hi , sending of sms is failing. Please help me in
View Tutorial          By: sudhakar at 2009-06-19 09:39:55

7. the default construrctor does not give the defalut
View Tutorial          By: muhammad abdullah at 2011-04-11 13:16:20

8. how doeas peek work in a c++ program
View Tutorial          By: odwa at 2008-02-29 02:44:19

9. Excellent information reg the scopes of jsp , plea
View Tutorial          By: venkateshwarreddy suravaram at 2012-01-09 08:34:23

10. sir i want how to write record into file and readi
View Tutorial          By: danny at 2011-12-23 16:30:26