XHTML MP Generic Metadata

You can specify some generic metadata for your XHTML MP file using the <meta/> tag. The <meta/> tag should be enclosed within the <head></head> tags. A WAP browser will just ignore the metadata if it does not understand the metadata’s meaning. You can specify metadata of any sort in an XHTML MP file without affecting […]

XHTML MP Document Structure

Hello World XHTML MP Example<?xml version=”1.0″?><!DOCTYPE html PUBLIC “-//WAPFORUM//DTD XHTML Mobile 1.0//EN” “http://www.wapforum.org/DTD/xhtml-mobile10.dtd”><html xmlns=”http://www.w3.org/1999/xhtml”>  <head>    <title>XHTML MP Tutorial</title>  </head>  <body>    <p>Hello world. Welcome to our XHTML MP tutorial.</p>  </body></html>This is what you will see in some mobile phone emulators:Sony Ericsson T610Nokia Mobile Browser 4.0XHTML MP documents start with the prolog, which contains the XML declaration and DOCTYPE declaration.<?xml version=”1.0″?><!DOCTYPE html PUBLIC […]

Syntax Rules of XHTML MP

XHTML MP is a subset of XHTML. The syntax rules of XHTML MP follow that of XHTML.As mentioned before in this XHTML MP tutorial, XHTML is just a stricter and cleaner form of HTML. If you have already learned HTML, you can immediately start writing XHTML MP markup code by following the XHTML MP syntax […]

XHTML MP MIME Types and File Extension

MIME Types The following three MIME types can be used for XHTML MP documents: application/vnd.wap.xhtml+xml application/xhtml+xml text/html The MIME type specified by the Open Mobile Alliance [OMA] for XHTML MP documents is “application/vnd.wap.xhtml+xml”. This MIME type is required for some WAP browsers (for example, some Nokia Series 60 browsers) to display XHTML MP documents correctly. […]

Connection reset by peer:jvm_recv in socket

am programming in Jbuilder7 and weblogic 7. I created a jdbc datasource of a postgres database. In the ejb, I lookup the jndi and get connection to execute a query to get some data and return the ArrayList of data. I also created a servlet to lookup the ejb and get the ArrayList. It always […]

永久免費使用NOD32殺毒軟件(更新12月19日)

本方法利用官方服務器的後門,不同于以前那種延長試用期的方法,是真正完美的NOD32破解。 既能更新病毒庫,又能更新程序組件! 不需要任何ID、升級外挂等! 0.如果你已經安裝NOD32,不管是什麽版本,都要先卸載,然後重啓!因為只有以下版本能用這個方法,彆的版本都不行! 1.下載NOD32安裝包 http://www.strongd.net/file/200709/nentcsst.exe 2.安裝前斷開網絡!安裝完成後重啓,打開NOD32控制中心,到“更新”頁面,可以看見一個“購買完全版”按鈕,説明現在是試用版。彆急,現在我們來破解他。 3.點設定——服務器——新增——填入: http://www.nod32.com/nod_upd 新加NOD32中國非官方論壇專用升級服務器 http://u1.chinanod32.com (電信) http://www.strongd.net/nod32 (本站更新地址) http://u2.chinanod32.com (網通)[點確定,把它設成默認的更新服務器,再確定,連上網絡。 等到更新完成,你會發現“完全版”按鈕神奇消失了!就變成正版了! 聲明:這種方法不是用代理!不信你在IE裏打開http://www.nod32.com看看!是正宗的官網

upgrading SVN or remove SVN REPO

Shut down svnserve, Apache, and anything else that might be accessing the repository. svnadmin dump /path/to/repository > dumpfile.txt , using version X of svnadmin. mv /path/to/repository /path/to/saved-old-repository Now upgrade to Subversion Y (i.e., build and install Y, replacing X). svnadmin create /path/to/repository, using version Y of svnadmin. svnadmin load /path/to/repository < dumpfile.txt , again using version Y of svnadmin. Copy over hook scripts, etc, from the old […]

simultaneous-build-throttle resin config

對系統做壓力測試時經常出現以下問題,測試就不通過. We are already in the process of making 6 connections and the number of simultaneous builds has been throttled to 5   但在400個用戶時沒有很問題.一超過400就會有40來個錯誤,,,查看系統記錄,發現了上面的問題.   查了一個官方的資料,問題解決了! In http://proxool.sourceforge.net/properties.html is Say: simultaneous-build-throttle: This is the maximum number of connections we can be building at any one time. That is, the number of new connections that have been […]

獲取LINUX系統資訊(how to get system info in linux)

以下命令列表,提示和資訊是我翻譯過來的.使用這些命令可以很快的取得您的系統資訊. 一般性的系統資訊提示:很多硬體資訊命令一定要使用root管理員才可以執行,或者使用管理員執行可以獲得更多資訊. 運行qtparted 或者GParted 獲得硬盤和分區資訊.並且使用KDiskFree和fdisk -l獲得全部分區資訊. hardinfo – 非常好的工具,而且可以獲得詳細報告. 獲取一個硬體報告: 這個報告包含很多其他報告,一些已經列到這篇文章裏面.通過installation-report 安裝Synaptic 包, 在全屏的命令行下運行:report-hw或者report-hw > hwreport (把結果保存到文件hwreport 裏) sysinfo – 在命令行下運行,可以獲得不錯的效果. hal-device-managerkde-hal-device-manager這些包可以安裝在Synaptic下. 當使用kde-hal-device-manager時.可以通過 KMenu > System > Device Manager 來安裝. dmidecode -t memory (as root)這個工具顯示系統的DMI(Desktop Management Interface)報告,報告內容包括系統的所有硬體,例如BIOS的版本號等. dmidecode 不單單顯示系統的當前配置,還包括BIOS支援CPU速度,最大記憶體等資訊.dmidecode | less (as root) BIOS 資訊和系統資訊 (使用空格換頁,使用q退出) uname -a (系統版本號)uname -m 系統版本 (i.e. – i686)uname -r 系統核心版本號 lshw (as […]

how to get cpu information on Linux machine

Hi,I want to display cpu information like model number, vender information, and how many cpu’s are there in the system (Linux machine)Is there any system call ? or /proc/cpuinfo is the only wayAnd also how get information regarding controllers and adapters installed on system(Linux machine) using any system callThanks and regardslaxmi   re: cat /proc/cpuinfocat […]