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. superb...thanks :-)
View Tutorial          By: sunny at 2010-11-10 07:20:25

2. i have to learn java
View Tutorial          By: md arif alam at 2013-04-15 18:30:27

3. in statment -
new Treeset<String> (ne

View Tutorial          By: Siddhesh Khedekar at 2009-10-27 00:14:17

4. very nice program but more info require
View Tutorial          By: pradeep at 2010-07-15 01:11:37

5. Actually, looking at the code, it looks as somethi
View Tutorial          By: Johnson at 2009-07-28 08:14:38

6. why can't we download & install keybasic on ph
View Tutorial          By: jimoh abiodun at 2013-04-14 13:06:18

7. really helpfull and gets all the stuff what u want
View Tutorial          By: yash at 2009-10-25 12:28:57

8. What is a mean by maintaining the Session State of
View Tutorial          By: Saranya at 2011-05-14 13:17:42

9. Hi
I have done all the steps mentioned abo

View Tutorial          By: Asela at 2012-01-26 18:53:51

10. nice
View Tutorial          By: narendra at 2012-04-23 09:40:00