cancel
Showing results for 
Search instead for 
Did you mean: 

External Jars in JSP Dynpage

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

pravesh_verma
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

Thanks a lot

Problem solved!!

Answers (0)