This is my smart contract:
pragma solidity ^0.4.24;
contract Greet
{
string message;
constructor() public{
message="I'm ready!";
}
function setgreetings(string _message)public
{
message=_message;
}
function getgreetings()public view returns(string){
return message;
}
}
I deployed my Greetings smart contract to my private network.
var myABI = [{"...."}]
var myCont = eth.contract(myABI)
var myCode = "0x..."
var txDeploy = {from: 'account_address', data: myCode, gas:210000}
// unlock the account to send the transaction
var app = myCont.new(txDeploy)
// mined the block
// got the address of the deployed contract
Now using remix to call getgreetings function. It should return "I'm ready".
But it is blank:

Contract works fine when I use JVM.