HTML/JSP/Servlet... 7 JSP... 7 Servlet Struts Struts Struts FormBean LoginForm
|
|
- ふみな かんざとばる
- 7 years ago
- Views:
Transcription
1 Oracle JDeveloper 10g Struts Creation Date: May 28, 2004 Last Update: Aug 19, 2004 Version 1.0.1
2 HTML/JSP/Servlet... 7 JSP... 7 Servlet Struts Struts Struts FormBean LoginForm Action LoginAction Welcome oracleonline.jsp Oracle JDeveloper Struts 1
3 Oracle JDeveloper Web Servlet Struts JSP/Servlet JDeveloper JSP/Servlet Struts JDeveloper JDeveloper 1. Oracle JDeveloper Struts 2
4 2. OK アプリケーション 名 : SampleTest ディレクトリ 名 : (デフォルトのまま) アプリケーション パッケージの 接 頭 辞 :(なし) アプリケーション テンプレート: NoTemplate [All Technologies]? Web Servlet JSP Struts Java GUI Swing/AWT No Template Oracle JDeveloper Struts 3
5 Project General - Projects OK Oracle JDeveloper Struts 4
6 3. OK プロジェクト 名 : StrutsDemo ディレクトリ 名 : (デフォルトのまま) T T Java T HTML/JSP T J2EE T etc Oracle JDeveloper Struts 5
7 1. 2. OK デフォルト パッケージ: sample.test.strutsdemo Oracle JDeveloper Struts 6
8 HTML/JSP/Servlet HTML JSP Servlet HTML/JSP HTML JSP & JSP 1. Project Oracle JDeveloper Struts 7
9 2. カテゴリ: Web Tier - JavaServer Pages (JSP) を 選 択 項 目 : JSP ページ を 選 択 3. JSP ファイル 名 : ディレクトリ 名 : testpage.jsp (デフォルトのまま) 4. testpage.jsp web.xml Oracle JDeveloper Struts 8
10 5. (i) (ii) HTML (iii) HTML Table x x x x Oracle JDeveloper Struts 9
11 POINT: JSP testpage.jsp Oracle JDeveloper Struts 10
12 Servlet 1. Web Tier - Servlets HTTP 2. HTTP 3. クラス: パッケージ: コンテンツ タイプを 生 成 : メソッドの 実 装 : TestServlet (デフォルトのまま) (デフォルトのまま) doget() にチェック Oracle JDeveloper Struts 11
13 4. 2 Name: name Type: String Variable: username 5. 3 Oracle JDeveloper Struts 12
14 6. TestServlet.java TestSersvlet.java TestServlet.java package mypackage; import javax.servlet.*; import javax.servlet.http.*; import java.io.printwriter; import java.io.ioexception; public class TestServlet extends HttpServlet private static final String CONTENT_TYPE = "text/html; charset=windows-31j"; public void init(servletconfig config) throws ServletException super.init(config); public void doget( HttpServletRequest request, HttpServletResponse response ) throws ServletException, IOException String username = ""; try username = request.getparameter("name"); catch(exception e) e.printstacktrace(); response.setcontenttype(content_type); PrintWriter out = response.getwriter(); out.println("<html>"); out.println("<head><title>testservlet</title></head>"); out.println("<body>"); Oracle JDeveloper Struts 13
15 out.println("<p>the servlet has received a GET. This is the reply.</p>"); out.println("</body></html>"); out.close(); Servlet TestServlet.java Oracle JDeveloper Struts 14
16 Struts Struts Struts login.jsp FormBean LoginForm Action LoginAction Welcome welcome.jsp oracleonline.jsp Oracle JDeveloper Struts 15
17 Struts Struts Struts & Struts struts-config.xml Struts T T Struts T T Oracle JDeveloper Struts 16
18 1. StrutsDemo 2. Web Tier - Struts Struts Controller OK 3. struts-config.xml ApplicationResources.properties Oracle JDeveloper Struts 17
19 struts-config.xml Struts Struts Page Flow 4. Struts Page Flow 5. /page1 /login 6. /login ページ 名 : /login.jsp Oracle JDeveloper Struts 18
20 7. login.jsp login 8. Struts Struts Page Flow 9. /action1 /loginaction 10. /loginaction Struts Action 名 前 : LoginAction パッケージ: (デフォルトのまま) 拡 張 対 象 : (デフォルトのまま) 11. LoginAction.java LoginAction.java Oracle JDeveloper Struts 19
21 package sample.test.strutsdemo; import org.apache.struts.action.action; import org.apache.struts.action.actionform; import org.apache.struts.action.actionmapping; import javax.servlet.http.httpservletrequest; import javax.servlet.http.httpservletresponse; import org.apache.struts.action.actionforward; import org.apache.struts.action.actionerror; import org.apache.struts.action.actionerrors; import java.io.ioexception; import javax.servlet.servletexception; public class LoginAction extends Action /** * This is the main action called from the Struts framework. mapping The ActionMapping used to select this instance. form The optional ActionForm bean for this request. request The HTTP Request we are processing. response The HTTP Response we are processing. java.io.ioexception javax.servlet.servletexception */ public ActionForward execute( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException return mapping.findforward("success"); Action 12. Struts Struts Page Flow & 13. /page1 /welcome 14. /welcome welcome Oracle JDeveloper Struts 20
22 ページ 名 : /welcome.jsp 15. welcome.jsp welcome 16. Struts Struts Page Flow & 17. /page1 /oracleonline 18. /oracleonline ページ 名 : /oracleonline.jsp 19. oracleonline.jsp oracleonline Oracle JDeveloper Struts 21
23 20. Struts Struts Page Flow /login /loginaction POINT: JSP login.jsp JSP 21. Struts Page Flow /loginaction /welcome 22. Struts Page Flow /loginaction /oracleonline Oracle JDeveloper Struts 22
24 23. /logiaction /oracleonline forward1 oracle 24. FormBean /loginaction Bean 25. Struts Form Bean login FormBean 名 前 : LoginForm パッケージ: (デフォルトのまま) 拡 張 対 象 : (デフォルトのまま) フォーム Bean 名 : LoginForm Oracle JDeveloper Struts 23
25 26. LoginForm.java LoginForm.java package sample.test.strutsdemo; import org.apache.struts.action.actionform; import org.apache.struts.action.actionerrors; import org.apache.struts.action.actionerror; import org.apache.struts.action.actionmapping; import javax.servlet.http.httpservletrequest; public class LoginForm extends ActionForm /** * Reset all properties to their default values. mapping The ActionMapping used to select this instance. request The HTTP Request we are processing. */ public void reset(actionmapping mapping, HttpServletRequest request) super.reset(mapping, request); /** * Validate all properties to their default values. mapping The ActionMapping used to select this instance. request The HTTP Request we are processing. ActionErrors A list of all errors found. */ public ActionErrors validate( ActionMapping mapping, HttpServletRequest request) return super.validate(mapping, request); Struts struts-config.xml 27. Struts Oracle JDeveloper Struts 24
26 FormBean Bean 28. Struts Struts Struts-Html ActionForm Bean 1. login.jsp login.jsp Struts login.jsp 2. Struts Html Oracle JDeveloper Struts 25
27 3. & <html:form> JSP Tag Editor action: loginaction.do POINT:<html:form> action struts-config.xml JDeveloper struts-config.xml 4. Form 5. Form 6. Struts Html & <html:text> JSP Tag Editor property: username Oracle JDeveloper Struts 26
28 HINT: Form 7. Struts Html <html:password> JSP Tag Editor property: password Oracle JDeveloper Struts 27
29 8. & 9. action Struts Html 10. Submit JSP Tag Editor 11. FormBean LoginForm ActionForm Bean JSP T setter/getter ActionForm Bean Action T validate username password username password null Oracle JDeveloper Struts 28
30 1. LoginForm.java LoginForm.java username OK フィールド 名 : username フィールド 型 : java.lang.string スコープ: private アクセッサ: get メソッド set メソッド 両 方 にチェック Oracle JDeveloper Struts 29
31 4. 5. password OK フィールド 名 : password フィールド 型 : java.lang.string スコープ: private アクセッサ: get メソッド set メソッド 両 方 にチェック private String username; private String password; public String getusername() return username; public void setusername(string username) this.username = username; public String getpassword() return password; public void setpassword(string password) this.password = password; Oracle JDeveloper Struts 30
32 8. validate public ActionErrors validate(actionmapping mapping, HttpServletRequest request) ActionErrors errors=new ActionErrors(); if ((username==null) (username.length()<1) (password==null) (password.length()<1)) errors.add("username",new ActionError("error.login")); return errors; コード テンプレート - Oracle JDeveloper Struts 31
33 コード テンプレートの 使 い 方 Ctrl + Enter public ActionErrors validate(act ife return super.validate(mapping public ActionErrors validate(act if () else return super.validate(mapping 9. LoginForm.java 10. validate struts-config.xml struts-config.xml struts-config.xml Action Mappings /loginaction /loginaction input: /login.do Oracle JDeveloper Struts 32
34 11. ApplicationResources.properties error.login=login ERROR Unicode Native2Ascii JDeveloper Native2Ascii 12. login.jsp login.jsp Struts Html & 13. Action LoginAction Action execute ActionForm Bean 1. LoginAction.java LoginAction.java 2. execute LoginForm password oracle OralceOnline oracle Welcome Oracle JDeveloper Struts 33
35 LoginForm loginform=(loginform)form; String password=loginform.getpassword(); if (password.equals("oracle")) return mapping.findforward("oracle"); return mapping.findforward("success"); mapping.fingforword( xxx ) struts-config.xml <forward> Struts 3. LoginAction.java Welcome XX Struts Bean ActionForm Bean 1. welcome.jsp welcome.jsp Struts welcome.jsp Struts Bean 4. LoginForm username Struts Bean <bean:write> JSP Tag Editor Oracle JDeveloper Struts 34
36 name LoginForm propery username POINT:name property Bean oracleonline.jsp OracleOnline 1. oracleonline.jsp oracleonline.jsp 2. Oracle JDeveloper Struts 35
37 JDeveloper J2EE 1. Struts /login 2. J2EE 3. oracle oracle welcome Oracle JDeveloper Struts 36
38 Oracle JDeveloper Struts JDeveloper Java XML J2EE JDeveloper Struts JDeveloper Oracle Application Development Framework Oracle ADF ADF Struts ADF Struts &! JavaBean EJB Web O-R Struts DB JSP Struts ADF Oracle JDeveloper Struts 37
39 Copyright 2004 Oracle Corporation Japan. All Rights Reserved. Oracle Oracle8 Oracle8i Oracle9i Net8 Oracle JDeveloper Struts 38
Oracle JDeveloper 10g ADF Creation Date: Jul 07, 2004 Last Update: Jul 08, 2004 Version 1.0
Oracle JDeveloper 10g ADF Creation Date: Jul 07, 2004 Last Update: Jul 08, 2004 Version 1.0 ... 1... 2... 3... 5... 6... 6... 9... 9 Vector... 10 Struts... 12... 14 cart.jsp 1... 15 cart.jsp 2... 17 JSP...
More informationintra-mart im-JavaEE Framework
intra-mart im-javaee Framework Version 6.1 Struts 連携ガイド 第 2 版 2010 年 7 月 30 日 > 変更年月日変更内容 2007/7/31 初版 2010/7/30 第 2 版 プレゼンテーションフレームワークに関する記述を削除 目次 > 1 はじめに...3 1.1 目的...3 2 アプリケーションの作成...3
More informationintra-mart im-J2EE Framework
intra-mart im-j2ee Framework Version 6.0 Struts 連携ガイド 初版 2006 年 8 月 11 日 変更年月日 2006/8/11 初版 > 変更内容 目次 > 1 はじめに...3 1.1 目的...3 2 アプリケーションの作成...3 2.1 前提...3 2.2 Strutsからim-J2EE Frameworkのイベントフレームワークへの連携...3
More informationB2-Servlet-0112.PDF
B-2 Servlet/JSP Agenda J2EE Oracle8i J2EE Java Servlet JavaServer Pages PDA ( J2EE Java2 Enterprise Edition API API J2SE JSP Servlets RMI/IIOP EJB JNDI JTA JDBC JMS JavaMail JAF Java2 Standard Edition
More informationintra-mart WebPlatform/AppFramework
intra-mart WebPlatform/AppFramework Ver.7.2 Struts 連携プログラミングガイド 2010/04/01 初版 変更年月日 2010/04/01 初版 > 変更内容 目次 > 1 はじめに...1 1.1 目的...1 2 アプリケーションの作成...2 2.1 Strutsからim-JavaEE Frameworkのイベントフレームワークへの連携...2
More informationuntitled
Struts IT Open Source JavaEE Application Consulting Struts Open Source JavaWorld Jakarta 4 Jakarta/Apache Copyright(c) yukimitsu kurozumi 2007 All Rights Reserved. 2 1986 150 CAC OSS Consulting,, Web System
More information... 2 1 Servlet... 3 1.1... 3 1.2... 4 2 JSP... 6 2.1... 6 JSP... 6... 8 2.2... 9 - Servlet/JSP における 日 本 語 の 処 理 - 1
Servlet/JSP Creation Date: Oct 18, 2000 Last Update: Mar 29, 2001 Version: 1.1 ... 2 1 Servlet... 3 1.1... 3 1.2... 4 2 JSP... 6 2.1... 6 JSP... 6... 8 2.2... 9 - Servlet/JSP における 日 本 語 の 処 理 - 1 Servlet
More information9iAS_DEV.PDF
Oracle9i Application Server for Windows NT 1.0.2.0.0 2001.2.1 1 1 PL/SQL...3 1.1...3 1.2 PL/SQL Web Toolkit...5 1.3 Database Access Descriptor...6 1.4 PL/SQL...8 1.5 PL/SQL...10 1.6 PL/SQL...12 2 SERVLET...13
More informationMicrosoft Word - migrateto10g2.doc
Oracle JDeveloper 10g 9.0.5/10.1.2 JDeveloper Creation Date: Feb. 9, 05 Last Update: Jul. 27, 05 Version: 1.1 = ... 4... 4 JDeveloper... 5... 5 Web... 6... 7... 8... 8 JDeveloper... 10... 10... 11... 19...
More informationOracle9i JDeveloper R9.0.3 チュートリアル
Oracle9i JDeveloper 9.0.3 JavaServer Pages Creation Date: Jan. 27, 03 Last Update: Feb. 13, 03 Version: 1.0 ... 2... 2... 2 JDeveloper JSP... 3... 4 JSP... 5 JSP... 6... 7...10 JDeveloper... 12 TLD...
More informationGartner Day
J2EE 1 J2EE C AP 2 J2EE AP DD java *.class java *.class java *.class *.class DD EAR, WAR, JAR orionapplicationclient.xmweb.xmapplication.jar.xml orion- orion-ejb- ml Oracle Application Server 10g *.jsp
More informationintra-mart im-J2EE Framework
intra-mart im-j2ee Framework Version 5.1 Struts 連携ガイド 初版 2005 年 12 月 27 日 変更年月日 2005/12/28 初版 > 変更内容 目次 > 1 はじめに...3 1.1 目的...3 2 Strutsのインストール...3 2.1 Struts...3 2.1.1 Struts の組込み...3
More informationメディプロ1 Javaサーブレット補足資料.ppt
メディアプロジェクト演習 1 Java サーブレット補足資料 CGI の基本 CGI と Java サーブレットの違い Java サーブレットの基本 インタラクティブな Web サイトとは Interactive q 対話 または 双方向 q クライアントとシステムが画面を通して対話を行う形式で操作を行っていく仕組み 利用用途 Web サイト, シミュレーションシステム, ゲームなど WWW = インタラクティブなメディア
More informationintra-mart im-J2EE Framework
intra-mart im-j2ee Framework Version 5.0 Struts 連携ガイド 第 2 版 2005 年 7 月 8 日 > 変更年月日変更内容 2005/06/02 初版 2005/07/08 第 2 版 以下の節を追加 2 Strutsのインストール 付録 B 変更内容 サンプルの一部を廃止 Struts 1.2.7 対応 目次 >
More informationMicrosoft PowerPoint - Lecture_3
プログラミング III 第 3 回 : サーブレットリクエスト & サーブレットレスポンス処理入門 Ivan Tanev 講義の構造 1. サーブレットの構造 2. サーブレットリクエスト サーブレットレスポンスとは 3. 演習 2 Lecture2_Form.htm 第 2 回のまとめ Web サーバ Web 1 フォーム static 2 Internet サーブレ4 HTML 5 ットテキスト
More informationII 1 p.1 1 Servlet 1.1 Web Web WWW HTML CGI Common Gateway Interface Web HTML Web Web CGI CGI CGI Perl, PHP C JavaScript Web CGI HTML 1.2 Servlet Java
II 1 p.1 1 Servlet 1.1 Web Web WWW HTML CGI Common Gateway Interface Web HTML Web Web CGI CGI CGI Perl, PHP C JavaScript Web CGI HTML 1.2 Servlet Java Servlet Servlet CGI Web CGI Java Java JVM Java CGI
More informationhttp://localhost:8080 /idoapp/helloworld server-ido request HTML ttp://localhost:8080 /idoapp/helloworld ):8080 /idoapp/helloworld http://(ip import java.io.*; import javax.servlet.*; import javax.servlet.http.*;
More informationスライド 1
1 2466 565 40 / All Right Reserved,Copyrights 3 B to B B to C EC ERP EIAJ / / EDI All Right Reserved,Copyrights 4 All Right Reserved,Copyrights 5 1 All Right Reserved,Copyrights 6 EIAJ QR All Right Reserved,Copyrights
More informationWeb 1 p.2 1 Servlet Servlet Web Web Web Apache Web Servlet JSP Web Apache Tomcat Jetty Apache Tomcat, Jetty Java JDK, Eclipse
Web 1 p.1 1 Servlet 1.1 Web Web WWW HTML CGI Common Gateway Interface Web HTML Web Web CGI CGI CGI Perl, PHP C Java Applet JavaScript Web CGI HTML 1.2 Servlet Java Servlet Servlet CGI Web CGI 1 Java Java
More informationWeb JavaScript Java Applet Flash ActionScript CGI (C, perl, ruby ) PHP Servlet, JSP (JavaServer Pages) ASP 7-2
Servlet 7-1 Web JavaScript Java Applet Flash ActionScript CGI (C, perl, ruby ) PHP Servlet, JSP (JavaServer Pages) ASP 7-2 Servlet Java CGI Tomcat Apache+Tomcat JSP Web HTML Java Java Servlet ( ) 7-3 Servlet
More informationPowerPoint Presentation
プログラミング Java III 第 4 回 : サーブレットの HTTP Request の処理 Ivan Tanev 講義の構造 1. サーブレットの HTTP Request の処理 2. 演習 2 第 3 回のまとめ Internet Explorer のアドレス バー : http://isd-si.doshisha.ac.jp/teaching/programming_3/xxxxxxxx/lecture3_form1.html
More informationHTML Java Tips dp8t-asm/java/tips/ Apache Tomcat Java if else f
1 Servlet 1.1 Web Web WWW HTML CGI Common Gateway InterfaceWeb HTML Web Web CGI CGI CGI Perl C Java Applet JavaScript Web CGI HTML 1.2 Servlet Java Servlet Servlet CGI Web CGI 1 Java / Java Java CGI Servlet
More informationII 2 p.2 2 GET POST form action URL Aisatsu 2.1 Servlet GET GET : Query String QueryStringTest.java 1 import java.io.ioexception; 2 import java.io.pri
II 2 p.1 2 GET POST Servlet Servlet Servlet CGI/Servlet GET POST 2 GET URL? FORM GET : http://maps.google.co.jp/maps?hl=ja&ll=34.292821,134.063587&z=15 POST HTML HTML : Aisatsu.html HTML 1
More informationHTML Java Tips dp8t-asm/java/tips/ Apache Tomcat Java if else f
1 Servlet 1.1 Web Web WWW HTML CGI Common Gateway InterfaceWeb HTML Web Web CGI CGI CGI Perl C Java Applet JavaScript Web CGI HTML 1.2 Servlet Java Servlet Servlet CGI Web CGI 1 Java / Java Java CGI Servlet
More informationValueHolder... 9 Customer.java Oracle TopLink 10g(10.1.3) È Volume3 2
lê~åäé= qçéiáåâ= NMÖENMKNKPF Volume3 Creation Date: Mar 04, 2005 Last Update: Aug 23, 2005 Version 1.0 ...3... 3...4... 4... 6 ValueHolder... 9 Customer.java... 10...14 Oracle TopLink 10g(10.1.3) È Volume3
More informationMicrosoft PowerPoint - Lecture_2
プログラミング Java III 第 2 回 :WebForm および サーブレット入門 Ivan Tanev 講義の構造 1. ダイナミックWebコンテンツとサーブレット 2.Webフォーム 3. 演習 2 1. ダイナミック Web コンテンツとサーブレット 3 1. ダイナミック Web コンテンツとサーブレット Internet Response: HTML テキスト ユーザー 4 1. ダイナミック
More informationWebOTXマニュアル
WebOTX アプリケーション開発ガイド WebOTX アプリケーション開発ガイドバージョン : 7.1 版数 : 第 2 版リリース : 2010 年 1 月 Copyright (C) 1998-2010 NEC Corporation. All rights reserved. 4-1-1 目次 4. J2EE WebOTX...3 4.1. Webアプリケーション...3 4.1.1. Webアプリケーションを作成する...3
More informationTopLink È... 3 TopLink...5 TopLink åø... 6 TopLink å Workbench O/R ~... 8 Workbench À ~... 8 Foundation Library å... 8 TopL
lê~åäé= qçéiáåâ= NMÖENMKNKPF Volume1 Creation Date: Mar 04, 2005 Last Update: Aug 23, 2005 Version 1.0 ...3... 3 TopLink 10.1.3 È... 3 TopLink...5 TopLink åø... 6 TopLink å... 7... 8 Workbench O/R ~...
More information"CAS を利用した Single Sign On 環境の構築"
CAS Single Sign On (Hisashi NAITO) naito@math.nagoya-u.ac.jp Graduate School of Mathematics, Nagoya University naito@math.nagoya-u.ac.jp, Oct. 19, 2005 Tohoku Univ. p. 1/40 Plan of Talk CAS CAS 2 CAS Single
More informationPowerPoint Presentation
上級プログラミング 2( 第 7 回 ) 工学部情報工学科 木村昌臣 今日のテーマ Web アプリケーションとは Web アプリケーションとはなにか Web アプリケーションの仕組み 三層アプリケーション サーブレット JSP JavaBeans MVC モデル Web アプリケーションの環境構築 Web サーバー (Apache) Web アプリケーションサーバー (Tomcat) Web アプリケーションとは
More informationServlet/JSP ( 作成中 ) 2010 年 x 月 x 日作成 Firebird 日本ユーザー会 Naoyuki Sano 1
Servlet/JSP ( 作成中 ) 2010 年 x 月 x 日作成 Firebird 日本ユーザー会 Naoyuki Sano http://rururu.sakura.ne.jp/ http://rururublog.sblo.jp/ 1 Servlet/JSP を教わった人 2004/9/25-2005/5/21 秦崇 [ はたたかし ] さん (http:// 秦崇.jp/) 2009
More informationOracle9i JDeveloperによるWebサービスの構築
Oracle9i JDeveloper Web Web Web Web Web Web EJB Web EJB Web Web Oracle9iAS Apache SOAP WSDL Web Web Web Oracle9i JDeveloper Java XML Web Web Web Web Simple Object Access Protocol SOAP :Web Web Services
More informationOracle9iAS Containers for J2EEチュートリアル
Oracle9iAS Containers for J2EE Servlet/JSP ...3...3 OC4J...4 OC4J...4...5 OC4J...6 OC4J...6 OC4J...7 Servlet/JSP...8 Servlet...8 Servlet...8 JSP...8 Servlet/JSP...10 Web...10 Servlet/JSP...11 Servlet/JSP...12
More information1 1 3 1.1 Web............................ 3 1.2 Servlet/JSP.................................. 3 2 JSP 7 2.1................................... 7 2.2..
Servlet/JSP 1 1 3 1.1 Web............................ 3 1.2 Servlet/JSP.................................. 3 2 JSP 7 2.1................................... 7 2.2........................................
More informationBC4J...4 BC4J Association JSP BC4J JSP OC4J
lê~åäévá=gaéîéäçééê= 9.0.3/9.0.4 BC4J Creation Date: Oct 08, 2003 Last Update: Feb 27, 2004 Version 1.0 ...3... 3 BC4J...4 BC4J...4... 4... 5... 6...7... 8... 9 Association... 13... 15... 20... 22... 25
More informationスライド 1
Web プログラミング 2 7. JSP と Servlet による Web プログラミング概要 ( 復習 )Web アプリケーションの実現方式 : 授業で扱う範囲 SSI (Server Side Include) C-Shellなど JSP (Java Server Pages) PHP など Web ブラウザ Internet Done Web サーバ Done JavaApplet JavaScript
More information第13回講義
オブジェクト指向概論 第 13 講 実装とサーバサイド Java 立命館大学 情報理工学部 黄宏軒 1 13.1 Java による実装 n フォワードエンジニアリング UML による表現をプログラミング言語による記述に変換 n リバースエンジニアリング UML User -name:string +getname():string プログラミング言語の情報を UML モデルに変換 UML User
More informationFY01H2_SOHO_iAS
Oracle9i Application Server Internet Developer Suite Agenda 9iAS PL/SQL Java2 Cache Portal Internet Developer Suite Designer Developer JDeveloper DEMO Oracle 9iAS Web Cache Oracle HTTP Server mod_jserv
More informationTopLink å SampleClient.java... 5 Ò readallsample() querysample() cachesample() Ç..
lê~åäé= qçéiáåâ= NMÖENMKNKPF Volume2 Creation Date: Mar 04, 2005 Last Update: Aug 22, 2005 Version 1.0 ...3... 3 TopLink å...4 1... 4... 4 SampleClient.java... 5 Ò... 8... 9... 10 readallsample()... 11
More informationintra-mart im-J2EE Framework
intra-mart im-j2ee Framework Struts ver 0.1 2003 3 31 2003/03/31 ver 0.1 1...1 1.1...1 1.2...1 1.3...1 2...2 2.1 Struts...2 2.1.1 struts.jar...2 2.1.2...2 2.2 im-j2ee Framework Extension for Struts...2
More informationPowerPoint プレゼンテーション
1 2 3 /usr/local javalib xerces-2_6_2 xalan-2_6_0 4 XERCES_HOME=/usr/local/javalib/xerces-2_6_2 CLASSPATH=$XERCES_HOME/xmlParserAPIs.jar:$CLASSPATH CLASSPATH=$XERCES_HOME/xercesImpl.jar:$CLASSPATH CLASSPATH=$XERCES_HOME/xercesSamples.jar:$CLASSPATH
More informationQ&A集
& ver.2 EWEB-3C-N080 PreSerV for Web MapDataManager & i 1... 1 1.1... 1 1.2... 2 1.3... 6 1.4 MDM. 7 1.5 ( )... 9 1.6 ( )...12 1.7...14 1.8...15 1.9...16 1.10...17 1.11...18 1.12 19 1.13...20 1.14...21
More informationJavaセキュアコーディングセミナー東京 第3回 入出力(File, Stream)と例外時の動作 演習解説
Java セキュアコーディングセミナー東京第 3 回入出力と例外時の動作 演習解説 2012 年 11 月 11 日 ( 日 ) JPCERT コーディネーションセンター脆弱性解析チーム戸田洋三 1 Hands-on Exercises コンパイルエラーに対処しよう ファイルからのデータ入力を実装しよう 2 Hands-on Exercise(1) サンプルコードの コンパイルエラーに対処しよう 3
More informationOracle SOA Suite 11gコンポジットに対するSOASchedulerの構成
Oracle SOA Suite 11g コンポジットに対する SOAScheduler の構成 オラクル Senior Solution Architect Robert Baumgartner 2010 年 11 月 Oracle SOA Suite 11g コンポジットに対する SOAScheduler の構成 1 前提条件 https://soasamples.samplecode.oracle.com/
More informationjava_servlet2_見本
13 2 JSF Web 1 MVC HTML JSP Velocity Java 14 JSF UI PC GUI JSF Web 2.1 JSF JSF Web FORM FORM 2-1 JSF role, JSF JSF 15 Web JSF JSF Web Macromedia JSF JSF JSF 2.2 / Subscriber package com.mycompany.newsservice.models;
More informationDIコンテナ 前 回 ご 説 明 したSpring DIコンテナに 共 通 するこ とは 依 存 を 注 入 することによってシステム 内 に 存 在 するオブジェクト 同 士 の 結 びつきを 緩 くすることで あり そのための 仕 組 み 提 供 を 意 味 する [Spring のDIコンテナ
SpringとStruts Struts 連 携 トラストサービス 2006/05/27 DIコンテナ 前 回 ご 説 明 したSpring DIコンテナに 共 通 するこ とは 依 存 を 注 入 することによってシステム 内 に 存 在 するオブジェクト 同 士 の 結 びつきを 緩 くすることで あり そのための 仕 組 み 提 供 を 意 味 する [Spring のDIコンテナはBean
More information組織変更ライブラリ
2003 6 1...1 2...2 3...4 3.1...4 3.2...5 3.3...6 3.4...6 4...7 4.1...7 4.2...9 4.3...9 4.4...10 4.5...10 5 Web...11 5.1 WebUI...11 5.2Oracle 9iFS WebUI...12 6Oracle9i AS...13 6.1OiD...13 6.2 SSO...13 7...14
More informationサーブレット (Servlet) とは Web サーバ側で動作する Java プログラム 通常はapache 等のバックグラウンドで動作する Servletコンテナ上にアプリケーションを配置 代表的な Servlet コンテナ Apache Tomcat WebLogic WebSphere Gla
サーブレット 1 オブジェクト指向プログラミング特論 サーブレット (Servlet) とは Web サーバ側で動作する Java プログラム 通常はapache 等のバックグラウンドで動作する Servletコンテナ上にアプリケーションを配置 代表的な Servlet コンテナ Apache Tomcat WebLogic WebSphere GlassFish 2 オブジェクト指向プログラミング特論
More informationJava演習(4) -- 変数と型 --
50 20 20 5 (20, 20) O 50 100 150 200 250 300 350 x (reserved 50 100 y 50 20 20 5 (20, 20) (1)(Blocks1.java) import javax.swing.japplet; import java.awt.graphics; (reserved public class Blocks1 extends
More information1 1. Page 1 intra -mart EE Page 2 Copyright 2004 NTT All rights Reserved. 2 Page 3 intra -mart EE Page 4 Copyright 2004 NTT All rights Reserved. 0Web EE Page 5 intra -mart Page 6 Copyright 2004 NTT All
More informationOracle Web Conferencing Oracle Collaboration Suite 2 (9.0.4) Creation Date: May 14, 2003 Last Update: Jan 21, 2005 Version: 1.21
Oracle Web Conferencing Oracle Collaboration Suite 2 (9.0.4) Creation Date: May 14, 2003 Last Update: Jan 21, 2005 Version: 1.21 ... 2... 3...3...4...5 Oracle9i Platform...10 Oracle Collaboration Suite...12...15...23
More informationI. EspressReport 100%Java JSP API II. EspressReport Report Designer Report Designer - Report Designer Web Java Web Web Report Designer import java.awt
TEL: 03-3360-9336 FAX: 03-3660-9337 soft@climb.co.jp www.climb.co.jp Overview, Technology & Features White Paper I. EspressReport 100%Java JSP API II. EspressReport Report Designer Report Designer - Report
More informationSpringSecurity
Spring Security 1/40 OUTLINE Spring Security Spring Securityを使った認証の仕組み Spring Securityを使った独自認証 認証エラーメッセージの変更 2/40 Spring Security 3/40 Spring Security とは アプリケーションのセキュリティを高めるためのフレームワーク 認証 認可機能 その他 多数のセキュリティ関連の機能を持つ
More informationOracle Forms Services R6i
Creation Date: Jul 04, 2001 Last Update: Jul 31, 2001 Version: 1.0 0 0... 1 1...3 1.1... 3 1.2... 3 1.3... 3 2...4 2.1 C/S... 4 2.2 WEB... 5 2.3 WEB... 5 2.4 JAVABEAN... 6 3 JAVABEAN...7 3.1... 7 3.2 JDEVELOPER...
More information- 2 Copyright (C) 2006. All Rights Reserved.
- 2 Copyright (C) 2006. All Rights Reserved. 2-3 Copyright (C) 2006. All Rights Reserved. 70-4 Copyright (C) 2006. All Rights Reserved. ...1...3...7...8 1...9...14...16 2...18...20...21 3...22...23...23...24
More informationJavaと マルチスレッド
Javaとマルチスレッド 2016/7/30 湯川敦 目次 1. きっかけ 2. マルチスレッド対応が必要になる場面とは? 3. Javaのプロセスとスレッドについて 4. Javaのメモリ構成について 5. スレッドセーフについて 6. スレッド間競合における問題の回避策あれこれ 7. まとめ きっかけ 現場の新人 SE より Web アプリケーションサーバに関して 以下の質問を受けた ConcurrentModificationException
More information: : : TSTank 2
Java (8) 2008-05-20 Lesson6 Lesson5 Java 1 Lesson 6: TSTank1, TSTank2, TSTank3 java 2 car1 car2 Car car1 = new Car(); Car car2 = new Car(); car1.setcolor(red); car2.setcolor(blue); car2.changeengine(jet);
More information意外と簡単!?
!?Access Oracle Oracle Migration Workbench MS-Access Oracle Creation Date: Oct 01, 2004 Last Update: Mar 08, 2005 Version: 1.1 !? Oracle Database 10g / GUI!? / Standard Edition!? /!?!? Oracle Database
More informationJava (5) 1 Lesson 3: x 2 +4x +5 f(x) =x 2 +4x +5 x f(10) x Java , 3.0,..., 10.0, 1.0, 2.0,... flow rate (m**3/s) "flow
Java (5) 1 Lesson 3: 2008-05-20 2 x 2 +4x +5 f(x) =x 2 +4x +5 x f(10) x Java 1.1 10 10 0 1.0 2.0, 3.0,..., 10.0, 1.0, 2.0,... flow rate (m**3/s) "flowrate.dat" 10 8 6 4 2 0 0 5 10 15 20 25 time (s) 1 1
More information新・明解Java入門
537,... 224,... 224,... 32, 35,... 188, 216, 312 -... 38 -... 38 --... 102 --... 103 -=... 111 -classpath... 379 '... 106, 474!... 57, 97!=... 56 "... 14, 476 %... 38 %=... 111 &... 240, 247 &&... 66,
More informationtkk0408nari
SQLStatement Class Sql Database SQL Structured Query Language( ) ISO JIS http://www.techscore.com/tech/sql/02_02.html Database sql Perl Java SQL ( ) create table tu_data ( id integer not null, -- id aid
More informationJavaScript の使い方
JavaScript Release10.5 JavaScript NXJ JavaScript JavaScript JavaScript 2 JavaScript JavaScript JavaScript NXJ JavaScript 1: JavaScript 2: JavaScript 3: JavaScript 4: 1 1: JavaScript JavaScript NXJ Static
More informationCopyright 2006 KDDI Corporation. All Rights Reserved page1
Copyright 2006 KDDI Corporation. All Rights Reserved page1 Copyright 2006 KDDI Corporation. All Rights Reserved page2 Copyright 2006 KDDI Corporation. All Rights Reserved page3 Copyright 2006 KDDI Corporation.
More informationSystemDirector Developer's Studio(V3.2) 適用ガイド
目次 6. 開発時のトラブルシューティング...2 6.2. WTP( 共通 ) の注意制限事項... 2 6.2.1. インストール済みサーバランタイム環境 画面の キャンセル...2 6.2.2. サーブレットの作成 画面の スーパークラスからのコンストラクター...3 6.2.3. Webプロジェクトの設定 画面の デフォルトの復元...3 6.2.4. サーバー 画面の デフォルトの復元...4
More informationintra-mart WebPlatform/AppFramework
intra-mart WebPlatform/AppFramework Ver.7.2 Seasar2 連携プログラミングガイド 2010/04/01 初版 変更年月日 2010/04/01 初版 > 変更内容 目次 > 1 はじめに...1 1.1 目的...1 1.2 Seasar2 プロダクト...1 2 セットアップ...2 2.1 トランザクションマネージャとデータソース...2
More informationintra-mart Accel Platform — イベントナビゲータ 開発ガイド 初版
Copyright 2013 NTT DATA INTRAMART CORPORATION 1 Top 目次 intra-mart Accel Platform イベントナビゲータ開発ガイド初版 2013-07-01 改訂情報概要イベントフローの作成 更新 削除をハンドリングするイベントフローを非表示にする回答を非表示にするリンクを非表示にするタイトル コメントを動的に変更するリンク情報を動的に変更するナビゲート結果のリンクにステータスを表示する
More informationCAC
VOL.24NO.1 61 IMS Transaction 3270 DataBase Transaction OS/370 IMS Traditional Transaction Web Browser Transaction Internet WWW AP IIS APache WebLogic Websphere DataBase Oracle DB2 SQL Server Web Browser
More informationPowerPoint プレゼンテーション
Java J2EE Spring Spring Dependency Injection AOP Java J2EE 2 4 Application Java Enterprise API 5 6 mod_jk2 AJP13 Coyote/JK2 Connector Session Apache2 Tomcat5-a AJP13 Coyote/JK2 Connector Session Tomcat5-b
More informationユニット・テストの概要
2004 12 ... 3... 3... 4... 5... 6... 6 JUnit... 6... 7 Apache Cactus... 7 HttpUnit/ServletUnit... 8 utplsql... 8 Clover... 8 Anthill Pro... 9... 10... 10... 10 SQL... 10 Java... 11... 11... 12... 12 setter
More information55 7 Java C Java TCP/IP TCP/IP TCP TCP_RO.java import java.net.*; import java.io.*; public class TCP_RO { public static void main(string[] a
55 7 Java C Java TCP/IP TCP/IP 7.1 7.1.1 TCP TCP_RO.java import java.net.*; import java.io.*; public class TCP_RO { public static void main(string[] argv) { Socket readsocket = new Socket(argv[0], Integer.parseInt(argv[1]));
More informationSpring Framework Web Web Web DB AOP DI Java EE 3 Web WebMVC Web Java 4 DB H2 Database Java H2 Database http://www.h2database.com/ Version 1.0 Zip 5 H2 > cd $H2_HOME/bin > java cp h2.jar org.h2.tools.server
More information5-1- 応開発フレームワークに関する知識 開発フレームワークを利用した Web アプリケーションの実装方法を理 Ⅰ. 概要解する MVC や OR マッピング DIxAOP といった技術を理解する Ⅱ. 対象専門分野職種共通 Ⅲ. 受講対象者 本カリキュラムの 5-1- 基開発フレームワークに関す
5-1- 応開発フレームワークに関する知識 1 5-1- 応開発フレームワークに関する知識 開発フレームワークを利用した Web アプリケーションの実装方法を理 Ⅰ. 概要解する MVC や OR マッピング DIxAOP といった技術を理解する Ⅱ. 対象専門分野職種共通 Ⅲ. 受講対象者 本カリキュラムの 5-1- 基開発フレームワークに関する知識 を受講受講前提済みであること または 同等の知識を有すること
More information1 Java Java GUI , 2 2 jlabel1 jlabel2 jlabel3 jtextfield1 jtextfield2 jtextfield3 jbutton1 jtextfield1 jtextfield2 jtextfield3
1 2 2 1 2 2.1.................................................... 2 2.2.................................................... 2 2.3........................................ 2 2.4....................................................
More informationintra-mart Accel Platform — IM-Repository拡張プログラミングガイド 初版
Copyright 2018 NTT DATA INTRAMART CORPORATION 1 Top 目次 1. 改訂情報 2. はじめに 2.1. 本書の目的 2.2. 対象読者 2.3. サンプルコードについて 2.4. 本書の構成 3. 辞書項目 API 3.1. 最新バージョン 3.1.1. 最新バージョンの辞書を取得する 3.2. 辞書項目 3.2.1. 辞書項目を取得する 3.2.2.
More informationV8.1新規機能紹介記事
WebOTX V8.1 新規機能 EJB 3.0 WebOTX V8.1より Java EE 5(Java Platform, Enterprise Edition 5) に対応しました これによりいろいろな機能追加が行われていますが 特に大きな変更であるEJB 3.0 対応についてご紹介いたします なお WebOTX V7で対応したEJB 2.1についてもWebOTX V8.1で引き続き利用することが可能です
More informationintra-mart マスカット連携ガイド
intra-mart マスカット連携ガイド Version 6.1 第三版 2008 年 1 月 31 日 > 変更年月日変更内容 2007/7/31 初版 2007/8/31 第二版以下の説明を追加 3.1.2.2 初期表示時のアクション 3.2.2.2 初期表示時のアクション 2008/1/31 第三版 3.3 デバック を追加 目次 > 1 はじめに...3
More informationintra-mart WebPlatform/AppFramework
intra-mart WebPlatform/AppFramework Ver.7.0 Seasar2 連携プログラミングガイド 2010/11/30 第 3 版 > 変更年月日変更内容 2008/07/07 初版 2009/02/27 第 2 版 3.1.2.1.1 im_hotdeploy.diconの設定 を追加 2010/11/30 第 3 版 3.1.2.2 Hot deploy
More informationJava (9) 1 Lesson Java System.out.println() 1 Java API 1 Java Java 1
Java (9) 1 Lesson 7 2008-05-20 Java System.out.println() 1 Java API 1 Java Java 1 GUI 2 Java 3 1.1 5 3 1.0 10.0, 1.0, 0.5 5.0, 3.0, 0.3 4.0, 1.0, 0.6 1 2 4 3, ( 2 3 2 1.2 Java (stream) 4 1 a 5 (End of
More information8.3..................................... 7 8.4 java.sh......................................... 7 8.5........................... 7 8.6 Eclipse........
Tomcat ContOS 6.5 3 DATAGRAM INC. 26 7 7 Linux(CentOS) Tomcat eclipse tomcat 1 Tomcat/Eclipse 2 1.1.............................................. 2 2 2 2.1...................................... 2 3 OS(Linux)
More informationPowerPoint Presentation
UML 2004 7 9 10 ... OOP UML 10 Copyright 2004 Akira HIRASAWA all rights reserved. 2 1. 2. 3. 4. UML 5. Copyright 2004 Akira HIRASAWA all rights reserved. 3 1..... Copyright 2004 Akira HIRASAWA all rights
More information[1]...1 [2]...1 [3]...2 3.1...2 3.2...2 3.3...2 3.4...2 3.5 Java...2 3.6 Web...3 [4]...4 4.1...4 4.2...5 4.3...9 4.4...12 4.5 Java...15 4.6 Web...18 [
20 6 30 Java Java Web Java Web Java Web SQL Java Web 3 [1]...1 [2]...1 [3]...2 3.1...2 3.2...2 3.3...2 3.4...2 3.5 Java...2 3.6 Web...3 [4]...4 4.1...4 4.2...5 4.3...9 4.4...12 4.5 Java...15 4.6 Web...18
More informationintra-mart Accel Platform — イベントナビゲータ 開発ガイド 初版 None
クイック検索検索 目次 Copyright 2013 NTT DATA INTRAMART CORPORATION 1 Top 目次 intra-mart Accel Platform イベントナビゲータ開発ガイド初版 2013-07-01 None 改訂情報概要イベントフローの作成 更新 削除をハンドリングするイベントフローを非表示にする回答を非表示にするリンクを非表示にするタイトル コメントを動的に変更するリンク情報を動的に変更するナビゲート結果のリンクにステータスを表示する
More informationオブジェクト指向プログラミング・同演習 5月21日演習課題
オブジェクト指向プログラミング 同演習 5 月 21 日演習課題 問題 1 配列の例外処理例外が発生する可能性のある処理を try で囲み その後に catch で例外を捕捉します 例外処理の終了処理として finally が行われます これは書かなくて自動的に行われます 提出課題 1 (Kadai052301.java) 以下のプログラムは例外処理をしていない ArrayIndexOutOfBoundsException
More informationMicrosoft Word - D JP.docx
Application Service Gateway Thunder/AX Series vthunder ライセンスキー インストール 手順 1 1.... 3 2. vthunder... 3 3. ACOS... 3 4. ID... 5 5.... 8 6.... 8 61... 8 62 GUI... 10 2 1. 概要 2. vthunder へのアクセス 方法 SSHHTTPSvThunder
More informationJava Day Tokyo 2017 ダウンロード資料
Java EE 8 ハンズオン GlassFish 5 EA 版を用いて Version 1.0 日本オラクル株式会社 Table of Contents 1.0 はじめに... 3 2.0 NetBeans と GlassFish の設定と動作確認... 7 3.0 Servlet 4.0 アプリケーションの作成... 15 4.0 JAX-RS 2.1 Reactive REST クライアント実行...
More informationインターネットマガジン2001年4月号―INTERNET magazine No.75
i illustration : Hada Eiji 206 INTERNET magazine 2001/4 jdc.sun.co.jp/wireless/ www.nttdocomo.co.jp/mc-user/i/java/ www.zentek.com/i-jae/ja/download.html INTERNET magazine 2001/4 207 Jump 01 Jump 02 Jump
More information--- サーバ側処理 Java servlet の例 // 通常の Java servlet での POST で受信と同じ protected void dopost(httpservletrequest request, HttpServletResponse response) throws S
2 サーバとの連携と BlazeDS Flex アプリケーションではクライアント ( ブラウザ ) で処理できる機能が多いですが データベースへのアクセスや クライアントでは負担が大きい処理などはサーバ側で行います また パソコンのローカルディスクへのアクセスのように セキュリティの都合でクライアントで直接処理できない場合は一旦サーバにアップロードするなどして処理します 2-1 ファイルアップロードファイルをアップロードする場合は
More informationthink9i Oracle Internet File System i を使用した ソフトウェア開発手法 日本オラクル株式会社製品本部システム製品マーケティング部 Copyright 2001 Oracle Corporation Japan. All Rights Reserved.
think9i Oracle Internet File System i を使用した ソフトウェア開発手法 日本オラクル株式会社製品本部システム製品マーケティング部 1. Oracle 9iFS SDK とは 2. Oracle 9iFS SDK でカスタマイズできる機能 3. Oracle 9iFS の開発環境 4. デモンストレーション 5. Oracle 9iFS Java API を使用した基本的なプログラム
More informationApache Tomcatにおけるクロスサイトリクエストフォージェリ(CSRF)保護メカニズム回避の脆弱性
Japan Computer Emergency Response Team Coordination Center 電子署名者 Japan Computer Emergency Response Team Coordination Center DN c=jp, st=tokyo, l=chiyoda-ku, email=office@jpcert.or.jp, o=japan Computer
More informationExam : 1z1-809-JPN Title : Java SE 8 Programmer II Vendor : Oracle Version : DEMO Get Latest & Valid 1z1-809-JPN Exam's Question and Answers 1 from Ac
Actual4Test http://www.actual4test.com Actual4test - actual test exam dumps-pass for IT exams Exam : 1z1-809-JPN Title : Java SE 8 Programmer II Vendor : Oracle Version : DEMO Get Latest & Valid 1z1-809-JPN
More informationプレポスト【問題】
コース名 : サーブレット /JSP/JDBC プログラミング ~Eclipse による開発 ~ 受講日 氏名 1 JDBC の説明として 間違っているものを 1 つ選びなさい 1. JDBC を使用してデータベースへアクセスするときには JDBC API が必要である 2. JDBC API は java.lang パッケージとして提供されている 3. JDBC には JDBC API JDBC
More informationcxml.book
BEAWebLogic Integration B2B Integration cxml t ªªªª 7.0 ªª ª ª : 2002 6 m Copyright 2002, BEA Systems, Inc. All Rights Reserved. ªª ª ªªª ª BEA Systems, Inc. vw ~ ª ªª v ª ª ª ª ªª ~ ªª ª ª ÿ BEA Systems,
More informationQuick Sort 計算機アルゴリズム特論 :2017 年度 只木進一
Quick Sort 計算機アルゴリズム特論 :2017 年度 只木進一 2 基本的考え方 リスト ( あるいは配列 )SS の中の ある要素 xx(pivot) を選択 xx より小さい要素からなる部分リスト SS 1 xx より大きい要素からなる部分リスト SS 2 xx は SS 1 または SS 2 に含まれる 長さが 1 になるまで繰り返す pivot xx の選び方として 中央の要素を選択すると効率が良い
More informationPowerPoint プレゼンテーション
1 2 3 4 HTML 5 HTML 6 7 8 9 ( ) 10 11 ( ) Switch(state) case STATE_xxxx : int op_state = opponent.getstate(); switch (op_state) { case STATE_yyyy : < > player.setstate(state_zzzz); 12 13 14 15 16 17 request
More information目次
http://www0.info.kanagawa-u.ac.jp/~kaiya/wa/ dotcampus ショートコード 179067 ウエブアプリケーション 2015 第 12 回 Servlet 2015/12/10 海 谷 治 彦 1 演 習 解 答 例 期 末 試 験 について 目 次 JSP/Servletの 対 比 (ほぼ 復 習 ) Servletの 記 述 Servletのコンパイル
More informationハピタス のコピー.pages
Copyright (C) All Rights Reserved. 10 12,500 () ( ) ()() 1 : 2 : 3 : 2 4 : 5 : Copyright (C) All Rights Reserved. Copyright (C) All Rights Reserved. Copyright (C) All Rights Reserved. Copyright (C) All
More information