Java Servlet MVC web app


Servlet

http://www.javatutorialscorner.com/2014/04/servlet-hello-world-sevlet-using.html

https://blogs.oracle.com/swchan/entry/servlet_3_0_annotations

http://pro.ctlok.com/2010/02/mvc-servlet-jsp.html

http://openhome.cc/Gossip/ServletJSP/FirstServlet.html

http://www.codedata.com.tw/java/java-tutorial-the-3rd-class-3-servlet-jsp/

http://pro.ctlok.com/2010/02/java-ee-6-glassfish-v3-mysql-51-ejb-jpa.html

http://lawpronotes.blogspot.tw/2010/01/java-ee-6-servlet-30-annotations.html

http://www.dotblogs.com.tw/alantsai/Tags/servlet/default.aspx

http://openhome.cc/Gossip/ServletJSP/DispatchRequest.html

startup啟動
How to Run Java Program Automatically on Tomcat Startup
http://crunchify.com/how-to-run-java-program-automatically-on-tomcat-startup/

週期自動執行
Background Thread for a Tomcat servlet app
http://stackoverflow.com/questions/791986/background-thread-for-a-tomcat-servlet-app

How to run a background task in a servlet based web application?
http://stackoverflow.com/questions/4691132/how-to-run-a-background-task-in-a-servlet-based-web-application

使用Java自動化執行工作 - Timer 和 ScheduledExecutorService
http://kevingo75.blogspot.tw/2011/09/java-timer-scheduledexecutorservice.html

How To Get HTTP Request Header In Java
http://www.mkyong.com/java/how-to-get-http-request-header-in-java/

View include

http://freetoad.pixnet.net/blog/post/23432760

http://stackoverflow.com/questions/16169419/which-one-is-better-among-cimport-and-jspinclude-in-terms-of-performance

指示元素jsp include
http://openhome.cc/Gossip/ServletJSP/DirectiveElement.html

Spring

http://crunchify.com/simplest-spring-mvc-hello-world-example-tutorial-spring-model-view-controller-tips/

Spring MVC Tutorial: How to Upload Multiple Files to Specific Location
http://crunchify.com/spring-mvc-tutorial-how-to-upload-multiple-files-to-specific-location/

http://www.codedata.com.tw/java/java-tutorial-the-4th-class-1-spring-webmvc

Spring - MVC Framework Tutorial
http://www.tutorialspoint.com/spring/spring_web_mvc_framework.htm

Spring - Page Redirection Example
http://www.tutorialspoint.com/spring/spring_page_redirection_example.htm

Spring - Static Pages Example
http://www.tutorialspoint.com/spring/spring_static_pages_example.htm

Spring MVC Form Handling Example
http://www.tutorialspoint.com/spring/spring_mvc_form_handling_example.htm

http://javahash.com/spring-4-mvc-hello-world-tutorial-full-example/

http://www.concretepage.com/spring-4/

Spring MVC Tutorial for Beginners - Hello Spring 4 MVC
http://o7planning.org/web/fe/default/en/document/8108/spring-mvc-tutorial-for-beginners

Configuring Static Resource and Resource Bundle in Spring MVC Tutorial
http://o7planning.org/web/fe/default/en/document/425414/configuring-static-resource-and-resource-bundle-in-spring-mvc-tutorial

http://spring.io/guides/gs/serving-web-content/

http://openhome.cc/Gossip/SpringGossip/

http://www.mkyong.com/spring3/spring-3-mvc-hello-world-example/ 

http://pro.ctlok.com/2010/06/spring-web-mvc-rest.html

http://pro.ctlok.com/2010/01/google-app-engine-spring-3-freamwork.html

http://magicma-007.iteye.com/blog/1536325

http://dontpkme.blogspot.tw/2014/04/spring-mvc-for-java-web-application.html

http://mvnrepository.com/artifact/org.springframework/spring-webmvc

startup啟動
Running Code on Spring Boot Startup
https://springframework.guru/running-code-on-spring-boot-startup/

Run code at Spring Boot startup
http://blog.netgloo.com/2014/11/13/run-code-at-spring-boot-startup/

週期自動執行
Scheduling Tasks
http://spring.io/guides/gs/scheduling-tasks/

33.4.2 The @Scheduled Annotation
http://docs.spring.io/spring/docs/current/spring-framework-reference/html/scheduling.html#scheduling-annotation-support-scheduled

