This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 21894 - Can't Mark Class as a Servlet if it extends HttpServlet
Summary: Can't Mark Class as a Servlet if it extends HttpServlet
Status: CLOSED INVALID
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: -FFJ-
Hardware: PC All
: P1 blocker (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-26 18:48 UTC by Sakthivel Gopal
Modified: 2002-07-19 23:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sakthivel Gopal 2002-03-26 18:48:37 UTC
FFJ Current Build (for 4.0 FCS)

1. Copy a servlet (testservlet.java to testservlet1.java) 
outside the ide which extends HttpServlet.

2. From th explorer , choose testservlet1, on the popup 
select tools-> Mark as Servlet, IDE says
"File testservlet1.java cannot be converted to servlet. It 
doesn't implement javax.servlet.Servlet interface"
Comment 1 _ rkubacki 2002-03-27 10:29:46 UTC
Your testservlet1.java is not valid Java source file unless you change
class declaration from testservlet to testservlet1. When this is done
everything works correctly.
Comment 2 Petr Jiricka 2002-04-23 10:07:54 UTC
Changing target milestone to FFJ 4.0
Comment 3 Petr Jiricka 2002-04-23 10:18:37 UTC
Changing target milestone to FFJ 4.0
Comment 4 Petr Jiricka 2002-04-23 10:30:24 UTC
Changing target milestone to FFJ 4.0
Comment 5 Sakthivel Gopal 2002-07-19 23:34:44 UTC
CLosing as this is an invalid issue.
-sakthi