我有這樣的代碼在JSPSpring MVC的:只讀和殘疾
<form:input path="userBean.company.addressInfo.website" readonly="${activeField}" disabled="${activeField}" style="width:350px" htmlEscape="true"/>
<input id="imageFile" type="file" name="${status.expression}" value="${status.value}" onchange="uploadImageAction()" readonly="${activeField}" disabled="${activeField}" />
但是當我在瀏覽器中查看源代碼
<input id="userBean.company.addressInfo.website" name="userBean.company.addressInfo.website" style="width:350px" type="text" value="website hidden"/>
<input id="imageFile" type="file" name="companyLogo" value="" onchange="uploadImageAction()" readonly="" disabled="" />
這樣的網站是不是隻讀,但鏡像文件SI只讀