[Áú¹®] ¼­ºí¸´¿¡¼­ÀÇ byte type º¯¼ö ?


[ ´ÙÀ½ ±Ûµé ] [ À̾ ±Û¿Ã¸®±â(´äÇϱâ) ] [ ÀÚ¹Ù ¹¯°í ´äÇϱâ ]

±Û¾´ÀÌ :¹é½Â¿ë 1998³â 3¿ù 20ÀÏ 20:13:17

¼­ºí¸´¿¡¼­ HttpServletRequest·Î ³Ñ¾î¿Â Argument¸¦
¹Þ¾Æ DB¿¡ ÀúÀåÇϱâ À§ÇØ StringÇüÀÇ µ¥ÀÌŸ¸¦ ByteÇüÀ¸·Î
ÀüȯÇÏ¿© ÀúÀåÇÏ´Â ÇÁ·Î±×·¥À» ÀÛ¼ºÇϴµ¥
Byte ·Î º¯È¯ÇÏ´Â ºÎºÐ¿¡¼­ ´õ ÀÌ»óÀÇ ÇÁ·Î±×·¥À»
½ÇÇàÇÏÁö ¸øÇÏ°í Browser¿¡ 'Document No Data'¶ó´Â
¸Þ¼¼Áö¸¸ ³ª¿É´Ï´Ù. ¹«½¼ ¹®Á¦°¡ Àִ°ÍÀϱî¿ä!
½ÇÁ¦ ¿¹)
public void loadModule(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException
{
String userid = req.getParameter("userid");
String date = req.getParameter("date");
String subject = req.getParameter("subject");
String content = req.getParameter("content");


byte[] b = new byte[content.length()];
b = content.getBytes();


res.setContentType("text/html");
ServletOutputStream out = res.getOutputStream();


........
}


´ÙÀ½ ±Ûµé:



À̾ ±Û¿Ã¸®±â(´äÇϱâ)

À̸§:
E-Mail:
Á¦¸ñ:
³»¿ë:
°ü·Ã URL(¼±ÅÃ):
URL Á¦¸ñ(¼±ÅÃ):
°ü·Ã À̹ÌÁö URL:


[ ´ÙÀ½ ±Ûµé ] [ À̾ ±Û¿Ã¸®±â(´äÇϱâ) ] [ ÀÚ¹Ù ¹¯°í ´äÇϱâ ]