Drawing 2d line chart problem, urgent please!!!

Hello,
can anyone help me with the function GRAPH_MATRIX_2D please,
i couldn't draw a line graph with three data series, i mean with three lines in the graph.
i want to the chart to be drawn as line graph at the beginning, i shouldn't have to change the chart type later,
can anybody send me a sample code that does what i want.
i am expecting your answers,
thanks.

Hi,
have you checked the two reports Matthias mentioned?
After downloading the SAP Chart Designer the general procedure should look like: create your chart settings interactively using the designer. Save these settings as a local XML file. Use this XML in your ABAP application and additionally create a data XML at runtime (the format is described in the pdf of the SAP Chart Designer zip).
Regards, Kai
PS: Please don't use these very outdated function modules graph_matrix* / grstat* in new projects!

Similar Messages

  • Drawing a Line Chart

    Hello ,
    i'm using line type "  line chart with markers at data points " to draw 2 values
    - the start date on "X" axis
    - Original Value on "Y" axis
    my problem is when i put the "Start date " on the (on change of )area in data section , and put" original value "in the (show values )section , the original value got counted , and i don't wanna to count the values i want to use the values as it's , also Don't summarize check box is dimmed and i  dont wanna how to solve this trivial issue 
    can anyone help please ,

    "LittleMuscle" <[email protected]> wrote in
    message
    news:g7i93j$dqk$[email protected]..
    > Is there a way to draw a horizontal line straight across
    a chart, say a
    > column chart. I want the line to extend all the way from
    the y-axis to
    > the far right of the chart.
    http://www.quietlyscheming.com/blog/charts/easy-custom-charts/

  • Drawing on Line chart

    Hi
    how can I draw a line connecting top of each line series in
    the chart with multiple axis. Screenshot link below.
    Screenshot

    You could use the DataDrawingCanvas component found on
    www.quietlyscheming.com
    just make sure you get the source download for the DDC and
    The bulk download from the site
    There are some components needed by the DDC

  • HTMLDB Line Chart Problem in Version 2.0

    After upgrading to 2.0, several of our line charts stopped rendering.
    It seems that if a datapoint's value is equal to zero, the line will not render.
    However if I filter out all records > 0, then the chart works fine.
    I requested a workspace(OTN) and tried it out there and ended up with the same results.
    Is this bug in the charting engine or am I missing something?? Thanks for any help.
    - George
    Steps to reproduce:
    CREATE TABLE TEST01
    (MONTH     VARCHAR2(15),
    JCOUNT NUMBER);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('OCT-04',30);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('NOV-04',40);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('DEC-04',30);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('JAN-05',145);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('FEB-05',60);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('MAR-05',50);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('APR-05',161);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('MAY-05',82);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('JUN-05',177);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('JUL-05',213);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('AUG-05',122);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('SEP-05',140);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('OCT-05',70);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('NOV-05',67);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('DEC-05',27);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('JAN-06',46);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('FEB-06',31);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('MAR-06',17);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('APR-06',15);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('MAY-06',9);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('JUN-06',5);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('JUL-06',5);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('AUG-06',1);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('SEP-06',5);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('OCT-06',0);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('NOV-06',0);
    INSERT INTO TEST01 (MONTH,JCOUNT) VALUES('DEC-06',0);
    ADD A REGION TO PAGE CONTAINING A LINE CHART;
    HERE'S THE SELECT:
    SELECT NULL LINK,MONTH,JCOUNT FROM TEST01;
    MAKE SURE TO SET THE MAXIMUM RECORD COUNT TO 50;
    THEN RUN THE PAGE
    EXPECTED RESULTS: LINE CHART WILL RENDER
    ACTUAL RESULTS: LINE CHART DOES NOT RENDER

    Looks like a bug. Oracle may be aware of it. The best workaround I could come up with is adding a very small amount to your value (JCOUNT).
    SELECT *
      FROM (SELECT NULL link,
                   month,
                   CASE WHEN jcount = 0 then .00001
                        ELSE jcount END jcount
              FROM TEST01
             ORDER BY TO_DATE(month,'MON-RR'))Only problem you have with this is if you display data point values. The value for zero JCOUNTs will display as .00001. You can work around that by picking a format mask for the "Data Label Format" value for your series.
    Mike

  • 4 level masetr detail  problem urgent please

    hi all
    i have page with 4 level master detail first as a form and other as tables my problem is when i click on a record at the last table the second table stop the partial triger so when i chose any record in table 2 it didnt change data in table 3 and data still as it in table 3 and 4 without changing i need to solve this problem very very urgent
    please help me
    Edited by: user554540 on 31/12/2009 11:34 ص

    Do you have the partialTriggers set correctly on the 3rd and 4th level tables?
    As an alternative, you could write a custom selection listener for table 2 and programmatically ppr the 3rd and 4th tables..

  • Line Chart Problem, multiple point in X axis

    I need to create a line chart , with many data points between two points in the X-Axis.
    For example,
    for month january my reading is 4,3,5,2,8
    for month feb my reading is 1,5,3,5,2
    I need only two points in X axis, which are january and feb and all the reading should come in gaph.
    I am attaching a picture of the graph i required. Can any one help me how should i fill the arraycollection or XML in order to get the graph.

    Here is a script which will illustrate how to conditionally display the X-axis label on a line chart:
    DROP TABLE tmp_test_data;
    CREATE TABLE tmp_test_data
    (date_stamp DATE,
      value      NUMBER);
    BEGIN
      dbms_random.seed(1234535678);
      FOR i IN 1 .. 233 LOOP
        -- get a random integer between 1 and 100
        INSERT INTO tmp_test_data
         (date_stamp, value)
        VALUES (TRUNC(SYSDATE)-i, dbms_random.VALUE(1,100));
      END LOOP;
    END;
    SELECT NULL link, CASE WHEN MOD(day,7) = 0 THEN day ELSE NULL END label, value
      FROM (SELECT date_stamp, value, ROW_NUMBER() OVER (ORDER BY date_stamp) day
             FROM tmp_test_data a
             WHERE date_stamp >= TRUNC(SYSDATE)-90
             ORDER BY date_stamp) b
    ;There may be a better way to do this. I know this will work.
    Mike

  • Line chart problem

    Hi,
    I'm using crystal reports for eclipse.
    When I create a line chart (with 4 ranges) and refresh the report for the first time evrything looks alright.
    After saving and reopening the report something funny is hapening.
    If I refresh the chart the line thickness is increasing.
    If I repeat the refresh action I will get only 1 visible very thick line.
    Is it not possible to create a line chart with 4 ranges.
    If I make the same chart with only 3 ranges this is not hapening.
    Hope someone can help me.
    Ruud

    Hi,
    I have not tested your code, but check these links. This might help.
    http://blogs.adobe.com/flexdoc/2009/07/date_range_selection_for_flex.html
    http://www.stretchmedia.ca/code_examples/chart_range_selection/main.html

  • Svg line chart  problem with latest patch?

    Hi team,
    I was checking out one page containing an SVG chart that I didn't modify in 2 weeks, according to the application builder, but it seems to hang after displaying the first line series of 4 total.
    It was working before the last patch was installed.
    It's page 65 of application 21670 in the online environment.
    Choose "automobile" from the first drop down list and click on the button, the chart appears but then it seems to be waiting for something to download.
    If you move the mouse over any textual part, you can see in the status line the following message:
    "xml processing instuction not at start of external entity: line 172, column 0".
    If you open up the SVG source by right clicking on the chart, you will see at the end of the file an error text message returned by oracle (ORA-06502), but what is particularly strange is the presence of an <?xml> processing instruction just in the middle of the source code listing.
    It looks like it is trying to append the second chart series by appending another svg source file.
    Could you check if I did anything wrong or if it is a problem of the patch?
    I have got other chart type running without problems.
    Thanks!
    Bye,
    Flavio

    Things are getting complicated.
    I found some cases where the chart is displayed correctly, which made me think of some unexpected values returned by the underlying queries.
    Since my chart is made up of 4 different series returning 12 points each, I assembled the queries with UNION ALL and checked out what was returned both in a failing case and a successful one but I can't figure out a valid explanation, the only thing I notice is that in the failing case there are some values higher than average, say 10 times bigger than the average value and for some reason the chart stops drawing points exactly after the peak value (1155.62, see below).
    Each series returns exactly 12 points, some nulls, but that's doesn't seem to be the problem.
    I wonder if the problem is with the "autoscale" algorithm, but I am lost at the moment...
    Here is a successful data sample:
    - APRIL -
    - APRIL 119.57125
    - APRIL -
    - APRIL -
    - AUGUST 160.5
    - AUGUST 157.53
    - AUGUST 157.53
    - AUGUST 119.57125
    - DECEMBER -
    - DECEMBER 119.57125
    - DECEMBER 113.67
    - DECEMBER 131.214
    - FEBRUARY 104
    - FEBRUARY 119.57125
    - FEBRUARY 126.418333333333333333333333333333333333
    - FEBRUARY 125
    - JANUARY 153
    - JANUARY 119.57125
    - JANUARY 134.845
    - JANUARY 145
    - JULY 154.56
    - JULY 119.57125
    - JULY 154.56
    - JULY 154.56
    - JUNE -
    - JUNE -
    - JUNE -
    - JUNE 119.57125
    - MARCH 43.5
    - MARCH 119.57125
    - MARCH 106.918333333333333333333333333333333333
    - MARCH 100.166666666666666666666666666666666667
    - MAY -
    - MAY 119.57125
    - MAY -
    - MAY -
    - NOVEMBER 118
    - NOVEMBER 131.214
    - NOVEMBER 125.3775
    - NOVEMBER 119.57125
    - OCTOBER 164
    - OCTOBER 119.57125
    - OCTOBER 134.5175
    - OCTOBER 134.5175
    - SEPTEMBER 59.01
    - SEPTEMBER 119.57125
    - SEPTEMBER 124.69
    - SEPTEMBER 124.69
    and now an offending one:
    - APRIL -
    - APRIL 287.743333333333333333333333333333333333
    - APRIL -
    - APRIL -
    - AUGUST 1155.62
    - AUGUST 655.09
    - AUGUST 655.09
    - AUGUST 287.743333333333333333333333333333333333
    - DECEMBER 135
    - DECEMBER 287.743333333333333333333333333333333333
    - DECEMBER 197.2525
    - DECEMBER 349.865
    - FEBRUARY 114
    - FEBRUARY 287.743333333333333333333333333333333333
    - FEBRUARY 315.947142857142857142857142857142857143
    - FEBRUARY 130
    - JANUARY 153
    - JANUARY 287.743333333333333333333333333333333333
    - JANUARY 321.741428571428571428571428571428571429
    - JANUARY 190
    - JULY 154.56
    - JULY 287.743333333333333333333333333333333333
    - JULY 154.56
    - JULY 154.56
    - JUNE -
    - JUNE -
    - JUNE -
    - JUNE 287.743333333333333333333333333333333333
    - MARCH 223.5
    - MARCH 287.743333333333333333333333333333333333
    - MARCH 182.787142857142857142857142857142857143
    - MARCH 156.375
    - MAY -
    - MAY 287.743333333333333333333333333333333333
    - MAY -
    - MAY -
    - NOVEMBER 118
    - NOVEMBER 392.838
    - NOVEMBER 452.4075
    - NOVEMBER 287.743333333333333333333333333333333333
    - OCTOBER 354
    - OCTOBER 287.743333333333333333333333333333333333
    - OCTOBER 461.5475
    - OCTOBER 461.5475
    - SEPTEMBER 182.01
    - SEPTEMBER 287.743333333333333333333333333333333333
    - SEPTEMBER 497.396666666666666666666666666666666667
    - SEPTEMBER 497.396666666666666666666666666666666667
    Weird, isn'it?
    Bye,
    Flavio

  • Is the line charts problem still around in Apex 2.2?

    I think the problem is pretty well known:
    Someone wants to display three series, the first containing twelve values, one for every month.
    The second contains less values, starting at month 1.
    The third contains only a few values and starts somewhere in the middle.
    In 2.0 all series where stretched over the whole diagram width, which made the diagram pretty useless. Someone said this bug would be fixed in 2.2, but somehow I can't spot the difference. Please, have a look yourselves:
    http://apex.oracle.com/pls/otn/f?p=41909:2:3117835281290116
    Does it make any sense to put more effort in experimenting, or is the bug still open?

    Hallo Sabine und Dennes,
    Da habe ich mich wohl in einen deutschsprachigen Thread eingeschaltet ...
    Leider bestand in 2.2 / 2.2.1 fuer uns nicht die Moeglichkeit, die Schwachstellen unserer SVG Charts zu beheben. Dies werden wir erst mit der Version 3.0 angehen koennen, die im kommenden Jahr heraus kommen wird – ein genaues Datum habe ich natuerlich noch nicht. In der Zwischenzeit stehe ich aber gern fuer Fragen zur Verfuegung, um vielleicht der Zeitverschwendung etwas Abhilfe leisten zu koennen. Im oben genannten Beispiel erscheint mir ein Cluster-Bar Chart als besser geeignet, wie Dennes angemerkt hat. Zudem nehme ich auch gern Verbesserungsvorschlaege und Anregungen von Euch entgegen, vieles von dem was unsere Kunden uns vorschlagen, bemuehen wir uns in zukuenftigen Versionen aufzugreifen.
    Viele Guesse vom Oracle APEX Development Team aus New York,
    Marc

  • Sending mail Problem (Urgent Please)

    The following program mail coding program. I am in local System. Host is my server. But our Server (norton) firewall is enabled. I am not able to send any mail. Will you please tell me How to recover this problem or alter my coding. If anybody knows Please tell me.
    <html>
    <head>
    <title>JSP JavaMail Example </title>
    </head>
    <body>
    <%@ page import="java.util.*" %>
    <%@ page import="javax.mail.*" %>
    <%@ page import="javax.mail.internet.*" %>
    <%@ page import="javax.activation.*" %>
    <%
    try
    String host = "xxx.xxx.x.x";
    String to = request.getParameter("to");
    String from = request.getParameter("from");
    String subject = request.getParameter("subject");
    String messageText = request.getParameter("body");
    boolean sessionDebug = false;
    Properties props = System.getProperties();
    props.put("mail.host", host);
    props.put("mail.transport.protocol", "smtp");
    Session mailSession = Session.getDefaultInstance(props, null);
    mailSession.setDebug(sessionDebug);
    Message msg = new MimeMessage(mailSession);
    msg.setFrom(new InternetAddress(from));
    InternetAddress[] address = {new InternetAddress(to)};
    msg.setRecipients(Message.RecipientType.TO, address);
    msg.setSubject(subject);
    msg.setSentDate(new Date());
    msg.setText(messageText);
    Transport.send(msg);
    out.println("Mail was sent to " + to);
    out.println(" from " + from);
    out.println(" using host " + host + ".");
    catch(Exception e)
    System.out.println("Error");
    %>
    </table>
    </body>
    </html>
    Please tell me how to recover this problem
    Thanks in advance
    regards
    pooja

    Please tell me my mail coding is correct. If correct but i am not able receive any mail. what is the problem do u know. If you know please tell me
    regards
    pooja

  • Smartform : Printing Problem , Urgent Please

    Dear All,
    When I tried to print a smartform, I am Getting message 'Spool Request (number xxxxxx ) is created' .
    but It is not printing.
    I am facing this problem only with this form. I could print other forms / Scripts.
    What might be the error ? Please Let me Know ..
    Thanks & Regards
    Venkat
    Message was edited by: venkat Kumbham
    Message was edited by: venkat Kumbham

    Venkat,
    You can do that in two ways. Once is to set it in the USER DEFAULTS. Go to SU01 and you can see a tab for DEFAULTS.. There will be a check box for PRINT IMMEDIATELY.
    Or you can do that in the SMART Form parameters also. In the OUTPUT_OPTIONS parameters ther is a field TDIMMED. Set that to 'X'. That should print the form immediately.
    Regards,
    Ravi
    Note : Please close the thread, and mark the helpful answers if this solves your problem.

  • Installation problem - urgent, PLEASE help!!

    I'm trying to install Java3D and somehow it doesn't seem to be working. I'm not sure whether I should be installing the opengl or the
    directx version, but I've tried both with no luck. I'm running Windows
    M.E.
    I downloaded the JSDK beta 1.4 version (I have previously tried also
    with the 1.3 version, this didn't work either), and now have the
    jdk1.3.1 as a folder on my C drive ( C:\jdk1.3.1) . Then I downloaded
    Java3D from the website, onto C, as an executable file. When I clicked
    it, it went through the installation process (not giving me any
    options for where to install it, i was just clicking on 'next') and
    seemed to complete ok, but I'm trying to test it by running the
    helloUniverse demo, and the file isn't even there. There's a Java3D
    folder which has been created in Windows, but this just contains a
    folder called uninstall_info.
    On my Java plug-in control Panel, it is currently set to 'use java
    plug-in default'. The other options are to use JRE or JDK, in folders
    Program Files\JavaSoft or JDK1.3.1 respectively. I don't know which
    one I should be choosing! I think I tried it with the JDK option
    before and that didn't work either.
    If anyone can please help I'd be really grateful, this is getting
    quite urgent!

    Hi there!
    Well, try installing java3d in the same directory as ur java(which is c:\jdk1.3.1 for u).
    If i am not mistaken, java3d, by default, installs in c:\jdk1.2.2 directory.
    U also have 2 set the path and classpath in the autoexec.bat to addr to \bin and \lib sub-directories resp.

  • Adobe Form Line chart problem(unable to remove dots on background)

    Hi Experts,
    I am unable to remove dots present on background(Red dots). I want clear background without any dots. Please assist me how to achieve.
    Regards
    Ashish

    Hi,
    Can anybody tell me how can i solve the above problem.
    Thanks,
    Sridhar

  • Tomcat problem urgent please

    Hi! All
    I just installed jdk1.1.8 and jakarta-tomcat 3.3.2 on windows 2000.
    I also set the path, java_home and tomcat_home as required. But when I try to run Tomcat, it says "Starting Tomcat in a new Window", then a new window opens up and closes immediately.
    Please advice.
    Thank in advance.

    Edit the ... I think it's tomcat.bat file, and where it says something like:
    call "%TOMCAT_HOME%\bin\tomcat-startup" start %1 %2 %3 %4 %5 %6 %7 %8 %9
    Change start to run. This will make it start tomcat in the same window and let you see what the error message is. Most likely it's either a classpath problem, or another application using the port tomcat is trying to use.

  • Session and Refresh problem, Urgent, please help

              Hi, Dear Everyone:
              I have two questions to ask. (Environment: OS: Nt4.0, Server: Weblogic5.1)
              (1). When I use session to store an object in servlet (processed results
              from database) then dispatch to a jsp page to display the results, I got the following
              error message.
              Wed May 16 15:54:31 CDT 2001:<I> <ServletContext-General> Generated java file:
              C:\weblogic\myserver\classfiles\jsp_servlet\_ccproject\_subdisplay.java
              java.lang.NullPointerException
              at jsp_servlet._ccproject._subdisplay._jspService(_subdisplay.java, Comp
              iled Code)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:106)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:124)
              at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
              cherImpl.java:154)
              at com.voy.CCPro.DataDumper.doPost(DataDumper.java:69)
              at com.voy.CCPro.DataDumper.doGet(DataDumper.java:85)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
              pl.java:106)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              textImpl.java:907)
              at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletCon
              textImpl.java:851)
              at weblogic.servlet.internal.ServletContextManager.invokeServlet(Servlet
              ContextManager.java:252)
              at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.jav
              a:364)
              at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
              Here is my servlet code:
              HttpSession session = req.getSession(true);
              Vector temp = buildData.BuildForDisplay(rst);
              session.setAttribute("PostTitlePool", temp);
              String url = "/ccproject/subdisplay.jsp";
              RequestDispatcher dis = getServletContext().getRequestDispatcher(url);
              dis.forward(req, res);
              Here is my jsp
              <%@ page import="com.voy.CCPro.*" %>
              <%@ page import="java.util.*" %>
              <%
              Vector v = new Vector();
              v = (Vector)session.getAttribute("PostTitlePool");
              Enumeration enum = v.elements();
              SequenceData sq = new SequenceData();
              while(enum.hasMoreElements())
                   sq = (SequenceData)enum.nextElement();
                   if(sq.getIndicator()==0)
                        out.println(sq.getTitle());
                   else
                   out.print(sq.getTitle());
              %>
              Please tell me what I did wrong or What more do I need to do?
              (2). If I changed to use request.setAttribute in servlet, it works. But I got another
              strange
              result from browser. That is, if I keep on clicking refresh (IE5.5), the same result
              appending
              the previous one on the same page.
              Here is my code in servlet:
              req.setAttribute("PostTitlePool",temp);
              String url = "/ccproject/subdisplay.jsp";
              RequestDispatcher dis = getServletContext().getRequestDispatcher(url);
              dis.forward(req, res);
              Here is my jsp:
              <%@ page import="com.onvoy.CCPro.*" %>
              <%@ page import="java.util.*" %>
              <%
              Vector v = new Vector();
              v = (Vector)request.getAttribute("PostTitlePool");
              Enumeration enum = v.elements();
              SequenceData sq = new SequenceData();
              while(enum.hasMoreElements())
                   sq = (SequenceData)enum.nextElement();
                   if(sq.getIndicator()==0)
                        out.println(sq.getTitle());
                   else
                   out.print(sq.getTitle());
              %>
              Please explain it to me why that and how to fix it. I appreciate it very much.
              

    I control this as follows
    --> all JSP's don't create session (<@page session="false">)
    --> my FrontServlet checks
    session=request.getSession(false);
    if(session==null)
    //invoke method from LoginHandler (Helper Class)
    //for check logindata and create session
    else
    //invoke method from ProtectedResource (Helper Class)
    //for check, if user logged on
    --> LoginHandler
    //method UserAllowed returns true or false
    if(!UserAllowed())
    //invoke ServiceDispatcher method who displays
    //the 'AccessDenied'Page
    else
    //set loggedIn into the session
    session.setAttribute("loggedIn","OK");
    //invoke ServiceDispatcher method to display the requested Page
    --> ProtectedResource
    //check if user logged in
    Object o=session.getAttribute("loggedIn");
    if(o==null)
    //User not logged in
    //invoke ServiceDispatcher method to display 'Login' Page
    else
    //User logged in
    //invoke ServiceDispatcher method to display the requested Page
    --> URL of the Application
    Welcome: http://localhost:8000/APP/login.jsp
    submitted FORM sent to FrontServlet
    (FORM ACTION="servlet/FrontServlet")
    When everything is alright (username/password)
    new URL http://localhost:8000/APP/servlet/FrontServlet
    and the 'Main' Page is shown
    when session is timed out and i refresh page
    data is sent again (without asking for username and password)and new
    session is created and the 'Main' Page is shown again.
    How can i fix this problem
    thank you in advance :-)

Maybe you are looking for