±â¼ú¹®¼­
OZ Server
OZ Application
OZ Report
Google
À¥    forcs.com
¿ÀÁî ¸®Æ÷Æ®
¿ÀÁî ÀÌÆû

OZ Server
OZ Server
Á¦¸ñ : ¿ÀÁî ºä¾î Æз¯¹ÌÅÍ ¾Ïȣȭ ¹× UTF-8 ÀÎÄÚµù
¿ÀÁî_LMK NOSPAM_mklee@forcs.com 4,583 hit 
http://oztn.net/kb/article/kbserver/144833108901911 2015-11-24 11:11:29
192.168.100.***

 

* °³¿ä


ºä¾î Æз¯¹ÌÅÍ ¾Ïȣȭ ¹× UTF-8 ÀÎÄÚµù ¹æ¹ýÀÔ´Ï´Ù.

ºä¾î Æз¯¹ÌÅÍ ÇѱÛÀÌ ±úÁö´Â °æ¿ì Àû¿ëÇØ º¼ ¼öµµ ÀÖ½À´Ï´Ù.

 

* »ó¼¼ ¼³¸í


 

1. JSP Æз¯¹ÌÅÍ ¾Ïȣȭ ¹× ÀÎÄÚµù

utf-8·Î ¾ÏȣȭÇÏ´Â ±â´ÉÀÌ µé¾î°£ ozenc_utf8.jarÀÔ´Ï´Ù.

encode ÇÔ¼ö µÎ¹ø° Æз¯¹ÌÅÍ°¡ trueÀÎ °æ¿ì utf-8·Î º¯È¯µË´Ï´Ù.

utf-8·Î ¾Ïȣȭ Áö¿øÇÏ´Â ºä¾î¹öÀüÀº 60.2015.0706.100 ÀÌÈÄ ºÎÅÍÀÔ´Ï´Ù. (±â´ÉÃß°¡-2446 ÂüÁ¶)

 

- »ùÇà ¼Ò½º : svg_enc.jsp

- ¶óÀ̺귯¸® : ozenc_utf8.jar (WEB-INF/lib/ ozenc_utf8.jar Ŭ·¡½º Æнº¿¡ ³Ö°í ÂüÁ¶)

<%@page language="java"  import="oz.enc.*"  contentType="text/html;charset=euc-kr" pageEncoding="euc-kr"%>

<%request.setCharacterEncoding("euc-kr");response.setContentType("text/html;charset=euc-kr");%>

<%!

           public String getEncode (String str) {

                     OZEncryption enc = new OZEncryption();

                     String sValue = "";

                     try {

                                sValue = enc.encode(str, true);

                     } catch (Exception ex) {

                                sValue = "";

                     }

                     return sValue;

           }

%>

<html>

<body>

<form name="form1" method="post" action="/OZ60/server" target="ozFrame" accept-charset="ks_c_5601-1987">

  <input type="hidden" name="ozserverexport" value="true">

  <input type="hidden" name="filename" value="sample.svg">

  <input type="hidden" name="connection.dataFromServer" value="false">

  <input type="hidden" name="connection.formfromserver" value="true">

<input type="hidden" name="exportview" value="true">

  <input type="hidden" name="connection.reportname" value="/sample.ozr">

  <input type="hidden" name="odi.odinames" value="sample">

  <input type="hidden" name="odi.sample.pcount" value="1">

  <input type="hidden" name="odi.sample.args1" value="xmlData=[encryptedforviewer].<%= getEncode("<DATASETLIST><DATASET...</DATASETLIST>") %>">

  <input type="hidden" name="odi.sample.usescheduleddata" value="ozp:///SDMMaker/OzSdmMaker.js">

 

 

2. Aspx(´å³Ý) Æз¯¹ÌÅÍ ¾Ïȣȭ ¹× ÀÎÄÚµù

utf-8·Î ¾ÏȣȭÇÏ´Â ±â´ÉÀÌ µé¾î°£ ozenc.dllÀÔ´Ï´Ù.

Encrypt ÇÔ¼ö µÎ¹ø° Æз¯¹ÌÅÍ°¡ trueÀÎ °æ¿ì utf-8·Î º¯È¯µË´Ï´Ù.

