Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
where to put java class will be right
huhuan
hello,
i want to use my java class in script ,and when i use it like this: "importPackage(Packages.com.Test) var t = new Test()",then it
prompts me " Test is not defined".
i want to know where to put java class will be right?
thanks.
Find more posts tagged with
Comments
bhanley
If it is just a class file (no JAR), it will have to go in WEB-INF/classes. There is no classes directory in the sample viewer application, I believe you will have to create it.
If you are trying to test this inside the BIRT IDE, place it in Actuate10BRDProeclipsepluginsorg.eclipse.birt.report.viewer_<version>birtWEB-INFclasses
Again, the classes directory will not be there, you will have to create it.
huhuan
my class file is created as .jar file. and now where to put it?
thanks!
huhuan
is there anyone knows? please tell me.
thanks!
bhanley
Instead of the classes directory I specified above, replace classes with "<em class='bbc'>lib</em>".<br />
<br />
A general rule of thumb for Web Application deployment is that JAR files go in <strong class='bbc'><em class='bbc'>WEB-INFlib</em></strong> and individual class files go in <strong class='bbc'><em class='bbc'>WEB-INFclasses</em></strong>.<br />
<br />
Good Luck!
huhuan
It's very kind of you.