Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » What is proper in Dynamic Web Project?
What is proper in Dynamic Web Project? [message #158213] Fri, 27 January 2006 23:02 Go to next message
David Sanders is currently offline David SandersFriend
Messages: 3
Registered: July 2009
Junior Member
What is the proper way to have applet code in a dynamic web project? Have
WebContent as the source folder?

Thanks,

David
Re: What is proper in Dynamic Web Project? [message #158428 is a reply to message #158213] Mon, 30 January 2006 15:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: caclark.etechsolutions.net

David said the following on 1/27/2006 5:02 PM:
> What is the proper way to have applet code in a dynamic web project?
> Have WebContent as the source folder?
>
> Thanks,
>
> David
>
>
>
>

no, I'd definitely not do that. I'd put it under JavaSource and have
the class file compiled into WEB-INF/classes. If its source is in
another project, use the J2EE Module Dependencies property page of the
Dynamic Web Project to include that other project. It will put a jar in
WEB-INF/lib.
Re: What is proper in Dynamic Web Project? [message #158444 is a reply to message #158428] Mon, 30 January 2006 16:54 Go to previous message
Eclipse UserFriend
Originally posted by: david.psisoft.net

Applet code cannot go under WEB-INF, as this is for server-side only.
Applet code must be visible to the html. Generally, applet .jar files
are put in the same location as the html, but can be in a subdirectory
as long as it is not under WEB-INF.

Cary wrote:
> David said the following on 1/27/2006 5:02 PM:
>> What is the proper way to have applet code in a dynamic web project?
>> Have WebContent as the source folder?
>>
>> Thanks,
>>
>> David
>>
>>
>>
>>
>
> no, I'd definitely not do that. I'd put it under JavaSource and have
> the class file compiled into WEB-INF/classes. If its source is in
> another project, use the J2EE Module Dependencies property page of the
> Dynamic Web Project to include that other project. It will put a jar in
> WEB-INF/lib.
Previous Topic:How to add WebSphere 5.1 runtime
Next Topic:Declaring jsp includes in web.xml
Goto Forum:
  


Current Time: Fri Apr 19 05:08:52 GMT 2024

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

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

Back to the top