This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Main { | |
private static final Logger log = Logger.getLogger("Main"); | |
public static void main(String[] args) throws Exception { | |
Main m = new Main(); | |
m.start(); | |
} | |
public void start() throws Exception { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Element_birthday=lumi2.type.CalendarConverter |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Map; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpSession; | |
import org.apache.struts2.convention.annotation.Action; | |
import org.apache.struts2.convention.annotation.Result; | |
import org.apache.struts2.convention.annotation.Results; | |
import org.apache.struts2.dispatcher.SessionMap; | |
import org.apache.struts2.interceptor.ServletRequestAware; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VM引数に対して、次の内容を追記する。 | |
-server -Xmx1024m -XX:MaxPermSize=256m -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled | |
※ヒープサイズは適宜修正 | |
記述例: | |
-Dcatalina.base="C:\A-pZ\deploy" -Dcatalina.home="C:\pleiades\tomcat\7" -Dwtp.deploy="C:\A-pZ\deploy\wtpwebapps" -Djava.endorsed.dirs="C:\pleiades\tomcat\7\endorsed" -server -Xmx1024m -XX:MaxPermSize=256m -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BigDecimalConverter extends StrutsTypeConverter { | |
public Object convertFromString( | |
Map context, | |
String[] values, | |
Class toClass) { | |
// 画面→Actionクラス変換 | |
} | |
public String convertToString(Map paramMap, Object paramObject) { | |
// 画面←Actionクラス変換(正常系のみ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.codework.struts.plugins.thymeleaf.spi; | |
import org.codework.struts.plugins.thymeleaf.StrutsMessageResolver; | |
import org.thymeleaf.TemplateEngine; | |
import org.thymeleaf.templateresolver.ServletContextTemplateResolver; | |
import com.opensymphony.xwork2.inject.Inject; | |
/** | |
* A default implementation of {@link TemplateEngineProvider}. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
*/ | |
package lumi.action.sample; | |
import lombok.Getter; | |
import lombok.Setter; | |
import lombok.extern.slf4j.Slf4j; | |
import lumi.action.LumiActionSupport; | |
import lumi.service.SampleService; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml" | |
xmlns:th="http://www.thymeleaf.org" lang="ja"> | |
<head> | |
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"></meta> | |
<meta charset="utf-8"></meta> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"></meta> | |
<meta name="viewport" content="width=device-width, initial-scale=1"></meta> | |
<meta name="description" content=""></meta> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
*/ | |
package lumi.action.upload; | |
import java.io.File; | |
import java.util.HashMap; | |
import java.util.Map; | |
import lombok.Getter; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="form-group form-group-sm result-box"> | |
<label class="col-sm-2 control-label">CDW</label> | |
<div class="col-sm-2"> | |
<input type="text" class="form-control" value="料金込" th:value="${beans.masterDataService.getValue('DMST',action.detail['DMST'])}" /> | |
</div> | |
</label> | |
</div> |
OlderNewer