This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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..


SCJP, SCWCD
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
Help !!!!!!! Connection problems from you know where!
Problem with DbConnectionBroker
strange error... " before start of result set.." ???
Problem in retrieving data and store it in string
Help with DbConnectionBroker....Anyone else used it?