Use JSP update MSSQL server with Chinese content

Hi,
I am using weblogic 7.0 server
win2k english version with Trad.Chinese support. Default encoding is en.
MS SQL server with database collate in Chinese_Taiwan_Stroke
I can use SQl server's query analyser to insert Chinese characters
and after modifying
web.xml and weblogic.xml
to include InputChar as Big5 and encoding as Big5
I can also use JSP's getParameter() to get Chinese characters from form
input.
Now the problem is,
when I use JSP to execute a UPDATE or INSERT statement to the database, and
if the SQL statement contains chinese characters as content
(like INSERT into table1 (field1) values ('some chinese characters'))
the statement is executed without error,
but the content updated in SQL server becomes "???" for all Chinese
characters.
Would anyone please kindly help? Thanks!

Hi,
Have you checked that your DOS panel that starts your windows is correctly
set ? (see CHCP values)
I guess that can have some influence on the Java processes when updating and
insterting.
Best regards
Nohmenn BABAI
"newsgroups.bea.com" <[email protected]> a écrit dans le message de
news: [email protected]..
Hi,
I am using weblogic 7.0 server
win2k english version with Trad.Chinese support. Default encoding is en.
MS SQL server with database collate in Chinese_Taiwan_Stroke
I can use SQl server's query analyser to insert Chinese characters
and after modifying
web.xml and weblogic.xml
to include InputChar as Big5 and encoding as Big5
I can also use JSP's getParameter() to get Chinese characters from form
input.
Now the problem is,
when I use JSP to execute a UPDATE or INSERT statement to the database,and
if the SQL statement contains chinese characters as content
(like INSERT into table1 (field1) values ('some chinese characters'))
the statement is executed without error,
but the content updated in SQL server becomes "???" for all Chinese
characters.
Would anyone please kindly help? Thanks!

