iframe 소스까지 올림니다.. 타입은 제대로 한거 아닌가요???

국내에 웹 사이트들이 웹 표준을 지키고 OS나 브라우저와 관계 없이 접근성을 향상 시키기 위한 사이트 버그 신고 및 문제 해결을 위한 게시판입니다.
댓글 게시
kk9980

iframe 소스까지 올림니다.. 타입은 제대로 한거 아닌가요???

게시물 작성자 kk9980 » 2004 08 30 16:41 10

지원한다니 참 다행입니다. 어디가 잘못되었는지 알려주세요.. ^^
필요한부분만 편집하였습니다.

<%@ page contentType="text/html; charset=EUC-KR" %>

<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>

<%@ taglib uri="/WEB-INF/app.tld" prefix="app" %>

<html:html>
<head>

<app:baseHRef/>
<title>전표 입력</title>
<LINK REL="STYLESHEET" HREF="<%=request.getContextPath()%>/webpages/style/style.css" TYPE="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
</head>
<body leftmargin="0" topmargin="0">
<form name="saveForm" method="post">
</form>
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr height="41">
<table width="100%" height="41" border="0" cellspacing="0" cellpadding="0">
<tr class="line_0">
<td height="41">
<iframe scrolling="no" frameborder="0" width="100%" height="41" frame name="aa" src="do/sliphd/top1">
</iframe>
</td>
</tr>
</table>

빛알갱이
해커
해커
게시물: 1146
참여됨: 2004 01 15 20:06 36

Re: iframe 소스까지 올림니다.. 타입은 제대로 한거 아닌가요??

게시물 작성자 빛알갱이 » 2004 08 30 18:09 40

kk9980 씀:지원한다니 참 다행입니다. 어디가 잘못되었는지 알려주세요.. ^^
필요한부분만 편집하였습니다.
웹에 올려 놓고 주소만 적어 주셨으면 더 좋았겠지요?

코드: 모두 선택

<iframe scrolling="no" frameborder="0" width="100%" height="41" frame name="aa" src="do/sliphd/top1">
</iframe>
중요한 것은 iframe을 써서 포함하는 "do/sliphd/top1"이라는 파일에 대해 내보내는 Content-Type 헤더입니다. 이 파일에 대해 내보내는 C-T 헤더 값이 'text/plain'이 아니라 'text/html'이 되도록 (실제로 html이라면) 고쳐 주셔야 합니다. 아마 가장 쉬운 방법은 '.html'이란 확장자를 붙이는 것이겠네요. 기본적으로 'html' 확장자에 대해 'text/html'을 내보내도록 되어 있을 것이니까요.

댓글 게시

누군가 접속

유저들이 이 포럼을 탐색중: 가입된 유저 없음 그리고 2 손님들