<?php
session_start();
ob_start();

if($_GET['sessionvar']!=''){
$sessionvariable = $_GET['sessionvar'];
$sessionvalue = $_GET['sessionvalue'];

$_SESSION[$sessionvariable] = $sessionvalue;
}else {
$_SESSION[$sessionvariable] = '';
}
echo $_SESSION[$sessionvariable];
?>
Can anyone show the jsp part of this php code.