landed the code for doing post attachments (the infamous paperclip)
This commit is contained in:
13
etc/web.xml
13
etc/web.xml
@@ -150,6 +150,14 @@
|
||||
<servlet-class>com.silverwrist.venice.servlets.PostMessage</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>attachment</servlet-name>
|
||||
<description>
|
||||
Andles downloading and uploading attachments.
|
||||
</description>
|
||||
<servlet-class>com.silverwrist.venice.servlets.Attachment</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<!-- the following are test servlets, they should go away -->
|
||||
|
||||
<servlet>
|
||||
@@ -213,6 +221,11 @@
|
||||
<url-pattern>/post</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>attachment</servlet-name>
|
||||
<url-pattern>/attachment</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!-- the following are test servlets, they should go away -->
|
||||
<servlet-mapping>
|
||||
<servlet-name>testformdata</servlet-name>
|
||||
|
||||
Reference in New Issue
Block a user