开发者

How to redirect the standard output from Sicstus4 to a Java component using Jasper?

开发者 https://www.devze.com 2023-03-01 06:47 出处:网络
I\'m using a library called Jasper to link my Java application to the Sicstus4 software. This is working smoothly but when I make a query to it I need to grab the 开发者_如何学Coutput in order to show

I'm using a library called Jasper to link my Java application to the Sicstus4 software. This is working smoothly but when I make a query to it I need to grab the 开发者_如何学Coutput in order to show it in a JTextArea. Right now the Sicstus software prints the output to the console, how can I grab it?

Thank you in advance! Joshua.


Well I don't know anything about Sicstus4, but if you're calling it from Java, there are examples here. It looks like you're supposed to get the output from the Map you pass in when you create the query.

0

精彩评论

暂无评论...
验证码 换一张
取 消