JSTL

書式
fmt:setBundle basename=”リソース名” var=”変数名”
使用例

1.application.propertiesperson.id ...

JSTL

ApplicationResources
testmenu.user=this is a test message {0} info
JSPコード

<fmt:setBundle basename="Appl ...

Eclipse

操作方法
1. 対象ファイル(例common.js)を右クリックして「プロパティ(R)」をクリックします。

2.「リソース」をクリックし、「テキスト·ファイル·エンコード」を確認します
例「デフォルト(E) ...

Java

書式
1.public String substring(int beginIndex)
この文字列の部分文字列である文字列を返します。

2.public boolean startsWith(String ...

JSTL

書式
<c:forEach items=”HashMap値” var=変数名
使用例

<%@ taglib prefix="c" uri="" %><c:forEa ...

Java

書式
public int size()
Vectorの要素数を返します。
使用例

package com.arkgame.study;import java.util.Vector;public cla ...

Java

書式
char変数A >char変数B
使用例

package com.arkgame.study;public class CharComDemo { public static void main(St ...

JSP

説明
char
数値 0-9
大文字 A-Z
小文字 a-z

ASCII値: 
数値 48-57
大文字 65-90
小文字 97-122

使用例 ...

JSTL

書式
session.setAttribute(変数名,値)
使用例

<%session.setAttribute("userName","admin");%><c:if test="${use ...

SpringMVC

書式
form:input path=モデルの名前
1.モデルクラスの定義

public class UserModel { private String username; private String add ...

Python

書式
lambda 変数1:変数2:式
使用例

# coding: utf-8def funcA(a,b): c = b(4,11) return a+str(c)print(funcA("計算結果:",lamb ...

Spring Boot

書式
@Bean
public ServletRegistrationBean 関数名
使用例

import javax.servlet.http.HttpServlet;import javax.ser ...

SpringMVC

1.method属性
POSTでリクエストを処理
@RequestMapping(path = “/userEdit”, method = RequestMethod.POST)

G ...

SpringMVC

書式
1.mvc:annotation-driven アノテーションを有効にする
2.InternalResourceViewResolver
ビュー(jsp)のパスと拡張子を定義する
3.compon ...

SpringMVC

書式
1.<filter><filter-name>xx
2.<servlet><servlet-name>xxx
3.<init-param>< ...

batch

書式
setlocal enabledelayedexpansion
使用例

@echo offsetlocal enabledelayedexpansionset gg = 0for/l %%i in (1,1 ...

batch

書式
call:関数名
使用例

@echo offcall:funcAif not %errorlevel% == 0 ( echo エラーmessage) pause:funcAexit/b 9

  ...

batch

書式
if not 条件式
使用例

@echo offfor/l %%i in (1,1,4) do ( if not %%i==2 ( echo %%i ))pause