You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/03/01 18:09:56 UTC

DO NOT REPLY [Bug 6793] New: - jspc -webapp and -p options: import statement in java incorrect

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6793>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6793

jspc -webapp and -p options: import statement in java incorrect

           Summary: jspc -webapp and -p options: import statement in java
                    incorrect
           Product: Tomcat 4
           Version: 4.0.2 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: dgconsul@idx.com.au


If Jasper is invoked with the -webapp and -package name option the package name 
is incorrectly appended with an extra "."
For example,
  -p com.mycompany.jsp
results in Java code generated with statement:
  package com.mycompany.jsp.;
And the generated web.xml file (using -webxml option) has servlet-name
  <servlet-name>com.mycompany.jsp..index</servlet-name>
(for index.jsp file)

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>