JDBC + SERVLET: inserting text data  to access file from Html form

Hi everybody !
I'm trying to insert text data from my html form to access database using servlet and jdbc technologies.
The problem that I'm that the data is TEXT, but not the English language !!!
So my access db file gets - ???????? symbols instead the real text.
This is the form line that sending data to my servlet:
<form
method="POST"
ACTION=http://localhost:8080/servlet/myServlet enctype="text/html">
And this is servlet line that defines response content:
res.setContentType( "text/html" );
What can I do to get in access db file the right text format and not a ???????? symbols.
Maybe I must to ad some <meta ...> , but where ?

You're dealing with Unicode, I'd guess, and not ASCII.
I guess I'd have two questions:
(1) Is the character encoding on your pages set properly for the language you're trying to use?
(2) Does Access handle Unicode characters?
Access isn't exacly a world-class database. (If it was, there'd be no reason for M$ to develop SQL Server.) I'd find out if it supports other character sets. If not, you'll have to switch to a more capable database that does. - MOD

Similar Messages

  • How to enter TEXT data using rules files

    Hi,
    How can i enter text data using rules files?
    Thanks,
    A

    If you are talking about planning members with a text data type then it is not possible to load the actual text string using a load rule,essbase just stores a numeric value and the text string relating to that numeric value is stored in the planning applications relational tables.
    If you want to load text directly then you can load data through the planning layer, more information available at - http://download.oracle.com/docs/cd/E17236_01/epm.1112/hp_admin/ch05s02s01.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Load data in xml file into Pdf form created by LiveCycle Designer

    I want to load data in xml file into Pdf form when Pdf opened and Form field will be filled with data from xml file .I try to use $host.importdata("filename.xml"); But i could not find suitable place to run my code. Can anyone give me some advice? thank you.

    Hi,
    extract your xml and then you can use insert all clause.
    here's very small example on 10.2.0.1.0
    SQL> create table table1(id number,val varchar2(10));
    Table created.
    SQL> create table table2(id number,val varchar2(10));
    Table created.
    SQL> insert all
      2  into table1 values(id,val)
      3  into table2 values(id2,val2)
      4  select extractValue(x.col,'/a/id1') id
      5        ,extractValue(x.col,'/a/value') val
      6        ,extractValue(x.col,'/a/value2') val2
      7        ,extractValue(x.col,'/a/id2') id2
      8  from (select xmltype('<a><id1>1</id1><value>a</value><id2>2</id2><value2>b</value2></a>') col from dual) x;
    2 rows created.
    SQL> select * from table1;
            ID VAL                                                                 
             1 a                                                                   
    SQL> select * from table2;
            ID VAL                                                                 
             2 b                                                                    Ants

  • FM to tansfer data in flat file from presentation to application server

    Hi Experts,
    Please tell the FM to tansfer data in flat file from presentation server to application server or vice versa in ECC 6.0.
    Thanks.

    Hi,
    This is how you can achieve it:
    1. You read the flat file from presentation layer and store the file content in internal table gt_inrec
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = gw_filename
          filetype                = 'ASC'
        IMPORTING
          filelength              = gw_length
          header                  = gw_header
        TABLES
          data_tab                = gt_inrec
        EXCEPTIONS
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          OTHERS                  = 17.
    2. Create a new file at the application server:
      OPEN DATASET p_ofile FOR OUTPUT IN
      TEXT MODE ENCODING DEFAULT.
    3. Transfer the content from the internal table into the file at the application server:
        LOOP AT gt_inrec.
          TRANSFER gt_inrec-record TO p_ofile.
        ENDLOOP.
    Hope it helps,
    Lim....

  • I own a print company have room of puters and a older server- i want my mac and pc people to access files from anywhere without using an aftermarket program

    can I get this 5 license server - 2012, and me from home or road or artist from home or road got to an ip addy and have access to our 1.2 tb of customer files to edit after hours or fix or pull for meeting, do I need a real servr or can u use a computer
    with 1tb had drive and a 2tb plug in dive to access files from anywhere on mac or pc and network all y shop and pull files from anywhere so I don't need a wlan but have an all time go to place to get files-- it will be on 24/7 with battery backup- I need to
    get up to date and tonite had to drive to work to pull a file I could have I think gotten with this software-- can anyone help or explain am I getting right thing and will it work its 3 am and I am just back from work, I could have been done at 9 if I have
    a server access--THANKS IS ADVANCE--TECH LEVEL- COMPARED TO YOU GUYS A 1- IN GENERAL A 3-4
    THANKS

    Hi,
    I'm not very clear about the exact requirement.
    I assume you would like to:
    1. Able to access a share in company from anywhere.
    2. Above to use a server from anywhere.
    3. Above to use a server in your company from anywhere.
    If I'm correct, the solution is Could products or Remote Desktop Service with VPN.
    Please refer to Windows Azure to see if a cloud server could help in this situation.
    http://azure.microsoft.com/
    Also you can use OneDrive to store files on cloud side and you can access it from anywhere.
    And for VPN please refer to this article:
    Configure a Remote Access VPN Server
    http://technet.microsoft.com/en-us/library/cc725734(v=ws.10).aspx
    Let us know the one you prefer and we could discuss it more. 
    If you have any feedback on our support, please send to [email protected]

  • How can I access files from a flash drive that were previously saved using a Windows computer? When I attempt to open the file on MacBook Pro, it is asking to "convert file to"; I also have Microsoft Word installed on the Mac as well.

    How can I access files from a flash drive that were previously saved using a Windows computer? When I attempt to open the file on MacBook Pro, it is asking to "convert file to"; none of the options I choose work. I also have Microsoft Office (with Word) installed on the Mac as well.

    Format the external drive as FAT32 or ExFAT. Both computers will then be able to read and write to it.

  • How can I get data in flat file from Pool table and cluster table ?

    Hi,
    I am working in one Achiving project. My requirement is to get data into flat file from Cluster table and pool table.
    Is there any tool avilable to download data into flat file from pool table and cluster table ?
    if table name given in the selection screen then data will be downloaded into flat file.
    waiting for quick response.
    Best Regards,
    Bansidhar

    Data cannot be retrived directly form the cluster table
    as the Cluster results are stored in Cluster Key say for example PCLkey
    and form that Key we need to fetch the data
    these clustes are not the part of PNP or PNPCE tables
    for ur info kindly check

  • Is there any way to access files from the Classic environment to my iMac running on Leopard (10.5.8)?

    Is there any way to access files from the Classic environment to my iMac running on Leopard (10.5.8)?

    Sorry, no.

  • How to search specific text/string in pdf files from command prompt?

    Hi,
    How to search specific text/string in pdf files from command prompt?
    Will be great if you can refer to any adobe provided command base utility to achieve the above target.
    Best Regards,

    You can't. The commandline parameters for Acrobat and Adobe Reader do not allow any type of commands to be run.

  • Creating Folder and Accessing Files from Folders in mobile phone

    Hello Friends,
    I am doing my project where I need to create folders and accessing files from those folders in java enabled mobile phones.But I do not know the required tasks for this.Any type of help is highly appreciated.
    Greeting
    Saadi

    You have to get the classname of the Items you receive from getitems.
    There you have only to look for Folder.CLASS_NAME. Example:
    ifsFol sorted by names in ascending order (names of folders and files)
    String[] sort_attributes = {"NAME"};
    //sort will be ascending
    boolean [] sort_orders = {true};
    oracle.ifs.common.SortSpecification sort = new oracle.ifs.common.SortSpecification(sort_attributes, sort_orders);
    ifsFol.setSortSpecification(sort);
    PublicObject[] contents = ifsFol.getItems();
    System.out.println("Here are the names of the items in folder: ");
    for (int i=0; i < contents.length; i++) {
    if (contents.getClassname().equals(Folder.CLASS_NAME)) {
    System.out.println(contents[i].getName());
    null

  • How do you access files FROM a home network TO a CLIENT computer using "internet sharing" from a mac ?

    Hi.
    I just created a small network: 2 pcs and 1 mac.
    2 pcs are using windows XP
    1 Mac is using OS X
    I would like to know how to access files from my pc1 to pc2 from my network.
    Pc2 obviouslys is a client behind the intenet sharing my mac is providing.
    I tried looking for the info online but most of the search brigns out "internet sharing" or "file sharing."
    Any help would be great.

    The following may help with the file sharing issues: OS X Mavericks: Share your files

  • Access files from Web Dynpro component

    Hi,
    I need to access files from a Web Dynpro component but I couldn't find any information. Has anyone done this?
    My questions are:
    1. Can I pack these files into the WD component so they can be deploy together?
    2. And what API should I use to access these files?
    Thanks,
    Kizza

    Hi,
    You can follow the Creating the JCO connections in the Content Administrator section in the following
    help.sap.com [link|http://help.sap.com/saphelp_nw70/helpdata/EN/f8/bdfe80d9a3b048a5fb32a7d149774e/content.htm].
    For the RFC_ERROR_COMMUNICATION error, you can check if the system sapmsR3D is defined in your
    SAP Logon pad or in the hosts file under Drivers -> etc folder.
    Regards,
    Alka.

  • Update XML files with HTML forms...

    Hi,
    I would like to know if its possible to update or insert data
    to XML files from a HTML form? And how can I do it?
    Does dreamweaver have any extension that does this?

    hi bregent!
    im using php.
    i have a xml flash slide show script, and i want to insert
    this slide show on a site. No problem here, but i would like to
    create a backoffice were i can update or insert the pictures of the
    xml slide show.
    can you help me on this?

  • How to run batch file from oracle forms 9i

    Hi everyone.
    i have a data in csv file. i want to upload it to my database. i am using sql loader for it.
    i have made a batch file which run the sql loader and transfer my data to database.
    How to run batch file from oracle forms 9i.
    when i press the button, nothing uploads in my database. (when i simply run the batch file it works).
    here is my code
    Begin
    HOST('C:\temp\batchfile.bat');
    message('done');
    end;
    Thanks in advance
    regards
    sajid

    this is my log file, when i run manually.
    SQL*Loader: Release 10.2.0.1.0 - Production on Thu Jul 1 23:27:53 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Control File: file_to_upload.ctl
    There are 2 data files:
    Data File: sk.csv
    Bad File: sk.bad
    Discard File: none specified
    (Allow all discards)
    Data File: sk1.csv
    Bad File: sk1.bad
    Discard File: none specified
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Bind array: 64 rows, maximum of 256000 bytes
    Continuation: none specified
    Path used: Conventional
    Table KHAN, loaded from every logical record.
    Insert option in effect for this table: APPEND
    Column Name Position Len Term Encl Datatype
    SR FIRST * , O(") CHARACTER
    DATES NEXT * , O(") CHARACTER
    AGENT NEXT * , O(") CHARACTER
    COUNTRY NEXT * , O(") CHARACTER
    TRANSACTIONS NEXT * , O(") CHARACTER
    PKR NEXT * , O(") CHARACTER
    USD NEXT * , O(") CHARACTER
    BANK NEXT * , O(") CHARACTER
    Table KHAN:
    11088 Rows successfully loaded.
    0 Rows not loaded due to data errors.
    0 Rows not loaded because all WHEN clauses were failed.
    0 Rows not loaded because all fields were null.
    Space allocated for bind array: 132096 bytes(64 rows)
    Read buffer bytes: 1048576
    Total logical records skipped: 0
    Total logical records read: 11088
    Total logical records rejected: 0
    Total logical records discarded: 0
    Run began on Thu Jul 01 23:27:53 2010
    Run ended on Thu Jul 01 23:27:54 2010
    Elapsed time was: 00:00:00.63
    CPU time was: 00:00:00.17

  • How to generate a file from JSP form

    Hi,
    I want to generate a file from the informations of a form(JSP).
    Which classes do I have to use ?
    Thanks.

    Of course you have to use the standard servlet classes to retrieve the request parameters from the form.
    ie request.getParameter();
    package "java.io" gives you File input/output ability.
    If you are generating a text file, thats probably the BufferedWriter and FileWriter classes.
    Cheers,
    evnafets

Maybe you are looking for

  • Video camera with viewfinder

    Hi, we are looking for a video camera that still has a viewfinder besides the flip open lcd screen.  We sometimes need to record video at night where the light coming from the screen would be too bright and compromising.  We are looking for something

  • Error 1311 when downloading new iTunes

    Everytime I tried to download a new song, or even transfer songs from one computer to another, the computer said I had to update my iTunes. So I tried to, and everytime I do, it gets pretty far then says :Error 1311 File not found ( see the picture b

  • AMM and ASMM

    Oracle 11gR2 question: spfile.ora AMM, ASMM configuration Goal: only use AMM Issue: both AMM and ASMM are ENABLED ! memory_target 1.5G memory_max_target 1.28G sga_target 0 sga_max_size 768M 1. Are AMM and ASMM mutually exclusive. 2. What is expected

  • Max function error

    Hello all! I'm stuck on this problem. I'm probably missing something obvious but I would appreciate the help. I have a query that returns three rows: SELECT 1 + 1 value1 FROM DUAL UNION ALL SELECT 3 value1 FROM DUAL UNION ALL SELECT (3 + 5) / 2 value

  • Dimension Mapping in 11g. Can Where clause be used to filter source table?

    Hi, Is it possible to use a where clause filter when mapping a dimension to source table in AWM 11g My understanding of the user guide is that filters can only be used in cube mapping? I am using AWM 11.2.0.1.0A on db 11g R2. I presume I could use a