<?xml version="1.0" encoding="UTF-8" ?><rdf:RDF 
  xmlns="http://purl.org/rss/1.0/"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:atom="http://www.w3.org/2005/Atom"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xml:lang="ja">
  <channel rdf:about="http://w.atwiki.jp/webapp/">
    <title>webapp @ ウィキ</title>
    <link>http://w.atwiki.jp/webapp/</link>
    <atom:link href="https://w.atwiki.jp/webapp/rss10.xml" rel="self" type="application/rss+xml" />
    <atom:link rel="hub" href="https://pubsubhubbub.appspot.com" />
    <description>webapp @ ウィキ</description>

    <dc:language>ja</dc:language>
    <dc:date>2021-03-31T13:57:14+09:00</dc:date>
    <utime>1617166634</utime>

    <items>
      <rdf:Seq>
                <rdf:li rdf:resource="https://w.atwiki.jp/webapp/pages/21.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/webapp/pages/13.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/webapp/pages/20.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/webapp/pages/1.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/webapp/pages/12.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/webapp/pages/11.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/webapp/pages/18.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/webapp/pages/19.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/webapp/pages/16.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/webapp/pages/15.html" />
              </rdf:Seq>
    </items>
	
		
    
  </channel>
    <item rdf:about="https://w.atwiki.jp/webapp/pages/21.html">
    <title>ボタンのサンプル</title>
    <link>https://w.atwiki.jp/webapp/pages/21.html</link>
    <description>
      &lt;%@ page contentType=&quot;text/html;charset=UTF-8&quot; pageEncoding=&quot;UTF-8&quot; %&gt;

&lt;html&gt;
&lt;head&gt;
    &lt;!-- jqueryライブラリ --&gt;
    &lt;script src=&quot;/web_lib/jquery/jquery-3.5.1.min.js&quot;&gt;&lt;/script&gt;
    &lt;!-- bootstrapライブラリ --&gt;
    &lt;link href=&quot;/web_lib/bootstrap-4.5.0-dist/css/bootstrap.min.css&quot; rel=&quot;stylesheet&quot;&gt;
    &lt;script src=&quot;/web_lib/bootstrap-4.5.0-dist/js/bootstrap.min.js&quot;&gt;&lt;/script&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;div class=&quot;container&quot;&gt;&lt;!-- 両端に余白を表示 --&gt;
&lt;h1&gt;BootStrap　ボタンのサンプル&lt;/h1&gt;
&lt;form&gt;
&lt;h2&gt;塗りつぶしボタン&lt;/h2&gt;
&lt;a class=&quot;btn btn-primary btn-lg&quot; &gt;大ぼたん青 btn-lg&lt;/a&gt;
&lt;a class=&quot;btn btn-success&quot; &gt;中(デフォルト)ぼたん緑 none&lt;/a&gt;
&lt;a class=&quot;btn btn-danger btn-sm&quot; &gt;小ぼたん赤 btn-sm&lt;/a&gt;
&lt;br&gt;&lt;br&gt;
&lt;h2&gt;枠組みボタン&lt;/h2&gt;
&lt;a class=&quot;btn btn-outline-secondary btn-lg&quot; &gt;大ぼたん灰&lt;/a&gt;
&lt;a class=&quot;btn btn-outline-warning btn-sm&quot; &gt;小ぼたん黄&lt;/a&gt;
&lt;a class=&quot;btn btn-outline-info&quot; &gt;ぼたん青緑&lt;/a&gt;
&lt;a class=&quot;btn btn-outline-info&quot; &gt;ぼたん青緑&lt;/a&gt;
&lt;br&gt;&lt;br&gt;
&lt;h2&gt;画面いっぱいボタン&lt;/h2&gt;
&lt;a class=&quot;btn btn-outline-secondary btn-lg btn-block&quot; &gt;大ぼたん灰&lt;/a&gt;
&lt;a class=&quot;btn btn-outline-light btn-block&quot; &gt;中(デフォルト)ぼたん白&lt;/a&gt;
&lt;a class=&quot;btn btn-outline-dark btn-sm btn-block&quot; &gt;小ぼたん黒&lt;/a&gt;
&lt;br&gt;&lt;br&gt;
&lt;h2&gt;横連結ボタン&lt;/h2&gt;
&lt;div class=&quot;btn-group&quot;&gt;
&lt;a class=&quot;btn btn-outline-danger &quot; &gt;左ぼたん赤&lt;/a&gt;
&lt;a class=&quot;btn btn-outline-warning &quot; &gt;中央(デフォルト)ぼたん黄&lt;/a&gt;
&lt;a class=&quot;btn btn-outline-primary &quot; &gt;右ぼたん青&lt;/a&gt;
&lt;/div&gt;
&lt;br&gt;&lt;br&gt;
&lt;h2&gt;縦連結ボタン&lt;/h2&gt;
&lt;div class=&quot;btn-group-vertical&quot;&gt;
&lt;a class=&quot;btn btn-outline-danger &quot; &gt;上ぼたん赤&lt;/a&gt;
&lt;a class=&quot;btn btn-outline-warning &quot; &gt;中央(デフォルト)ぼたん黄&lt;/a&gt;
&lt;a class=&quot;btn btn-outline-primary &quot; &gt;下ぼたん青&lt;/a&gt;
&lt;/div&gt;
&lt;br&gt;&lt;br&gt;
&lt;/form&gt;
&lt;/div&gt;&lt;!-- containerのdiv --&gt;
&lt;/body&gt;
&lt;/html&gt;    </description>
    <dc:date>2021-03-31T13:57:14+09:00</dc:date>
    <utime>1617166634</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/webapp/pages/13.html">
    <title>JSPファイルの作成</title>
    <link>https://w.atwiki.jp/webapp/pages/13.html</link>
    <description>
      JSPファイルの作成
