5-Nov-03 (Created: 5-Nov-03) | More in 'UNF Lectures on Aspire'

10.05 UNF CMS-1:detail url properties


#Identify URL and have it point to a template file
ContactDetailURL=aspire:\student-name\contact-detail.html

#Point the URL to a data handler name
ContactDetailURL.formHandlerName=CDUDataHandler


Request.CDUDataHandler.form_handler.class_request.classname=com.ai.htmlgen.DBHashTableFormHandler1

#main data
request.CDUDataHandler.maindatarequest.classname=com.ai.db.DBRequestExecutor2
request.CDUDataHandler.maindatarequest.db=cms-db
request.CDUDataHandler.maindatarequest.stmt=\
\
select * \
from contacts \
where contact_id = {contactId} 

#No loop data

References/questions

1. What kind of java classes that I need to specify in the data definition?
2. What class versions should I use?
2. How can I define a database