Top "War" questions

Web Application Archive - Is Jar file used to distribute JavaServer Pages, Java Servlets, Java classes, XML files, tag libraries and static Web pages (HTML and related files) that together constitute a Web application.

<security-constraint> <url-pattern> and the * character within web.xml

Useing Spring for Security, I can get the program running using the following code. <intercept-url pattern="/web/admin**/**" access="…

war web.xml jboss6.x url-pattern security-constraint
Tomcat 7.0.35 set HTTP response header Content-Type charset for static HTML files

I am serving some static HTML files and a servlet all in a single war file from a standalone Tomcat 7.0.35 …

tomcat war content-type servlet-filters static-html
How can I specify "Context path" on Tomcat 8 inside META-INF/context.xml in java war file?

How can I deploy mywebapp-1.0.0.war to $TOMCAT_HOME/webapps directory with context path /mywebapp using context.xml inside the …

java tomcat war tomcat8
Can I list the resources in a given package?

Lets assume my classes are loaded from a compressed .war file or loaded elsewhere, how can I discover all the …

java list resources war
favicon.ico in Java WAR file

Can anybody provide some instruction on how to setup a war file to show a favicon.ico in the browser …

java jakarta-ee war favicon
Does Tomcat require Apache httpd?

If I am given a war file that contains a Java web application, and I want to run that war …

java tomcat webserver war apache
Compare files .class Beyond Compare 4

I'm using Beyond Compare 4 (4.1.9) in order to compare war files. I need to compare the files .class that I find …

java war .class-file beyondcompare4
EJB explanation regarding EAR vs WAR

I have just begun reading up on EJBs. Even as I venture into it I have a few questions based …

java eclipse ejb war ear
Define contextroot inside WAR file

I have an automated deployment script to deploy multiple WAR files in WAS 7. So, I would like to define contextroot …

deployment command-line websphere war contextroot
Tomcat is not adding trailing slash to web app's context

I'd like to have Tomcat automatically add a trailing slash to my app's context if the url is entered without …

java spring tomcat war