Wednesday, August 15, 2012

Silverlight Desktop Application

Silverlight Desktop Application

Hi,

I have created a desktop app using VS 2010 Ultimate.

I want to call a jsp page(created in Eclipse's Dynamic project - Java) which returns JSON data on onclick of a button(Sign In) say for eg: on login of user I want to Show the JSON data in a grid or table..

How can I do this Please someone guide me.

Answers & Comments...

Answer: 1

Can you use HttpWebRequest instead of involving javascript?

by :

Answer: 2

You didn't get my question correctly.

I have created a website as a Dynamic Web Project in Java (Eclipse Galileo) and in that site I have a small part called Updates section (which is a jsp page ) on right hand side like those available in Facebook, and I want to reuse it in my Desktop App i.e. I want to show this data in my desktop app on login of a user.

by :

Answer: 3

Hi,

If the purpose you call the jsp page is only to display information, you can add an WebBrowser control in your oob application and specify the jsp page uri to the WebBrowser control in code behind like this:

    webBrowser1.Navigate(new Uri("http://www.xxxx.com/Index.jsp"));  

You can also transfer some query string in this way.
Best Regards,

by :




No comments:

Post a Comment

Send us your comment related to the topic mentioned on the blog