Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 410659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T17:54:36+00:00 2026-05-12T17:54:36+00:00

i coded a header file which includes some of tabs.this header file is include

  • 0

i coded a header file which includes some of tabs.this header file is include in jsps of website.in two jsp pages tabs are not working in internet explore but in other jsps its working fine.in firefox each tabs are working fine in each jsps.
below is code section of jsp in which header is included.

    <!-- Header Start -->

    <!-- standard header bar with logo -->
    <%@ include file="ssi/header1.ssi"%>
    <!-- end of standard header bar with logo -->

 <!-- Header End -->

header file ‘s tabs section is shown below in code of header1.ssi

  <div id="header">
<div class="headerInner">
    <div class="logo">&nbsp;</div>
    <div class="userDetails">
        <% {

             if(session.getAttribute("usermanagement")==null){
                  headerObj= headerCtx.lookup("UserManagementJNDI");
                  headerHome=(UserManagementHome)PortableRemoteObject.narrow(headerObj,UserManagementHome.class);
                  session.setAttribute("usermanagement",headerHome);
                }
             else
                  headerHome=(UserManagementHome)session.getAttribute("usermanagement");

              headerUser= headerHome.create();


        %>
        Welcome <b><%=operatorId%></b> &nbsp;&nbsp; <a href="http://www.drivetrackplus.com" target="_blank">[Home]</a>  |  <a href="logout.jsp">[Logout]</a>
        <br>

        <%}%>
        <%=(headerUser.getHierarchy(operatorId)!=null && !((headerUser.getHierarchy(operatorId)).equals(""))&& !((headerUser.getHierarchy(operatorId)).endsWith("null")))?headerUser.getHierarchy(operatorId):"" %>

    </div>
    <div class="clear"></div>

    <div id="tabs">
        <% if ( request.isUserInRole(RoleNames.CORP_GRP)){%>
        <div class="tab" onClick="location.href='Corporate.jsp'"><div class="tabText">Customer</div></div>
        <div class="tabSpacer">&nbsp;</div>
        <%}%>

        <%if ( request.isUserInRole(RoleNames.MER_GRP)){%>
        <div class="tabSelected" onClick="location.href='merchant.jsp'"><div class="tabTextSelected">Merchant</div></div>
        <div class="tabSpacer">&nbsp;</div>
        <%}%>

        <%if ( request.isUserInRole(RoleNames.ADMIN)){%>
        <div class="tab" onClick="location.href='Admin.jsp'"><div class="tabText">Admin</div></div>
        <div class="tabSpacer">&nbsp;</div>
        <%}%>

        <%if ( request.isUserInRole(RoleNames.CONFIG_GRP)){%>
        <div class="tab" onClick="location.href='config.jsp'"><div class="tabText">Config</div></div>
        <div class="tabSpacer">&nbsp;</div>
        <%}%>

        <% if (request.isUserInRole(RoleNames.INTERFACE_GRP) || request.isUserInRole(RoleNames.CMS_UPLOAD ) ||request.isUserInRole(RoleNames.CMS_DOWNLOAD ) || request.isUserInRole(RoleNames.LPM_INTERFACE ) || request.isUserInRole(RoleNames.ICICI_MP_INTERFACE) || request.isUserInRole(RoleNames.ICICI_MR_INTERFACE) || request.isUserInRole(RoleNames.CALL_REG_INTERFACE)){%>
        <div class="tab" onClick="location.href='Interfaces.jsp'"><div class="tabText">Interfaces</div></div>
        <div class="clear"></div>
        <%}%>
    </div>
</div>
    </div>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T17:54:37+00:00Added an answer on May 12, 2026 at 5:54 pm

    i have modified “location.href” to “window.location.href”?now its working fine in both.but i don’t understand reason behind it?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 199k
  • Answers 200k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer If you can make a DLL from that C++ code,… May 12, 2026 at 7:52 pm
  • Editorial Team
    Editorial Team added an answer You have two options. The simplest method is to set… May 12, 2026 at 7:52 pm
  • Editorial Team
    Editorial Team added an answer try unbinding the click event on #add and #remove before… May 12, 2026 at 7:52 pm

Related Questions

Okay, So I've googled a couple of pages and come up with the following
I'm a newbie in this vast world of programming. I've been given some codes
I'm using the Qt/Mfc Migration Framework to begin to convert some UI code from
I have a set of assembly function which I want to use in C
I love to organize my code, so ideally I want one class per file

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.