tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: war file question
Date Mon, 06 Dec 2010 19:51:51 GMT
On 12/6/10 6:30 PM, Lava Saleem wrote:
> Hi
> Thanks for the replies
> Pid thanks for the link but I have looked into before sending the email and
> it is very general and not very useful, as I'm a beginner user for tomcat.
> Check I was deploying the  file with jsp extension  and I got this
> message on the top of the tomcat webpage. Now I have my html file in the
> WEB-INF  I changed the extension to war but that didn't work as it didn't
> work if I left it as html extension. it is very simple file with few lines
> of java script.
> Thanks

There are a few misunderstandings here.  A .war file is a type of zip
archive, which contains a web application.

Putting a file in a WEB-INF directory somewhere doesn't automatically
produce a web application.

I sent you the link, because it contains a series of references which
explain what a web application is: it also clearly defines the structure
of an application and how to assemble one.

It is precisely because you are a beginner that it's useful, because it
introduces concepts and gives you an example application to work with.

Maybe you could re-read that section of the site?


p


> On Mon, Dec 6, 2010 at 12:45 PM, Caldarale, Charles R <
> Chuck.Caldarale@unisys.com> wrote:
> 
>>> From: Lava Saleem [mailto:lnsaleem@ualr.edu]
>>> Subject: Re: war file question
>>
>>> Hi Martin,
>>> Thanks for the reply
>>
>> Which, unfortunately, was largely irrelevant, and contained a serious flaw.
>>
>>> I did what you told me I moved the html file into
>>> $TOMCAT_HOME/webapps/filename and changed to *.jsp
>>
>> Moving the file is correct, but don't change the extension - leave it as
>> .html; it's not a JSP.
>>
>>> FAIL - File uploaded "handshake_testing.jsp" must be a .war
>>
>> The above is not a Tomcat message, although it may come from some auxiliary
>> app deployed under Tomcat.  Exactly what were you doing when you got the
>> message?
>>
>>  - Chuck
>>
>>
>> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
>> MATERIAL and is thus for use only by the intended recipient. If you received
>> this in error, please contact the sender and delete the e-mail and its
>> attachments from all computers.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
> 
> 


Mime
View raw message