Hi Brian,

The current version of the plugin allows you to specify in a separate file a property value, which will be added to your web.xml file during the export process.
The file name is "added-servlet.properties".
The property name is "added-servlet".
The file will be read during the export and the value will be inserted into the web.xml through a filter.
Notice that the property value must be specified in a single line.

I hope this helps
Best regards
Sandro



On Apr 4, 2007, at 4:52 PM, McCarty, Brian wrote:

I use the ULC Servlet Export Wizard to create the .war file for my project. I have a project that uses com.canoo.ulc.community.ulcprinting.application, so I have to add the servlet references in the web.xml file.


There must be a better way to modify the web.xml file than the method I currently use.


The Servlet Export Wizard creates a new web.xml file in the .war file. So to modify the web.xml file I use pkzip to extract web.xml from the .war file, then modify web.xml with notepad, then use pkzip again to replace web.xml with my modified version.


Is there a way to keep the web.xml servlet references in my project workspace so that the ULC Servlet Export Wizard will add them to the web.xml file that it creates?


Thanks,

Brian




_______________________________________________
ULC-developer mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/ulc-developer

Reply via email to