openshift-cs / devcenter

Developer Center
https://developers.openshift.com
14 stars 34 forks source link

Why Config Tomcat for unicode then it lost when restart webapp & create a path root to save image not correct #465

Closed khienph closed 8 years ago

khienph commented 8 years ago
  1. I have a webapp and i using unicode, so that i need config tomcat for unicode: path: /var/lib/openshift/..../jbossews/conf/server.xml <Connector address="127.13.143.1" port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8"/> but when i'm restart then it <Connector address="127.13.143.1" port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
  2. When i had mkdir path String strParth = request.getSession().getServletContext() .getRealPath("/")+ "\resources\images\"

i need config it, hope openshift support, Thank a lot my example: http://ecom-phuphat.rhcloud.com/

jiri-fiala commented 8 years ago

@ You can try asking on IRC (#openshift) or at StackOverflow. The issues on this repository pertain only to the OpenShift developer center.