Problem in makin forms in jsp

the problme what i am getting is that.
we have fetch data from database which are Questions.
now the problme is that when a user click on a question they will get a new page with that particular question with a input ANS field.
so for that we are making that text formated Question as a HYPER LINK now we dont know how to transfer value through hyperlink can any one tellme.
because every quastion havea unique serial number what we have to pass through another page.
out one page can carry many quation's .
this is our one problme NOW second is that
how can we restricts the quation numbers on one page
like i want to display only 5 quation next 5 quation will be display on next page & all pages should be virtually created.
PL help me .
& thanks for your time

in your hyperlink add
yourJspPage.jsp?yourParameter1=yourValue1&yourParameter2=yourValue2
you can keep adding values in this way.
In the page it submits to, in this case yourJspPage.jsp you use the lines
String param1 = request.getParameter("yourParameter1");
String param2 = request.getParameter("yourParameter2");
if you then use
out.println(param1 + "<br>" + param2);
you will see the parameters printed to screen.
It would be much quicker for you in future to search the forums, this question has been answered many many times already - you could have found the answer within 5 minutes.
As for displaying 5 pages at a time, search the forums for 'paging'

Similar Messages

  • JSP problem after PDF Form Submit

    Hi,
    Our project team is using a PDF with Acrobat Form fields behind it to post form data to a java servlet, where it is parsed and written to a legacy system.
    Our problem: when we return a jsp confirmation page back to the user, we are getting intermittent responses - sometimes the user will see the page, sometimes not. Also of note - the URL address location in the browser is being changed to "C://TEMP/xxxxxx.html", instead of showing "http://myserver/myapp/confirmPage.jsp". In effect, it doesn't retain the server location from which the form data was submitted - instead, after the jsp on that server is rendered into html, it is being written to a temp location on the local hard drive as an .html page, then displayed from there.
    In my debug testing, I have bypassed the bulk of my application code, submitting into the servlet and returning the jsp right back to the user. It works properly when submitted from an HTML page, but goes to the C://TEMP... route when submitted from the PDF. Therefore, I can conclude that the bug is not in our java code and is not in the jsp code.
    On our PDF we are using an Adobe script submitForm() function, naming our servlet to send to (without appending #FDF on it) and specifying "false" as our second parameter, since we are passing the data as an HttpRequest instead of as FDF data.
    I suspect the problem may be caused by some differences in the headers in the HttpRequest object coming from the PDF. In comparing the Request headers from the PDF submit and those from an HTML page submit:
    From the PDF:
    content-type = application/x-www-form-urlencoded
    user-agent = Mozilla/4.0 (compatible; Adobe Acrobat Control Version 5.00 for ActiveX)
    From an HTML submit:
    content-type = text/html
    user-agent = Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0)
    I have tried explicitly setting the headers to match those coming in from an HTML submit but this doesn't seem to make a difference.
    Has anyone experienced a similar problem? Any thoughts?
    jander

    This is a bug from Acrobat !
    The turnover is to send a FDF document with the file tag (/F) referencing the jsp page you want to display

  • Problem with multiple forms and subview

    I have a problem when using NetBean Web Pack (JDK6, Net Beans 5.5, JSF 1.2).
    1) I created a JSF page (hello.jsp) and a page fragment (header.jspf) inside Web Pack, and let the JSF page (hello.jsp) includes the page fragment.
    2) The include instruction is outside of the "form" element id=main_form() of the first JSF page.
    3) Inside the page fragment (header.jspf), I put a form (id=header_form) with some input fields inside the "subview" element.
    4) When running the web application, the form and its children (id=header_form) inside the subview are not rendered.
    It seems to be a problem with multiple forms on a page and the subview.
    Do I use these JSF components incorrectly? Any advice?
    Thanks

    The forms are not nested.
    hello.jsp
    <webuijsf:body ...>
    <!-- BEGIN: include header -->
    <div style="margin: 0px 0px 10px 0px; left: 0px; top: 0px">
    <jsp:directive.include file="Header.jspf"/>
    </div>
    <!-- END: include header -->
    <webuijsf:form ...>
    From above fragment, you can see the header.jspf is outside of the form element.

  • Problem in tabular form based on dynamic view and pagination

    Hi All,
    I have a manual tabular form based on a dynamic view. The view fetches the records based on search criteria given by the user in all cases. But this view fetches ALL records when user clicks on pagination, without considering the search criteria. This is the problem I am facing.
    I am doing the following:
    Since tabular form does not support pl/sql function returning query, I cannot use a table directly. I need my results based on search criteria selected by user. Hence I created a dynamic view and used a "INSTEAD OF UPDATE" trigger to update the table.
    I use a set bind variables procedure, on load before header for setting the variables.
    This view fetches the correct data based on user search always. It creates a problem only in one situation, when using pagination in the report.
    The example can be found at:
    http://apex.oracle.com/pls/otn/f?p=19399:1:
    username = [email protected]
    pwd = kishore
    Here if "manager name" is entered as test, we get 5 records in "Summary of requests" report and 5 records in "Inactive Requests" report. When user clicks on Pagination in any of the reports, ALL the 7 records get fetched in "Summary of Requests" and 6 records in "Inactive Requests". How can I overcome this problem?? The report must consider the search variables even when pagination occurs.
    Is this because, the inbuilt "html_PPR_Report_Page" executes the region query once again by considering all search variables as NULL?
    Backend Code is at:
    http://apex.oracle.com/pls/otn/
    workspace: sekhar.nooney
    Username :[email protected]
    pwd: kishore
    application id = 19399
    My region code is something like:
    select *
    from regadm_request_v
    where access_type = :F110_REGADM
    and status <> 'INACTIVE'
    order by request_id
    My view code is:
    CREATE OR REPLACE VIEW REGADM_REQUEST_V
    AS
    SELECT *
    FROM REGREGOWNER.REGADM_REQUEST
    WHERE upper(employee_name) LIKE '%'||nvl(upper(REGADM_REQUEST_PKG.GET_EMPLOYEE_NAME),'%')||'%'
    AND upper(manager_name) LIKE '%'||nvl(upper(REGADM_REQUEST_PKG.GET_MANAGER_NAME),'%')||'%'
    AND upper(employee_sunetid) LIKE '%'||nvl(upper(REGADM_REQUEST_PKG.GET_EMPLOYEE_SUNET_ID),'%')||'%'
    AND upper(manager_sunetid) LIKE '%'||nvl(upper(REGADM_REQUEST_PKG.GET_MANAGER_SUNET_ID),'%')||'%'
    AND upper(request_date) LIKE '%'||nvl(upper(REGADM_REQUEST_PKG.GET_REQUEST_DATE),'%')||'%'
    AND upper(USAGE_AGREEMENT_RECVD) LIKE '%'||nvl(upper(DECODE(REGADM_REQUEST_PKG.GET_USAGE_AGREMNT_RECVD,'~!@',NULL,REGADM_REQUEST_PKG.GET_USAGE_AGREMNT_RECVD)),'%')||'%'
    AND upper(STATUS) LIKE '%'||nvl(upper(DECODE(REGADM_REQUEST_PKG.GET_STATUS,'~!@',NULL,REGADM_REQUEST_PKG.GET_STATUS)),'%')||'%'
    AND upper(REQUEST_APPROVED) LIKE '%'||nvl(upper(DECODE(REGADM_REQUEST_PKG.GET_REQUEST_APPROVED,'~!@',NULL,REGADM_REQUEST_PKG.GET_REQUEST_APPROVED)),'%')||'%'
    AND upper(nvl(APPROVAL_DATE,sysdate)) LIKE '%'||nvl(upper(REGADM_REQUEST_PKG.GET_APPROVED_DATE),'%')||'%'
    AND upper(APRVL_REQUEST_SENT) LIKE '%'||nvl(upper(DECODE(REGADM_REQUEST_PKG.GET_EMAIL_APPROVERS,'~!@',NULL,REGADM_REQUEST_PKG.GET_EMAIL_APPROVERS)),'%')||'%'
    AND upper(NOTIFY_APPROVED) LIKE '%'||nvl(upper(DECODE(REGADM_REQUEST_PKG.GET_APPROVAL_NOTIFICATION,'~!@',NULL,REGADM_REQUEST_PKG.GET_APPROVAL_NOTIFICATION)),'%')||'%'
    I would be glad for any suggestions.
    Andy/Varad any ideas? You both helped me a lot on my problems for the same application that I had faced before in More Problems in Tabular form - Please give me suggestions.
    Thanks,
    Sumana

    Hi Andy,
    The view and the package for setting bind variables work properly in my entire application other than the pagination. A pity that I came across this only now :(
    I have used this same method for holding variables in another application before, where I needed to print to PDF. I used this approach in the other application because my queries were not within the APEX character limit specified for the "SQL Query of Report Query shared component".
    In this application, I initially had to fetch values from 2 tables and update the 2 tables. Updateable form works only with one table right? Hence I had created a view. Later the design got changed to include search and instead of changing the application design I just changed the view then. Still later, my clients merged the 2 tables. Once again I had just changed my view.
    Now, I wanted to know if any method was available for the pagination issue (using the view itself). Hence I posted this.
    But as you suggested, I think it is better to change the page design quickly (as it would be much easier).
    If I change the region query to use the table and the APEX bind parameters in the where clause as:
    SELECT *
    FROM REGADM_REQUEST
    WHERE upper(employee_name) LIKE '%'||nvl(upper(:P1_EMPLOYEE_NAME),'%')||'%' .....
    I also changed the ApplyMRU to refer to the table.
    Here the pagination issue is resolved. But here the "last Update By" and "Last Update Date" columns do not get updated with "SYSDATE" and "v(APP_USER)" values, when update takes place. Even if I make the columns as readonly text field, I am not sure how I can ensure that SYSDATE and v('APP_uSER') can be passed to the columns. Any way I can ensure this? Please have a look at the issue here: http://apex.oracle.com/pls/otn/f?p=19399:1:
    I have currently resolved the "last update" column issue by modifying my view as:
    CREATE OR REPLACE VIEW REGADM_REQUEST_V
    AS
    SELECT *
    FROM REGADM_REQUEST
    I modified my region query to use APEX bind parameters itself as:
    SELECT *
    FROM REGADM_REQUEST_V
    WHERE upper(employee_name) LIKE '%'||nvl(upper(:P1_EMPLOYEE_NAME),'%')||'%' .....
    And I use the "INSTEAD OF UPDATE" trigger that I had initially written for update. The code is:
    CREATE OR REPLACE TRIGGER REGADM_REQUEST_UPD_TRG
    INSTEAD OF UPDATE
    ON REGADM_REQUEST_V
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    BEGIN
    UPDATE REGREGOWNER.REGADM_REQUEST
    SET MANAGER_EMAIL = :NEW.MANAGER_EMAIL
    , EMPLOYEE_EMAIL = :NEW.EMPLOYEE_EMAIL
    , STATUS_UPDATE_DATETIME = SYSDATE
    , USER_UPDATE_ID = (SELECT v('APP_USER') FROM DUAL)
    WHERE REQUEST_ID = :OLD.REQUEST_ID;
    END;
    Please let me know how I can resolve the "last update" column issue using the table itself. (Just for my learning)
    Thanks,
    Sumana

  • Strange Problem in Oracle Forms.

    Hello,
    I have a strange problem of a form not opening in the migrated App Server but is working fine in the existing server.
    The problem is that we have now migrated to App Server 10.1.2.3.0 (patch applied to 10gR2 App Server installation) from 9.2.0.4.
    The issue is that the same form works perfectly fine in 9.2.0.4 but doesnt open up in the 10.1.2.3.0 server itself !
    The form is called using "new_form" procedure.
    I even cross checked by giving other form names; they work fine. But this set of forms (for which problem occurs) only doesnt open up.
    All the forms are compiled against 10.1.2.3 Compiler; All point to the same OLB and all of them have a common menu bar.
    Peculiar thing is WEBUTIL is working for all forms. Version is 1.0.6. No problems in WebUtil.
    Please help me making this sole out as we need to migrate this ASAP.
    Requesting one and all.
    Thanks.

    Solved it out..
    It was an error in frmwebutil.jar installation.
    Below is the link from Metalink:
    https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=421930.1
    Cheers !

  • PDF Attachment problem in Adobe form and send mail is not working

    Dear Experts,
                         Recently i'm facing a problem regarding Adobe form PDF attachment and sending an e-mail along with the PDF attachment to customer mail id.But when i execute the RFC Function module, in customer side no mail is comming. And when i check the transaction SBWP then i found that the PDF attachment hold only 1KB of data which is not right.For that i'm sending my code which i was declared in my program.Can anybody please help me to overcome this problem?
    Warm Regards,
    sameek.
    CLASS cl_bcs DEFINITION LOAD.
      DATA:
      lo_send_request TYPE REF TO cl_bcs VALUE IS INITIAL.
      lo_send_request = cl_bcs=>create_persistent( ).
      data: t_att_content_hex type SOLIX_TAB.
      DATA: lx_document_bcs TYPE REF TO cx_document_bcs VALUE IS INITIAL.
      DATA: lo_sender TYPE REF TO if_sender_bcs VALUE IS INITIAL,
            l_send type ADR6-SMTP_ADDR value 'Already provided an e-mail address here'.
      DATA: lo_recipient TYPE REF TO if_recipient_bcs VALUE IS INITIAL.
      DATA: lv_sent_to_all(1) TYPE c VALUE IS INITIAL.
    Message body and subject*
      DATA:
      lt_message_body TYPE bcsy_text VALUE IS INITIAL,
      lo_document TYPE REF TO cl_document_bcs VALUE IS INITIAL.
      APPEND 'Dear,' TO lt_message_body.
      append ' ' to lt_message_body.
      APPEND 'Please fill the attached form and send it back to us.'
      TO lt_message_body.
      append ' ' to lt_message_body.
      APPEND 'Thank You,' TO lt_message_body.
      lo_document = cl_document_bcs=>create_document(
      i_type = 'RAW'
      i_text = lt_message_body
      i_subject = 'Customer Information Form').
      TRY.
          lo_document->add_attachment(
          EXPORTING
          i_attachment_type = 'PDF'
          i_attachment_subject = 'Customer Information Form'
    I_ATTACHMENT_SIZE =*
    I_ATTACHMENT_LANGUAGE = SPACE*
    I_ATT_CONTENT_TEXT =*
    I_ATTACHMENT_HEADER =*
          i_att_content_hex = t_att_content_hex ).
        CATCH cx_document_bcs INTO lx_document_bcs.
      ENDTRY.
    Add attachment*
    Pass the document to send request*
      lo_send_request->set_document( lo_document ).
    Create sender*
      lo_sender = cl_cam_address_bcs=>create_internet_address( l_send ).
    lo_sender = cl_sapuser_bcs=>create( sy-uname ).*
    Set sender*
      lo_send_request->set_sender(
      EXPORTING
      i_sender = lo_sender ).
    Create recipient*
      lo_recipient = cl_sapuser_bcs=>create( sy-uname ).
    lo_recipient = cl_cam_address_bcs=>create_internet_address( l_send ).*
    Set recipient*
      lo_send_request->add_recipient(
      EXPORTING
      i_recipient = lo_recipient
      i_express = 'X' ).
    lo_send_request->add_recipient(*
    EXPORTING*
    i_recipient = lo_recipient*
    i_express = 'X' ).*
    Send email*
      lo_send_request->send(
      EXPORTING
      i_with_error_screen = 'X'
      RECEIVING
      result = lv_sent_to_all ).
      COMMIT WORK.
      message 'The Customer Information form has been emailed to the Employee' type 'I'.

    I am also facing issue with email send .
    apex 4.1.1 oracle 11g
    create or replace procedure email ( p_email  in    varchar2)
    is
        l_workspace_id      number;
        l_subject           varchar2(2000);
        l_body              clob;
        l_body_html         clob;
         l_email varchar2(40);
    begin
        l_workspace_id := apex_util.find_security_group_id (p_workspace => 'xyz');
        apex_util.set_security_group_id (p_security_group_id => l_workspace_id);
    l_email:= p_email;
        l_body := ' ';
        l_subject := 'You have new tasks';
        --if l_email=:P3_CONFIRM_EMAIL_ADDRESS is not null then
       -- email( l_email =>:P3_CONFIRM_EMAIL );
    -- end if;
            l_body_html := '<p />The following tasks have been added.';
         apex_mail.send (
                p_to        => l_email ,
                p_from      => '[email protected]',
                p_body      => l_body,
                p_body_html => l_body_html,
                p_subj      => l_subject );
      APEX_MAIL.PUSH_QUEUE;
    end; I also check the log and queue but both are empty,
    select * from
    apex_mail_queue
    select * from
    apex_mail_log Kindly suggest what to do ?
    I also created a process in apex , which call this procedure and pass the email address entered by user.

  • Problem  in Adobe Form

    Hi,
    I have some problem in adobe form.................................
    I have to design  my adobe form in  ADOBE DESIGNER layout.
    and in the another end i have make my application programe in which i picke
    some data from the sap tables. now my problem is that how can i send the data in
    my adobe form from my programe  i want to print that data on the form.
    and always my programe is going to be  notresponding.

    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
          EXPORTING
            i_name     = 'Adobe form name'
          IMPORTING
            e_funcname = lv_funcname.
        IF sy-subrc = 0.
    u will get the fm name here.....
    use fb_job_open
        CALL FUNCTION 'FP_JOB_OPEN'
          CHANGING
            ie_outputparams = gs_output
          EXCEPTIONS
            cancel          = 1
            usage_error     = 2
            system_error    = 3
            internal_error  = 4
            OTHERS          = 5.
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    CALL FUNCTION lv_funcname
          EXPORTING
            /1bcdwb/docparams  = gs_outputpara
            wa_data            = <> pass value here....as per u r requirement.(interface)
            PATH             = <>
          IMPORTING
            /1bcdwb/formoutput = ls_return
          EXCEPTIONS
            OTHERS             = 1.
                          FP_JOB_CLOSE
        CALL FUNCTION 'FP_JOB_CLOSE'
          IMPORTING
            e_result       = result
          EXCEPTIONS
            usage_error    = 1
            system_error   = 2
            internal_error = 3
            OTHERS         = 4.
        IF sy-subrc <> 0.
    regards
    Anbu B

  • How to submit a form in jsp from tag handler class

    I have a form in jsp.I created some more links in the tag handler class.Based on the link we click form action will take place.Now how can i submit the form in tag handler class for the links i created in that class.

    I have a form in jsp.I created some more links in the tag handler class.Based on the link we click form action will take place.Now how can i submit the form in tag handler class for the links i created in that class.

  • How to create a form with jsp

    I want to create an HTML form using jsp.
    It has a couple of selection boxes. The options for the selection box needs to be read from a file.
    As I understand it can create the form in HTML. And somhow uses jsp to read a file on the server get, the data and create selection box. I can have a class on the server side that does the actual read - forexample
    SelData.class.
    Would appreciate it if some one can outline how this is done.
    - thanks

    * Pass the data used to populate the select options to the JSP page in the form of a bean.
    * In the JSP page, iterate through the bean, using the data to "fill in" the attributes and body of the option tag.
    This tutorial should help a great deal with these concepts: http://java.sun.com/webservices/docs/1.1/tutorial/doc/JSPIntro.html#wp69778

  • Forms to JSP conversion

    Hi all,
    I have some forms developed in Oracle 9i forms builder.
    I want to convert them in JSP.
    Can I do this by using JHeadStart?
    I have downloaded JHeadStart 10G.
    But I can not use it with JDeveloper 9i
    What else can I use for converting 9i forms to JSP???
    Thanks in advance.
    Reagards,
    MK

    I should read http://www.oracle.com/technology/products/forms/htdocs/10g/FormsJavaSOD.html first of all.
    Regards
    Grant Ronald
    Forms Product Management

  • Getting font problem for printing form in Production server.

    Hi experts,
                   We are getting problem while printing form in production server. As it gives no problem in Quality server while printing the same, the print is fine. We applied packages from 26 to 28 level for version 4.7. When we moved this packages to Production server we got problem of font while printing the form for some of scripts. But the surprise is that in Quality server the print is fine, no problem at all.
                  Can any one suggest me on this issue.
    Regards,
    Sagun Desai.

    Hi sagun,
    Please check the spool request generated on production server using tcode SP01.
    Goto dispaly spool request and check the spool.If the spool too displays your script correctly then there is a problem in printer connected to production server.
    The printer connected to the test server  might be rightly conffigured to print the output.Please check the settings of the printer connected to the production.
    Hope this helps.
    Regards,
    Subodh

  • SOAP XML Response in the form of JSP

    Hi,
    I am using a command in Websphere Commerce(WC) as "WebServices Provider " .For new users command is WC specific java program which takes input and throws back the result to the calling program.
    when a client sends a SOAP xml request to WC WebService Command,it sends back the SOAP XML response in the form of JSP to client.The Client is in Microsoft .Net language.
    My Question is:
    1)How the client is interpreting the SOAP XML response in JSP.
    2)Since the client being a .Net provider,to understand this response,he has to make any extra
    configuration ???
    Can somebody in the forum can help me in this regard.
    Thanks
    Mike

    Hi Mike1999 ,
    I am assigned with one project that is based on SOAP,I dont know abc of this technology.How the events are handled by SOAP....Etc Etc....
    Just eloberate What is ment by SOAP.Why it is used.

  • Facing problem in integrating my custom jsp with the workflow engine

    Hi,
    I am using Jdeveloper 11.1.1.6.0 for BPM 11g implementation on my Application.I have Weblogic Server 10.3 Installed and configured the domain. Also the server is up and running.
    I am trying to create workflow and wants to integrate it with my custom jsp but i am facing problem in integrating my custom jsp with the workflow engine.Can you please answer the following questions:
    1)how to link BPM human task with my custom jsp (Requester jsp).
    2)how my custom jsp data(Requester data) will be stored in workflow engine and how the same data will be visible to the next custom jsp(Reviewer jsp).
    This is urgent .Any early reply will be great help.
    Thanks in advance.
    Edited by: 990133 on Mar 24, 2013 5:31 AM

    you forgot to add the usage dependency in the DC metadata section in your DC, you have to add the XSS~utils and fpm as a used DC's as part of your DC, try to add those, if you already done that, so check where missed the adding of used webdynpro components in any of the VAC's or FC's,
    Cheer,
    Appa

  • Problem Displaying out Data in JSP

    can anyone have a look at my code? i got some problems to display it in jsp when i run it with eclipse. can anyone help me on this?? did my java bean declared wrongly? thanks...
    this is my java file
    package com;
    import java.io.File;
    import com.db4o.Db4o;
    import com.db4o.ObjectContainer;
    import com.db4o.ObjectSet;
    import org.jfree.chart.*;
    import org.jfree.data.general.*;
    public class StoreData{
         private static final long serialVersionUID = 1L;
         private final static String filename = "C:\\CountryPieChart.yap";
         public static void main(String[] args){
              //Delete the existing file
              new File(filename).delete();
              ObjectContainer db=Db4o.openFile(filename);
              try {
                   StoreAllData();
                   retrieveAllData();
              } finally{
                   db.close();          //Close the database
         public static void StoreAllData() {
              //Delete the existing file
              new File(filename).delete();
              ObjectContainer db = Db4o.openFile(filename);
              //Add data to the database
              CountryPeople countryName_1 = new CountryPeople("Malaysia", 100);
              CountryPeople countryName_2 = new CountryPeople("New Z", 200);
              CountryPeople countryName_3 = new CountryPeople("UK", 300);
              CountryPeople countryName_4 = new CountryPeople("Thailand", 400);
              CountryPeople countryName_5 = new CountryPeople("Singapore", 50);
              //set the value to database
              db.set(countryName_1);
              db.set(countryName_2);
              db.set(countryName_3);
              db.set(countryName_4);
              db.set(countryName_5);
         public static void retrieveAllData() {
              //Open db
              ObjectContainer db = Db4o.openFile(filename);
              //Retrieve via empty object
              CountryPeople cName = new CountryPeople(null, 0);
              ObjectSet result = db.get(cName);
              DefaultPieDataset dataset = new DefaultPieDataset();
              //retrieve the data from database
              while(result.hasNext()) {
                   CountryPeople obj = (CountryPeople) result.next();
                   dataset.setValue(obj.getName(), obj.getValue());
                   //System.out.println(result.next());
              //Create pie chart
              JFreeChart chart = ChartFactory.createPieChart(
                        "Sample Chart",
                        dataset,     
                        true,
                        true,
                        false);
              try {
                   //save the pie chart as JPEG file
                   ChartUtilities.saveChartAsJPEG(new File("C:\\CountryPieChart.jpg"), chart, 500, 300);
              } catch(Exception e) {
                   System.out.println("Problem for creating chart");
    and this is my jsp file
    <jsp:useBean id="myStoreData" class="com.StoreData" scope="page"></jsp:useBean>
    <html>
    <head><title>Testing Displaying</title>
    </head>
    <body>
    <b>Testing Display Page</b>
    <img src="<jsp:getProperty name="myStoreData" property="getFileName" /> /">
    </body>
    </html>

    <img src="<jsp:getProperty name="myStoreData" property="getFileName" /> /">
    property="getFileName": There isnt such a property available in your bean.

  • Problems using GET method in JSP

    Hi,
    I had some problems using GET method in JSP.
    I'm using Apache web server 1.3 and Tomcat 3.3.1 in windows 2000.
    And I'm using language English and Korean.
    When I send messages using POST method, all is good
    But when I send message using GET method, English is good, but Korean is not good.
    I tried to encode using
    URLEncode.encode(str, "UTF-8")
    and decoding it using
    URLDecode.decode(request.getParameter(tag), "UTF-8")
    but it didn't work.
    How can I receive request including Korean using GET method in JSP?
    If anyone have solutions, please let me know.
    thanks.

    Hi,
    I had some problems using GET method in JSP.
    I'm using Apache web server 1.3 and Tomcat 3.3.1 in
    windows 2000.
    And I'm using language English and Korean.
    When I send messages using POST method, all is good
    But when I send message using GET method, English is
    good, but Korean is not good.
    I tried to encode using
    URLEncode.encode(str, "UTF-8")
    and decoding it using
    URLDecode.decode(request.getParameter(tag), "UTF-8")
    but it didn't work.
    How can I receive request including Korean using GET
    method in JSP?
    If anyone have solutions, please let me know.
    thanks.This problem appears, when one use UTF-16 encoding in JSP - am I right?
    If so there are two solutions:
    1) Temporary: Use "UTF-8" - or any other 8 bit encoding scheme and
    encode Korean symbols with "&1234;" kind of escapes - though it
    may not work
    2) Absolute: get my piece of code, which I have managed to write
    just a month ago resolving absolutely similar problem with UTF-16
    in code using Chinese/Russian/English encodings
    But I wouldn't say that it's costs 10 DDs :) - it's much more
    expensive... So try 1st variant if it wouldn't help - let me know.
    I'll figure :)
    Paul

Maybe you are looking for

  • My Data is not inserting in Ap standard table while interfacting

    Hi All I am new to Oracle apps and i trying to learn oracle interface in AP Module. I have inserted data manually in AP_invoices_interface and ap_invoice_lines_interface tables and then i ran the Payables Open Interface Import concurrent program but

  • How many times can i download photoshop or lightroom?

    hi how many times can I download photoshop or lightroom? I bought and downloaded them onto my lap top but want to put it onto a pc can I do that? or is it a one time down load only

  • CcBPM Process Number in the Message mapping

    Hi, I  have a requirement to map the ccBPM's process number in which the Mapping error has occured to be mapped to a specific field in the target.  I wanted to know how could I pass the BPM's process number to the message mapping ( this message mappi

  • G4 combo drive into a g3

    will a combo drive dvd/cdrw drive from an ibook g4 matsushita cw-8124-c work in my clamshell. i am looking to burn cds not watch dvds, i would be putting it into a clamshell 366mhz and a 300mhz (i can get a deal on 2). will the connections match up.

  • How do I forward an email in IOS7

    How do I forward an email in IOS7?