powered by Jive Software

How sent message to openfire using jsp page and get message from openfire

i am able to connect to openfire using my jsp page,but not able to sent or receive any message using openfire,what should i do,