・[[ボタンのサンプル]]    </description>
    <dc:date>2021-03-31T13:54:18+09:00</dc:date>
    <utime>1617166458</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/webapp/pages/20.html">
    <title>エディタ</title>
    <link>https://w.atwiki.jp/webapp/pages/20.html</link>
    <description>
      エディタ
・Visual Studio Code(長いのでVSCODE)
　MicroSoftが作っていますので、WINDOWSに最適かと。
　拡張機能がたくさんあるので、自分の好みでカスタマイズできる。

・ATOM
　MacOSでは、こちらをつかっています。
　拡張機能を入れなくても、使い勝手がよい。
　    </description>
    <dc:date>2021-03-31T13:52:26+09:00</dc:date>
    <utime>1617166346</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/webapp/pages/1.html">
    <title>トップページ</title>
    <link>https://w.atwiki.jp/webapp/pages/1.html</link>
    <description>
      Web関連で使用する各種アプリケーションのメモ
[[XAMPP]]
[[phpmyadmin]]
[[tomcat]]
[[JSP&gt;&gt;JSPファイルの作成]]
[[AndroidStudio&gt;&gt;https://w.atwiki.jp/webapp/pages/19.html]]
[[エディタ]]    </description>
    <dc:date>2021-03-31T13:48:13+09:00</dc:date>
    <utime>1617166093</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/webapp/pages/12.html">
    <title>tomcat</title>
    <link>https://w.atwiki.jp/webapp/pages/12.html</link>
    <description>
      ●htmlファイルを出力
webappsフォルダの中に任意のフォルダを作成
そのフォルダの中へhtmlファイルを入れる

例　
webappsフォルダの中にsampleフォルダを作成
そのsampleフォルダの中へ
index.htmlファイルを入れると、
http://localhost:8080/sample/
と入力すれば出力される
/index.htmlは省略可能
http://localhost:8080/sample/index.html
と入力してもOK

●jspファイルを出力
jspファイルをWebappsフォルダの配下に作成した任意のフォルダへ入れる

●bootstrapをオフラインで使用する
tomcatのwebappsフォルダ中にweb_libフォルダを作成しておく。
このフォルダの中にbootstrap-4.5.0-dist.zipを解凍し、フォルダごとWeb_libへ入れる
2021年3月時点でバージョン4.5です。最新はベータ版の5.0がありますが、使用していません。

●jqueryをオフラインで使用する
jquery-3.5.1.min.jsをダウンロードし、Web_libへ入れる
バージョンを変えたら、数字の部分を変更する。
Download the compressed, production jQuery 3.5.1 をクリックすると、文字だらけの画面になります。
右クリックで「名前を付けてリンク先を保存」をクリックして保存する。
jquery-3.5.1.min.js　のまま保存する。
※2021年3月時点でバージョン3.6.0です。

&lt;head&gt;
    &lt;script src=&quot;/web_lib/jquery/jquery-3.5.1.min.js&quot;&gt;
    &lt;/script&gt;
        &lt;link href=&quot;/web_lib/bootstrap-4.5.0-dist/css/bootstrap.min.css&quot; rel=&quot;stylesheet&quot;&gt;
    &lt;script src=&quot;/web_lib/bootstrap-4.5.0-dist/js/bootstrap.min.js&quot;&gt;
    &lt;/script&gt;
&lt;/head&gt;

●bootstrapとjqueryをオンラインで使用する？？

&lt;head&gt;
	&lt;link rel=&quot;stylesheet&quot; href=&quot;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css&quot;&gt;
	&lt;script src=&quot;https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js&quot;&gt;&lt;/script&gt;
	&lt;script src=&quot;https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js&quot;&gt;&lt;/script&gt;
&lt;/head&gt;    </description>
    <dc:date>2021-03-31T13:46:10+09:00</dc:date>
    <utime>1617165970</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/webapp/pages/11.html">
    <title>XAMPP</title>
    <link>https://w.atwiki.jp/webapp/pages/11.html</link>
    <description>
      ●XAMPP
XAMPPをインストール

●注意点
○Tomcat7
オラクルのJAVA　SE8を使用しないとTomcat7がコントロールパネルから起動できない。
OpenJDK（オープンJAVA）で起動するには、手動で起動する。

○起動開始
例　XAMPPをC直下に配置したとき
WINDOWSの場合、POWERSHELLを起動して、
C:\xampp\[[tomcat]]\bin
へ移動し、
.\startup.bat
を入力すると、起動する。
黒い画面で文字が沢山でればOK。その画面は最小化しておけばよい。

○起動停止
.\shutdown
を入力すれば止まる。
Using CATALINA_BASE:
Using CATALINA_HOME:
Using CATALINA_TMPDIR:
Using JRE_HOME:
Using CLASSPATH:
と出力されると停止

○MySQLの停止
STOPボタンを押して、少々時間が経過してからコンピュータをシャットダウンする方がよい。
STOPを押してすぐにシャットダウンすると、エラーメッセージが出て、そのまま終了する。
次回起動時、起動できないエラーメッセージが出たり、SQL文が通らなかったりすることがある。
その場合、XAMPPを再インストールするしか方法がないと思われる。
tomcatの中のフォルダはコピーして待避し、再度設置すれば、そのまま使用できる。
SQLのDBなどは、再利用できないことが多い。
これを経験した以降、エクスポートでSQL文を生成してバックアップをとっておくのが望ましい。    </description>
    <dc:date>2021-03-31T13:35:24+09:00</dc:date>
    <utime>1617165324</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/webapp/pages/18.html">
    <title>andoroidstudio5</title>
    <link>https://w.atwiki.jp/webapp/pages/18.html</link>
    <description>
      /画面の最初に戻る　ボタン処理
public void MainReturn(View view){
startActivity(new Intent(getApplicationContext(), MainActivity.class));
}

/前画面へ戻るぼたんの設置
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
このほかにManifestを変更することを忘れないように！

/アクションバーに戻るボタンを設置する
@Override
   public void onBackPressed(){
       if(myWebView.canGoBack()){
           myWebView.goBack();
       }else{
           super.onBackPressed();
       }
   }    </description>
    <dc:date>2021-01-18T23:15:10+09:00</dc:date>
    <utime>1610979310</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/webapp/pages/19.html">
    <title>AndoroidStudio</title>
    <link>https://w.atwiki.jp/webapp/pages/19.html</link>
    <description>
      AndoroidStuidioのメモ
***アクションバーに戻るボタンをつける？
[[Android1&gt;&gt;https://w.atwiki.jp/webapp//pages/14.html]]
***Text関連の処理
[[Android2&gt;&gt;https://w.atwiki.jp/webapp//pages/15.html]]
***画面遷移。次の画面へ移動する方法。Intent
[[Android3&gt;&gt;https://w.atwiki.jp/webapp//pages/16.html]]
***データの保存方法の処理
[[Android4&gt;&gt;https://w.atwiki.jp/webapp//pages/17.html]]
***戻るボタンの処理
[[Android5&gt;&gt;https://w.atwiki.jp/webapp//pages/18.html]]    </description>
    <dc:date>2021-01-18T23:13:50+09:00</dc:date>
    <utime>1610979230</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/webapp/pages/16.html">
    <title>andoroidstudio3</title>
    <link>https://w.atwiki.jp/webapp/pages/16.html</link>
    <description>
      /次のがめんへ Intent
Intent intent = new Intent(this, MyResult.class);
intent.putExtra(EXTRA_MYBMI1, hei);//変数heiを次の画面へ送る
intent.putExtra(EXTRA_MYBMI2, wei);//変数weiを次の画面へ送る
startActivity(intent);    </description>
    <dc:date>2020-11-23T22:30:21+09:00</dc:date>
    <utime>1606138221</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/webapp/pages/15.html">
    <title>andoroidstudio2</title>
    <link>https://w.atwiki.jp/webapp/pages/15.html</link>
    <description>
      /EditTextを取得
EditText input1 = (EditText) findViewById(R.id.input1);
EditText input2 = (EditText) findViewById(R.id.input2);

/文字列の取得方法
/入力した値をStringで取得
String hei = input1.getText().toString().trim();
String wei = input2.getText().toString().trim();

/TextViewの取得
TextView tv = (TextView) findViewById(R.id.height2);//R.id.(部品のid)
tv.setText(String.valueOf(height));//Int型をString型へ変換して表示

TextView tv3 = (TextView) findViewById(R.id.bmi4);
tv3.setText(&quot;判定：&quot; + bmi_han[1]);//複合した表示方法

TextView scLabel = findViewById(R.id.score);
TextView highscLabel = findViewById(R.id.highscore);
int score = getIntent().getIntExtra(EXTRA_SCORE, 0);
scLabel.setText(score + &quot;&quot;);// ＋””とすれば、文字列を簡単に表示できる    </description>
    <dc:date>2020-11-23T22:30:00+09:00</dc:date>
    <utime>1606138200</utime>
  </item>
  </rdf:RDF>
