Yep ... now there's no error, it's just tell me that fckeditor.html is not available I've put the fckeditor directory in the root of my project but that's not change anything
I've corrected the link with the basepath, know it tell me nothing, but I didn't see the editor I just seeing the button (from my form) and a big blank on the top
edit: When I'm checking the code, I got that for the editor : <div> <input id="EditorDefault" name="EditorDefault" value="test" type="hidden" /> <iframe id="EditorDefault___Frame" frameborder="no" height="200" scrolling="no" width="100%" src="/testIframe/fckeditor/editor/fckeditor.html?InstanceName=EditorDefault&Toolbar=Default"> </iframe> </div>
I've check and my fckeditor is in the path given ... I don't understand the error.
sethouille wrote:I've corrected the link with the basepatth, know it tell me nothing, but I didn't see the editor I just seeing the button (from my form) and a big blank on the top
Please provide the full aboslute url where your fckeditor is installed in your webapp.
ok my absolute url is : C:\Documents and Settings\lxsla\My Documents\NetBeansProjects\testIframe\fckeditor My project is testIframe so it's in the root, I also copied it in web\WEB-INF, but no change it seems that it didn't find the fckeditor.html
sethouille wrote:ok my absolute url is : C:\Documents and Settings\lxsla\My Documents\NetBeansProjects\testIframe\fckeditor My project is testIframe so it's in the root, I also copied it in web\WEB-INF, but no change it seems that it didn't find the fckeditor.html
Hold on, hold on. You are mixing quite a few things up. The absolute uri is not important when working with webapps. The main issue is the context. I hope you are familiar with contexts and the basis about webapps.
let me do a simple example: Supposing your webapp has the context /someapp this means that the editor installed will be available at /someapp/fckeditor. The tag will handle almost everything. It seems like you installed to the wrong place or you missed to adapt the fckeditor.properties for your custom changes. Dissect the demo war and see how it is done there.
Sigh! One thing I have learned about Java is, that when they say IMPROVEMENT, it means rocket-science to get shit work!
Java is GREAT - Java programmers are NOT!
People ask a simple question and the repeated, ARROGANT reply is: Read the documentation!
You know what my friend? Your documentation is TOTALLY USELESS! I have used a whole day on it! I run Sun Glassfish Server!
It is assumed I have some favorite SFL4J binding whatever. No I don't! This single thing breaks everything! The war-demo can be deployed and works, but I can't use that for anything.
This is the reason Java is dying! Everyone has to start as experts! No one is allowed to learn in this Java I-KNOW-IT-ALL and READ THE DOCUMENTATION, MORON world.
Well, back to the old version - or running the PHP version inside JSP!
Sorry for my wording, I almost never write - because I usually find the answers, but this time READ THE Documentation was the only clue to find. And that doesn't help me!
It is assumed I have some favorite SFL4J binding whatever. No I don't! This single thing breaks everything! The war-demo can be deployed and works, but I can't use that for anything.
The doc says that a binding is mandatory else your app will fail. You say that you don't have one and you compain that it doesn't work? You should stop coding immediately!
Re: [JSP] Error NoClassDefFoundError
Re: [JSP] Error NoClassDefFoundError
Thanks for the answer
Re: [JSP] Error NoClassDefFoundError
I don't understand your answer completely. The slf4j problem is gone and you have now another one?
Re: [JSP] Error NoClassDefFoundError
I've put the fckeditor directory in the root of my project but that's not change anything
Re: [JSP] Error NoClassDefFoundError
edit: When I'm checking the code, I got that for the editor :
<div>
<input id="EditorDefault" name="EditorDefault" value="test" type="hidden" />
<iframe id="EditorDefault___Frame" frameborder="no" height="200" scrolling="no" width="100%" src="/testIframe/fckeditor/editor/fckeditor.html?InstanceName=EditorDefault&Toolbar=Default"> </iframe>
</div>
I've check and my fckeditor is in the path given ... I don't understand the error.
Re: [JSP] Error NoClassDefFoundError
Please provide the full aboslute url where your fckeditor is installed in your webapp.
Re: [JSP] Error NoClassDefFoundError
C:\Documents and Settings\lxsla\My Documents\NetBeansProjects\testIframe\fckeditor
My project is testIframe so it's in the root, I also copied it in web\WEB-INF, but no change it seems that it didn't find the fckeditor.html
Re: [JSP] Error NoClassDefFoundError
Hold on, hold on. You are mixing quite a few things up. The absolute uri is not important when working with webapps. The main issue is the context. I hope you are familiar with contexts and the basis about webapps.
let me do a simple example:
Supposing your webapp has the context /someapp this means that the editor installed will be available at /someapp/fckeditor. The tag will handle almost everything. It seems like you installed to the wrong place or you missed to adapt the fckeditor.properties for your custom changes. Dissect the demo war and see how it is done there.
Mike
Re: [JSP] Error NoClassDefFoundError
http://java.fckeditor.net/installation.htmlhttp://java.fckeditor.net/taglibrary.html
Re: [JSP] Error NoClassDefFoundError
Re: [JSP] Error NoClassDefFoundError
One thing I have learned about Java is, that when they say IMPROVEMENT, it means rocket-science to get shit work!
Java is GREAT - Java programmers are NOT!
People ask a simple question and the repeated, ARROGANT reply is: Read the documentation!
You know what my friend? Your documentation is TOTALLY USELESS! I have used a whole day on it! I run Sun Glassfish Server!
It is assumed I have some favorite SFL4J binding whatever. No I don't! This single thing breaks everything! The war-demo can be deployed and works, but I can't use that for anything.
This is the reason Java is dying! Everyone has to start as experts! No one is allowed to learn in this Java I-KNOW-IT-ALL and READ THE DOCUMENTATION, MORON world.
Well, back to the old version - or running the PHP version inside JSP!
Re: [JSP] Error NoClassDefFoundError
Re: [JSP] Error NoClassDefFoundError
The doc says that a binding is mandatory else your app will fail. You say that you don't have one and you compain that it doesn't work? You should stop coding immediately!