동영상처럼 Help를 보여주고 싶을 때..

윙크(http://www.debugmode.com/wink/ )를 이용하면 좋을 것 같다.

Introducing Wink...
Wink is a Tutorial and Presentation creation software, primarily aimed at creating tutorials on how to use software (like a tutor for MS-Word/Excel etc). Using Wink you can capture screenshots, add explanations boxes, buttons, titles etc and generate a highly effective tutorial for your users.
Here is a sample Flash tutorial created by Wink. Click the green arrow button to start viewing it. -------->
(More tutorials created by Wink users and companies can be found at the User Forums.)

This is a good example of how you can create tutorials in Wink, by capturing screenshots, mouse movements and specifying your own explanations with them. And all this in a standard Windows-based UI with drag-and-drop editing makes it very easy to create high quality tutorials/documentation.

It is estimated that Macromedia Flash Player is installed in more than 90% of the PCs. Using Wink you can create content viewable across the web in all these users' desktops. Similar applications sell for hundreds of dollars, while Wink is free with unrivaled features. So spread the word about Wink to your friends.

Sample: Click the green button to play
Features
  • Freeware: Distributed as freeware for business or personal use. However if you want to redistribute Wink, you need to get permission from the author.
  • Cross-Platform: Available for all flavours of Windows and various versions of Linux (x86 only).
  • Audio: Record voice as you create the tutorial for explaining better.
  • Input formats: Capture screenshots from your PC, or use images in BMP/JPG/PNG/TIFF/GIF formats.
  • Output formats: Macromedia Flash, Standalone EXE, PDF, PostScript, HTML or any of the above image formats. Use Flash/html for the web, EXE for distributing to PC users and PDF for printable manuals.
  • Multilingual support: Works in English, French, German, Italian, Danish, Spanish, Serbian, Japanese, Brazilian Portuguese and Simplified/Traditional Chinese.
  • Smart Capture Tools: Capture screenshots automatically as you use your PC, based on mouse and keyboard input (great time saver and generates professional captures).
  • Performance/Quality: Creates highly compressed Flash presentations (few kbs to few hundreds of kbs, much smaller than competing commercial products) ideal for using on the web.
  • Tools:
    • Navigation buttons to move to next/previous/random frames in the presentation, you can use custom bitmaps for these buttons (full transparency/alpha channel support).
    • Callouts and shapes for displaying text explanations. The inbuilt Callout Editor is used to create custom shaped callouts as you want.
    • Intuitive drag-n-drop editing of the frame, callout, cursor, navigation buttons and the title elements.
    • Advanced features like templates, cursor editing, palettes, background images, control bars & preloaders for the flash output etc.
    • Completely PC and Web ready with exports to PDF, HTML, SWF and EXE formats.
    • Innovative compression techniques applied to reduce filesize of output Flash file. Generated flash file plays in Flash players from version 3 and above, giving you widest array of target audience.
    • Uncompressed output to allow you import the output of Wink into other Flash editors.

Posted by '김용환'
,



configuration : Tomcat 5.5. Apache 2.0


얼마전 톰캣 로그에서 다음과 같은 Exception이 발생했고, L7 체크(jsp 체크)에서 걸려서 L4에서 약 1분동안 빠지는 일이 발생했다.
Recently, a awkward exception of tomcat is occured below, and failed in L7 check (jsp check), the tomcat server were removed L4 equiment.

java.io.CharConversionException: Invalid char in port: 118 Exception


나는 확인해서, 찾아봤더니 이는 톰캣의 mod_jk 연동부분이었다.
I checked up, I found that exception happened in mod_jk of Tomcat.


Http의 헤더의 Host 부분에서 semicolon(;)이 포함되면, 이런 Exception이 발생했다.
If host part of Http header contains semicolon(;),  Below Exception is occured. 

재현 시나리오는 다음과 같다. 당신은 확인이 가능할 것이다.
I tried to do reviva scenario like below.  You may find on your tomcat.


GET /search.nhn HTTP/1.1
Host: dailybuild.google.com;www.google.com
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; netimo; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.0
Accept-Language: en-us,en;q=0.0
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.0
Connection: close
Referer: attack test
Content-Length: 12

aaaaaaaa

 



Reference
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.23)

14.23 Host

The Host request-header field specifies the Internet host and port number of the resource being requested, as obtained from the original URI given by the user or referring resource (generally an HTTP URL,

as described in section 3.2.2). The Host field value MUST represent the naming authority of the origin server or gateway given by the original URL. This allows the origin server or gateway to differentiate between internally-ambiguous URLs, such as the root "/" URL of a server for multiple host names on a single IP address.

       Host = "Host" ":" host [ ":" port ] ; Section 3.2.2

