• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in uploading file

 
Rohit Loke
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have have develpoed a application for uploading CSV file to the remote database using multipart/form-data in which JSP hits a servlet.

It was working fine previously, but now suddenly it has stopped working.

Now every time i try to upload a file it shows a message "do you want to save this file?" The filename is my servlet class plus some characters.

Have no clue why this is happening..

any help would be appreciated

Thanks
Rohit
[ September 04, 2008: Message edited by: Bear Bibeault ]
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rohit, welcome to Javaranch.

You'll probably need to post some more details (code snippet, log messages etc) about your problem (see the HowToAskQuestions link in my sig), hopefully we can help narrow it down for you after that!
 
Norm Radder
Bartender
Posts: 1240
14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try to upload a file it shows a message "do you want to save this file?"

This message appears to be on the client side.
If your code is to upload a file to the server and it used to work, how is it now sending a file from the server to the client (downloading)?
servlet class plus some characters.

What are the "some characters?"
 
Rohit Loke
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks guys for the reply.. and sorry for the obscure post...
The problem has been solved.

There was tablespace constraint, after the DBA resolved it the problem dissappeared.



@Norm
I have no clue about your first question.
By some characters i meant UploadControllercc943ada

@Martijn
I did read the HowToAskQuestions guidelines.Thanks for the link.
Hope this post is more clear.

Thanks
-Rohit

[ September 04, 2008: Message edited by: Rohit Loke ]
[ September 06, 2008: Message edited by: Rohit Loke ]
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rohit, glad to hear you solved your problem, always the best way (to solve it yourself)!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic