The directory structure in your development environment should look like this:
UNIX:
../temp/sso.jsp ../temp/authorized_error.jsp ../temp/WEB-INF/web.xml ../temp/WEB-INF/lib/<JAR files your Web application might use>
Windows:
c:\temp\sso.jsp c:\temp\authorized_error.jsp c:\temp\WEB-INF\web.xml c:\temp\WEB-INF\lib\<JAR files your Web application might use>
Create the deployable Web application archive (WAR) file using the jar command from the location of your Java JDK:
cd <temp>
jar -cf /tmp/ssoapp.war *
cd <temp>
jar -cf \temp\ssoapp.war *
This creates the ssoapp.war deployment file in /tmp on UNIX and in \temp on Windows.