-
1. Re: how to use jbossIDE to compile jsp
millenium Oct 28, 2004 6:22 AM (in response to jocular)You have to enable JSP-Compilation in the Preferences for your Project. Be sure to set the root-directory correctly (e.g. DocRoot).
Mark -
2. Re: how to use jbossIDE to compile jsp
davidakoontz Oct 28, 2004 4:50 PM (in response to jocular)And what does this preference do?
JSP's are compiled by the App Server dynamicly at load time.
Is this a "test" compile of some nature? -
3. Re: how to use jbossIDE to compile jsp
mculpepper Oct 28, 2004 5:49 PM (in response to jocular)It allows you to pre-compile the JSPs so the container doesn't have to, thus saving you testing time :).
-
4. Re: how to use jbossIDE to compile jsp
dwatling Oct 29, 2004 1:04 PM (in response to jocular)This is in response to millenium's posting.
Currently, I am using JBoss 3.2.2. How would I determine the 'DocRoot' for my application? I've got an ear file (containing a war file) that deploys to "/jboss/server//tmp/deploy/tmpXXXX". I would assume the 'DocRoot' would be the directory under that directory. Is this correct? If yes, how would I be able to set this up inside Eclipse? The tmpXXXX directory pretty much changes its name every time I redeploy.
Thanks for any help.
-Dan Watling -
5. Re: how to use jbossIDE to compile jsp
jocular Oct 29, 2004 3:22 PM (in response to jocular)Thanks,millenium
But I still can't pre-compile the jsp. I newed a J2EE 1.3 project. set the source folder as /src and set /bin for output folder. selected 'Check to enable the jsp complication' and set the Root folder bin. Then I put the jsp pages in the /src folder and complie the jsp. Nothing happens. -
6. Re: how to use jbossIDE to compile jsp
millenium Oct 31, 2004 11:19 AM (in response to jocular)The root folder is the folder that contains your jsp-files. It is not Tomcat dependent or your bin directory (which should contain your class-files).
In my project I have a directory called docroot, this contains my jsp-Files.
Hopefully I could help...
Mark -
7. Re: how to use jbossIDE to compile jsp
rjurkiewicz Nov 1, 2004 1:03 PM (in response to jocular)Hi Mark,
I can compile JSPs without included beans or application defined tags.
For some reason JSP compiler does not recognize files from build/classes foler.
sample error:
The value for the useBean class attribute com.XXX.SampleForm is invalid. error_login_XXX.jsp
QUESTION: How to add my classes to the JSP compiler path?
I tried to add jar file to the org.jboss.ide.eclipse.jdt.j2ee.jsp.core_1.4.0 plugin.xml - in the same way as it is added servlet-api.jar ().
Unfortunately it did not work.
Can you help me?
Thanks,
Robert -
8. Re: how to use jbossIDE to compile jsp
millenium Nov 2, 2004 12:09 PM (in response to jocular)Well I dont use beans so at this point I can not help any more...sorry.
Mark -
9. Re: how to use jbossIDE to compile jsp
letiemble Nov 3, 2004 4:52 AM (in response to jocular)Hi,
I think that there is a bug in the JSP compiler. Compiled classes from the project are not properly included in the compilation classpath. Further investigation is in progress.
Laurent. -
10. Re: how to use jbossIDE to compile jsp
cdhough Nov 5, 2004 4:32 PM (in response to jocular)I can't get the compiler to work either. My JSP compile root folder is pointing to a directory that contains my JSPs. This folder is not a subdirectory of JBoss or Eclipse. Where are the resulting java files and classes supposed to get created?
Because of the inability to compile JSPs, I cannot get the JSP debugging working. Is JBoss 3.2.3 acceptable to compile? I believe that you need to have JBoss 3.2.4 (Tomcat 5) to do the debugging.
Thanks for any help.
- Charley -
11. Re: how to use jbossIDE to compile jsp
cdhough Nov 8, 2004 12:34 PM (in response to jocular)I was able to get the JSP compiler to work. Originally my source was in a linked folder outside of the eclipse workspace. To get the JSP compile to work, I created a new directory called "docroot" under my project folder (C:\eclipse\workspace\MyProj\docroot) and put a jsp there. Now the jsp gets compilation warnings. Maybe you cannot have your JSPs in a linked folder for this feature to work.
- Charley -
12. Re: how to use jbossIDE to compile jsp
p_saville1 Nov 18, 2004 12:35 PM (in response to jocular)Any news on this bug being fixed?
-
13. Re: how to use jbossIDE to compile jsp
letiemble Nov 19, 2004 3:29 AM (in response to jocular)Hi,
File a bug on SourceForge (see the JBoss-IDE project page to see where), with all the stuff needed to reproduced and correct the bug.
Laurent. -