使用 Quartz
http://openhome.cc/Gossip/SpringGossip/UseQuartz.html

Spring MVC form handling example
http://www.mkyong.com/spring-mvc/spring-mvc-form-handling-example/

Spring MVC @RequestMapping Annotation Example with Controller, Methods, Headers, Params, @RequestParam, @PathVariable
http://www.journaldev.com/3358/spring-mvc-requestmapping-annotation-example-with-controller-methods-headers-params-requestparam-pathvariable

Spring 教學(2) - 關於@RequestMapping
http://peaceful-developer.logdown.com/posts/223649-spring-teaching-2-about-requestmapping

Spring MVC @RequestMapping Annotation Example with value, method, headers, params , consumes, produces, @RequestParam and @PathVariable
http://www.concretepage.com/spring/spring-mvc/spring-mvc-requestmapping-annotation-example-with-value-method-headers-params-consumes-produces-requestparam-pathvariable

concretepage Spring-mvc
http://www.concretepage.com/spring/spring-mvc/

Spring REST Client with RestTemplate: Consume RESTful Web Service Example for XML and JSON
http://www.concretepage.com/spring/spring-mvc/spring-rest-client-resttemplate-consume-restful-web-service-example-xml-json

Consuming a RESTful Web Service with AngularJS
https://spring.io/guides/gs/consuming-rest-angularjs/

Spring Security and Angular JS
https://spring.io/guides/tutorials/spring-security-and-angular-js/
 
Consuming a RESTful Web Service
https://spring.io/guides/gs/consuming-rest/

Class RestTemplate
https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/web/client/RestTemplate.html

Spring RESTFul Client – RestTemplate Example
http://howtodoinjava.com/spring/spring-restful/spring-restful-client-resttemplate-example/

How to Use Spring RESTTemplate to Post Data to a Web Service
https://dzone.com/articles/how-use-spring-resttemplate-0

Spring RestTemplate Tutorial
http://www.baeldung.com/rest-template

Consume REST JSON webservices easily using Spring Web!
http://blog.jdriven.com/2012/11/consume-rest-json-webservices-easily-using-spring-web/

Spring Restful Web Service Example with JSON, Jackson and Client Program
http://www.journaldev.com/2552/spring-restful-web-service-example-with-json-jackson-and-client-program

RestTemplate Module
http://docs.spring.io/autorepo/docs/spring-android/1.0.x/reference/html/rest-template.html

Complete Spring MVC RESTful Web Services Example
http://www.technicalkeeda.com/spring-tutorial/complete-spring-mvc-restful-web-services-example

18. Spring Data access with JDBC
http://docs.spring.io/spring/docs/4.2.3.RELEASE/spring-framework-reference/html/jdbc.html

Class JdbcTemplate API
http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/jdbc/core/JdbcTemplate.html

beans-factory-placeholderconfigurer
http://docs.spring.io/spring/docs/4.2.3.RELEASE/spring-framework-reference/html/beans.html#beans-factory-placeholderconfigurer 

 EL


http://blog.xuite.net/jsp.city/blog/5123110

http://iamready.myweb.hinet.net/jsp/EL.htm

http://www.tutorialspoint.com/jsp/jsp_expression_language.htm

http://www.dotblogs.com.tw/alantsai/archive/2013/10/08/jsp-expression_language.aspx

http://openhome.cc/Gossip/ServletJSP/ELProperty.html

ps.
讀get/post資料時,用getParameter而非getAttribute,
若要在request(像是session)分享資訊(含Object),則用getAttribute

JSP讀get/post的屬性,用${param.name} or ${name}
JSP讀setAttribute的屬性,用${requestScope.name} or ${name}

EL讀資料Scope:預設從pageScope->requestScope->sessionScope->applicationScope,
依序自動尋找,若全部的範圍都沒有找到,則回傳null

JSTL

http://www.dotblogs.com.tw/alantsai/archive/2013/10/13/jstl-core.aspx

<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
把 jstl.jar 及 standard.jar 放到 /WEB-INF/lib/ 下

if-else
http://stackoverflow.com/questions/4587397/how-to-use-if-else-option-in-jstl

http://www.tutorialspoint.com/jsp/jstl_format_formatdate_tag.htm

http://www.tutorialspoint.com/jsp/jstl_format_formatnumber_tag.htm

http://www.dotblogs.com.tw/alantsai/archive/2013/10/14/jstl-fmt.aspx

