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 Friends ,

s1 == s2 will alway

View Tutorial          By: Gunjan at 2010-09-08 19:24:24

2. I have already establish connection with mysql in
View Tutorial          By: shaishav at 2013-06-20 04:27:44

3. Thanks mate !!!

-- Anish Sneh

View Tutorial          By: Anish Sneh at 2010-08-18 07:42:56

4. Being a freshman in blogging, I really appreciate
View Tutorial          By: tyu at 2009-09-03 08:12:32

5. i like this a lot
View Tutorial          By: raj at 2011-05-06 06:15:36

6. This is really helpful.
View Tutorial          By: srikanth at 2009-03-11 08:04:04

7. i have same error sir..
Error applying tran

View Tutorial          By: CRUDZ at 2013-10-13 05:22:24

8. Very nice.
Thanks

View Tutorial          By: Kaviya at 2015-02-23 13:48:15

9. sample program exception handling
View Tutorial          By: priya at 2009-09-10 05:40:29

10. In the above example..where you make the GC1 objec
View Tutorial          By: prasad at 2014-12-11 11:12:28