Hi,
You can create one logon page (check the blog - http://scn.sap.com/docs/DOC-27909).
Then in the java code itself (inside logon.jsp), check the SID or the system you are in, or anything from request (for instance with request.getServletRequest().getServerName();) , then with "if" statement put some html content.
Regards,
Tal