DAO

http://come2niks.com/login-example-jsp-and-servlets-part-i/

http://learnasmaster.blogspot.tw/2014/01/jsp-servlet-service-dao-example.html

https://sites.google.com/site/chengshixuexipingtai/java/dao-jian-jie

http://fanli7.net/a/JAVAbiancheng/JSPjishu/20130716/383406.html


ps.
public static Connection getConnection() +
conn = connectionManager.getConnection();

or
public Connection getConnection() +
conn = new connectionManager().getConnection();

JDBC
http://docs.oracle.com/javase/tutorial/jdbc/basics/connecting.html

http://www.tutorialspoint.com/jdbc/jdbc-db-connections.htm


Date, Time, Timestamp

http://alvinalexander.com/java/java-timestamp-example-current-time-now

http://fanli7.net/a/shujuku/20120705/181124.html

http://www.dotblogs.com.tw/yippee/archive/2012/03/09/70616.aspx

ps.
ticket.setCardate(new java.sql.Date(new java.util.Date().getTime()));


JavaScript

http://www.chueh.org.tw/%E9%9B%BB%E8%85%A6%E6%95%99%E5%AD%B8/JavaScript/index.asp.htm

JQuery

http://ryan10328.blogspot.tw/2014/01/jsp.html

http://api.jquery.com/jQuery.post/

http://webdesign.kerthis.com/jquery/jquery_ajax

http://learn.jquery.com/javascript-101/

JQuery CDN, google CDN較MaxCDN快
http://jquery.com/download/

https://developers.google.com/speed/libraries/devguide#jquery-ui

http://code.jquery.com/

jquery validate
http://jqueryvalidation.org/files/demo/

http://jqueryvalidation.org/documentation#List_of_built-in_Validation_methods

http://vito-aspnet.blogspot.tw/2013/03/jquery-plugin-validation.html

http://www.minwt.com/js/1800.html

http://itmeze.com/2009/08/13/tips-for-jquery-validation-plugin

The Most Indispensable jQuery Form Validation Reference Guide
http://www.javascript-coder.com/form-validation/jquery-form-validation-guide.phtml

Milk sign-up form
https://jqueryvalidation.org/files/demo/milk/

Dynamic drop down
http://www.simplecodestuffs.com/ajax-implementation-in-jsp-servlet-using-jquery-and-json/

http://www.programming-free.com/2012/09/ajax-with-servlets-using-jquery-and-json.html

http://ryan10328.blogspot.tw/2014/01/jsp.html

http://stackoverflow.com/questions/2896730/how-to-generate-dynamic-drop-down-lists-using-jquery-and-jsp

jquery dynamic field
http://www.sanwebe.com/2013/03/addremove-input-fields-dynamically-with-jquery

http://voidtricks.com/jquery-add-remove-input-fields/

jquery datepicker
http://jqueryui.com/datepicker/

http://yhhuang1966.blogspot.tw/2013/04/jquery-ui-datepicker.html

jQuery.validate 遇到 Checkbox Radiobutton 時的錯誤訊息顯示修改
http://demo.tc/post/677

jQuery Validation Plugin表單驗證使用介紹
http://www.cc.ntu.edu.tw/chinese/epaper/0033/20150620_3307.html

Java Map

http://www.cnblogs.com/hubingxu/archive/2012/02/21/2361281.html

http://www.importnew.com/8658.html

http://developer.51cto.com/art/201309/410205_all.htm

http://blog.csdn.net/stoneok07/article/details/7262676

Java List
http://pydoing.blogspot.tw/2011/05/java-arraylist.html

http://stackoverflow.com/questions/19766963/passing-arraylist-from-servlet-to-jsp

Java Date

http://apple-2011.iteye.com/blog/1011493

http://www.dotblogs.com.tw/yippee/archive/2012/03/09/70616.aspx

http://itgroup.blueshop.com.tw/jyhshin/java?n=convew&i=258017

Java String format

http://stackoverflow.com/questions/388461/how-can-i-pad-a-string-in-java

http://vin0504.pixnet.net/blog/post/24474668

Java Session

http://www.journaldev.com/1907/java-servlet-session-management-tutorial-with-examples-of-cookies-httpsession-and-url-rewriting

(session error with arraylist)
http://stackoverflow.com/questions/2294551/java-io-writeabortedexception-writing-aborted-java-io-notserializableexception