utf-8·Î ¾Ïȣȭ Áö¿øÇÏ´Â ºä¾î¹öÀüÀº 60.2015.0706.100 ÀÌÈÄ ºÎÅÍÀÔ´Ï´Ù. (±â´ÉÃß°¡-2446 ÂüÁ¶)

 

- »ùÇà ¼Ò½º : oz.aspx

- ¶óÀ̺귯¸® : ozenc.dll

<%@ Import namespace="oz.enc" %>

<Script language="c#" runat="server">

  OZEncryption ozenc = null;

  public void Page_Load(Object sender, EventArgs e)

  {

    ozenc = new OZEncryption();

  }

</Script>

 

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />

</head>

<body>

<div id = "RunOZViewer" style='height:98%'>

<object id = "OZReportViewer" classid = "CLSID:0DEF32F8-170F-46f8-B1FF-4BF7443F5F25" width = "100%" height = "100%">

    <param name = "connection.servlet" value = "http://127.0.0.1/oz60/Server.aspx">

    <param name = "connection.reportname" value = "font.ozr">

    <param name = "viewer.isframe" value = "false">

    <param name = "viewer.namespace" value = "ActiveXViewer6\ozviewer">

    <param name = "information.debug" value = "true">

    <param name="connection.pcount" value="1">

    <param name="connection.args1" value="text=[encryptedforserver].<%=ozenc.Encrypt("Æз¯¹ÌÅ;ÏȣȭÅ×½ºÆ®ÀÔ´Ï´Ù.", false)%>">

</OBJECT>

</div>

</body>

</html>

 

 

* Âü°í »çÇ×


ÇѱÛÀÌ ±úÁö´Â °æ¿ì Æз¯¹ÌÅÍ ÀÎÄÚµù

<%@page language="java" contentType="text/html;charset=euc-kr" pageEncoding="euc-kr"%>

<%request.setCharacterEncoding("euc-kr");response.setContentType("text/html;charset=euc-kr");%>

<html>

<body>

<form name="form1" method="post" action="/OZ60/server" target="ozFrame" accept-charset="ks_c_5601-1987">

  <input type="hidden" name="ozserverexport" value="true">

  <input type="hidden" name="filename" value="sample.svg">

  <input type="hidden" name="connection.dataFromServer" value="false">

  <input type="hidden" name="connection.formfromserver" value="true">

  <input type="hidden" name="exportview" value="true">

  <input type="hidden" name="connection.reportname" value="<%=java.net.URLEncoder.encode("/Å×½ºÆ®º¸°í¼­.ozr")%>">

  <input type="hidden" name="connection.dataFromServer" value="false">

  <input type="hidden" name="connection.formfromserver" value="true">

  <input type="hidden" name="odi.odinames" value="odiname1">

  <input type="hidden" name="odi.odiname1.pcount" value="1">

  <input type="hidden" name="odi.odiname1.args1" value="xmlData=<%=java.net.URLEncoder.encode("<?xml version='1.0' encoding='EUC-KR'?>...</root>")%>">

 

 



ÀÚ¹ÙÆз¯¹ÌÅ;Ïȣȭ.zip 6.82 KB (293 down)
´å³ÝÆз¯¹ÌÅ;Ïȣȭ.zip 5.33 KB (65 down)
Å°¿öµå :
 
OZ ¹öÁ¯ : ¼±ÅõÇÁö ¾ÊÀ½
OZ Á¦Ç° : Report Viewer
 
