juanschodiger jha

Greenhorn
+ Follow
since Mar 25, 2012
Merit badge: grant badges
For More
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 juanschodiger jha

Yes above code is in jsp page...........i m not finding any reason why there is a split..
11 years ago
JSP
FoodCoupon cr_details = new FoodCoupon();
String company = request.getParameter("report");
allData = cr_details.getEmployees(pageContext,company);

int count=0;
count = allData.size();
int rowno = count/10;

if(allData.size()>0)
{
out.write("<table width=100% border=1 cellpadding=1 cellspacing=1>");
out.write("<tr>");
out.write("<td bgcolor= #3366CC><font color=#FFFFFF>"+"EMPLOYEE_ID"+"</font></td>");
out.write("<td bgcolor= #3366CC><font color=#FFFFFF>"+"CARD_NUMBER"+"</font></td>");
out.write("<td bgcolor= #3366CC><font color=#FFFFFF>"+"PAYROLL_CITY"+"</font></td>");
out.write("<td bgcolor= #3366CC><font color=#FFFFFF>"+"PAYROLL_LOCATION"+"</font></td>");
out.write("<td bgcolor= #3366CC><font color=#FFFFFF>"+"CURRENT_CITY"+"</font></td>");
out.write("<td bgcolor= #3366CC><font color=#FFFFFF>"+"CURRENT_LOCATION"+"</font></td>");
out.write("<td bgcolor= #3366CC><font color=#FFFFFF>"+"WAGETYPE"+"</font></td>");
out.write("<td bgcolor= #3366CC><font color=#FFFFFF>"+"VENDOR"+"</font></td>");
out.write("<td bgcolor= #3366CC><font color=#FFFFFF>"+"AMOUNT"+"</font></td>");
out.write("<td bgcolor= #3366CC><font color=#FFFFFF>"+"DATE OF JOINING"+"</font></td>");
out.write("</table >");
out.write("<table width=100% border=1 cellpadding=1 cellspacing=1 >");

for (int counter=0;counter<rowno;counter++)
{
out.write("<tr>");
for (int i =0; i<10;i++)
{
out.write("<td>");
out.write(allData.get(counter*10+i).toString());
out.write("</td>");
}
out.write("</tr>");
}
out.write("</table>");


}


All records are not properly getting diaplayed in excel.After 6757 records nothing is getting dispalyed.
Please suggest how to resolve this error.Thank you.
11 years ago
JSP


Above code supposed to throw runtime illegal state exception as parameter to session.setMaxInactiveInterval(0) method passes as 0
so it should get invalidate as soon as created.But i am getting output as 42.
Can anybody explain me reason for getting same output.
11 years ago
I have written on function in javascript which will disable button when form is submitted.



But when form is submitted button is not getting diabled.

[Added code tags - see UseCodeTags for details]

Vertical Scroll bar is getting displayed fine.But in order to view all fields of records,we need Horizontal Scroll Bar as well.
Correct me if i am wrong? Find attachment for more clarification.

Around 300 records getting displayed in that page,So in order to view all fields we need horizontal bar.
But it is not getting displayed.


Hello Guys...

it seems there is some problem in horizontal sacroll bar as it is not appearing in web page.

new_window = window.open(document.location + '?PayelementsCR_indexpage0=true', name,'height='+screen.height+', width='+screen.width+', toolbar=0, location=0,directories=0,status=0,menubar=0,scrollbars=yes,copyhistory=0, resizable=1, screenX=0,screenY=0,left=0,top=0');

Vertical Scroll bar appearing fine but horizontal bar did not appear.

Waiting for your response ASAP.......Than a lot in advance

I used 4 jsp pages in my application.When users selects some item on jsppage3 and clicks on go button then request will be redirected to jsppage4 but
everything on jsppage4 is getting executed twice.

Can you please let me know the reason why it is getting executed twice.I have all research on this topic still unanswered.

12 years ago
JSP