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 21062 - Incorrect JSP names can be created
Summary: Incorrect JSP names can be created
Status: CLOSED INVALID
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: -FFJ-
Hardware: Sun SunOS
: P4 blocker (vote)
Assignee: _ rkubacki
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-01 11:48 UTC by Oleg Khokhlov
Modified: 2003-07-02 08:30 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 Oleg Khokhlov 2002-03-01 11:48:00 UTC
In the "New Wizard" you can create a JSP with name containing *,?,|,\,<,> symbols. 

1. Web module  containing files like *.jsp, ?.jsp etc. can't be transferred to
Windows platform.
2. \.jsp can be created but can't be compiled: "\.jsp [-1:-1] //.jsp Errors
compiling \.jsp"

Build: FFJ 4.0-EA 020225_1
Platform&OS: SunOS 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-250
JDK: Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
Comment 1 _ rkubacki 2002-03-05 14:55:58 UTC
Ad 1: This is OS restriction and I don't understand why to blame IDE here.

Ad 2: This can be problem in compilation either in the IDE or in
Jasper. In that case we can fix compilation or try to supress using of
JSP with names containg these characters.
Comment 2 _ rkubacki 2002-03-06 11:00:17 UTC
Only the backslash causes that the page cannot be compiled. The rest
of characters can be used in name and compiles and can be displayed.

It is also questionable if we should restrict usage of this character.
There is nothing about it in JSP spec and if there is container that
is able to compile and execute such a JSP we ought to be able to
support it.

If there is a problem with underlaying OS it is not a good place to
solve it on this level. You will have also troubles on VMS if file
name contain [].
Comment 3 Petr Jiricka 2002-04-23 10:02:18 UTC
Changing target milestone to FFJ 4.0
Comment 4 Petr Jiricka 2002-04-23 10:12:56 UTC
Changing target milestone to FFJ 4.0
Comment 5 Damian Frach 2002-06-20 10:53:44 UTC
sounds reasonable

verified in NetBeans IDE 3.4 Beta 2 (Build 20020620-0722)
Comment 6 Quality Engineering 2003-07-02 08:30:15 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.