i have this code in php now i need it in jsp but no idea to change it
can somebody help me. I think it will be a little bit work but every idea will help me
CODE
<?php
if (!isset($site)) { $site="main"; }
if (file_exists($site.".php")) {
include($site.".php");
} else {
echo " <br><b><center>Diese Seite konnte nicht gefunden werden.<br>Bitte versuchen Sie es erneut.<br><br></center></b><br> ";
}
?>
if (!isset($site)) { $site="main"; }
if (file_exists($site.".php")) {
include($site.".php");
} else {
echo " <br><b><center>Diese Seite konnte nicht gefunden werden.<br>Bitte versuchen Sie es erneut.<br><br></center></b><br> ";
}
?>
and the link is like this but how must they look like in jsp
CODE
<a href="index.php?site=link">link</a>
thx for the help
darph