¹øÈ£ ±¸ºÐ Á¦¸ñ ±Û¾´ÀÌ ÀÏÀÚ Á¶È¸
53 ±â¼úÁ¤º¸ Tomcat¿¡ ¿ÀÁî¼­¹ö ¼³Ä¡¹æ¹ý Tag 2 ¿ÀÁî_LMK 2022-09-06 544
52 ±â¼úÁ¤º¸ OZ Viewer º¸¾È¼º °­È­ ¿ÀÁî_KTH 2014-09-05 5,259
±â¼úÁ¤º¸ ¿ÀÁî ºä¾î Æз¯¹ÌÅÍ ¾Ïȣȭ ¹× UTF-8 ÀÎÄÚµù ¿ÀÁî_LMK 2015-11-24 4,584
50 ±â¼úÁ¤º¸ ½ºÄÉÁÙ·¯API¸¦ ÀÌ¿ëÇÏ¿© ¼­¹ö¿¡ exportÇÑ ÆÄÀÏ ÀúÀåÇÏ´Â ¹æ¹ý ¿ÀÁî_LMK 2013-02-22 3,472
49 ±â¼úÁ¤º¸ CSV ÇüÅÂÀÇ µ¥ÀÌÅÍ¿¡ ³¯Â¥ ŸÀÔ °ªÀ» ÀÔ·ÂÇÏ´Â ¹æ¹ý ¿ÀÁî_LMK 2012-07-12 2,701
48 ¹®Á¦ÇØ°á ¿ÀÁî ½ºÄÉÁÙ·¯ µð¹ö±ë ÇÏ´Â ¹æ¹ý ¿ÀÁî_LMK 2011-06-29 3,579
47 ±â¼úÁ¤º¸ Äõ¸®µðÀÚÀ̳ÊÀÇ ¼­¹öŸÀÔÀÌ .NETÀÏ ¶§ DB¿¬°á¹æ¹ý ¿ÀÁî_LMK 2010-10-01 5,419
46 ±â¼úÁ¤º¸ µðÀÚÀ̳ÊÀÇ java memory´Ã¸®´Â ¹æ¹ý ¿ÀÁî_LMK 2008-06-27 3,055
45 ±â¼úÁ¤º¸ ¿ÀÁî¿¡¼­ DB2 ¿¬°áÇÏ´Â ¹æ¹ý ¿ÀÁî_LMK 2009-06-23 5,281
44 ±â¼úÁ¤º¸ Websphere 5.0/6.0 DataSource ¿¬°á¹æ¹ý ¿ÀÁî_YSM 2008-10-20 3,440
43 ±â¼úÁ¤º¸ ¼­¹ö¿¡¼­ oza, ozrµîÀ» Ŭ¶óÀ̾ðÆ®·Î Àü¼ÛÇÒ ¶§ÀÇ ¾ÐÃà ºñÀ² ¿ÀÁî_LMK 2008-07-28 3,348
42 ±â¼úÁ¤º¸ .NET OZ ¼­¹ö ¼³Ä¡ ÈÄ ¿À¶óŬ µå¶óÀ̹ö ¼³Á¤ ¹æ¹ý Tag 2 ¿ÀÁî_LMK 2008-01-18 6,480
41 ±â¼úÁ¤º¸ sybase DB ¿¬°á¹æ¹ý Tag 1 ¿ÀÁî_PSC 2007-12-05 3,708
40 ±â¼úÁ¤º¸ UDS»ç¿ë½Ã class, jarµîÀÇ È¯°æ ¼³Á¤ Tag 1 ¿ÀÁî_KDS 2007-11-29 4,007
39 ¹®Á¦ÇØ°á OZ Server¿¡¼­ Connection rest by peer°ü·Ã error¿¡ ´ëÇÑ ´ëÀÀ ¹æ¹ý Tag 1 ¿ÀÁî_KDS 2007-11-20 3,506
38 ±â¼úÁ¤º¸ Query Designer¿¡¼­ MySQL¿¬µ¿ ¹æ¹ý Tag 1 ¿ÀÁî_KDS 2007-12-28 4,522
37 ±â¼úÁ¤º¸ Äõ¸® µðÀÚÀ̳ʿ¡¼­ JDBC µî·ÏÇÏ¿© »ç¿ëÇϱâ Tag 1 ¿ÀÁî_KYP 2007-07-02 5,209
36 ±â¼úÁ¤º¸ ¿ÀÁî »ó¼¼ ¹öÀü È®ÀÎÇÏ´Â ¹æ¹ý Tag 1 ¿ÀÁî_LMK 2007-12-04 4,786
35 ¹®Á¦ÇØ°á ¿ÀÁÄÉÁÙ·¯2.5¿¡¼­ java.rmi.ConnectException ¿¡·¯ ÇØ°á ¹æ¾È Tag 1 ¿ÀÁî_LMK 2007-11-28 3,253
34 ±â¼úÁ¤º¸ oracle shared/dedicated ¼³Á¤¹æ¹ý Tag 1 ¿ÀÁî_LMK 2007-11-09 3,385
 | 1 | 2 | 3 |  
copyright 2007-2024 by FORCS OZ