Posted by: Chyne on: March 31, 2008
1. Unix setting the date (must change to user root to do the setting)
# date –set = “20080331 10:42”
2008 – current year
03 – current month
31 – current date
10 – current hour
42 – current minute
2. To view the latest contents in the log file:
# tail –f /log/atp.log
3. To know what scripts are being used during the [...]
Posted by: Chyne on: March 25, 2008
When compiling a .jsp file, Tomcat will create a .java file before creating a class. If you want to check the java file, you can find the java file in this location:
Tomcat5.0workCatalinalocalhost\orgapachejsp
Posted by: Chyne on: March 24, 2008
If using the ‘locate’ command to perform a search is failed to return the results and the return message is “/var/lib/slocate/slocate.db is more than 8 day old”, you can update the database by using the command: updatedb
Posted by: Chyne on: March 22, 2008
Notes:
1. The primary key only can be set constraint during the creation of the table. Else it will display an error that the field returns null value and primary key cannot be created.
2. If you want to change the primary key after the table has been created, you have to drop the table and creates the table [...]
Posted by: Chyne on: March 22, 2008
Main Report
1. In main report, add SubReport icon.
2. Double click SubReport
3. In Subreport(Other) tab, add in the Subreport Expression:
$P{SUBREPORT_DIR+”/VoterList_subreport0.jasper”} (subreport name)
* If the report name has been changed, compile the report else it won’t bring any effects.
SubReport
1. Double click the subreport icon in the main report.
2. In the subreport tab, choose ‘Use connection expression‘ —> [...]