on 04-27-2009 7:58 AM
Hi,
I am using NWDS for java application development.
I have added a new jar as per my requirement and when I create an instnace of the class MimeParser in a servlet it throws an below error
Details: Error [javax.servlet.ServletException: Failed to load :mime.xml], with root cause [com.bentofw.util.NoPropertyFileException: Failed to load :mime.xml].
I have placed this mime.xml file in WEBINF folder but still it throws below error
Can you please guide where should I place mime.xml in my web module.
/*****************************************************************/
private static MimeParser mime1=null;
public void init(ServletConfig cfg) throws ServletException {
super.init(cfg);
try{
mime1=MimeParser.getInstance();
}
catch(Exception ex){
ex.printStackTrace();
throw (new ServletException(ex));
}
/**********************************************************/
Hi Neha,
try to put ur XML file into "gen_wdp" after switching to Navigator prospective........just give a try and see.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.