Hello,
I'm using FCKeditor with JSP. Can I fill in the textbox without using javascript?
I can use this:
But my content comes from a database, so I want to write this:
Any clues?
I'm using FCKeditor with JSP. Can I fill in the textbox without using javascript?
I can use this:
<FCK:editor instanceName="autre_info"> <jsp:attribute name="value">Content</jsp:attribute> </FCK:editor>
But my content comes from a database, so I want to write this:
<FCK:editor instanceName="autre_info"> <jsp:attribute name="value"><%=Content%></jsp:attribute> </FCK:editor>but then I get a compilation error : cannot find symbol "content".
Any clues?
Re: set value in JSP
Re: set value in JSP
This is my code: (That I simplified because content comes from database)
Re: set value in JSP
As you can see, Resin tells you that you have a type problem.
I just did a quick test and following works as expected:
The problem must be within your code.
Although there is an better and easier way.
Put your string in the request when you come from a servlet and simply do:
Re: set value in JSP
Thanks
Re: set value in JSP
You can reduce your code by doing: