About
Satya
Aspire/J2EE
Java.net
OnJava.com
Build Related
Release Notes
Download
Help
More...
White Papers
What is Aspire
Aspire's Benefits
Aspire's Features
Database Development
Architecture
More ..
Howtos
Base Framework
Data Access
Web
Advanced
Related Reading
Satya's AKC Blog
Satya's java.net Blog
Articles
Properties
Cheat sheet 1
Cheat sheet 2
property files
html files
jsp files
Home Public Library Author Content
Commons file uploads properly integrated using parts
Allow for url parameters as extra path segments
Saving blobs
Prepared statements
Retrieving files through Aspire parts as opposed to tomcat downloads. This will ensure proper security
\com\ai\aspire\AspireReleaseNotes.java \com\ai\aspire\AspireReleases.java \com\ai\common\DDictionary.java \com\ai\common\FileUtils.java \com\ai\common\IStringDictionary.java \com\ai\common\StringUtils.java \com\ai\common\mapper\GenericMapper.java \com\ai\common\mapper\RequestBasedMapper.java \com\ai\data\FileCollectionReader1.java \com\ai\data\IDataRow1.java \com\ai\db\RSDataRow.java \com\ai\db\ps\DBPSExecutor2.java \com\ai\db\ps\GenericTypeConverter.java \com\ai\db\ps\ISpecificTypeConverter.java \com\ai\db\ps\ITypeConverter.java \com\ai\db\ps\ParamSpec.java \com\ai\db\ps\TypeConverterUtility.java \com\ai\db\ps\TypeEnum.java \com\ai\htmlgen\streamwriters\BlobTransform.java \com\ai\htmlgen\streamwriters\ExtensionToContentTypeMapping.java \com\ai\htmlgen\streamwriters\FileDownloadTransform.java \com\ai\htmlgen\streamwriters\IExtensionToContentTypeMapping.java \com\ai\parts\AHttpParamCollectorPart.java \com\ai\parts\FileDeletePart.java \com\ai\parts\FileItemToBlobPart.java \com\ai\parts\FULCopyFilePart.java \com\ai\parts\SingleFileUPloadCommonsPart.java \com\ai\servlets\paramfilters\AParamFilterRequest.java \com\ai\servlets\paramfilters\DisplayParamFilter.java \com\ai\servlets\paramfilters\DisplayParamFilterRequest.java \com\ai\servlets\paramfilters\DisplayParamFilterRequestOld.java \com\ai\servlets\paramfilters\UpdateParamFilter.java \com\ai\servlets\paramfilters\UpdateParamFilterRequest.java33 File(s)
33 files changed
1. you can turn off flushing and closing the stream in base servlet
2. You can use JSPIncludeTransform to include jsp urls
When some people have tried to install loginapp4, they ran into some issues. Tomcat itself threw an exception while loading the context for loginapp4.
See if you can comment out the following line in aspire.properties
aspire.systemProperties
use a # at the begining
You can use this code as a sample application for aspire. You can use this as a startup template. The directories are preloaded with aspire jar file.
This uses jsps as the primary painting mechanism. You can see a very simple approach to back ground pages (or as I call them "master pages").
Adds master page support to the previous version loginapp3.
Download loginapp4
1. Login 2. Logout 3. Login/Logout buttons 4. Simple master page 5. JSP includes
Download loginapp3
This build does two things
1. Introduce a configuration key called "aspireContext" to point to the servlet context. This allows for writing web applications that are independent of the context
2. Enable the redirectURL strings to use substitution parameters not only from the url, session, and database, but extends them to the global configuration object. This allows you to use user defined variables in the configuration files as part of your redirection strings
There was a bug with generic transformations when used against servlets 2.3 containers. The bug was noticed against Tomcat 5 although it ran fine on Tomcat 4. This is fixed in this build.
The following article explains how to take advantabe of generic transformations in this build.
How to take advantage of generic transformations
* Release 2.0, Build 19.0 * **************************** * Requires 2.3 servlets to compile although it can still run on 2.1 servlets * Added setEncodingHeader for requests * Added HttpEventDistributor * Added FileCollectionReader to support photographs * EmbeddedXML generic format * IApplicationInitializer1 added * caching support * Master pages
* Next release * **************************** * 18.6 Fixed expression evaluation with DefaultExpressionEvaluator1 * 18.5 Provided exceptions for if functions * 18.5 Fix RandomTableHandler6 when there is no data * 18.5 HttpEvents are getting called * 18.4 RandomTableHandler6 added with support for paging * 18.3 gt, gte, lt, lte, numberEquals added to if functionality * 18.2 FormHandler will only return string keys * Documentation of parts updated * 18.1 No data found is configurable
When there are no rows in a data set, RandomTableHandler5 is throwing a null exception. This is fixed in RandomTableHandler6.
Use RandomTableHandler6. RandomTableHandler6 is originally created so that one can page through large data sets. This handler should be compatible with RandomTableHandler5.
Next release will fix RandomTableHandler5 as well. Hoai, Let me know if RandomTableHandler6 will not cut the muster. I will expedite the next minor release in that case.
Thanks
* 18.5 Provided exceptions for if functions * 18.5 Fix RandomTableHandler6 when there is no data * 18.5 HttpEvents are getting called * 18.4 RandomTableHandler6 added with support for paging * 18.3 gt, gte, lt, lte, numberEquals added to if functionality * 18.2 FormHandler will only return string keys * Documentation of parts updated * 18.1 No data found is configurable
The jar file is available at http://www.activeintellect.com/aspire/aspire_distributions/aspire_r2.0_b18.5_jsdk21.jar
I could have called this release "The parts release" or the "AKC release". "The parts release" because this build contains the consolidation of the basic plumbing for incorporating parts into Aspire. This release also adds around 7 parts to the distribution. "The AKC Release" because the major story of this release is actually an application that is build on Aspire build 18 called "Aspire Knowledge Central".
AKC is a content management system with dual purposes. Geneal public can manage folders worth of information for their own or public reference on the AKC site. AKC can also be used to effectively manage dynamic web pages on third party web sites without the inconvenience of ftps and manually creating links to those ftped documents.
Description to be entered