i got a question here... i am now trying to display a sample crystal report 
(.rpt) on my application. It isn't web based.. it's just a simple java 
application. i try to call the report and display it using ReportViewerBean 
which is a viewer in package :

com.seagatesoftware.img.ReportViewer.ReportViewerBean

ReportViewerBean b = new ReportViewerBean();            
b.setReportName("http://localhost:8080/?report=file:c:/SAMPLE_REPORTS/BalanceSheet.rpt";);
                         
b.setReportParameter("user0=root&password0=&prompt1=12214");
//Specify the Username n' Password of your Database. Say,you are connecting to 
Oracle DataBase with UserName = username,Password : password and Host String : 
JAVA

b.setShowGroupTree(false);// Set Show Group Tree to False
b.init();//Show the Frame

it needs a url for the report location and i figure i need to put the report on 
a server.. currently, i am connecting to a jboss server to save and retrieve 
database data from mysql.

do i put the report in the directories like suz did  as well as all the crystal 
jars file? (jboss/server/all/view)and when my java application runs, (it's an 
applet actually) i just click "view report" for eg, and it will connect to 
jboss and jboss will noe wat i am requesting? i dun need to specify any paths 
rite? coz the report is already in the ../view dir as stated in the 
CrystalReportEngine-config.xml?

currently, i am specifying it to the c: drive.. which is not working.. 

i got lotsa questions on this.. quite a headache actually coz i am new to 
jboss... thanx in advance..

=)
chris 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858650#3858650

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858650


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to