954,574 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How to write a function in a Web Service

So having a function code in JSP, example is this one:

function isitinstalled() {
		try {
			var myObj = new activity1(plugin.activity);
			if (myObj) { 
				return "activity123";
			} 
		} catch(e) {
			if (navigator.plugins[plugin.namename]) {
				return "me";
			} else {  
				return false;
			}
		}
		return false;
	}


How do I translate that code into a "Web Service" Coding java (like the ones with @WebParam (whatever = whatever). Sorry for another post, I'm exploring things and I'm a bit new to web services and my assignments need to be done. (Above is just a sample program.) Thanks guys! Your answers are much appreciated!

kris-kz
Newbie Poster
4 posts since Jan 2012
Reputation Points: 10
Solved Threads: 0
 

anyone?

kris-kz
Newbie Poster
4 posts since Jan 2012
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: