velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pham Anh Tuan" <>
Subject [HELP] Import tool didn't work correctly when reading a jsp file with read method!
Date Mon, 31 Jul 2006 09:04:09 GMT
Hi all,

I got a problem when using read method to "read" a jsp file: a.jsp.

below is my jsp file's content:

<%@ page language="java" import="com.fredck.FCKeditor.*" %>
<script type="text/javascript">
function FCKeditor_OnComplete( editorInstance )
 window.status = editorInstance.Description ;

  <form action="sampleposteddata.jsp" method="get" target="_blank">
            FCKeditor oFCKeditor ;
            oFCKeditor = new FCKeditor( request, "EditorDefault" ) ;
            oFCKeditor.setBasePath( "/FCKeditor/" ) ;
            oFCKeditor.setValue( "This is some <strong>sample text</strong>. You
are using <a href=\"\">FCKeditor</a>." );
            out.println( oFCKeditor.create() ) ;
       <input type="submit" value="Submit">

in my b.vm file:


when I run my web app normally - run with b.vm file. it runs okie, the textarea editor showed
but .. the content was not right: 
"This is some <strong>sample text</strong>. You are using <a href=\"\">FCKeditor</a>"

but when I run a.jsp directly: the textarea editor showed with the right content with html
This is some sample text. You are using FCKeditor.

is this a error of Import tool or ... :(

help me!

thanks in advance

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message