Results 1 to 6 of 6
Thread: (Servlets, Tomcat)
Hybrid View
-
23rd October 2007 22:31 #1
(Servlets, Tomcat)
. web , url , .
:
url- - http://localhost/WebApp/MainServlet?name= ??????. , out.println(""); . , url-Code:public class MainServlet extends HttpServlet { protected void processRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { .... response.setContentType("text/html;charset=windows-1251"); PrintWriter out = response.getWriter(); String folderName = request.getParameter("name"); out.println("<html><head>"); out.println("\t<title>Main Servlet</title>"); out.println("</head><body>"); .... out.println("<p>"+folderName); .... } }
, tomcat-a, deploy- jboss .
charset application server-a , . tomcat-a server.xml <Connector URLEncoding="windows-1251" ... >,
, ,
Last edited by koshera; 23rd October 2007 at 22:45.
Thre are 10 kinds of people in this world - people who know binary, and those who don't.
-, .
-
23rd October 2007 22:49 #2
? , .
, , 5 .EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|
-
23rd October 2007 23:20 #3
. .
, , . , ,
Thre are 10 kinds of people in this world - people who know binary, and those who don't.
-, .
-
23rd October 2007 23:57 #4
. POST, GET?
?
:
http://www.w3.org/MarkUp/html-spec/h....html#SEC8.2.1
.EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|
-
24th October 2007 20:08 #5
URL- UTF-8 - .
Internet - it doesn't make you stupid, it just makes your stupidity more accessible to others
-
24th October 2007 21:56 #6
Last edited by koshera; 25th October 2007 at 11:06.
Thre are 10 kinds of people in this world - people who know binary, and those who don't.
-, .




Reply With Quote

Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in