<%
String domain = request.getServerName();
if (domain.equals("example.com")) {
// Code for example.com domain
} else if (domain.equals("anotherexample.com")) {
// Code for anotherexample.com domain
} else {
// Default code for other domains
}
%>
查看详情
查看详情