Version history
- Jan 01, 2000 v0.12b : initial version on tucows
- Mar 20, 2000 v0.20b : added more mime type support, fixed some error conditions
- May 21, 2000 v0.20g : fix cookie support, added gif counter, fixed some content type bugs
- May 21, 2000 v0.21c : add zip and jar support for servlets. Now you can zip or jar your servlet classes together (for one servlet with mutiple classes only).
Note: The zip or jar file name must be the exact same of your servlet name.
- May 23, 2000 v0.29 : fix problem with getRealPath and getPathInfo.
- May 25, 2000 v0.30a : add Vritual path support, change servlet tag to /servlet/ to ensure compatiblity with other servers
- Oct 18, 2000 v0.30c : added enhanced logging support
- Nov 07, 2000 v0.30d : added HTTPBACKLOG and HTTPSRVADDR in jzHttpSrv.properties file for back log and server ip address support
- Nov 11, 2000 v0.41 : added support for auto and manu servlet unload, reload. Fix servlet include and forward so they will accept servlet, CGI and html requests (function just as the request is from client). Fixed session handling. Also some optimizations.
- Nov 12, 2000 0.50 add ERRORRPTSERVLETNAME for jzHttpSrv.properties,
with attribute "ExceptionMsg"-> error message of type String
and attribute "ExceptionObj" --> of type Exception
- Nov 16, 2000 0.62 add support for gnujsp, more optimizations
- Nov 19, 2000 0.70a fix problem with MS JVM jview on POST.
- Nov 22, 2000 0.72 only one class loader will be used for a class of same name, even if they are in different jar files.
- Dec 05, 2000 0.74 Added cache support, HTTPMAXCACHESIZE (bytes) HTTPCACHEORGINTVAL (seconds) in jzHttpSrv.properties
- Dec 06, 2000 0.75 Added support to clear out all sessions. This is needed
if you want to re-load a class with out shutting down the server while the class
is been added as a session object. Although the server supports auto reload, it
can't track all classes been used by session or by other servlets. To make sure
the reload is OK, do unloadServlets and clearSessions in the command line.
- Dec 22, 2000 0.76 Add support on session for browsers that don't support cookies. Just pass the session id as a POST parameter or append it to URL with name "BajieHTTPSessionTAG". See serlets/test/NoCookieSession.java for example
- Dec 25, 2000 0.77 Add servlets for http file management for user to login, create, edit, move delete files and directories. See FAQ.txt for details.
- Dec 28, 2000 0.78a add setSessionID to gzHttpServletRequest. This is a work around for multipart/form-data and no cookie support from browser (see FAQ). Also updated fileManager for better security and to work with browsers with no cookie support.
- Warning: There is a security bug in CGI processing in version 0.78a and earlier.
Erick Lee and Joe Testa has found them. Although the server checks for ../ in pathes, the CGI handler in version 0.78 and earlier won't.
So a hacker can use the upload utility upload a CGI script and use the CGI handler to execute it. The problem has been fixed.
- Feb 06, 2001 0.81 security fix. Check if cgi script exists before execute.
- Feb 09, 2001 0.82 Add gTag lib for better processing of tags (servlet, cgibin and virtual path). Also fix the strange hung on unix systems when allocating TimeFormat class.
- Feb 20, 2001 0.83 added WAP support
- Feb 21, 2001 0.85a fix CGI security hole allow user to execute scripts out side of cgi/bin directory.
- Feb 26, 2001 0.85b added WAP context init param support
- Feb 27, 2001 0.86 added support for set response buffer, fix problem with long log delay. Also fixed fileManager not able login bug.
- Feb 27, 2001 0.87a Fixed WAP servlet tag mapping problem. Also session id tag is jsessionid and for cookie is JSESSIONID.
- Mar 07, 2001 0.88a add support for welcome file list and session timeout for WAP, change fileManager to WAP format
- Mar 08, 2001 0.88b fix a condition preventing processing of extensions
- Mar 08, 2001 0.89 added WAP mime mapping and extension processing (for jsps)
- Mar 09, 2001 0.90 added libMode directive for servlet.properties, so a servlet can be used as library, others can reference to its classes (ie, gnujsp's clsses)
- Apr 11, 2001 0.90a refine CGI process handler, fix HttpResponse so it checks calls commitHeader() if it has not been called.
- Apr 12, 2001 0.90b Added in jspCompiler component
- Apr 15, 2001 0.90c Fix bug for jsp compiler on \n, and reloading
- Apr 19, 2001 0.90d Fix include and forward problem (closing the response) also add jsp directive include
- Apr 20, 2001 0.90e Add support for jsp:include page, fix problem of adding Exception to Exception msg on error page
- Apr 20, 2001 0.91 Added support for jsp:useBean, jsp:setProperty and jsp:getProperty. Also make all package com.BajieSoft.....
- Apr 21, 2001 0.91a now you can use beans by either include them in class path, or put them in the beans/ directory
- Apr 21, 2001 0.91b fix problem with response buffer flushing
- Apr 22, 2001 0.91c now ServletContext.getAttribute("ATTR_WAPCONTEXT") will return the wap context tag is there is one (ie, fileManager will get '/fileMan/'), also fix problem that jsp in jars can't be excuted properly
- Apr 24, 2001 0.91e added xml like ....
- Apr 30, 2001 0.91f added tag processing ability (beta). will not work in war files. put class and tld in beans/ directory. See example htdocs/jsp/tagtest.jsp
- May 01, 2001 0.91g Tags will work in .war files, but jsp files in .war files will not be able to access other tag libs except ones in the .war file it is in.
- May 11, 2001 0.91h Add support for 2.3 draft. Fix reset() in ServletResponse so it resets...
- May 11, 2001 0.91i Now global extension matching can be applied to war files, so you don't need to specify .jsp handler in every wap files.
- May 29, 2001 0.91j A GUI is added. Class jzHttpSrv is now bean like, it's javadoc is online.
You can now write your own startup code for the server and add listeners, security managers to it.
- May 30, 2001 0.91k Added clear session button to GUI, better formats for loggers. Better debug message on servlet errors for developers. Fixed some obselete links in release.
- Jun 01, 2001 0.91L Fixed problem in jsp session obj is null. Fixed problem jsp can't compile under jview (javac compiler is still needed).
- Jun 02, 2001 0.92c Major improvement in jsp processing. Fixed problem in jsp useBean, set/getProperty. Now instead of using reflection, it uses direct import. Also the name for set/get property are correct now.
- Jun 03, 2001 0.92d Added support for URL tld loading. Fixed problem with tld load path. More helpfull debug messages.
- Jun 03, 2001 0.92d1 Change beheavor of response.getOutputStream() so that even if getWriter() has already been called, the call will not throw exception (instead a warning is displayed on the gui). This is for jsp files that wish to output binary files (such as image). This is different then the servlet spec.
- Jun 04, 2001 0.92e Fixed parser for web.xml file. Ignore case when loading .jar files in .war's WEB-INF/lib directory.
- Jun 05, 2001 0.92e4 Config files change to config/ directory. Use web.xml file for server config, removed server.properties, servletExt.properties and mime.properties file.
- Jun 06, 2001 0.92g Added UI buttons for bean, war and jsp management.
- Jun 06, 2001 0.92h Change beans/ directory to WEB-INF/classes and WEB-INF/lib directory.
All classes in classes dir and .jar files in lib dir are loaded for jsp bean use.
Added DIRPRROCSERVLETNAME in config/jzHttpSrv.properties for directory processing servlet.
- Jun 06, 2001 0.92h1 Change detail level of error logger to highest.
- Jun 09, 2001 0.92h3 Minor change, add autoreload for jsps inside war files.
- Jun 10, 2001 0.92h4 Fix req.getServletPath(), req.getContextPath(), and context.getServletContextName();
- Jun 10. 2001 0.92h5 add default servlet support, gTag class now support more operations.
- Jun 11, 2001 0.92h7 use initLoadServer() to load and start servers
- Jun 12, 2001 0.92hb Added user config support. Implemented request.getUserRole() and getUserPrincple(). Added srvDB package.
- Jun 12, 2001 0.92hc fix exception on parse empty auth line .
- Jun 12, 2001 0.92hd Seperate server config constances to ServerConfigConsts.java
- Jun 13, 2001 0.93 Added config servlet for easy server configuration.
- Jun 14, 2001 0.93d Fix problem with jsp been truncated.
- Jun 14, 2001 0.93e Fix file content type mismatch problem. Add support for war context without trailing '/' from browser request.
- Jun 14, 2001 0.93f Fix debug mode loading and server ip display
- Jun 15, 2001 0.93g Add support for jsp:plugin.
- Jun 15, 2001 0.93h Fix config servlet property save problem and directory listing on path without /.
- Jun 15, 2001 0.93i Fix file name not display when include file not found in jsp file.
- Jun 15, 2001 0.93j Add ability to parse nested tags, jsp:usebeans. Implemented javax.servlet.jsp.tagext.BodyContent.
- Jun 15, 2001 0.93k Fix jsp nesting output position problem.
- Jun 16, 2001 0.93l Add config setting to indicate if jspcompiler can use existing classes instead of recompile on start.
Some config servlet changes.
- Jun 16, 2001 0.93m Fix jsp file not closed if jsp compile error problem.
Fix packaged servlet class laoding problem, now file classload
also reload if any class it loads is changed.
- Jun 16, 2001 0.93n Big change, all servlet are now aliased, use auto list config servlet ability
to load all servlet aliases. fix war jsp recompile on server startup.
- Jun 16, 2001 0.93o Add clear screen button. Much easier to use config servlet (auto save, block submit).
- Jun 16, 2001 0.93q Fix jsp not recompile problem with a good compile then a bad compile.
- Jun 20, 2001 0.93u Some optimizations.
- Jun 26, 2001 0.94 Finally got a chance to use Microsoft's web application stress tool, more optimizations.
Tested with orion 1.4.5 and vq 1.9.55. Can beat vq easily, and has simlar servlet performence
with orion, but orion is just too fast on file request (request/second, orion 283, Bajie 211, vq is about 130).
- Jun 26, 2001 0.94b Added corrected response for HEAD operation, better config servlet allows select and change
servlet alias and their name from automaticly generated lists.
- Jun 26, 2001 0.94c Remove some unessessary error reports if debug mode is off.
- Jul 02, 2001 0.94d Better config servlet, allow you to select, edit and add servlet alias from a automatically generated list.
- Jul 02, 2001 0.94e Add support to config if .war files should be extracted (to maintain compatiblity with other serverlt engines).
- Jul 02, 2001 0.94f fix getResource and getResourceAsStream in ServletContext for better performence, also now they are static.
- Jul 03, 2001 0.94f1 add back config for perl executable path.
- Jul 03, 2001 0.94g fix bug process handler calls exitValue() before process terminated.
- Jul 05, 2001 0.94g4 jsp fixes, servlet fixes, session fix (invalided session are now removed)
- Jul 06, 2001 0.94g6 change directory servlet/ to htdocs/WEB-INF/classes. Moved directory WEB-INF/ to htdocs/WEB-INF.
// This change make sure Web Apps and ordinary servlets has the same beheavior in getResource().
- Aug 25, 2001 0.94l Major change after my long vacation. Classloader redisigned.
Now servlets and beans are loaded from the server classpath
(configurable from config servlet or edit the config/jzHttpSrv.properties).
This alows any directory to be used by development.
Also finished a previous optimization for faster engine.
- Sep 10, 2001 0.94u4 Added filter suport, fixed cgi read stdin bug, fixed jsp loader bug.
- Sep 23, 2001 0.94y Some redisign to reduce code size, and more direct config servlet use.
- Sep 24, 2001 0.94z fix log file not closed bug. Removed customized logger config for speed and code size. Use filters for customized log ;-)
- Nov 10, 2001 0.95 added virtual host support, various fixes.
- Dec 05, 2001 0.95a fix jsp tag at_begin, nexted sync (id obj update ) not up to spec problem.
- Dec 05, 2001 0.95b fix session id not reset in httprequest object bug
- Dec 05, 2001 0.95c fix forward not throw exception bug when response are commited.
- Dec 15, 2001 0.95e1 fixes, perf improvments. fix a bug that prevent some jsp forward and include from taking place. fix if vpath not found, server can't start problem.
- Dec 24, 2001 0.95h tld loading now accept relative path. Also fix some compatiblity problem with MS jview. Enchanced UI.
- Jan 08, 2002 0.95m fix a possible jsp initial compile bug. Performence fix.
- Jan 08, 2002 0.95n change temp directory to defaultTemp (for jsp) and defaultWarTemp (for javax.servelt.tmpdir).
- Jan 11, 2002 0.95p add 'lib' directory as jar path (same as /WEB-INF/lib),
add jsp compile using tools.jar (change jsp compile string, replace javac with %, and add tools.jar in classpath or put it in 'lib/').
Also now space in classpath is allowed. configServlet changed in its jsp compile string handling.
- Jan 11, 2002 0.95t html text in jsp with <" are not translated correctly
- Feb 14, 2002 0.95w1 add UI menu for auto servlet/jsp reload and option to enable/disable server checking illegal state exceptions (example, allow throw exception on write after a forward).
- Apr 09, 2002 0.95yf Big change for performence increase, also allows war in war (add .war file to WEB-INF/wars directory of a war).
Known bugs in 0.95ye: filters are not tested. servlet mapped filters are not working.
- Feb 24, 2002 0.95z fix jsp include if it has ../ in the name. Fix second jsp include fail problem for ../ . is now saved in web.xml. fix lookup for mapped taglib uri if uri is not in jar.
- Feb 24, 2002 0.95za Add back drop and go for easy servlet config (just drop servlet class in servlets/ or htdocs/WEB-INF/classes directory and it will be accessable by http://localhost/servlet/servletClassName. Fix bug of extra '"' in servlet params in config servlet.
- Apr 09, 2002 0.95zs bring the server with the new structure as stable as 0.95xxx.
- Jun 12, 2002 0.95zt Config servlet fix, now jars dropped in either lib/ or htdocs/WEB-INF/lib directory will be checked for servlets and filter auto-mapping. Added war reload in configServlet under common server properties.
- Jun 12, 2002 0.95ztb new feature. Users can now use command line to send simple commands to the server, such as shutdown, reload classpath and reload wars.
- Jul 29, 2002 0.95zvd Security fix. Fix bug that append '/' to request for jsp file and the source will be shown. This bug is caused by java.io.File() treat filename.txt/ the same as
filename.txt. So new FileInputStream(new File("filename.txt/")) will get a inputstream to filename.txt
instead of thrown exception. Thanks to Auriemma Luigi at Edimedia.
- Jul 31, 2002 0.95zvh Fix append ' ','.','\\' to jsp file and source show bug.
- Aug 16, 2002 0.95zvm Fix %00 request appened on directory show directory content even if index.html exist bug.
- Nov 09, 2002 0.95zvm1 Add configure option for allow jsp execute under directories.
- Nov 19, 2002 0.95zvm5 Allow unicode in GET data (data after ?)
- Nov 30, 2002 0.95zvm6 Fix jvmInvoker so it works with JDK1.4
- Dec 05, 2002 0.95zvm7 Add ; support for http parameter. Now webapps don't share sessions when same browser is used. Session event will be sent before session is invalidated so additional steps can be performed upon session removal.
- Dec 09, 2002 0.95zvn WAR is now using extracted files. add WAREXCATOVERRIDE in config/jzHttpSrv.properties to indicate if old war extracts should be override (set to false if you want to edit the extracted directory in defaultTmp/htdocs/bajieWarDir/)
- Dec 10, 2002 0.95zvo jars in /lib directory is now shared to WAR files.
- Jan 13, 2003 0.95zvp Add "Allow jsp lin # in jsp Exception" choice under "servers" manu. Disable it then jsp exception will not show the line # in the original jsp file, but your own exception will be thrown.
- Jan 14, 2003 0.95zvq append '/' if http reuqest is directory and no trialing '/'. No longer reuse session id.
- Jan 14, 2003 0.95zvq1 Fix cookie.setMaxAge not working problem.
- Jan 19, 2003 0.95zvr Fix ServletInputStream.read() (read one byte) return byte problem.
- Jan 30, 2003 0.95zvr5 Added ajp support, can be used for either IIS or Apache.
- Feb 04, 2003 0.95zvr6 jndi pooled Connection port to jdk1.4, Add ajp.properties with AcceptedHost to indicate where the connections are accepted.
- Feb 10, 2003 0.95zvs3 Fix filters with no init parameter NULL pointer exception on startup bug, Ajp connector can specify port.
- Feb 17, 2003 0.95zvt Add security constrain config to servlet config, JSP pages now compiled to original unicode chars (so you can read them on compiled pages) fixes infinite loop on logon issue.
- FEb 18, 2003 0.95zvu Optimized output buffer (no longer reallocate on expand), limit POST buffer to 2Mg (file upload not affected). Add config to allow request URL to be parsed according to char encoding.
- Feb 19, 2003 0.95zvw Implemented findResource() and findResources() for class loader, fix jsp line # not shown in jsp exception if compiled under javac bug.
- Feb 19, 2003 0.95zvx findResource() returns URL with correct ext string, so Struts can be run correctly with the new getResource() implemention.
- Feb 20, 2003 0.95zvy Invoke all filters in multi-filter urls. Greatly reduced war memory foot print. Smaller server size. Added / to URL file name in jars.
- Feb 20, 2003 0.95zvz Fix a bug with jview on wars (setLastModified() is Java1.2 only), ajp now can be used with jview.
- Feb 22, 2003 0.95zwh Simpler jar implemention, fix a bug where session might not be loaded. Reload class if class file is deleted. gifCounter is faster and smaller.
- Feb 22, 2003 0.95zwq Fix compressed output problem with servlet.forward. Zipfilter fix.
- Feb 25, 2003 0.95zwt Added Http digest authentication, also the ability to use different type of method in different url's (ie, WEB, FORM or digest)
- Feb 26, 2003 0.95zwu Close all filters upon server shutdown. Remove some unessessary code.
- Mar 01, 2003 0.95zwy Enable mapping of extensions other then jsp to jspServlet (ie, treat html like jsp).
- Mar 01, 2003 0.95zwz Add -DBajieTemp=dir option to specify new temp dir location, fix srvConfig realm with special chars " and ' bug.
- Mar 02, 2003 0.95zx Reload jsp if the beans or classes it uses is changed.
- Mar 04, 2003 0.95zxc Fix regression that append %00 will show jsp source. Better chinese/japanese encoding support with configable input encoding and jsp compilation.
- Mar 05, 2003 0.95zxe Fix /%00/ shows directory listing problem.
- Mar 07, 2003 0.95zxg CGI variable fix. jsp mapping fix. Now server will automatically default to process jsp if web.xml file is deleted.
Added FORCEUSEJSP to properties file. Set it to false if you don't want jsp to be parsed as jsp.
- Mar 08, 2003 0.95zxg1 Fix a problem on getLocale with struts.
- May 08, 2003 0.95zxh input stream fix for perl
- Jun 09, 2003 0.95zxi Fix signed jar file loading in lib/ directory (still maintains jdk1.1 compatiblity).
- Jun 18, 2003 0.95zxj Added jsp xml syntex support. jvmInvoker can now start ajp (see invoker.ini for details).
- Jun 20, 2003 0.95zxk Support for quote inside "<%= %>". xml jsp will read "%= %"
- Jun 22, 2003 0.95zxl ClassLoader change (also load from loader's class loader so the server works if you load it from your classloader).
Also set org.apache.xerces.jaxp to be the default xml parser, so it works default with xerces. (That is the tomcat default, to change that start with -nx option).
- Jun 30, 2003 0.95zxl1 fix REDIRECT_STATUS for new version of php . (because server don't invoke php.exe directly on all .php files, no security risk exists");
- Jul 12, 2003 0.95zxl2 Auto compile servlet sources in servlets/ directory.
- Jul 22, 2003 0.95zxq Auto compile servlet sources in server's classpath. Better error display. Fix Microsoft jview problem.
- Jul 27, 2003 0.95zxt Correctly recognizes specifal chars in path when compiling jsp files (such as space, ~ etc).
- Jul 29, 2003 0.95zxu Fix some problem with special unicode chars on request, directory listing now translates % in filenames.