Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Usage of WebApp and WebArtifactEdit
Usage of WebApp and WebArtifactEdit [message #155253] Sat, 07 January 2006 10:00
Eclipse UserFriend
Originally posted by: daniel.rohe.stud.tu-ilmenau.de

Hello,

I've a problem understanding the usage of WebApp and WebArtifactEdit. Is
it allowed to use the WebApp model after the WebArtifactEdit with which
the WebApp is retrieved is disposed?

example code:

WebArtifactEdit artifactEdit = null;
WebApp webApp = null;
try {
artifactEdit = WebArtifactEdit.getWebArtifactEditForRead(project);
webApp = artifactEdit.getWebApp();
} finally {
if (artifactEdit != null) {
artifactEdit.dispose();
}
}

// is this allowed?
List servlets = webApp.getServlets();

Kind regards,
Daniel
Previous Topic:vector returns Null when invoked remotely
Next Topic:find pubish bug
Goto Forum:
  


Current Time: Fri Apr 19 07:35:42 GMT 2024

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

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

Back to the top