Tomcat設置session超時的幾種方式
http://fanli7.net/a/bianchengyuyan/C__/20130408/336499.html

default session timeout for Apache Tomcat applications
http://stackoverflow.com/questions/14433070/default-session-timeout-for-apache-tomcat-applications

Java Cookie

http://stackoverflow.com/questions/9543345/creating-servlet-cookies

http://www.tutorialspoint.com/servlets/servlets-cookies-handling.htm


Connection pool or DataSource

http://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html

http://tomcat.apache.org/tomcat-7.0-doc/jndi-datasource-examples-howto.html#MySQL_DBCP_Example
(JNDI)

https://dev.mysql.com/doc/connector-j/en/connector-j-usagenotes-j2ee-concepts-connection-pooling.html

http://www.cnblogs.com/losesea/p/3691064.html

http://www.codingpedia.org/ama/tomcat-jdbc-connection-pool-configuration-for-production-and-development/

http://blog.zenika.com/index.php?post/2013/01/30/Using-Tomcat-JDBC-connection-pool-in-a-standalone-environment

mysql limit
http://www.cnblogs.com/monodin/p/3451106.html

Captcha

JCaptcha
http://jcaptcha.sourceforge.net/

https://www.google.com/recaptcha/admin#list

SimpleCaptcha
http://simplecaptcha.sourceforge.net/

http://stackoverflow.com/questions/5822665/jcaptcha-refresh-only-image-not-whole-page

https://code.google.com/p/kaptcha/

Tutorials point web site

http://www.tutorialspoint.com/jsp/

http://www.tutorialspoint.com/servlets/index.htm

http://www.tutorialspoint.com/spring/index.htm

javamail

http://puremonkey2010.blogspot.tw/2010/12/java-javamail-gmail.html

https://java.net/projects/javamail/pages/Home

https://javamail.java.net/nonav/docs/api/

http://www.ewdna.com/2009/12/javajavamailhtmlemail.html

http://www.tutorialspoint.com/java/java_sending_email.htm

Exception sending email through smtp, port 465
https://java.net/projects/javamail/forums/forum/topics/223631-Exception-sending-email-through-smtp-port-465

common mistakes
http://www.oracle.com/technetwork/java/javamail/faq/index.html#commonmistakes 

JavaMail changes
https://javamail.java.net/docs/CHANGES.txt

Java MailAPI Example – Send an Email via GMail SMTP (TLS Authentication)
http://crunchify.com/java-mailapi-example-send-an-email-via-gmail-smtp/

Java Program to send Email Using SMTP – GMail, TLS, SSL, Attachment, Image Example
http://www.journaldev.com/2532/java-program-to-send-email-using-smtp-gmail-tls-ssl-attachment-image-example

facebook API

https://developers.facebook.com/docs/other-sdks#java3p

http://restfb.com/#initialization

http://restfb.com/javadoc/com/restfb/types/User.html

* http://www.bitspedia.com/2012/01/how-to-get-facebook-friends-list-in.html

http://study2fun.blogspot.tw/2014/01/google-app-engine-facebook.html

http://pro.ctlok.com/2010/06/java-facebook-apps-1.html

https://www.facebook.com/notes/mao-eric-chinghao/%E7%A4%BE%E7%BE%A4%E5%AA%92%E9%AB%94%E5%88%86%E6%9E%90-%E8%AE%93%E6%88%91%E7%A0%94%E7%A9%B6%E5%88%B0%E8%90%BD%E6%9E%95%E7%9A%84fb-java-api%E8%88%87%E5%BC%B1%E9%80%A3%E7%B5%90%E6%8E%A8%E8%96%A6/546378955396459

login permissions
https://developers.facebook.com/docs/facebook-login/permissions/v2.2

Graph API Reference
https://developers.facebook.com/docs/graph-api/reference/v2.2/user/friends

 Graph API Explorer
https://developers.facebook.com/tools/explorer

version
https://developers.facebook.com/docs/apps/versions

http://pymaster.logdown.com/post/208417-facebook-platform-versioning

http://marcoyan0814.blogspot.tw/2014/05/2014-facebook-application-api-fb-api.html

http://blog.youmeb.com/archives/2078

fb inbox

https://groups.google.com/forum/#!topic/restfb/UDyY30AefY8

https://github.com/revetkn/restfb/issues/64

http://stackoverflow.com/questions/22953381/facebook-messages-using-restfb-returns-only-25

