Yes Albert,
you are right, these all present in one jsp,
and Here actually my mistake is passing value through anchor tag sooo.. its making new request.
here i need to use the <forward> method.
kindly help me ..
my code is :
HI , Here my problem is i am using tabs in jsp,
and i am using the <a href="#another_tab?id=1"></a>
this going to another tab, but in another_tab
trying to get request.getparameter("id") is not writing any return ?
Please help me out.
My code is :
<ol id="toc">
<li><a href="#query_list"><span>Query List</span></a></li>
<li><a href="#query_desc"><span>Compose Query</span></a></li>
<li><a href="#statistic_report"><span>Statistic Report </span></a></li>
</ol>
<div class="content" id="query_list">
<a href="#query_desc?id=-1&page=query_desc">To Compose New Query </a>
</div>
<div class="content" id="query_desc">
<% int id = 0;
if (request.getParameter("id") != null ) {
id = ParamUtil.parseInt(request.getParameter("id"));
}
%>
</div>