I created a new web window with Visual Studio,
Then here is the code that comes with the system:
[WebServiceBinding (ConformsTo = wsiprofiles.basicprofile1_1)] [System.ComponentModel.ToolboxItem (false)] To allow this Web service to be called from a script using ASP. NET AJAX, uncomment the following line. //[System.Web.Script.Services.ScriptService] public class WebService1:System.Web.Services.WebService { [WebMethod] public string HelloWorld () { return ' Hello world '; }} }
Finally, the Helloword code is passed to the web, and I'm looking for a way to add my own code to this framework for a long time. Teachers and classmates, please help. I must perfect it.
2. Try using Java to see the tutorial Create a new Web project. Then download tomcat 7.0 and install it into Java. New Servers in window show view to create a new JSP.
JSP code
function Openupload (functionid,filetype,maxsize,callback) {varURL = root+"/commoncontroller.jhtml?method=gofileupload&"; if(functionid!=NULL) {URL= URL +"functionid="+functionid+"&"; } if(filetype!=NULL) {URL= URL +"filetype="+filetype+"&"; } if(maxsize!=NULL) {URL= URL +"maxsize="+maxSize; } varwin = window.showModalDialog (URL,"","Dialogwidth:300px;dialogheight:150px;scroll:no;status:no"); if(Win! =NULL){ varArrwin = Win.split (","); Callback (arrwin[0],arrwin[1],arrwin[2]); } }
Sorry, I just got here. Have not learned Java, these are to see several tutorials integrated to go together. There is no understanding of the place, I find the opportunity to learn.
Uploading web side-personal projects