http://stackoverflow.com/questions/7936946/how-to-fetch-more-than-25-post-messages

mobile agent

http://stackoverflow.com/questions/8515161/detecting-device-type-in-a-web-application?answertab=active#tab-top

http://stackoverflow.com/questions/2707374/java-servlets-how-do-i-detect-if-a-user-is-from-a-mobile-device 

https://code.google.com/p/mobileesp/source/browse/Java/UAgentInfo.java

Error page

http://openhome.cc/Gossip/ServletJSP/HandleError.html

http://stackoverflow.com/questions/2748220/how-to-show-user-friendly-error-page-in-browser-when-runtime-exception-is-thrown

http://www.journaldev.com/1973/servlet-exception-and-error-handling-example-tutorial

http://liaojuncai.iteye.com/blog/2034992

https://www.owasp.org/index.php/Securing_tomcat

HTTP Status Code

http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

https://support.google.com/webmasters/answer/40132

http://www.puritys.me/docs-blog/article-45-Http-status

DNS CDN

http://blog.soft.idv.tw/?p=1110&page=2

http://ten2.tw/blog/amazon-cloudfront-cdn/

Tomcat SSL

http://ufaw0116.erufa.com/wordpress/?p=1288

servlet檢核

http://my.oschina.net/mousai/blog/88832

http://www.yq1012.com/api/java/util/regex/Pattern.html#compile%28java.lang.String%29

SEO

https://support.google.com/webmasters/answer/79812

https://support.google.com/webmasters/answer/35291?hl=zh-Hant&ref_topic=3309300

http://sofree.cc/google-meta/

http://sofree.cc/google-webmaster/

http://seo.soft4fun.net/2009/05/seo%E6%8A%80%E8%A1%93-element/

http://www.raidenhttpd.com/manual/seo.html

http://nibbler.silktide.com/en_US

http://www.woorank.com/

google robot

https://support.google.com/webmasters/answer/6062608

https://support.google.com/webmasters/topic/4598466

sitemap

http://www.sitemaps.org/zh_TW/protocol.html

https://www.xml-sitemaps.com/

FB open graph SEO

https://developers.facebook.com/docs/opengraph/using-objects

https://developers.facebook.com/docs/opengraph/creating-custom-stories/#objecttypes

https://developers.facebook.com/tools/debug/

https://developers.facebook.com/docs/sharing/best-practices

https://developers.facebook.com/docs/platforminsights

https://www.facebook.com/insights/

https://developers.facebook.com/docs/reference/opengraph/object-type/website/

http://epromotor.pixnet.net/blog/post/30997291

http://ogp.me/

tomcat 

http://stackoverflow.com/questions/7276989/howto-set-the-context-path-of-a-web-application-in-tomcat-7-0

http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Defining_a_context

http://www.360doc.com/content/11/0908/06/2280973_146613508.shtml

compress

http://tomcat.apache.org/tomcat-7.0-doc/config/http.html

http://stackoverflow.com/questions/15309461/how-to-make-my-tomcat-v6-0-localhost-server-enable-compression-gzip

http://viralpatel.net/blogs/enable-gzip-compression-in-tomcat/

tune web/RWD

https://developers.google.com/speed/pagespeed/insights/

http://www.webpagetest.org/

http://tools.pingdom.com/fpt/

http://design.google.com/resizer/


favicon

http://briian.com/7267/make-favicon-ico.html

http://blog.miniasp.com/post/2007/12/18/Introduce-faviconico-and-important-concept.aspx

java validate

http://stackoverflow.com/questions/2149680/regex-date-format-validation-on-java

http://alvinalexander.com/blog/post/java/regular-expressions-in-java-1-4-example-1

java validate for customize
http://jqueryvalidation.org/jQuery.validator.addMethod

http://stackoverflow.com/questions/25561312/jquery-validation-string-contains-exact-substring

http://iambigd.blogspot.tw/2011/07/jquery-plugin-form-validate.html

http://wamp.xen.com.tw/jquery-validate%E4%B8%80%E4%BA%9B%E8%87%AA%E5%AE%9A%E4%B9%89%E9%AA%8C%E8%AF%81%E6%96%B9%E6%B3%95/

defense attacks

http://stackoverflow.com/questions/2658922/xss-prevention-in-java

my.oschina.net/mousai/blog/88832

