on 07-06-2006 5:49 AM
Hi,
I have implemented reading an XML feed in a Java program using informa api.
In NWDS, I created a Java Project. And as required added 3 externals jar files.
I had to import the following:
import de.nava.informa.core.ChannelIF;
import de.nava.informa.core.ItemIF;
import de.nava.informa.impl.basic.ChannelBuilder;
import de.nava.informa.parsers.FeedParser;
The program works on run.
But when I creat a JSP DynPage and I add the follwoing lines:
<%@ page import = "de.nava.informa.core.* "%>
<%@ page import = "de.nava.informa.impl.basic.ChannelBuilder "%>
<%@ page import = "de.nava.informa.parsers.FeedParser "%>
I get an error: Error occurs during the rendering of jsp component. Even in this project I added external Jar files in the same way.
Any particular stuff need to reside on the server or something?
Because I one tried implementing JCO in JSPDynPage by adding the external jar in the project structure and it worked fine.
Hi Prem,
Probably the jars you must have added in your last project would be available on the server or they would have been some server related jar files.
But in the case when you are inclusing some external jars, you need to inclusde it both as "<b>External Jar</b>" and also add it to the <b>lib</b> folder (ie: just copy and pate the jar files in the <b>lib</b> filder).
<b><a href="http://img142.imageshack.us/img142/8168/solution4gy.jpg">Put the .jar file here</a></b>
I hope this solves your problem.
Regards
Pravesh
PS: Please consider rewarding points if helpful and solved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.