Need help! [message #158963] |
Fri, 03 February 2006 18:07  |
Eclipse User |
|
|
|
Originally posted by: david.psisoft.net
Dynamic web projects do not seem to support any form of Java applet
deploy. You can't put the source in the project, because it will get
put under WEB-INF when deployed. (The way security works is that
anything under WEB-INF is server-side only. The html will not see it.)
I put the java Applet code in a different project and try to have it
included as a .jar file in the .war, but it wants to put all jar files
under WEB-INF/lib. The .jar file needs to be in the same location as
the .jsp files and .html.
I added a request for enhancement, but no one has answered my questions.
The only thing I can think of is to have an ant file do the packaging,
but that kinda defeats the purpose.
Thanks in advance,
David
|
|
|
Re: Need help! [message #159011 is a reply to message #158963] |
Sat, 04 February 2006 05:26  |
Eclipse User |
|
|
|
Originally posted by: daniel.rohe.stud.tu-ilmenau.de
David schrieb:
> Dynamic web projects do not seem to support any form of Java applet
> deploy. You can't put the source in the project, because it will get
> put under WEB-INF when deployed. (The way security works is that
> anything under WEB-INF is server-side only. The html will not see it.)
>
> I put the java Applet code in a different project and try to have it
> included as a .jar file in the .war, but it wants to put all jar files
> under WEB-INF/lib. The .jar file needs to be in the same location as
> the .jsp files and .html.
>
> I added a request for enhancement, but no one has answered my questions.
>
> The only thing I can think of is to have an ant file do the packaging,
> but that kinda defeats the purpose.
>
> Thanks in advance,
>
> David
>
Of course you can create a new Source folder in the Dynamic Web Project
and specify a separate Output folder for it.
1. Right click on the project and select "Properties" in the popup menu.
2. Select the "Java Build Path" page in the properties dialog.
3. Open the "Source" tab.
4. Click on "Add Folder..." to create a new source folder.
5. Enable "Allow output folders for source folders".
6. Expand your new created source folder.
7. Select "Output folder" and click on "Edit...".
8. Specify the output folder.
9. Click on "OK" in the properties dialog.
Kind regards,
Daniel
|
|
|
Powered by
FUDForum. Page generated in 0.04451 seconds