www.yq1012.com/api/java/util/regex/Pattern.html#compile(java.lang.String)

https://www.owasp.org/index.php/XSS_%28Cross_Site_Scripting%29_Prevention_Cheat_Sheet

http://blog.xuite.net/akuox/caffeine/27892119

http://www.cnblogs.com/hellojava/archive/2012/12/19/2824444.html

http://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/StringEscapeUtils.html

http://www.ewdna.com/2009/12/stringescapeutilsescapehtmlunescapehtml.html

http://www.ewdna.com/2009/12/html-purifier-in-javahtmlinputfilter.html

http://josephoconnell.com/java/xss-html-filter/

http://stackoverflow.com/questions/1413129/modify-request-parameter-with-servlet-filter

http://openhome.cc/Gossip/ServletJSP/RequestWrapper.html

How do I prevent people from doing XSS in Spring MVC?
http://stackoverflow.com/questions/2147958/how-do-i-prevent-people-from-doing-xss-in-spring-mvc

Spring MVC防御CSRF、XSS和SQL注入攻击
http://www.cnblogs.com/Mainz/archive/2012/11/01/2749874.html

JUnit test case

http://java.openyu.org/2014/02/junit1-eclipsetest-case.html

web monitor
http://monitority.com/

https://www.site24x7.com

https://deez.io

壓力測試

http://loadimpact.com

http://loadimpact.com/test/view/1902332

iptables

http://s2.naes.tn.edu.tw/~kv/iptables.htm

https://major.io/2007/02/09/delete-single-iptables-rules/

http://itzone.hk/article/article.php?aid=200502161254531925

ec2, s3 and cloudfront

http://blog.lyhdev.com/2012/04/amazon-s3-cloudfront.html

http://blog.allenchou.cc/amazon-simple-storage-service/

http://www.codedata.com.tw/java/groovy-tutorial-10-amazon-s3-file-uploading-tools/

http://www.cloudping.info/

http://blog.eddie.com.tw/2011/03/07/amazon-web-services/

https://blog.hinablue.me/entry/aws-working-with-amazon-aws/

http://www.tts.bz/archives/2450

Synchronized

http://www.jackforfun.com/2007/07/java-synchronized.html

Servlet create CSV

http://stackoverflow.com/questions/21378773/create-and-download-csv-file-javaservlet

http://stackoverflow.com/questions/3168272/how-to-get-download-csv-file-using-java-servlet

http://javahonk.com/dynamically-generate-csv-using-servlet/

http://www.codejava.net/frameworks/spring/spring-mvc-with-csv-file-download-example

CSS

http://www.dotblogs.com.tw/kirkchen/archive/2009/12/22/12603.aspx?fid=69593

Change css class dynamically
http://stackoverflow.com/questions/24588346/change-css-class-dynamically

css|裁切圖片
http://cabuchi.pixnet.net/blog/post/37286924 


Bootstrap
http://www.tutorialrepublic.com/twitter-bootstrap-tutorial/bootstrap-tables.php

學習 CSS 版面配置
http://zh-tw.learnlayout.com/toc.html

CSS Order Priority Tips and Tricks
https://hungred.com/useful-information/css-priority-order-tips-tricks/

Center a column using Twitter Bootstrap 3
http://stackoverflow.com/questions/18153234/center-a-column-using-twitter-bootstrap-3

MySQL backup

http://dev.mysql.com/doc/refman/5.6/en/mysqldump-sql-format.html

http://www.lihuai.net/linux/mysql/803.html

http://dotnetmis91.blogspot.tw/2010/03/mysql.html

http://my.oschina.net/u/231017/blog/186447

http://paulbradley.tv/38/

http://www.study-area.org/tips/mysql_backup.htm

FB publish

http://globalspin.com/2013/06/publish_stream-vs-publish_actions/

https://developers.facebook.com/docs/graph-api/reference/v2.3/user/feed

https://github.com/restfb/restfb/blob/master/source/library/com/restfb/BinaryAttachment.java

http://stackoverflow.com/questions/6932369/inputstream-from-a-file-url#comment31447891_6932394

https://groups.google.com/forum/#!msg/restfb/MbZBgYTBlZs/vZP7SjeETJgJ

servlet loadOnStartup

http://stackoverflow.com/questions/809775/what-does-the-servlet-load-on-startup-value-of-0-zero-signify

http://mrbearla.blogspot.tw/2011/05/webxmlload-on-startup.html

