Uploading web side-personal projects

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.