aspose file tools*
The moose likes Servlets and the fly likes can anyone help me using jspsmartupload to upload an image??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "can anyone help me using jspsmartupload to upload an image???" Watch "can anyone help me using jspsmartupload to upload an image???" New topic
Author

can anyone help me using jspsmartupload to upload an image???

Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
Hello guys.. I've spent hours trying to figure out how this 'utility' works... maybe you can give me a hand. this is the scenario:
* I want to use jspsmartupload to upload an image to a database. I can't find any examples .

as you can see guys I have no clue how to achieve what I want. any suggestions or ideas would be appreciate.
thanks


I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
L Goundalkar
Ranch Hand

Joined: Jul 05, 2001
Posts: 395
Hi,
After the first look at your code for the servlet..
Where is doGet(HttpServletRequest req, HttpServletResponse res) and doPost(HttpServletRequest req, HttpServletResponse res) methods.
It has to be there and it should simply call the processRequest(...) method of yours passing request and response objects.
Try above changes and let me know..


<b>L G Goundalkar</b><br /> <a href="mailto:lggoundalkar@yahoo.com" rel="nofollow">lggoundalkar@yahoo.com</a> <br />Sun Certified Programmer for Java 2 Platform.<br />Sun Certified Web Component Developer for J2EE.
Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
Hi Lakshmeenarayana (I copied and pasted your name )
Yes, the doGet and doPost methods exist, and they only do the call to process. I just wanted to show the main portion of the code, which is the one I'm having problems with, specially with the smartupload.
cheers
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can anyone help me using jspsmartupload to upload an image???
 
Similar Threads
Problem with DbConnectionBroker
Help !!!!!!! Connection problems from you know where!
strange error... " before start of result set.." ???
Help with DbConnectionBroker....Anyone else used it?
Problem in retrieving data and store it in string