How to edit web.xml file at Apache Tomcat or GlassFish server on Ubuntu


1. Setup 'SSH Secure Shell Client'
2. Open 'SSH Secure Shell Client' and  'Quick Connect'


3. Connect to Remote Host
   

 Enter Password and Click 'Ok' button

4. Open file web.xml
# vi the path of web.xml file
Example:  vi glassfish3/glassfish/domains/domain1/applicatio
ns/customer/WEB-INF/web.xml
  • press i    (for editing)   
  • Esc:q!      (for without change)
  • Esc:x       (for change)

1 comment: