Urgent: JSP Tag of Domino 6

I wanna use JSP tag “attachments” to upload files to Domino, but it does not work.The error msg is “Unable to Upload file”

Could you help me? What should I do?


My JSP file is:

<%@ page contentType=“text/html; charset=GB2312” import=“lotus.domino.,java.util.” %>

<%@ taglib uri=“domtags.tld” prefix=“domino” %>

<%@ taglib uri=“domutil.tld” prefix=“util” %>


<domino:form name=“person” schema=“person” dbname=“simple.nsf” debug=“true” editmode=“edit” unid=“DFDCCE749729C0C748256CD80042B714”>

<domino:attachments name=“photo” bgcolor=“#C0C0C0” maxsize=“1024” debug=“true” >

</domino:attachments>

Name: <domino:input name=“username” />

Phone: <domino:input name=“phone” />

<domino:savedoc showdisabled=“false” text=“save me” />

</domino:form>

Subject: Urgent: JSP Tag of Domino 6.

There are bugs in the R6.0 UploadHandler servlet in domtags.jar that will cause your upload to fail. They are in the process of being fixed for the 6.0.2 release.

You also need to add the following to your application’s web.xml in order to get access to the UploadHandler servlet:

<servlet>

	<servlet-name>UploadHandler</servlet-name>

	<display-name>UploadHandler</display-name>

	<servlet-class>lotus.domino.upload.UploadHandler</servlet-class>

</servlet>

<servlet-mapping>

	<servlet-name>UploadHandler</servlet-name>

	<url-pattern>/UploadHandler</url-pattern>

</servlet-mapping>