顯示具有 JSP 標籤的文章。 顯示所有文章
顯示具有 JSP 標籤的文章。 顯示所有文章

2011年7月8日 星期五

passing jsp variable to java script

http://www.coderanch.com/t/287465/JSP/java/passing-jsp-variable-java-script

2011年3月2日 星期三

Tomcat + SSL

The Apache Tomcat 5.5 Servlet/JSP Container
1.%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA
and specify a password value of "changeit".

2.您的名字與姓氏為何?[Unknown]:localhost
不能真的打自己的名字,其餘可以亂打

3.改server.xml,把註解取消
maxThreads="150" scheme="https" secure="true"
SSLEnabled="true"
keystoreFile="/usr/local/apache-tomcat-5.5.27/conf/.keystore" keystorePass="changeit"
clientAuth="false" sslProtocol="TLS" />

4.開啟Tomcat,測試https://localhost:8443/

5.假如失敗了,看log,看他到底讀哪個.keystore檔案,讀不到在靠么。把產生的.keystore(我是產生在我的資料夾底下)放置對應的位置