ParserController.java
horwat 01/03/14 16:31:41
Modified:jasper/src/share/org/apache/jasper/compiler
ParserController.java
Log:
Bug Fix: jspc didn't work well under windows since file
separator assumed to be "/" in ParserController.resol
C:\Build\Tomcat-4\jakarta-tomcat-4.0\dist\binjspc -d \tmp\jspc
-webapp ..\webapps\examples\jspUsing CLASSPATH:
..\classes;..\lib\jasper-runtime.jar;..\lib\namingfactory.jar;..\jasper\crimson.jar;..\jasper\jasper-compiler.jar;..\jasper\jaxp.jar;..\bin\servlet.jarException
in thread "
That's because in the JspEngineContext it gets to work purely URI name
space, not filesystem name space. It never gets file names, just URI's that
address jsp pages.
JSPC 'knows' that it's in filesystem space, and does things like parse the
file names for directories, looking for one
[EMAIL PROTECTED] (Steve Downey) writes:
Under NT (and presumably any OS where File.sep != '/') JspC has a stack
underflow at baseDirStack.peek() in ParserController.java. This patch
converts from '\' to '/' for those cases. It also sets the package name for
the class based on the URI, so
Under NT (and
presumably any OS where File.sep != '/') JspC has a stack underflow at
baseDirStack.peek() in ParserController.java. This patch converts from '\' to
'/' for those cases. It also sets the package name for the class based on the
URI, so that the java file is distinguished from
The JSPC scripts are broken. They need to pick up the new
jasper-compiler.jar from the jasper directory.
Also, although the catalina.sh script supports cygwin, the jasper script
does not.
This electronic mail transmission
may contain confidential information and is intended only for the person(s
Hello, I wish compile ahead automatically the files java starting from the
files jsp, using the command jspc.bat. But I muddle myself with the syntax
of the command.
My directories are organized in the following way:
" D:\folders\projets\calc\web ": sources jsp. Example of file name:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=487
*** shadow/487 Tue Jan 30 08:00:28 2001
--- shadow/487.tmp.25081Tue Feb 6 18:28:52 2001
***
*** 2,13
| JSPC Empty stack exeption BugRat Report#818
State: closed
Priority: medium
Severity: serious
Confidence: public
Environment:
Release: 3.1
JVM Release: 1.2.2_005
Operating System: Windows NT
OS Release: 4.0 SP5
Platform: Classic VM (build JDK-1.2.2_005,
Synopsis:
JSPC interprets the second %@ include .. % of the same file
Hello all,my name Alexey Volovoy and i'm java/xml
developer , recently i start working with JSP.
I was trying to use JSP command line compiler in
tomcat 4.0. Got the following error
2001-01-15 11:01:49 - ERROR-the file '\snoop.jsp'
generated the following genera
l exception:
401 - 410 of 410 matches
Mail list logo