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 61540 - Cannot run servletToJsp servlet in Tomcat JSP Example project
Summary: Cannot run servletToJsp servlet in Tomcat JSP Example project
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Radko Najman
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2005-07-29 11:13 UTC by Martin Schovanek
Modified: 2005-12-14 09:56 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 Martin Schovanek 2005-07-29 11:13:19 UTC
[#200507281800, jdk1.5.0]

to reproduce:
-------------
1) create new Sapmles > Web > Tomcat JSP Example project
2) right click Tomcat JSP Example | Source Packages | <default package> |
servetToJsp servlet node
3) choose Run File
ERROR: 'Class "servletToJsp" neither has a main method nor it is a servlet
specified in web.xml' error message appears.

NOTE: the servletToJsp specification elements in the web.xml contains srange
white spaces.
Comment 1 Martin Schovanek 2005-10-05 13:58:27 UTC
Added REGRESSION keyword as requested by pblaha.
Comment 2 Radko Najman 2005-11-24 14:46:33 UTC
Fixed.

Checking in web.xml;
/cvs/web/examples/jsp/web/WEB-INF/web.xml,v  <--  web.xml
new revision: 1.2; previous revision: 1.1
done
Comment 3 Jaroslav Pospisil 2005-12-14 09:56:36 UTC
VERIFIED