read « String « JSP-Servlet Q&A

1. Reading String in JSP

String strFCKeditor1 = request.getParameter("FCKeditor1");
i want to read this (strFCKeditor1)string and want to replace " with \" in it. how can i do this?

2. how to read a file in a string

3. How can we read initparameter(String t) of a servlet

Gaurav, Init parameter of a servlet means 'those values supplied by servlet engine when the servlet's code is first loaded into memory. It is one time value! Generally we supply those parameters which we think should be configured whenever a servet is first time loaded, through .../webapp/web-inf/web.xml file. We edit this file and include .... sub-tags. If this is what you ...