Daily count of employees

Hi! I'm new, am hoping for some help with a particular query. I need to count the number of employees that were active at any given location on any given day. For each active employee, there would be one row for each day, as I need to be able to run the query "as of" a certain point in time. We are only interested in dates beginning 1-1-2011 going forward.
An example of a result set would be:
EMPNO DEPTNO LOCNO EMPSTATUS JOBNO HIRE_DATE TERM_DATE CHANGE_EFF_DATE COUNT_DATE COUNT
111 111 101 Active 111 21-may-2007 01-sep-2012 0
111 112 101 Active 123 21-may-2007 01-may-2012 01-sep-2012 1
222 202 102 Terminated 333 5-june-2010 1-sep-2012 01-sep-2012 1
333 303 301 Terminated 444 2-sep-2010 6-aug-2011 01-sep-2012 0
444 100 202 Active 222 1-jun-2010 01-sep-2012 1
Total active employees on 1-sep-2012 = 3
111 112 101 Active 123 21-may-2007 01-may-2012 02-sep-2012 1
222 202 102 Terminated 333 5-june-2010 1-sep-2012 02-sep-2012 0
444 100 202 Active 222 1-jun-2010 02-sep-2012 1
Total active employees on 2-sep-2012 = 2
In the above example, the "TERM_DATE" is actually the employee's last day of employment, so I would count them if the term date = count date. Also, Employee # 111 has changed job numbers, so is not counted twice on the same day. Employees terminated before the count date would not be counted. We would filter by job number, location, department in our BI tool.
I hope this explains what I am trying to do. I will try and clarify if need be. Thanks to anyone for any help!

Hi,
Welcome to the forum!
truesoprano wrote:
Here is some additional information. The database version is 11.2.0.2, Great! That's important.
The other things mentioned in the forum FAQ {message:id=9360002} are important, too; in particular, CREATE TABLE and INSERT statements for your sample data, and using \ tags to make your output readable.
and I have looked at serveral things in trying to find out how to do this (google, SQL book, techonthenet, ittoolbox). I've found a lot of "employee counts" and "date increments" but nothing that seems like it will quite fit my scenario.
The source data comes from JD Edwards employee master and a custom history table, I have that filtered.
Would someone mind taking a look at this and point me in the right direction? Thank you so much.Do you want the output to contain 1 row for every day, starting with Septemebr 1, and continuing through today?  If you don't already have a table containing those dates, then use a sub-query, like dates_of_interest, below.  Outer-join that to your actual table, to find which employees were working on which days.
I think you'll want something like this:WITH     dates_of_interest     AS
     SELECT     DATE '2012-08-31' + LEVEL     AS a_date
     FROM     dual
     CONNECT BY     LEVEL <= SYSDATE - DATE '2012-08-31'
SELECT     d.a_date
,     COUNT (DISTINCT x.empno)     AS a_date_cnt
FROM          dates_of_interest d
LEFT OUTER JOIN     table_x     x ON x.cnt     > 0     -- COUNT is not a good column name
                    AND d.a_date     BETWEEN x.hire_date
                                   AND     x.term_date
