Uploading image to apache server on clustered tomcat -


i have image upload logic in clustered tomcat setup apache web server infront. there way upload image files on web server instead of tomcat, accessed static file when user tries download uploaded image file?

you redirect in web.xml:

<servlet>     <servlet-name>images</servlet-name>     <servlet-class>uk.co.foo.imageserver</servlet-class> </servlet> <servlet-mapping>     <servlet-name>images</servlet-name>     <url-pattern>/images/*</url-pattern> </servlet-mapping> 

Comments

Popular posts from this blog

mongodb - Struggling to get ordered results from the last retrieved article, given array of elements to search in -

c# - Pausing a storyboard on TabItem mouse over -

c# - Attribute value in root node of xml Linq to XML -