You said you were students, so I assumed you were in a course.
You jumped in without any knowledge or experience. That sounds like me. That is a very good way to learn, it is painful, but you remember painful lessons.
When you set up a failover service group and make resources Critical, then you have told VCS that if a critical resource fails, it should attempt to bring up the service group on another system in the SystemList. Nothing in the attributes specifies failover, it simply gives VCS the information necessary to online, monitor and offline the application.
IF you are using static scripts for the web server, not data that will be changing constantly, you can put the scripts on each server, perhaps with the binaries. This is what VCS calls a "shared nothing" service group. When you failiover, the service group would only have the IP, perhaps a mount, and the Apache resource.
As far as it being Solaris 10, it doesn't matter. VCS 5.0 was written for Sol 10. Look in /opt/VRTSvcs/bin/Apache. There you will see the online script to start the Apache instance. DO NOT MODIFY THESE SCRIPTS. You can read thru them, they are in Perl, to see how it works.