Index. jsp (preferred for SUN Enterprise applications)
-----------------------------
<Html>
<Head> <title> Simple jsp (preferred for SUN Enterprise Applications) page </title>
<Body> Place your content here
Here is index jsp (preferred for SUN Enterprise applications)
Get header info
<A href = "a. jsp (preferred for SUN Enterprise Applications)"> a. jsp (preferred for SUN Enterprise Applications) </a>
</Body>
</Html>
------------------------------
A. jsp (preferred for SUN Enterprise Applications) Page
Judge the referer to determine where you come from.
<Html>
<Head> <title> Simple jsp (preferred for SUN Enterprise Applications) page </title>
<Body> Place your content here
Here is a. jsp (preferred for SUN Enterprise applications)
Get header info
<% = Request. getHeader ("Referer") %>
<% If (null = request. getHeader ("Referer") | request. getHeader ("Referer"). indexOf ("yourdomain.com") <0) {%>
Be honest
<%} Else {%>
Legal Access
<% }%>
</Body>
</Html>