Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Need help!
Need help! [message #158963] Fri, 03 February 2006 23:07 Go to next message
Eclipse UserFriend
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 10:26 Go to previous message
Eclipse UserFriend
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
Previous Topic:Web Service gen problems...
Next Topic:xml.build question
Goto Forum:
  


Current Time: Thu Apr 25 17:28:12 GMT 2024

Powered by FUDForum. Page generated in 0.03529 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top