In struts framework, how to remove the picture from the database to display on the page

Category: Web Develop
 
zjkhwse
2011-01-10 10:29:53

Sponsored Links
In struts framework, how to remove the picture from the database to display on the page

Sponsored Links

garcia_ljx
2011-01-10 10:41:31
did not care for this problem, struts do not know how to engage in, I had to read in direct servlet shows
zz579514
2011-01-10 11:00:10
with JAVASMART upload images to a specified directory, record picture name would name exists in the database
picture taken pictures set in the JSP page directory upload pictures, such as the presence uploadimages next picture, pictures taken That is, first remove the pictures in the database name <% = 002.jpg%>, then add in uploadimages / <% = 002.jpg%>, you show up
binnly1314
2011-01-10 11:06:42
exhausted that the user wants to delete the picture because it can be realized over time uploadimages folder
picture files will be a lot A
wx123572911
2011-01-10 11:20:24
Then you database where records have his picture or path name ah so that users do not have to use a new or deleted files with the File class ah
Domain and server ip had changed since 8/23/2013. Suspend the user registration and posts for program maintenance.