Watch, Follow, &
Connect with Us
Public Report
Report From: JBuilder/Wizards/Archive Builder    [ Add a report in this area ]  
Report #:  1891   Status: Closed
Allow files without extension to be added to web application
Project:  JBuilder Build #:  7.0.154.0
Version:    7.0 Submitted By:   Tor Wilhelmsen
Report Type:  Suggestion / Enhancement Request Date Reported:  7/23/2002 7:56:28 AM
Severity:    Infrequently encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All platforms Internal Tracking #:   193920
Resolution: Need More Info (Resolution Comments) Resolved in Build: : 011.000.236.000
Duplicate of:  None
Voting and Rating
Overall Rating: (3 Total Ratings)
3.00 out of 5
Total Votes: 1
Description
There are times when one wants to use (zero-length) files with no extension in wars; for instance in order to trick Tomcat into allowing a servlet mapping (of the same name) as a welcome-file.

However, it seems you cannot add a file without an extension to a web application's root directory. This means we have to add the empty file manually  after the war is built...
Steps to Reproduce:
None
Workarounds
Use a servlet mapping name that has an extension (like .asp :-) ) - however, that doesn't look too good.

---------

Use a servlet mapping name that has an extension (like .asp :-) ) - however, that doesn't look too good.
Attachment
None
Comments

Tor Wilhelmsen at 8/27/2002 5:44:02 AM -
This will become less of an issue with JSP 2.0, which lets you use servlets for welcome-files.

Tor Wilhelmsen at 9/25/2002 1:14:21 AM -
I meant Servlet 2.4, of course...

Server Response from: ETNACODE01