Similar Messages

  • I am using the "G Web Server" with Bridgeview 2.1. The problem I am having is that I have to

    restart the web server once every 2 to 3 days, or the web pages don't show the vi (images). Any ideas to trouble shoot - I dont know if the problem is related to my workstation hardware or a setting that needs to be tweaked on the G Web Server. Thank you.I am using a Pentium 233 machine/ Win 95. The PLC I am collecting info from is a GE Fanuc Series 9030 (?). Ethernet connection.

    restart the web server once every 2 to 3 days, or the web pages don't show the vi (images). Any ideas to trouble shoot - I dont know if the problem is related to my workstation hardware or a setting that needs to be tweaked on the G Web Server. Thank you.Hi,
    we are using the G Web Server with LabVIEW on a WinNT 4 machine. Up to now these works fine. Therefore I would recommend you to choose a more stable OS.
    Maybe you can try to programmatically restart the server every 2 days. Within LabVIEW you would do this by running "HTTP Server Control.vi". Unfortunatly all connections will be closed, thus be aware of that!
    Hope that helps
    chris

  • How to use the same OC4j server with different port number

    How to use the same OC4j server with different port numbers..?
    I have to OC4J installed on my machine on different hard disk drives....
    I want to be able to run both the server simultaneously..?
    is it possible ..it yes then how..?
    for that i have changed the port number of one server...
    but when i am trying to start the other server with different port number..it says that JVM -Bind already...
    Is there any clues...?
    Nilesh G

    In the config directory:
    default-web-site.xml: Change the port the HTTP listener listens on
    jms.xml: Change the port the JMS service listens on
    rmi.xml: Change the port the ORMI listener listens on.
    Or, you can add another web-site.xml file, and deploy your applications to 1 server, and bind the web applications to the different web sites. This way you only have to deploy your applications to 1 place.
    Rob
    Oracle

  • LabVIEW hung with "Resetting VI: Update VI Server with SL.vi" window

    I have a PXI-8175 with windows XP, LabVIEW 7.0, and LabVIEW FPGA 1.0, plus a PXI-7831R. Every time after I compile the VIs and try to exit LabVIEW, it is hung with a pop-up window says "Resetting VI: Update VI Server with SL.vi". I won't even be able to kill it through the windows task manager. The only way to resolve it is to hard reset the PXI. Any tips?

    I have the same hang when exiting certain programs in LabVIEW.  I get a dialog box saying "Resetting VI: Update VI Server with SL.vi".  I can make it go away through task manager.  What does this dialog mean and how do I keep it from occurring? 

  • ? On Updating CF Server with Flex 3 Compiler

    Does anyone happen to know how to upgrade the CF server with
    the Flex 3 Compiler?
    I am toying with CF Servers ability to compile Flex Source
    code but I found that some of the Child Display objects do not
    position themselves correctly. I believe this is due to my use of
    some features that are not available in the Flex 2 SDK. So I would
    like to update my developement server with the Flex 3 SDK. Not sure
    if that is even possible but if anyone happens to know if it is and
    where I could find some documentation I would appreciate it.
    I was thinking that the Blaze DS update might do it but I am
    not sure if that is the case and I do not want to try it before
    asking if anyone knows more.
    Thanks in advance!
    -Joe

    Hi Walber,
    Flex uses the browsers HTTP stack to communicate and hence if
    you set proxy in IE and IE works, there should be no problem in
    Flex.
    If the problem still persists, try capturing network traffic
    with Charles / Fiddler / Wireshark to see what's going on.

  • JSPs updated on server but browser presents old files

    Hello,
    I have a JSP file on my Linux server entitled index.jsp and a Properties.properties file in the WEB-INF/classed folder.
    I have updated these files and they are saved successfully. When I logout of my SSL connection and log back in the files reflect my changes.
    However, when I go to my Firefox or IE browser, it seems that my previous code is being accessed. I have tried clearing my cookies, offline files, history in each browser and even tried other computers where the older code was not accessed. Still, the older code is retreived for the browser.
    Why is the older code accesssed?
    What can I do to tell the server to use the updated JSP page?
    Cheers,
    Chris

    You better go and manually delete the .java file and the .class file compiled out of your old jsp file from the work directory in the server machine. Then try restarting the server and try. This should work

  • How to integrate MSSQL server with SAP CRM via XI? Please help!

    Hi Experts,
       I have a requirement where I have to pull the data from MSSQL server and send it to SAP CRM.
       What are the different options avaiable with or without adapter to send data from MSSQL server to XI?
    As per my understanding I have following options:
    1. JDBC driver.
        MSQL ---> JDBC adapter ---> XI
    2. Create webservice for the XI outbound interface (Sender interface) and call it from MSSQL stored procedure.
       MSQL ---> SOAP adapter ---> XI
    2. Create webservice for the XI outbound interface (Sender interface) and call it from a .Net program.
      MSQL ---> DotNet application --> SOAP adapter ---> XI
    Which option is the best?
    Please help.
    Thanks
    Gopal

    Hi,
    Kindly refer:
    xMII 12.0 : Connecting to a Microsoft SQL Server 2000
    /people/ted.teng/blog/2005/12/28/use-sql2005-to-connect-and-present-sap-on-sharepoint-business-scorecard-manager-150-part-i
    Use SQL2005 to Connect and Present SAP on SharePoint / Business Scorecard Manager - Part IV
    Hope this might be of some use to you...........

  • Can you use Multi Factor Authentication server with Central NPS and RD Gateway?

    Hi,
    Does anyone have any experience getting the Azure Multi-Factor Authentication (MFA) on-premise server, working with a Remote Desktop Gateway server, and a centralised NPS server?  I can get a solution whereby a user can get the second token (phone call/sms
    etc.) but the connection never gets established.  It looks like its looping as it repeats the phone call/text for a second time but again no connection.  I can’t figure out why.
    All the blogs are very vague as to whether you can combine a new MFA NPS connection policy with an existing username/group membership NPS policy on a centralised NPS server (with RAP/CAP policies).
    I need to understand whether we can combine both an MFA Radius policy with a Username/Password plus group membership NPS policy together to achieve two factor authentication.
    Do you have the Remote Desktop Gateway Server connect to the Central NPS server and then the NPS server use the MFA server as its proxy server? In effect turning the NPS server into a proxy Radius server?  
    Or do you configure the Remote Desktop Gateway server to use the MFA server as the proxy Radius server, and configure the MFA server to send on Radius requests to the central NPS server?
    Or either of these scenarios not supported and you can only use the MFA server as the only Radius server in the auth. process? (bypassing NPS policies?)
    Thanks if someone can assist,
    I’ve been using these blogs but to no successful effect:
    http://technet.microsoft.com/en-us/library/dn394287.aspx
    http://www.rdsgurus.com/uncategorized/step-by-step-using-windows-server-2012-r2-rd-gateway-with-azure-multifactor-authentication/
    http://dave.harris.uno/installing-and-configuring-azure-multi-factor-authentication-mfa/

    Hi Michael,
    Thank you for posting in Windows Server Forum.
    After going through your description, I can say that we can use MFA server with central NPS and RD Gateway. Also the link which you have provided points the step to apply. In addition you can refer below article.
    Configure Remote Desktop Gateway to use Multi-Factor AuthenticationConfigure Remote Desktop Gateway to use Multi-Factor Authentication 
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support

  • Is it possible to use Standalone Apache web server with APEX ?

    HI,
    We are currently evaluating Oracle Applciation Express to be part of our product suite.
    Currently, in our software landscape, we are using standalone apache http server on the database server (Required for our java front end application). We support our product on both 9i & 10g. My query is for Oracle APEX, can I use the same standaloe apache http server or Is it a must that I have to use Oracle HTTP server. (I read abt' embedded PL/SQL gateway, however I am not sure whether it's supported on 9i). I am not sure, whether for mod_plsql we have to use Oracle HTTP server only.
    Any inputs on this will be of great help.
    Thanks,
    Ganesh

    To access APEX through Apache, you need to use mod_plsql. I don't think there is a mod_plsql plug-in that you can install into a standalone Apacher server. I could be wrong, someone else might know more about this.
    I think it would probably be easiest to use the HTTP server that comes on the 10g companion disk - that comes "free" when you buy the database. It is Apache and it has mod_plsql already installed and set up.
    Seems like I played around with the embedded PL/SQL gateway (DBMS_EPG package) on 9i a while ago. I could be wrong, it was a while ago. I was in the process of upgrading 8iR3 to 9iR2 and also evaluating new features of 10gR1. Things seem to mesh together after time.
    Thanks,
    Dan

  • Using JSP in Web Server

    Hi,
    Can I use JSPs and Servlets without using the Application server in the web server?

    Hi,
    By default JSP and Servlets are supported by iWS/SUN ONE Web Server. For iWS till version 4.1 you need to manually enable the servlet engine and jsp. This can be done from the Server side, goto admin mode, select the server for which you want to activate the JSP, select servlet tab and click on appropriate radio button (YES) for Enabling JSP's and Servlet's.
    NOTE: If you disable Servlet engine and JSPs are enabled, JSPs will also be disabled.
    From version 6, JSP support is enabled by default.
    Regards
    Srini

  • SCCM central site and primary site use the same SQL SERVER with two Instance.

    Hi  Guys,
    I want deploy SCCM 2012 central site and primary site in my domain. But Only one Sql server for me. Any one can tell me how to install the central site server and primary site server with the same SQL SERVER with two instance.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Sean Xiao
    TechNet Community Support

    Although you can install like the configuration you said above, we do not recommend you do it this way. If your SQL box has  problems, all the data will go away and you will not have data redundancy.
    You need to configure the different SQL Port and SQL Broke service port e.g.
    SQL port 4023  SQL Broke Service port 4022 for CAS instance
    SQL port 4024  SQL Broke Service port 4021 for PRI instance
    Juke Chou
    TechNet Community Support
    I agree with Johan and this configuration should not be used. But I want to clarify that the default ports for "SQL port" (actually, SQL over TCP) is 1433 and the SQL Broker Service uses 4022. The configuration above should work but the "correct" would be
    to use 1433 and 4022 for the CAS and 10434 and 4023 for the Primary :)
    You can read more about Network Ports used by Configuration Manager here
    http://technet.microsoft.com/en-us/library/hh427328.aspx#BKMK_CommunicationPorts
    /Tim
    Tim Nilimaa | Blog: http://infoworks.tv | Twitter: @timnilimaa

  • CMSDK jsps hang on forms with large content

    Hi
    I am running Apache Oracle http server 1.3.22 for CMSDK in Oracle 9i and I have written several jsps for batch file uploading where metadata for the files are automatically added to the files.
    However, I have a problem: the size of the information sent in a form with the POST procedure can sometimes be quite large: long description fields together with a long list of pathnames of files. The POST event sends of this information to another jsp where file uploading is done.
    The problem is that when the description and/or the list of pathnames long, the jsp window just hangs (there isn't even an hourglass to tell the user it is busy processing).
    I have independently tested uploading very large files not using the browser to my Oracle CMSDK area and there seems to be no limit to that.
    I suspect the problem is with the size of the strings that are posted to the next jsp, before the upload is done.
    I know this sounds like a question about <FORM> tags but I am working within the CMSDK environment and I think it is a CMSDK environment limitation.
    Is there a limit to the size of the information that can be sent via a POST event in the CMSDK environment?
    I have tried manually setting the contentlength with the build-in http response/request functions i.e.
    response.setContentLength(5000);
    But this does not help at all - and if you check the contentlength with
    int contentlength = request.getContentLength()
    the size of the content is automatically adjusted for the amount of information in the page. However, over contentlength around 1500 the page always just hangs forever.
    Is there a place in CMSDK where this can be changed?
    I increased the size of the buffers from 2048 to four times that in Server Properties under OC4J in the web-based Enterprise manager interface. However that makes no difference.
    Any help or information will be greatly appreciated.
    Thanks
    Hugo

    that's a problem for support.
    I hope you know, that support has ended years ago and only the extended support is available for the next 10 months...

  • Using Office Web Apps Server with SharePoint Foundation 2013

    I want to know whether I can configure Office Web Apps server to edit Excel documents on a SharePoint Foundation 2013 site.
    I came across a TechNet article that states that "When used together with SharePoint Server 2013, Office Web Apps Server provides updated versions of Word Web App, Excel Web App, PowerPoint Web App, and OneNote Web App".
    However, later in the same article, it states "If your organization licenses Office 2013 through a Volume Licensing program, you can enable Office Web Apps editing for SharePoint 2013 on-premises" (without mentioning Foundation or Server).

    Hi Lemesnil,
    The Office Web App server should support the Edit licenses for SharePoin Foundation 2013, Office Web App is free to
    download, you can also try installing and configuring in a test environment, see more from the below article applied to SharePoint Foundation 2013.
    http://support.microsoft.com/kb/2886404/en-us
    http://blogs.technet.com/b/speschka/archive/2012/12/31/enabling-licensing-and-editing-for-office-web-apps-in-sharepoint-2013.aspx
    Anohter useful article aobut how to license Office Web App server, you can take a look.
    http://blogs.technet.com/b/volume-licensing/archive/2013/05/22/how-to-license-office-web-apps-server.aspx
    Thanks
    Daniel Yang
    TechNet Community Support

  • Direct PDFExport can not convert file with Chinese content

    hi Experts,
    I am using direct pdfexpert with wcc11.1.1.7 on win7 64bit(Chinese version), after converting a word to pdf, I found the content in pdf is totally unreadable, I guess the charset of word is GBK, is there special configuration for this?
    Best regards

    Hi ,
    I think this is due the font set which you are using for IBR Conversion. Make sure to include the fonts (the one used in actual document) in the font path on IBR , resubmit / check-in anew , it will work fine .
    Thanks,
    Srinath

  • How do i use my own dhcp server with airport extreme

    I just bought an airport extreme and I'm trying to replace my linksys router and another access point.
    I have my own dhcp/dns server and I want to continue using it. So far, I was not able to find the way to use NAT without DHCP (like I'm doing now with my current setup).
    I want to give the device another chance before I return it to the store. Is there anything I can do?
    Thanks

    I thought that you could figure out the answer for yourself, but if you need more confirmation.....the choices/options that you need do not exist on an AirPort router.
    Cisco or Netgear might be brands to look at.  Good luck in your quest.

Maybe you are looking for

  • How can I will declare the symbol u2018 (Single Quote) in the report

    Hi , Could you please tell me how can I will declare the symbol u2018 (Single Quote) in the report. My requirement is that I have concate the data with single quote and after that I have to store the data in to an internal table and I have to downloa

  • Kona 3 [and XENA] for FCP Questions

    Is the XENA 2Ke compatible with the Macintosh platform and FCP, and if so which is the recommended version of OSX and FCP? I have previously read someone stating that you can use this card on both platforms therefor negating the need to purchase a Ma

  • Shortdumps because of missing RFC authorization!?

    Hello, I developed a report, that calls a function module, stored in many other SAP Systems. This report will be called by hundreds of users. But many of these users do not have the appropriate authorizations to call function modules in other systems

  • Trackpad Still not working right after replacement

    I've recently been having issues with my trackpad on my Macbook Pro, i took it to the apple store last week and they replaced it due to it not registering physical clicks what so ever. However, although a new trackpad was issued/replaced and the prob

  • "illegal instruction" during install of xapian-ruby-bindings (AUR)

    In the installation process of xapian-ruby-bindings from aur the command /usr/bin/ruby -I.libs -I. ${dir}$tst is run from within a shell script. On my system, it causes an "illegal instruction" error, thus the installation fails. I read in another th