Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 22042 invoked from network); 14 Feb 2010 17:54:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Feb 2010 17:54:50 -0000 Received: (qmail 96823 invoked by uid 500); 14 Feb 2010 17:54:46 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 96747 invoked by uid 500); 14 Feb 2010 17:54:45 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 96729 invoked by uid 99); 14 Feb 2010 17:54:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Feb 2010 17:54:45 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [69.147.102.67] (HELO smtp104.plus.mail.re1.yahoo.com) (69.147.102.67) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 14 Feb 2010 17:54:36 +0000 Received: (qmail 77808 invoked from network); 14 Feb 2010 17:54:14 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=tD4FtPGaRYW9jcKNNXMkta6QaZJtsh/c+bnoslgcfLlsEqEC6soR+ttSjg9dKhpIRlsCP5kRCznHon7yPmOeiPzDWCVw6RyasAi4o5DP+G3wW+W28nZF5KK8IWDuaqPDiJjyYJbeMOLf+PuhdyMOJfLWYsXJgu0Tq89Jdafw1Qc= ; Received: from ip70-179-97-220.dc.dc.cox.net (w1smc@70.179.97.220 with plain) by smtp104.plus.mail.re1.yahoo.com with SMTP; 14 Feb 2010 09:54:13 -0800 PST X-Yahoo-SMTP: pihcC4mswBD9GbZkamYHPNG1 X-YMail-OSG: Yp4IBiYVM1kSQzgVKA2zioC53z1n8U2VAh0yi5x5k4YGuWlQrO_l1xh2hP5QQTD3HmWUVSdHrzhi_VF93k1CBl1Cb2tEhHeAuSYx1RA13KWOej1xObSQ.HiOzFQygvDxfA.BxWhQ4daN6C3klsicxDFC8hXR91yrEViZEA8tN1h7Agnr_DHJ0xh0LN2.CGp15i_CK..4NFi2g_PZNOh2c_uE3BKg95Rt1sn3YOGZ628hufO9IFBctOtzc_N2yjtf0ABCTxyd.trWM_Y1t_dbax5SGMuXI88fy6jrwMSvjyJXmfz3TfFs.eYL1Vr0cV3M7XF3ov144UVvY6YdEHYyaT0S8sxaBoTXK7Qe9iS1QXHF6dmoth7Q9dgzBK.WWvNrcarh6Vo1XKrLFwTKBRa2qh4y0daE_SS7luGyL2l4LzO1rKYAM.Hetg6b X-Yahoo-Newman-Property: ymail-3 Message-ID: <4B7838C6.6070100@yahoo.com> Date: Sun, 14 Feb 2010 12:54:14 -0500 From: Steve Campisano User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: File does not exist error - public_html/addArticle.do References: <4B77E565.9000608@yahoo.com> <4B780EF3.9050105@pidster.com> <4B7814EA.7040009@yahoo.com> <53C3A8FC-84EB-4A19-8E81-C86065A7B437@als.com> In-Reply-To: <53C3A8FC-84EB-4A19-8E81-C86065A7B437@als.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Yes, you are correct that the .do is part of struts. However, this appears to be a setup issue with my site. Again, I have this working in my testing environment. It is only an issue after deployment to my web site. Also note that is will work if I access the application in the following manner: http://mysite.com:8080/TestStruts1/ TestStrust1 is the folder I copied all of components to. The above method will render the initial JSP and after entering the data on the form and hitting submit the success page returns completed with the input data provided on the form. So this does work .... It will not work however when I attempt to run it with http://www.mysite.com/TestStruts1/newArticle.jsp. After I press the submit button I continue to get the following: /TestStruts1/addArticle.do On 2/14/2010 10:50 AM, Ken Bowen wrote: > I believe addArticle.do is part of what is provided or generated by > the Struts framework. You're much more likely to find someone who can > help you with this on the struts mailing list. > --Ken > > On Feb 14, 2010, at 10:21 AM, Steve Campisano wrote: > >> Thanks for replying ..... >> >> Yes, it is ugly I agree with that ..... but I'm just starting out >> ... small steps >> >> Anyway, I figured I'd start off with something small and easy. >> >> I did pass a few emails back and forth with the support staff but >> they pushed it back on me ... >> >> They told me to talk with the developer ...... I laughed as I am the >> developer (Been writing code for 30+ years professionally ... >> mainframes). >> >> It was kind of sad and funny in a way ..... these guys were in India >> somewhere and the broken English was a hilarious. But they didn't >> help at all. >> >> So I just figured it was very a simple thing ... I create a WEB-INF, >> populate it with all of the components that were in the directory on >> my home testing machine, and I'd be off and running. >> >> But I can't get past the submit button .... It thinks for some reason >> it needs addArticle.do. This leads me to think the WEB-INF needs to >> be not only under the public_html directory but down further in >> another directory named for the app. So then if I execute >> www.?.com\myApp\newArticle.jsp (where myApp is the name of the >> directory where the WEB-INF and all my other components are ..... >> that would work? >> >> I'm just trying to trudge through this ..... but I wish those Rat >> B@stards in the support staff were more help ...... but what can you do >> >> I do appreciate the help though .... any ideas and suggestions at >> this point woud be great .... >> >> Thanks, >> >> Steve >> >> >> >> On 2/14/2010 9:55 AM, Pid wrote: >>> On 14/02/2010 11:58, Steve Campisano wrote: >>>> I have a new website that I'm using to bring my skills up to date and >>>> I'm running into a file does not exist issue. >>>> >>>> This is a very simple JSP/STRUTS application that I have working on my >>>> home system using NetBeans 6.8 and TomCat 5.5.28. It is made up of a >>>> couple of JSP pages and a STRUTS actionform and action. Very simple. A >>>> form is displayed for the user to enter data into, a submit button is >>>> pressed, and a new page is then rendered that displays the input >>>> entered >>>> on the form. >>> >>> Tomcat != TomCat. (Why does anyone think it's called TomCat?) >>> >>>> My execution starts via a JSP named, newArticle.jsp. >>>> >>>> This renders a form (without issue) which has a few text fields >>>> that the >>>> user enters data into and hits the submit button which calls >>>> >>> action="/addArticle">. >>>> >>>> I am now expecting a success JSP to be rendered that displays the >>>> information that was entered on the form. >>>> >>>> What I'm getting is the following: >>>> >>>> [Sat Feb 13 08:19:10 2010] [error] [client xxx.xxx.xx.xxx] File >>>> does not >>>> exist: /home/w1smchdj/public_html/addArticle.do >>>> >>>> The site I'm deploying to uses TomCat 5.5.25 and when I deploy to my >>>> site I use CPANEL File Manager to copy the files individually rather >>>> than dropping a WAR file in as they do not recommend dropping in a WAR >>>> file. >>> >>> Sounds ugly. >>> >>>> I have copied the *.JSP files directly under the public_html folder of >>>> the site and the remainder of the components are in the WEB-INF folder >>>> directly under the public_html folder. >>>> >>>> Again, this all works fine in my NetBeans / TomCat test at home. >>>> >>>> I must not be deploying my components to the correct directory >>>> structure? Or maybe I need to change my WEB.XML (which does not seem >>>> right as this is testing fine in NetBean / TomCat at home). >>>> >>>> Any and all help would be greatly appreciated. >>> >>> Without seeing the server.xml, any application context.xml or >>> additional config, we're going to struggle to help you. >>> >>> You may well be better off asking the site's admins for support, if >>> you can't provide the above. >>> >>> >>> p >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >>> For additional commands, e-mail: users-help@tomcat.apache.org >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: users-help@tomcat.apache.org >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org