1. Initially i have called the above jsp, So there is no session value. then writeRichText('rte1', '', 380, 100, true, false) called successfully, I got output. Suppose if it will redirect to another page, in that page session is set some value(i have written code to set session scope in another jsp page) then redirect to One.jsp file. At this movement we have session scope value. So obviously if condition is true. But writeRichText('rte1', '<%=str_htmlValue1%>', 380, 100, true, false) is not called.
Please tell me the reason & give solution for this problem.
Post by:Albareto McKenzie
, Ranch Hand
Poor practice to write Java code in JSPs, everything you are doing you can do it with JSTL tags.
I don't know if it is obvious that second time you have the attribute in the session, have you debug it to check that you actually have it? What's the generated html you get for that piece of page?