GROUP BY d.a_date
ORDER BY d.a_date
Obviously, I can't test it until you post CREATE TABLE and INSERT statements for your sample data.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Count Distinct employees between two dates

    I'm having a headache trying to figure this out and I can't seem to find the correct way of doing it. Any help would be greatly appreciated.
    I'm needing to get a distinct number count of weekly employees by month that have worked or received pay for the pay period that includes the 12th of the month. The employees should only be counted once per month even though they might have worked and gotten paid during the pay period that includes the 12th of the month. I will give below the column names an example of the data.
    emp no_
    00001
    pay type_
    week
    pay period start date_
    01-09-12
    pay period end date_
    01-15-12
    pay date_
    01-12-12
    work date_
    01-11-12

    Hi,
    housetiger77 wrote:
    Thank you for your response. I'm working with Oracle Report Builder 10g. Your front-end tool can be significant, but it's much more important to know which database versions you have.
    There is no version 10f or 10h, so it's kind of silly to say you have 10g. Give your real, full version, e.g. 10.2.0.4.0.
    To find your database version, run
    SELECT  *
    FROM    v$version;The first line of output will have the database version.
    The report will be grouped by month, state, and work location. For each work location it will give me the distinct number of employees who worked or received pay for the pay period which includes the 12th of the month.
    The columns are as follows:
    SELECT
    phy_emp_no,
    phy_date,
    phy_actual_pay_date,
    phy_ppr_period,
    ppr_start_date,
    ppr_end_date
    FROM pyemppayhist, pycompayprd
    where phy_prn_code = ppr_prn_code
    and ppr_year = '2012'
    and phy_tran_code = 'NWHR'
    Below is my data example. I do not know how to put it in here without the rows and columns being all jumbled up. Sorry!That means you haven't read the forum FAQ yet. {message:id=9360002}
    Take a couple of minutes to read it now; it will be a very good use of your time. What you need to do, including how to use \ tags to preserve formatting, is all explained in that message.  (Actually, it's not so inportant that your CREATE TABLE and INSERT statements be formatted, but it's esy to do, and you have to learn how to do it anyway to post your results.)
    When you're ready to continue, post CREATE TABLE and INSERT statements for your sample data, the exact results you want from that data, and an explanation of how you get those results from that data.
    What's wrong with the solutions you've already received?  Point out where they're getting the wrong results from your sample data, and explain how you might get the right results in those places.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Counting of employees in a particular department

    Hi all,
    I have two tables emp (Primary key-empno) and dept(Primary key- deptno) and emp table also have a foreign key constraint on deptno column.
    I want to display any employee name in that department along with the total no.of employees in that dept. for example
    EMP TABLE (3 columns) AND DEPT TABLE (2 columns)
    empno ename deptno deptno dname
    1 a 100 100 XYZ
    2 b 200 200 PQR
    3 c 200 300 ABC
    4 d 300
    5 e 200
    6 f 300
    I want to display the o/p :
    ename count
    a 1
    b 3
    d 2
    Please let me know the query which displays o/p shown above.
    Thanks
    Edited by: 940677 on Jul 12, 2012 10:27 AM

    Hi,
    940677 wrote:
    Hi all,
    I have two tables emp (Primary key-empno) and dept(Primary key- deptno) and emp table also have a foreign key constraint on deptno column.
    I want to display any employee name in that department along with the total no.of employees in that dept. for example
    EMP DEPT
    empno ename deptno deptno dname
    1 a 100 100 XYZ
    2 b 200 200 PQR
    3 c 200 300 ABC
    4 d 300
    5 e 200
    6 f 300You may have noticed that this site normally doesn't display multiple spaces in a row.
    Whenever you post formatted text (such as query results) on this site, type these 6 characters:
    \(small letters only, inside curly brackets) before and after each section of formatted text, to preserve spacing.
    I want to display the o/p : ename count
    a 1
    b 3
    d 2
    Please let me know the query which displays o/p shown above.
    ThanksHere's one way:SELECT     MIN (ename)     AS ename
    ,     COUNT (ename)     AS ename_count
    FROM     emp
    GROUP BY deptno
    Usually, when you GROUP BY a column, you also want to display that column, so the column appears in both the SELECT clause and the GROUP BY clause.
    In this case, you sant to GROUP BY deptno (that is, you only want one row of output for each distinct deptno), but you don't want to display it, so just don't include it in the SELECT clause.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    If you can show the problem using commonly available tables (such as the emp and dept tables in the scott schema) then you don't have to post any sample data: just post the results and the explanation.
    Always say which version of Oracle you're using.
    See the forum FAQ {message:id=9360002}
    Edited by: Frank Kulash on Jul 12, 2012 1:35 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Count the record satisfied daily, weekly conditions

    Hi,
    I have a table which with the data being populated hourly (as below - with Date, Name, Value1, Value2 fields).
    I would need to query to get:
    1. Daily: Count the number of record which have Value1 <10 or Value2 >4 and occurs at least 3 times per day.
    2. Weekly: Count the number of record which satisfied the condition in "Daily" and happens 7 days consecutively for the past week.
    Thank you very much.
    Alex
    Table ABC               
    Date     Name Value1     Value2
    12/04/2010:01:00     TEST1     10     5
    12/04/2010:02:00     TEST1     10     4
    12/04/2010:03:00     TEST1     9     4
    12/04/2010:04:00     TEST1     9     4
    12/04/2010:05:00     TEST1     10     4
    18/04/2010:01:00     TEST1     10     4
    18/04/2010:02:00     TEST1     9     4
    18/04/2010:03:00     TEST1     9     3
    18/04/2010:04:00     TEST1     9     3
    Edited by: user8606416 on 16-Apr-2010 02:39

    We often help students ... but we insist that students help themselves too.
    The first thing you can do is read the FAQ and learn how to format listings with tags so we can read them.
    The second is that they try not just ask for a solution far more sophisticated than they could write themselves. I don't see evidence that you have tried to solve this yourself.
    BTW: DATE and NAME are reserved words in Oracle and should never be used to name anything.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to count total no of employees?

    HI,
    i got requirement how to get the total count of employees and how many days in the organization, but how to calculate days.
    employee joining date, releasing date, leaves,(CL, optional leaves, restricted leaves) employee salary.
    i created the new selections and formulas its not working for me.
    Thanks,
    Deen.

    Hi,
    create the new formula for the employee count then define the formula.
    hit the aggregation tab -> exception aggregation tab -> select the counter for all details values that are null or zero and reference char -> employee.
    it will give the count of employees.
    leaves,(CL, optional leaves, restricted leaves) for these object you can create the new selections.
    these object getting same info object id yes use the restricted char.
    for joining date and releasing date you convert char to KF using the replacement path then calculate the days.
    Thanks,
    Phani.

  • Count Employee Working Days

    Hello all
    i have a attandance table
    create table attn(
    EMPNO NUMBER,
    ADATE DATE,
    ATIME DATE,
    ETYPE VARCHAR2(2)); ( IN/OUT )
    i want to count a employee working days....i have save all employee in/out attndance table......any body help me

    hello all
    thanks for replay
    but my problem is this........
    emp # date time type
    4 01-JAN-04 12:15 OUT
    4 01-JAN-04 09:50 IN
    112 01-JAN-04 10:15 IN
    4 01-JAN-04 17:15 OUT
    4 01-JAN-04 01:50 IN
    112 01-JAN-04 18:57 OUT
    10 01-JAN-04 10:50 IN
    10 01-JAN-04 19:15 OUT
    my problem is one employee in/out more then 1 time a day..same situation end of month.when i have calculate working day end of month....if employee in/out more time a day query only calculate 1........

  • Scheduling by employee skills

    Summary: We are exploring options that will let us schedule planned orders by skills that the employees have.
    We are on 12.0.6. We do not have MES nor PS. And we are aware that "Schedule by instance" capability is not available for labor resources.
    Detailed description:
    On our factory floor, employees perform various activities such as soldering, assembling, testing and packing. Some employees can perform only one operation. Others have the skills to perform two or more operations. Say Mr. A can do Assembly, Mr. B can do Testing and Mr. C can do both.
    We will like to ensure that ASCP calculates our labor capacity properly.
    One option I am considering is
    *) Define the skills (such as ASSEMBLY, TESTING, PACKING, SOLDERING etc.) in HR as competencies.
    *) Assign the skills to the employees in HR.
    *) Definer PERSON type resources such as ASSEMBLER, TESTER, PACKER, SOLDERER. For each such resource, enter the necessary skills competency needed to perform the operation.
    *) For each such resource, assign the appropriate employees. Multi-skilled employees will get assigned to different resources. So in our example, Mr. C will get assigned to ASSEMBLER and TESTER resource.
    *) Assign the resources to appropriate departments. Define the instances (i.e. employees) who can work in that department. Again, an employee may get assigned to more than one department.
    *) Define routings with appropriate departments and resources.
    However, I have some misgivings. The main concern is that ASCP may double count an employee's availability just because he is assigned to more than one resource/department. So in our case, ASCP may think that it has 2 assemblers and 2 testers.
    We also need to ensure that ASCP will look at the skills of the employees. I know MES looks at it but I am afraid planning engine may not.
    Options considered and discarded
    1) Alternate resources
    2) Assigned units
    Has anyone encountered such requirement? Any ideas on how to model this?
    TIA,
    Sandeep Gandhi

    RD,
    I am still looking for a good way to model this. So I appreciate your help.
    We do have two separate resources on the routing - one is Assembler and the other is Tester.
    However, the problem is with the actual units of resources. If we define one each, we will under-represent the capacity. If we define two each, we over-represent the capacity. What we really need is to model a min of 1 and max of 2 Assemblers/Testers but a sum total of 3.
    Oracle does let you capture skills at the employee level and it lets you define skills for each operation. Unfortunately, I can't figure out a way to make Oracle schedule by tying Employee skills and an operation's skill requirements.
    Sandeep

  • Selecting on a Max Count of rows

    I would like some advice on the following SQL. I am trying to select the max(count(*)) of a selct count(*). (if you know what I mean??)
    select district_id
    from (
         -- retrieve a list of districts, plus the count of employee related records
         select d.district_id, count(*) CountX
         from station s, division d
         where s.resp_empl_num = :empID and
         s.stn_status_code = 'AC' and
         s.resp_div_num = d.division_code
         group by d.district_id
         -- match on the district with the max count #
    where CountX = (
         select max(count(*))
         from station st, division dv
         where st.resp_empl_num = :empID and
         st.stn_status_code = 'AC' and
         st.resp_div_num = dv.division_code
         group by dv.district_id
    )

    Try this
    select district_id
    from ( select district_id,
                  rank() over (order by count(*) desc) rn
           from   station s, division d
           where  s.resp_empl_num = :empID and
                  s.stn_status_code = 'AC' and
                  s.resp_div_num = d.division_code
           group by d.district_id
    ) where rn=1
    ;

  • SQL QUERY COUNT PROBLEM

    Employees:
    Employee_ID Name
    01 Hansen, Ola
    02 Svendson, Tove
    03 Svendson, Stephen
    04 Pettersen, Kari
    Orders:
    Prod_ID Product Employee_ID
    234 Printer 01
    657 Table 03
    865 Chair 03
    SELECT Employees.Name, Orders.Product
    FROM Employees, Orders
    WHERE Employees.Employee_ID=Orders.Employee_ID
    My question is :how to take the count of particular field from above query from the second table.

    Please don't re-post or cross-post.
    SELECT employee.name, COUNT(*)
    FROM employee, product
    WHERE employee.employee_id = product.employee_id
    GROUP BY employee.name
    - Saish

  • Distinct Count Running Total

    <p>I have a report that gets a distinct count of items per day.</p><p>DistinctCount(, , "daily")</p><p> I would like to create a running total of the daily count for a weekly grand total.</p><p>Thanks!</p>

    <p>I&#39;ll take a stab at this - So I understand that the report is grouped by Day and looks like this:</p><p>GF1:    1/1/07   9</p> <p>GF1:    1/2/07   10</p> <p>GF1:    1/3/07   12</p> <p>GF1:    1/4/07   15</p> <p>GF1:    1/5/07   20</p><p> </p><p>The first thing I&#39;d try is to create a another group on your Date field, this time selecting the grouping option to be "For Each Week".  Take that group and move it so that it is Group1 and your current group is Group 2.... your structure will now look like this. </p><p>GH1:    1/1/07        < new &#39;week&#39; grouping&#39; > </p><p>    GF2:    1/1/07   9</p>  <p>    GF2:    1/2/07   10</p>  <p>    GF2:    1/3/07   12</p>  <p>    GF2:    1/4/07   15</p>  <p>    GF2:    1/5/07   20</p><p> Then I would copy the Sum field (distinct count) that you are using in Group 2 and put it in the Group 1 footer.  We could also create a formula to sum up all distinct counts per day, but a Distinct Count by week should accomplish what you are after.   Then in a seperate formula, you could divide the DistinctCount of orders (by week) by the DistinctCount of dates (by week) to get your daily average....</p><p>formula:</p><p>DistinctCount ({Orders.Order ID}, {Orders.Order Date}, "weekly") <br />/ <br />DistinctCount ({Orders.Order Date}, {Orders.Order Date}, "weekly") </p><p> </p><p>Hope that helps. </p>

  • Negative reporting - Show employees who haven't attended a course

    Hi
    I have two infocube, one containing all employees within the company and on containing courses (incl employee participant information).
    Now I would like to create a query which shows employees which havent attended a specific cause. It should be possible to select the course in the variable screen and then get the list of employees which havent attended the course.
    How can I do that?
    Thanks and kind regards.
    Torben

    Hi Torben.
    I think I made a mistake with constant selection on 0employee - it should be a constant selection for course-ID and a count of 0employee in both cubes, because, IF you have attended a course, you will be in BOTH cubes, so the count will be greater than 1. If you have not attended a course, you will only exist in the "all employees, no course info"-cube and the count will be exactly 1.
    Also, I think you would have to utilize exception aggregation for the 0employees in your counter, to count them correctly for any selection of time, costcenter, etc. (In 7.0 you can use a calculated kf for this, in 3.5 you need to use an infoobject just for this)
    In the query, make two restricted key figures, one counting the employees in each cube (restriciton on inforprovider). Use constant selection on emplty course-ID selection to count employees in the "all employees, no course info"-cube. Put a variable for course-ID in the other RKF, to let users select a specific course.
    Then add the two RKFs in a calculated key figure and make a condition on the calculated key figure = 1 (set it to evaluate for employee only, I think). Hide the two restricted key figures.
    Put 0employee in the rows.
    Now the query should return only the employees who did not attend a specific course. You can add variables for other common dimensions, fx time, costcenter, etc. If you want to drill on the course-ID, fx in the rows after employee to see who attended what, you need to switch off the condition.
    Well, it should be possible to make it work that way and I hope the above will help to get you there.
    Good luck!
    Jacob

  • How to get count values?

    Hi,
    How can I get the counts of employees from each department from the demo table 'emp' in a single query?
    ThanX in advance... :)

    SQL> select * from emp;
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7566 JONES      MANAGER         7839 02-APR-81       2975       1000         20
          7902 FORD       ANALYST         7566 03-DEC-81       3000                    20
          7839 KING       PRESIDENT            17-NOV-81       5000                    10
          7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-81       2450                    10
          7369 SMITH      CLERK           7902 17-DEC-80        800                    20
          7499 ALLEN      SALESMAN        7698 20-FEB-81       1600        300         30
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30
          7788 SCOTT      ANALYST         7566 09-DEC-82       3000                    20
          7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30
          7876 ADAMS      CLERK           7788 12-JAN-83       1100                    20
          7900 JAMES      CLERK           7698 03-DEC-81        950                    30
          7934 MILLER     CLERK           7782 23-JAN-82       1300                    10
    14 rows selected.
    SQL> select deptno, count(*) cnt
      2    from emp
      3  group by deptno;
        DEPTNO        CNT
            10          3
            20          5
            30          6
    SQL>

  • No option for choosing employee/dependents when entering a claim

    Dear SAP Experts,
    I would like to know if it has really no options to choose option employee/dependents when entering a claim in HRCLM0001?
    If there's no option for that, how the system counts each employee/dependents limit if the limit if configured as each dependent limit in claim rule for plan SAP Benefit configuration?
    Thanks you for your answer.
    Best Regards,
    Erli Hartono

    Dear SAP Experts,
    I would like to know if it has really no options to choose option employee/dependents when entering a claim in HRCLM0001?
    If there's no option for that, how the system counts each employee/dependents limit if the limit if configured as each dependent limit in claim rule for plan SAP Benefit configuration?
    Thanks you for your answer.
    Best Regards,
    Erli Hartono

  • Count(*) with group by and a join

    I've the below tables:
    Tables:
    EMPLOYEE
    EMP_ID         LNAME             FNAME
    1000                 SLITT              JOHN
    1001                 SLITHER              STEVE
    1002                 JACOB              MARLYN
    1003                 STUFFEY     NOSE
    1004                 SLIPPY              MOUTH-----
    ACCESS_TYPE
    ACCESS_TYPE_ID     ACCESS_DESCRIPTION
    1                         EMPLOYEE
    2                         EMPLOYEE_ADMIN
    3                         CONTRACTOR-----
    EMPLOYEE_ACCESS
    ACCESS_ID      ACCESS_TYPE_ID     EMP_ID     ACCESS_EFF_DATE     
    1               1               1000              01-JAN-13
    2               1               1001              10-FEB-13
    3               1               1002              18-FEB-13
    4               2               1003              10-OCT-12
    5               3               1004              10-MAR-08-----
    I'm trying to figure out the count of employees group by their type and whose last name does not start with SL
    I've written the query below and I'm getting a 00936 Missing Expression. What am I doing wrong? Thanks
    SELECT EA.COUNT(*) , ACCESS_TYPE_ID
    FROM EMPLOYEE_ACCESS EA, EMPLOYEE E
    WHERE ACCESS_EFF_DATE >= '31-DEC-12' AND E.LNAME NOT LIKE 'SL%'
    GROUP BY ACCESS_TYPE_ID;
    Edited by: parsar on Mar 25, 2013 3:54 PM

    thanks for the response.
    If I don't use the alias prefix, which table rows will the query count because I've two tables in the from clause.
    I've modified the query as below but it doesn't return any data:
    SELECT COUNT(*) AS ACCESS_COUNT, ACCESS_TYPE_ID
    FROM EMPLOYEE_ACCESS EA , EMPLOYEE E
    WHERE EA.EMP_ID=E.EMP_ID AND
    ACCESS_EFF_DATE >= TO_DATE('2012-12-31', 'YYYY-MM-DD') AND
    E.LNAME NOT LIKE 'SL%'
    GROUP BY ACCESS_TYPE_ID;Please let me know which part of the query I screwed up.

  • Exception Aggregation is not working while Expanding hierarchy increases the total count

    Hi All ,
    I am working on Headcount report. I need to count the Employee based on the National Insurance no of a Employee so that the Employee will be count only once.
    On query execution query gives a correct result. After expanding the Org. Unit Hierarchy it will show a different result and more than that before expanding in the count column. Attachment is there for reference.
    Regards
    Arvind

    You need to close your resultSets, Statements and Connections before exiting the jsp. That is probably why you are experiencing this problem.

Maybe you are looking for