Webapp module magic

Hi,

I would like to map some files from one webapp into another webapp. For instance .tld files.

Let's say we have webapp2 that is meant to run within a certain servlet container. This servlet container makes some resources (such as some .tld files) implictly available to the webapp.

Is there any good way of mapping such files into a web module from another module in IDEA?

Any good ideas or recommendations appreciated.

-dennis

3 comments

Hi,

Copy .tld files to WEB-INF (given that its content is marked as web
resource directory) does not work?

Denis Thrys wrote:

Hi,

I would like to map some files from one webapp into another webapp. For instance .tld files.

Let's say we have webapp2 that is meant to run within a certain servlet container. This servlet container makes some resources (such as some .tld files) implictly available to the webapp.

Is there any good way of mapping such files into a web module from another module in IDEA?

Any good ideas or recommendations appreciated.

-dennis



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

You could try the remote synchronizer plugin.
Maxim Mossienko wrote:

Hi,

Copy .tld files to WEB-INF (given that its content is marked as web
resource directory) does not work?

Denis Thrys wrote:

>> Hi,
>>
>> I would like to map some files from one webapp into another webapp.
>> For instance .tld files.
>>
>> Let's say we have webapp2 that is meant to run within a certain
>> servlet container. This servlet container makes some resources (such
>> as some .tld files) implictly available to the webapp.
>> Is there any good way of mapping such files into a web module from
>> another module in IDEA?
>>
>> Any good ideas or recommendations appreciated.
>>
>> -dennis


0

Or could he pull these files into a separate module and mark both of the
modules as dependent?

Norris Shelton
Sun Certified Java Programmer




Maxim Mossienko wrote:

Hi,

>

Copy .tld files to WEB-INF (given that its content is marked as web
resource directory) does not work?

>

Denis Thrys wrote:

>
>> Hi,
>>
>> I would like to map some files from one webapp into another webapp.
>> For instance .tld files.
>>
>> Let's say we have webapp2 that is meant to run within a certain
>> servlet container. This servlet container makes some resources (such
>> as some .tld files) implictly available to the webapp.
>> Is there any good way of mapping such files into a web module from
>> another module in IDEA?
>>
>> Any good ideas or recommendations appreciated.
>>
>> -dennis
>
>
>

0

Please sign in to leave a comment.