MAC operating systems problem
Hello,
I have devoloped the menubar of my Project for MAC o.s. It's working fine on firefox version 2.0 but As soon as i upload file the further processing is stops.BUt file is uploaded properly.But after that the next process stops can any body tell whts the problem.
<!--
// Author : Sandip C.
//
-->
<%@ page language="java" import="com.tattva.pms.employee.*, java.util.*"
session="true"
%>
<%
response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
response.setHeader("ALPS","no-cache"); //HTTP 1.0
response.setDateHeader ("Expires", 0); //prevents caching at the proxy server
%>
<% EmployeeBean anEmployee = (EmployeeBean)session.getAttribute("anEmployee");
if(!request.isRequestedSessionIdValid() || (EmployeeBean)session.getAttribute("anEmployee") == null) {
response.sendRedirect("invalidSession.jsp");
}
Vector roles = (Vector)session.getAttribute("myroles");
String userId = anEmployee.getUserId();
String pwd = anEmployee.getUserPassword();
%>
<html>
<head>
<title>ALPS</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<script type="text/javascript" src="scripts/stmenu.js"></script>
<script type="text/javascript" language="JavaScript1.2">
window.onerror=function(m,u,l)
{
window.status = "Java Script Error: "+m;
return true;
}
<%
com.tattva.pms.employee.Role temp = null;
if(roles != null)
for(int count=0; count<roles.size(); count++ ) {
temp = (Role)roles.elementAt(count);
}
if(roles != null)
if(roles.size()==0) {
%>
<% } else { %>
stm_bm(["menu0db7",640,"","blank.gif",0,"","",0,0,0,0,0,1,0,1,"","",0,0,1,2,"default","hand",""],this);
stm_bp("p0",[0,4,0,0,3,4,0,0,100,"",-2,"",-2,90,0,0,"#000000","#F1F2EE","",3,0,0,"#000000"]);
stm_ai("p0i0",[0,"Control Panel ","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0,0,0,1,"#F1F2EE",0,"#93A070",0,"","",3,3,0,0,"#FFFFF7","#000000","#000000","#FFFFFF","8pt 'Tahoma','Arial'","8pt 'Tahoma','Arial'",0,0]);
stm_bp("p1",[1,4,0,0,2,3,0,0,100,"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.43)",-2,"",-2,67,2,3,"#999999","#FFFFFF","",3,1,1,"#ACA899"]);
<% int cnt = 0;
int cnt1 = 0;
for(int count=0; count < roles.size(); count++) {
temp= (Role)roles.elementAt(count);
if(temp.getCode().equals("000030")) {
continue;
} %>
<%
if((temp.getType().equalsIgnoreCase("M"))){
%>
stm_aix("p1i<%=cnt%>","p<%=cnt1%>i0",[0,"<%=temp.getDescription()%>","","",-1,-1,0,'<%=temp.getDescription() + ".jsp" %>',"data","","","","",6,0,0,"","",0,0,0,0,1,"#FFFFFF"]);
<%
cnt1 = 1;
cnt = cnt+1;
}
}
%>
stm_ep();
stm_aix("p0i1","p0i0",[0,"Transaction"]);
stm_bpx("p2","p1",[]);
<%
int cnt2=0;
int cnt21=0;
for(int count=0; count < roles.size(); count++) {
temp= (Role)roles.elementAt(count);
if(temp.getCode().equals("000030")) {
continue;
} %>
<%
if((temp.getType().equalsIgnoreCase("T"))){
%>
stm_aix("p2i<%=cnt2%>","p<%=cnt21%>i0",[0,"<%=temp.getDescription()%>","","",-1,-1,0,'<%=temp.getDescription() + ".jsp" %>',"data","","","","",6,0,0,"","",0,0,0,0,1,"#FFFFFF"]);
<%
cnt21 = 1;
cnt2 = cnt2+1;
}//if
}//fors
%>
stm_ep();
stm_aix("p0i2","p0i0",[0,"Tools"]);
stm_bpx("p3","p1",[]);
<%
int cnt3=0;
int cnt31=0;
for(int count=0; count < roles.size(); count++) {
temp= (Role)roles.elementAt(count);
if(temp.getCode().equals("000030")) {
continue;
} %>
<%
if((temp.getType().equalsIgnoreCase("E"))){
%>
stm_aix("p2i<%=cnt3%>","p<%=cnt31%>i0",[0,"<%=temp.getDescription()%>","","",-1,-1,0,'<%=temp.getDescription() + ".jsp" %>',"data","","","","",6,0,0,"","",0,0,0,0,1,"#FFFFFF"]);
<%
cnt31 = 1;
cnt3 = cnt3+1;
}//if
}//fors
%>
stm_ep();
<%
} //else
%>
function helpPage(message) {
//Define Date to display in local syntax
now = new Date();
LocalTime = now.toLocaleString();
// to bring windows at the center of screen
leftpos = (screen.width-400) / 2;
rightpos = (screen.height-400) / 2;
//Define contents of page
contents=
"<center><body bgcolor=\"#bbc2ef\">" +
"<h3>Hello " + message + "</h3>"+
"<h3 > Advance Job Creation </h3>"+
"<h3 > Version No 2.06 </h3>"+
"<h2>Avam </h2> " +
"Software Management Consultancy
"+
"1/9 Shreeram Apartment,Shanti Sadan,
"+
"Next to SNDT College, Behind State Bank of India
"+
"Karve Road Erandwane , PUNE 411 004
"+
"Phone : 91-020-5412068
"+
"E-Mail : avam@vsnl.com
"+
"<A HREF=\"javascript:window.close()\" > Close </A>"
//Create new Window
options = "toolbar=0,status=0,menubar=0,scrollbars=0," +
"resizable=0,width=400,height=400,dependent=1,left="+leftpos+",top="+rightpos;
newwindow=window.open("","Help", options);
newwindow.document.write(contents);
newwindow.document.writeln(LocalTime);
newwindow.document.write('</center>');
newwindow.document.close();
}
</script>
</head>
<body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0" scroll="no" onunload="doUnload()" >
<DIV id=crtMOVE style="position: absolute; left: 0; top: 0; width: 625; z-index: 30; height: 18;">
<div align="center"> <img border="0" src="images/spacer.gif" width="99%" height="18" />
</div>
</DIV>
<div id="statusBar" style="position:absolute; left:5px; top:562px; width:630; height:18; z-index:31" class="statusBarTF"></div>
<table border="0" cellpadding="0" cellspacing="0">
<TR>
<TD width=1 bgColor=#878787 rowSpan=17><u><b><IMG height=1 alt=""
src="../images/s.gif" width=1></b></u>
</TD>
<tr>
<td style="FONT-SIZE: 11px; COLOR: #878787; FONT-FAMILY: arial,verdana,sans-serif"
vAlign=center background="../images/background-grey-stripes.gif" height="26" >
<TABLE height=19 cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD>
<iframe frameborder="0" name="DateHeader" width="100px" height="23px" src="DateHeader.jsp" scrolling="no" APPLICATION="yes">
</iframe>
</TD>
<TD vAlign="center" align="right" width=400>
<b>
<font face="Verdana, Arial, Helvetica, sans-serif" size="1">
<u><a class="change" href="../../ajc/index.jsp" target = "_self">AJC</a></u>
<u><a class="change" href="../../crm/index.jsp" target = "_self" >CRM</a></u>
<u><a class="change" href="main.jsp" target="data">Main Menu</a></u>
<u><a href="Change Password.jsp" target="data">Change Profile</a></u>
<u><a href="logout.jsp" target = "_self" >Log off</a></u>
<u><a href="javaScript:helpPage('<%=anEmployee.getFName()%> <%=anEmployee.getLName()%> ')" >About Us</a></u>
</font>
</b>
</TD></TR></TBODY></TABLE>
</TD>
<TD width=1 bgColor=#878787 rowSpan=17><u><b><IMG height=1 alt=""
src="../images/s.gif" width=1></b></u></TD>
</tr>
<tr>
<td height="20" background="../images/bg_navbar_top.gif">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><script type="text/javascript">stm_ep();stm_sc(1,["#FFFFF7","#B5BED6","","",3,3,1,1,"#FFFFF7","#000000","","",7,9,0,"","",7,9,0,0,200]);stm_em();</script></td>
<td align="right" width="5%"><a href="#">Help</a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top"><iframe frameborder="0" name="data" src="main.jsp" scrolling="yes" APPLICATION="yes">
</iframe></td>
</tr>
</table>
<script language="javascript">
function doUnload() {
if (window.event.clientX < 0 && window.event.clientY < 0) {
window.open("logout.jsp"); } }
</script>
</body>
</html>
hey this is code for my menubar..its working fine am using HTTP protocol for uploading a files on MAC machine ..everything upto that works fine ,After that as am clicked on finish button but nothin is going to happen even i cant get any error in log file of tomcat

