aspose file tools*
The moose likes JSP and the fly likes META-INF? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "META-INF?" Watch "META-INF?" New topic
Author

META-INF?

bhuvi mdu
Greenhorn

Joined: May 03, 2005
Posts: 17
Hi,

What information and files does the META-INF hold, can war file created without having the META-INF too? Awaiting for the response.


bhuvi
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

I know Tomcat looks for an optional Contex xml fragment in that directory.
The directory gets created by the jar utility that you use to war up your app.
It's purpose is to hold meta-data about the jar file that contains it.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Senthil B Kumar
Ranch Hand

Joined: Feb 09, 2004
Posts: 140
Usually the Application Server looks for the META-INF folder to contain the deployment descriptor, that is J2EE standads.

the WAR file contains an WEB-INF folder rather than a META-INF folder.

Its the EAR & JAR file that contains META-INF folder. this is FYIP.
[ May 03, 2005: Message edited by: Senthil B Kumar ]

Work like you don't need the money. Love like you've never been hated. Dance like nobody's watching. Sing like nobody's listening. Live like it's Heaven on Earth.
Currently I Reside Here WEBlog
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Usually the Application Server looks for the META-INF folder to contain the deployment descriptor, that is J2EE standads.
App servers look in the WEB-INF directory for the deployment descriptor.

the WAR file contains an WEB-INF folder rather than a META-INF folder.
War files contain a WEB-INF folder as well as a META-INF folder.
META-INF is not required. WEB-INF is.

Its the EAR & JAR file that contains META-INF folder.
Any file created with the jar utility will have a META-INF folder.
Jar puts it there.
[ May 03, 2005: Message edited by: Ben Souther ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: META-INF?