2015/5/7 Access restriction:the type ' Base64encoder ' is not API

Source: Internet
Author: User

Access restriction:the type ' Base64encoder ' isn't API (restriction on required library ' D:\JAVA\JDK1.6.0_43\JRE\LIB\RT.J Ar ')

Importing import Sun.misc.BASE64Encoder; The Red fork, how to solve it?

Right-click Project, point attribute (properties);

Java bulid path-->libraries-->jre System Library;

Access rules-->edit;

Add,resolution choose Accessible, fill in the below * * Click OK!

At this time the project will no longer error;

jquery Check checkbox to see if it is selected;

<input id= "useinterneturlinput" type= "checkbox" >

if ($ ("#useInternetUrlInput"). Prop ("checked")) {

}

Easyui input dynamic plus check required:true,validtype: ' length[0,500] '

The interaction of the Easyui is maddening, modify the value of input is so difficult, add so much input to do fart ah;

Finally complete with validatebox, but input cannot add Class=easyui-textbox, style oneself add class= "textbox" style= "WIDTH:598PX; height:20px; " ;

$ ("#useInternetUrlInput"). Bind ("click",function(){    if($ ("#useInternetUrlInput"). Prop ("checked"))){    $("#pageUrlTr"). Show (); $("#editorDiv"). Hide (); $(' #pageUrl '). Validatebox ({required:true, Validtype:' URL '    }); $("#isUseInternetUrl"). Val ("Y"));}Else{    $("#pageUrlTr"). Hide (); $("#editorDiv"). Show (); $(' #pageUrl '). Validatebox ({required:false    }); $("#isUseInternetUrl"). Val ("N"));}}); 

2015/5/7 Access restriction:the type ' Base64encoder ' is not API

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.