The following comment has been added to this issue:
Author: pranav butala
Created: Mon, 26 Jan 2004 5:59 PM
Body:
dont worry, i fixed it
thanks
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-781
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-781
Summary: Using Xdoclet to map servlet names, Get mapping for Abstract classes too.
Type: Bug
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: XDoclet
Assignee: xdoclet-devel (Use for new issues)
Reporter: pranav butala
Created: Mon, 26 Jan 2004 4:29 PM
Updated: Mon, 26 Jan 2004 5:59 PM
Environment: Linux
Description:
I have a servlet,actionmain1, which extends BaseServlet(another servlet).
The XDoclet tags for
actionmain1 are as shown below. When XDoclet created web.xml,however, it
creates
two elements of <servlet-mapping> for actionmain1 corresponding two different
<url-pattern>s, as shown below.
-----------------------Code Begins----------------------------
/**
* @web.servlet name="actionmain1"
* @web.servlet-mapping url-pattern="/TMS.actionmain1/*"
*
*/
public class FlowerServlet extends BaseServlet {
......
......
}
Base Servlet is an abstract class
In build.xml, have:
<deploymentdescriptor
acceptAbstractClasses="false"
............ant........
</deploymentdescriptor>
-----------------------Code Ends----------------------------
-----------------------web.xml Begins----------------------------
<servlet-mapping>
<servlet-name>TMS.actionmain1</servlet-name>
<url-pattern>/TMS.actionmain1/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>actionmain1</servlet-name>
<url-pattern>/TMS.BaseServlet/*</url-pattern>
</servlet-mapping>
-----------------------web.xml Ends----------------------------
I do not want the
<servlet-name>actionmain1</servlet-name>
<url-pattern>/TMS.BaseServlet/*</url-pattern>
element in web.xml.
This is the only thig preventing me from checking tje script on the server. Help will
be greatly appreciated
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel