1
복잡하지 않으려면 문자열 반환 값에 문자열 sDtd 값을 추가하기 만하면됩니다 (도우미). 이것은 내가 지금까지 가지고있는 것이다. 감사!!! P반환 값에 문자열 값을 추가하십시오. page_head 문자열
public static string WriteDocType(HttpContext context)
{
string sDtd ="will equal document type!"
context.Response.ContentType = "text/vnd.wap.wml";
String page_head = "<?xml version=\"1.0\"?>"+sDtd+"<wml><head><meta http-equiv=\"Cache-Control\" content=\"max-age=0\" /></head><card title=\"Unsupported\"><p align=\"center\"><br/>Sorry! this mobile web browser is not supported.</p></card></wml>";
return page_head;
}
작동하지 않습니까? – JNF
위의 의견에 "예, 작동하지 않습니다"라고 대답하지 마십시오. 구체적으로 무엇이 잘못 되었습니까? 어떻게 도와 드릴까요? –