CP3110
Temp Downloads:
News:
- Jon Roberts let me help him create a new image (thursday
of lecture recess). I'm not sure if E1.015 machines have been RE-imaged yet,
but when it happens:
- All Java sotware/stuff is now under c:\java -> this
includes jdk1.4.2, tomcat5, netbeans etc.
- Not everything I wanted was installed & tested, but all essential
software should be there & working. If problems e-mail me.
- To run Tomcat, go Start>Apache>RunTomcat - if
not, add _MY_STARTUP.bat to tomcat's bin directory, edit
& run.
- Oh my god, Tomcat manning is working!!!! -- We have Nigel to thank for this.
- Nigels has uploaded a working example at: http://manning.cs.jcu.edu.au:6080/cp3110_group19/
- He's obviously a clever chappy, he has great code which demonstates:
Connecting to MySql. Session Management. Redirection. Page Timeouts. JSP's
and Servlet's. His page lets you submit any query to any database &
outputs the results! You can even export the results as a CSV! Woot!
- This is pretty advanced stuff - pretty complex.
- To WinSCP: u: cp3110_c19
...... p: ta0Bb1abL
- To DB: u: cp3110_c11
...... p: y1xHzi8nK
- I've put my example up at: http://manning.cs.jcu.edu.au:6080/cp3110_group16/
- (since group 16 is no more)
- I had to add the java connector under (\WEB-INF\lib)
for it to work - see the "SIMPLE JSPEXAMPLE IMPROVED!!!!"
- To WinSCP: u: cp3110_c16
...... p: x10sRIaik
More CP3110 Stuff: (recent)
- SIMPLE JSPEXAMPLE
IMPROVED!!!! - Working example for Tomcat
5 with DB connectivity. Should help you CP3110 get started on your projects.
Horray! - now has extra stuff. Read to cut & paste to manning under (\WEB-INF\lib).
- BERT (my
cp3120 project), adapted for Tomcat 5 - YAY
- now working under Tomcat 5 - use it to learn how login works using sessions!!!!
<NEW>
- Concept
overview - I e-mailed this once, here's
another copy. It contains cisco login password for those of you who continally
lose it. .... Heheh :)
- Latest
installation instructions - They were part
of the CD, but here is a downloadable copy. Joy!
- _MY_TOMCAT.bat
.txt- If you're
still have the problem whereby the only way to start Tomcat is via CMD prompt
(i.e: startup.bat & often "all programs"
shortcut not working), put this in the BIN dir, edit/recheck the paths, click
it to startup Tomcat. It's only 6 lines - "REM " stands for remove
line (comment out).
- Also: If there are multiple copies of Tomcat on your machine, you may
want to delete them all & try again.
- _SHAUNS_SETPATHS.bat
.txt- This sets
paths for just about everything. Make sure you edit it carefully though. I
think uppercase/lowercase makes a difference too. I haven't checked these
are correct for new image.
- For forgetful bunnies, to start mysql:
- >> Log into manning as yourself, then type:
- mysql -p -h manning.cs.jcu.edu.au -u cp3110_c11
y1xHzi8nK
show databases;
use cp3110_c11db;
- >> The following commands may also be useful:
- create table test (
empID varchar(20) not null,
email varchar(50),
primary key (empID)
);
show tables;
select * from test;
exit;
- better yet, if you're at uni try MySQL Front
- Simple LDAP example
- thanks to Ryan Beales from last year. <NEW>
- Dmity's
& Nigels LDAP Help - more stuff added (incl: how to determine
which subjects a lecturer teaches)
Other's CP3120
Stuff:
If you have something to add, e-mail me. Talk to jon if you
want unitednh back up and running.