Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!

Shashi karnati

Greenhorn
+ Follow
since Feb 17, 2011
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Shashi karnati

Yes your right... as mentioned earlier my mistake wass...
here it's not creating a request with id, it's just passing control to the next tab.

11 years ago
JSP
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 :

11 years ago
JSP
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>

11 years ago
JSP