(optional)
Begin
Start condition (optional)
End
End condition (optional)
Step
The cycle step. The default value is 1 (optional)
Var
Variable name of the object for loop. If the items attribute exists, it indicates the variable name of the object in the Loop set (optional)
VarStatus
Variable showing the loop status (optional)
Functions tag LibraryThe Functions tag library has 16 Functions in two categories. Length function: fn: le
Cakephp's powerful i18n function is used for localization and internationalization. By using the language configuration file, the program can adapt to changes for localization. Create a locale/chi/LC_MESSAGES/default. po file and specify the language option as "chi. This article describes how to implement the localization process.
Cakephp's powerful i18n function is used for localization and internationaliz
needs to be properties and is placed under SRC. Naming rules must follow basename_language_country.properties strictly. Let's say we want to achieve the internationalization associated with login, we need to build login_zh_cn.properties and login_en_us.properties these two files or more. Then two files for the same key field, to give the Chinese and English value. Where value values can use placeholders, such as: Hello {0}, as to how to pass parameters, explained later.Internationalization of v
actions in the module must share the same lifecycle.• Struts2 supports creating different lifecycles for each Action through Interceptor Stacks. The stack can be used with different actions as needed.Struts. action. extensionThe URL extension to use to determine if the request is meant for a Struts actionUse the URL extension to determine whether the request is used as a Struts action, that is, to set the action suffix, such as the 'do 'word of login. do.
Struts. configurationThe org. apache. s
Struts. action. extensionThe URL extension to use to determine if the request is meant for a Struts actionUse the URL extension to determine whether the request is used as a Struts action, that is, to set the action suffix, such as the 'do 'word of login. do.
Struts. configurationThe org. apache. struts2.config. Configuration implementation classOrg. apache. struts2.config. Configuration Interface Name
Struts. configuration. filesA list of configuration files automatically loaded by StrutsA list
Struts. Action. ExtensionThe URL extension to use to determine if the request is meant for a struts actionUse the URL extension to determine whether the request is used as a struts action, that is, to set the action suffix, such as the 'do 'word of login. Do.
Struts. ConfigurationThe Org. Apache. struts2.config. Configuration implementation classOrg. Apache. struts2.config. Configuration Interface Name
Struts. configuration. FilesA list of configuration files automatically loaded by strutsA li
Connect to fedora core2 through SSH in Windows
It is mainly because the fedora core2 encoding is UTF-8, so it cannot be correctly displayed.
1. temporary solution:
Run the following command every time you log on via SSH:
Chinese: Export lang = zh_cn.gb2312
English: Export lang = "en_us"
Export lc_all = "en_us"
For example, [root @ localhost ~] # Export lang = zh_cn.gb2312
2. (FIND) a stable solution:The SSH terminal is garbled in as4, but as3 does not. Copy the/etc/sysconfig/
First, check whether the server supports Chinese characters. On the server that supports Chinese character sets, you can adjust the character set encoding in the following two ways:
1. Modify the default character set through/etc/sysconfig/i18n
In many cases, Chinese support packages may not be installed on Linux servers. In particular, Chinese support packages are not installed on servers we purchase abroad.
To enable our server to output beaut
If you want to view the information using pstree today, we can find that:
[[Email protected] ~] # PstreeInit failed? ATDCrondRequired events/0 records? AIO/0? Kauditd? Kblockd/0? Khelper? Kmirrord? Limit 2 * [pdflush]
Why are all garbled characters?
Is there a problem with encoding settings?
View i18n files
[[Email protected] ~] # Cat/etc/sysconfig/i18nLang = "en_US.UTF-8: zh_cn.gbk"Supported = "zh_cn.gbk: zh_cn18030: zh_cn: Zh: en_US.U
actions in the module must share the same lifecycle.• Struts2 supports creating different lifecycles for each action through interceptor stacks. The stack can be used with different actions as needed.Struts. Action. ExtensionThe URL extension to use to determine if the request is meant for a struts actionUse the URL extension to determine whether the request is used as a struts action, that is, to set the action suffix, such as the 'do 'word of login. Do.
Struts. ConfigurationThe Org. Apache. s
simple. 5. rife is based on the request framework 6 and rife have too many functions, steep learning curve6. What do you think of Ruby on Rails?Ror has a great impact on the Java Community, and the Yuan compilation has also gained trust. Ror has nothing to do with, and has not benefited much from the ruby language.I hate: its template. Partials (component in ROR ). Distribute URLs. Active record provides DSL from the database schema, but not from the domain model. L10n and
Configuration Management strutsspringvelocityfreemarkerCommon struts2"-// Apache Software Foundation // DTD struts configuration 2.0 // en"Http://struts.apache.org/dtds/struts-2.0.dtd>If you need to specify multiple request suffixes, multiple suffixes are separated by commas. -->Spring hosting### Specify the struts2 configuration file manager, which is org. Apache. struts2.config. defaultconfiguration by default### Developers can customize the configuration file manager, which can automatically
environment supportTo implement multi-language support in Linux, you must introduce the multi-language environment support corresponding to glibc and graphic environment when customizing the installation program. For the glibc environment, it is the foundation of the entire Linux culture. We need to save the locale information in the/usr/share/Locale directory, save the font information in the/usr/share/consolefonts directory and save the information of the character conversion module in the/us
Linux Character Set viewing and setting -- rhel5.8 command: locale-a view local character set locale-m view all supported character sets view current default echo $ LANG record system default language file is/etc/sysconfig/i18n, if the default installation is a Chinese system, the i18n content is as follows: www.2cto.com code: LANG = "zh_CN.UTF-8" SYSFONT = "latarcyrheb-sun16" SUPPORTED = "zh_CN.UTF-8: zh_C
1. Use gettext. Because Smarty has the corresponding gettext plug-in, you can directly use this plug-in.
The procedure is as follows:
1.1 Add the following code to a public include file:
// $ Domain_info ['lang '] indicates the language value passed in by the cookie. $ language_code = $ domain_info ['lang']; // set the interface language to Chinese if ($ your age_code = 'zh _ cn') {// set the target language putenv ("LANG = $ your age_code"); setlocale (LC_ALL, $ language_code); // $ pa
/*. sh; do if [-r "$ I"]; then. $ I fidone... 4. to/etc/profile. d/directory, view these *. sh script, found a file named "lang. sh "file, it should be: Open/etc/profile. d/lang. sh, starting with a few words :... for langfile in/etc/sysconfig/i18n $ HOME /. i18n; do [-f $ langfile] . $ langfile sourced = 1done... this/etc/sysconfig/i18n is the place where the
Chinese font in XFree is not good. You can use the Chinese dot matrix font in TLC or BP to achieve the display effect similar to that of IE. After the font is installed, change the font settings of NETSCAPE.
5. Does Star Office support Chinese characters?
A:Currently, it is not supported (6.x). You can only wait.
6. My Chinese display and input under X have been solved, but some software and system menus do not display Chinese
A:If you can exclude that the software or system does not have a Chi
Resolve Bash Shell pin this newspaper error ': not a valid identifierWhen you edit the script in the shell, the runtime appears "': not a valid identifier", or it will appear (: Command not found, many inexplicable symbols) is likely you to edit under Windows, run under Linux, Due to different text formats for Linux and Windows.The above may be one of the reactions, sometimes the terminal shows ": No files ..." is also the cause of most of this caused by the semicolon begins with ":"Workaround:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.