https://tomcat.apache.org/tomcat-7.0-doc/servletapi/javax/servlet/annotation/WebServlet.html

http://www.codejava.net/java-ee/servlet/webservlet-annotation-examples

http://cw1057.blogspot.tw/2014/12/java-servlet-30-webservlet.html

http://xuehu2009.iteye.com/blog/560333

JDK8

http://www.phpini.com/linux/ubuntu-install-java-8

How to Install JAVA 8 (JDK 8u66) on Ubuntu & LinuxMint Via PPA
http://tecadmin.net/install-oracle-java-8-jdk-8-ubuntu-via-ppa/

How To Install Apache Tomcat 8 on Ubuntu 14.04
http://www.liquidweb.com/kb/how-to-install-apache-tomcat-8-on-ubuntu-14-04/

How to Install Tomcat 8.0.27 on CentOS/RHEL and Ubuntu
http://tecadmin.net/install-tomcat-8-on-centos-rhel-and-ubuntu/

縮圖

https://tinyjpg.com/

Java

Java 學習筆記 (9) - Thread
http://godleon.blogspot.tw/2007/08/cpu-thread-thread-java-java.html

[Java]try catch finally 例外資訊處理
http://blog.yslifes.com/archives/636

Java DateTime 日期時間處理
http://jyhshin.pixnet.net/blog/post/34046221-java-datetime-%E6%97%A5%E6%9C%9F%E6%99%82%E9%96%93%E8%99%95%E7%90%86

Upload File


Uploading Files
http://spring.io/guides/gs/uploading-files/

Spring’s multipart (file upload) support
http://docs.spring.io/spring/docs/4.2.3.RELEASE/spring-framework-reference/html/mvc.html#mvc-multipart

Upload and Download files
http://learningviacode.blogspot.tw/2012/11/upload-and-download-files.html

byte[] to file in Java
http://stackoverflow.com/questions/4350084/byte-to-file-in-java

Java IO: BufferedOutputStream
http://tutorials.jenkov.com/java-io/bufferedoutputstream.html

JQuery fileUpload with spring
https://github.com/jdmr/fileUpload/blob/master/src/main/java/org/davidmendoza/fileUpload/web/ImageController.java

Spring MVC + jQuery File Upload (multiple, drag&drop, progress…)
http://www.hmkcode.com/spring-mvc-jquery-file-upload-multiple-dragdrop-progress/

jQuery-File-Upload
https://github.com/blueimp/jQuery-File-Upload/wiki

Java Token

How to generate a random alpha-numeric string?
http://stackoverflow.com/questions/41107/how-to-generate-a-random-alpha-numeric-string

How to create a authentication token using Java(java UUID)
http://stackoverflow.com/questions/13992972/how-to-create-a-authentication-token-using-java

HttpClient

Writing post data from one java servlet to another
http://stackoverflow.com/questions/96360/writing-post-data-from-one-java-servlet-to-another

HttpComponents Client(HttpClient)
http://hc.apache.org/httpcomponents-client-ga/index.html

send post request with HttpClient and use servlet to display the request
http://www.coderanch.com/t/585399/open-source/send-post-request-HttpClient-servlet

Resize image photo

Java - resize image without losing quality
http://stackoverflow.com/questions/24745147/java-resize-image-without-losing-quality

imgscalr
https://github.com/thebuzzmedia/imgscalr

thumbnailator
https://github.com/coobird/thumbnailator

How to resize images in Java
http://www.codejava.net/java-se/graphics/how-to-resize-images-in-java

Font
Google Fonts 五款雲端字型立即套用至網頁
http://www.minwt.com/webdesign-dev/html/13424.html

Google Early Access!
https://www.google.com/fonts/earlyaccess

Google Fonts 提供五種中文 Wenfont
http://tt5.org/google-fonts-%E6%8F%90%E4%BE%9B%E4%BA%94%E7%A8%AE%E4%B8%AD%E6%96%87-wenfont%EF%BC%8C%E6%97%A9%E8%B5%B7%E7%9A%84%E9%B3%A5%E5%85%92%E6%9C%89%E7%9A%84%E7%8E%A9/

CSS 網頁字型 @font-face 使用教學與範例
https://blog.gtwang.org/web-development/css-font-face/



留言

這個網誌中的熱門文章

JavaMail透過Gmail寄信發生AuthenticationFailedException錯誤