A "host" without any trailing port information implies the default port for the service requested (e.g., "80" for an HTTP URL). For example, a request on the origin server for <http://www.w3.org/pub/WWW/> would properly include:

       GET /pub/WWW/ HTTP/1.1

       Host: www.w3.org

A client MUST include a Host header field in all HTTP/1.1 request messages . If the requested URI does not include an Internet host name for the service being requested, then the Host header field MUST be given with an empty value. An HTTP/1.1 proxy MUST ensure that any request message it forwards does contain an appropriate Host header field that identifies the service being requested by the proxy. All Internet-based HTTP/1.1 servers MUST respond with a 400 (Bad Request) status code to any HTTP/1.1 request message which lacks a Host header field




원인은 잘못된 리퀘스트 (host 정보에 스펙에 맞지 않은 내용이 올 때 문제)로 인한 것이다...
Posted by '김용환'
,

Apache User-Agent Log Reference

web 2009. 12. 16. 15:47
Posted by '김용환'
,


서버/인프라를 지탱하는 기술에서 좋은 것 발견

1. 도스 공격 프로텍터
http://sourceforge.net/projects/moddosdetector/files/

2. Stone 가속기
http://www.gcd.org/sengoku/stone/Welcome.ja.html
client - l4 - stone(소프트웨어 ssl 가속기) - l4 - 웹 서버

Posted by '김용환'
,


아래와 같이 textarea를 사용하면, html 태그를 내부적으로 사용할 수 있다.
아래코드의 문제는 width, height쪽이 통제가 되지 않는데. 딱 fix해서 쓰려면 java script를 써야 한다.

111<br>
<textarea style="border:0px;overflow:hidden;width:100%;>
  </this is malformed!</malformed</malformed & worse>
 
  a
  b
  <table>asfzsd
   </textarea>
 
222<br>
 
 

'web' 카테고리의 다른 글

Apache User-Agent Log Reference  (1) 2009.12.16
서버/인프라를 지탱하는 기술에서 좋은 것 발견  (0) 2009.12.04
Tag Libarray - Fn:replace  (0) 2009.11.26
To make preloading images in web  (0) 2009.11.25
Code Viewer Sites  (0) 2009.11.20
Posted by '김용환'
,

Tag Libarray - Fn:replace

web 2009. 11. 26. 11:56

If you want to change a string some file, you can use fn:replace tag libs.

<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
..

<pre>
${fn:replace(content.value.summary,'<', '&lt;')} 
</pre>
..


In my case, I have to change '<' character to '&lt', because some tag.(ex. table) have priority over per..
So, I have to use it.
Posted by '김용환'
,

'web' 카테고리의 다른 글

HTML에서 html 태그를 사용하기  (0) 2009.11.26
Tag Libarray - Fn:replace  (0) 2009.11.26
Code Viewer Sites  (0) 2009.11.20
Apache Mina 파일이나 특정 스트림 보내기  (1) 2009.10.21
Apache Mina 2.0 Connector 부분 변경  (0) 2009.10.21
Posted by '김용환'
,

Code Viewer Sites

web 2009. 11. 20. 16:03


http://www.1stwebdesigner.com/resources/16-free-javascript-code-syntax-highlighters-for-better-programming/



I selected syntax highlighting. It is very useful, because it support many file types such as java, css, js...

Posted by '김용환'
,

ProtocolCodecFactory를 이용해서 스트림을 보내야 한다.

다음 주소 참조.
http://mina.apache.org/tutorial-on-protocolcodecfilter-for-mina-2x.html

'web' 카테고리의 다른 글

To make preloading images in web  (0) 2009.11.25
Code Viewer Sites  (0) 2009.11.20
Apache Mina 2.0 Connector 부분 변경  (0) 2009.10.21
URLConnection을 이용한 파일 전송  (0) 2009.07.29
Tux 설치하기  (0) 2009.07.13
Posted by '김용환'
,

아파치 Mina 1.0에서 2.0 을 올리니. Connector 쪽에 약간 변경이 생겼다.

다음 URL 보면 쉽게 이해가게 고칠 수 있다.


http://www.nabble.com/-CONF--Apache-MINA-%3E-Sample-TCP-Client-td25396761.html




  private static final SocketHandler HANDLER = new SocketHandler();
  future = socketConnector.connect(address, HANDLER, config);

=>
    socketConnector.setHandler(HANDLER);
    future = socketConnector.connect(address);
    future.awaitUninterruptibly();


(옛날 코드는 그냥 그대로 두지..ㅡ.ㅡ;;)

'web' 카테고리의 다른 글

Code Viewer Sites  (0) 2009.11.20
Apache Mina 파일이나 특정 스트림 보내기  (1) 2009.10.21
URLConnection을 이용한 파일 전송  (0) 2009.07.29
Tux 설치하기  (0) 2009.07.13
NGINX 설치하기  (0) 2009.07.13
Posted by '김용환'
,