implemented user photos! (imagestore table, ImageRetrieve servlet, a lot of
the underlying support) - incidentally, this is a lot of support for the SIG logo as well, just need some front end work for that in the future (of course, we now require JAI 1.1.1)
This commit is contained in:
26
etc/web.xml
26
etc/web.xml
@@ -206,6 +206,22 @@
|
||||
<servlet-class>com.silverwrist.venice.servlets.PostShortcut</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>imageretrieve</servlet-name>
|
||||
<description>
|
||||
Retrieves images from the database image store and displays them.
|
||||
</description>
|
||||
<servlet-class>com.silverwrist.venice.servlets.ImageRetrieve</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>userphoto</servlet-name>
|
||||
<description>
|
||||
Changes the photo in a user's profile (uploads a new one).
|
||||
</description>
|
||||
<servlet-class>com.silverwrist.venice.servlets.UserPhoto</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<!-- the following are test servlets, they should go away -->
|
||||
|
||||
<servlet>
|
||||
@@ -309,6 +325,16 @@
|
||||
<url-pattern>/go/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>imageretrieve</servlet-name>
|
||||
<url-pattern>/imagedata/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>userphoto</servlet-name>
|
||||
<url-pattern>/userphoto</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