Recently changed documents

How to use initializers in Aspire

More documents like this are at:  Howto-Advanced

29-Aug-20

Aspire during startup can load classes implementing the "IApplicationInitializer" interface. These classes will be loaded as per the factory specification. This means the loaded class can be a single instance or a multi-instance. Once these classes are loaded their "initialize method gets called".

Description to be entered

Aspire allows "if" tags in your html pages. Here is an example.


<!--RLF_TAG BGN_IF aspire_key_name=literal_value if1 -->
..html segment
<!--RLF_TAG END_IF aspire_key_name=literal_value if1 -->

Aspire will take the "aspire_key_name" and try to locate it in the aspire data set. If it is there its value is taken and compared to the literal_value. The key is not case sensitive but the values are. If the strings are the same (or match) then the html segment will be included in the page otherwise not.

1. You can use this document for substituting common headers and footers on your aspire web sites.
2. How to write your own expressions
3. Source code of the default expression functions

05.04 How to use JSP and Aspire

More documents like this are at:  Howto

30-Nov-07

JSP Basics
Includes
Reading aspire data
using ihds
JSP References

Questions, Feedback

More documents like this are at:  Questions

27-Nov-07

You can use this document to provide feedback.

Build 24 released

More documents like this are at:  Release Notes

27-Nov-07

Main changes:Tested

Commons file uploads properly integrated using parts

Allow for url parameters as extra path segments

Main changes:Alphas state, pending testing

Saving blobs

Prepared statements

Retrieving files through Aspire parts as opposed to tomcat downloads. This will ensure proper security

Changed files

\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

How to upload files: one annotated approach

More documents like this are at:  Howto-Advanced

16-Nov-07

An example to use while trying to upload files. This is one possible approach with out saving blobs. You will use the file system to store the files and use a database table to hold references to them. You will also see here how one can display the files.

How to upload a file to a database and bring it back

More documents like this are at:  Howto-Advanced

14-Nov-07

1. You will be using commons file upload plugin or part

2. You will need to add a url rewrite filter that comes with aspire to convert extra path to url arguments

3. You will "singlefileuploadpart" to parse the multipart upload

4. You will use a PSExecutor2 part to save it as a blob in the database

5. You can BlobTransform to write it back to the browser

How to use Generic Mappers

More documents like this are at:  Howto-Advanced

9-Nov-07

Generic mappers are a set of java classes used to quickly read key value pairs. For example the relationship between file extension and their content type is determined this way.

This mechanism is intended to be a general purpose mechanism for reading a dictionary of values

The current implementation is a bit inefficient but a future implementation can amend that.

SingleFileUPloadCommonsPart: Draft

More documents like this are at:  Howto-Advanced

24-Oct-07

part of the upload file effort

FULCopyFilePart: draft

More documents like this are at:  Howto-Advanced

24-Oct-07

part of the upload file effort

Questions, Feedback 2006 and 2007 feedback

More documents like this are at:  Questions

18-Oct-07

You can use this document to provide feedback.

Source code for ConnectionPoolConnectionManager5

More documents like this are at:  Howto

14-Feb-07

This class allows you to use connection pools from apache or tomcat

How to use ConnectionPoolConnectionManager4

More documents like this are at:  Howto

27-Dec-06

This class implements a mechanism to preload a certain number of connections for each data source. The facility also allows to keep those many minimum connections open during the clean up process.

How to test Connection Pools

More documents like this are at:  Howto

27-Dec-06

This class implements a mechanism to preload a certain number of connections for each data source. The facility also allows to keep those many minimum connections open during the clean up process.

Some important log search strings

More documents like this are at:  Howto-Advanced

14-Dec-06

Some important log search strings

DatabaseTM: log file for single select

More documents like this are at:  Howto-Advanced

14-Dec-06

DatabaseTM: log file for single select

How to use SessionHDSTransformerPart

More documents like this are at:  Howto-Advanced

28-Sep-06

Description to be entered

How to use stored procedures in Aspire

More documents like this are at:  Howto

16-Sep-06

Aspire not only allows you to access and update data using stored procedures but also allows additional features to use stored procedures as the business layer. Here are a few things where and how stored procedures could be used in Aspire

How to use SessionVariablesPart

More documents like this are at:  Howto-Advanced

11-Sep-06


request.putVariable2InSession.classname=com.ai.parts.SessionVariablesPart
request.putVariable2InSession.variableName=var1
request.putVariable2InSession.newVariableName=var2

The above code when embedded in a pipeline will take "var1" from the hashtable and places it in the session as "var2". If newVariableName is not mentioned then it will just put it as variableName

Build 22.5 Released

More documents like this are at:  Release Notes

5-Sep-06

1. you can turn off flushing and closing the stream in base servlet

2. You can use JSPIncludeTransform to include jsp urls

How to use copyparameters part

More documents like this are at:  Howto-Advanced

24-Aug-06

you can use this part for introducing or copying existing keys as new keys.

Special note for newer tomcat releases

More documents like this are at:  Release Notes

24-Aug-06

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

A way to construct hds on the fly: an example using Lucene

05.06 How to do updates in Aspire

More documents like this are at:  Howto

18-Jul-06

Updates are quite straight forward in Aspire. An update is initiated by a user submitting a form. A form can be submitted using either a get method or a post method. Or you can even use a javascript function to collect the relevent fields and fire of a URL to the server along with the parameters.

How to submit a form in aspire a very trivial example

More documents like this are at:  Howto

18-Jul-06

Simple sample code of javascript to submit a form for aspire

05.02 loginapp4 aspire.properties

More documents like this are at:  Property file examples: AKC

13-Jul-06

Main configuration file

akc-reports-summary.jsp

More documents like this are at:  Property file examples: AKC

12-Jul-06

Example JSP page using ihds