[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Passing parameters



hi,

use jni class and pass the command line you usely use from the dos
prompt to execute sqr.

franck,

Prakash Awasthi wrote:
>
> Hi
> I don't know much about servlet.I am using Win NT. Program given in user
> manual for invoking sqr program using CGI script is for Unix platform
> whereas I want servlet to invoke sqr program.
> The Command for invoking sqr program through Bourne shell is
> sqr7 /usr2/reports/myreport.sqr orauser/orapassword\
>   -PRINTER:ht -f/tmp/myreport$$.lis -I$$SQRDIR "$SORTBY" \
>   >/tmp/myreport$$.out 2>&1 < /dev/null
>
> 1. What should I use in servlet?
>
> 2. Do I need to import any class for invoking my sqr program?
>
> Prakash
>
> >From: Franck Masson <franck.masson@SQRIBE.COM>
> >Reply-To: SQR-USERS@list.iex.net
> >To: Multiple recipients of list SQR-USERS <SQR-USERS@list.iex.net>
> >Subject: Re: Passing parameters
> >Date: Thu, 6 May 1999 22:03:45 +0100
> >
> >yes it is possible.
> >you can do it in the same as a cgi interface.
> >Look to the sqr manual there is a chapter about this.
> >
> >In your java code use the jni function to call SQR with your parameter
> >on the same line.
> >
> >An other and easy solution will be to use the JAVA API of REPORTMART.
> >Contcat SQRIBE Office to get information about this product.
> >
> >Francck,
> >
> >Prakash Awasthi wrote:
> > >
> > > I want to use servlets to send parameters from the client side to sqr
> > > server.The report should be created based on these parameters and the
> >report
> > > created should be hosted by the servlet.Is it possible to do this?
> > > If yes then what is the syntex to do this?
> > > Please advice.
> > > Thanks in advance
> > > Prakash
> > >
> > > ______________________________________________________
> > > Get Your Private, Free Email at http://www.hotmail.com
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com