Originally posted by Sean Mohseni:
Hi,
I have developed a struts based application, using JDeveloper.
I have made the war file and deplyed it to my tomcat (4.1.31) and it is working just fine. But when I deploy it to another tomcat (4.1.x), I can not access my welcome file which is pages/frame.jsp.
Thanks for any comment
A good workman is known by his tools.
A good workman is known by his tools.
Originally posted by Sean Mohseni:
Yes, my welcome file is not in root, but first of all this program working on one tomcat and it does not work on the other.
Also in web.xml and struts-config.xml, I have defined the path for my welcome page as well.
A good workman is known by his tools.
Originally posted by Ken Loh:
Have you tried putting the file directly in WEB-INF instead of the subfolder page ?
Originally posted by Marc Peabody:
I was always under the impression that a welcome page could not be placed in the WEB-INF folder because it is a page that the user has to access directly. I could be wrong, but try taking it out of your WEB-INF folder anyway and see what happens.
Thanks, Ganesh Gowtham
http://ganesh.gowtham.googlepages.com
Originally posted by Ken Loh:
Oops, what was I thinking. Marc is right. I should have said "root" rather than "WEB-INF".
As the user needs to access the page, it must be at the root folder as far as I can understand as I've never place files like it elsewhere before.
Thanks, Ganesh Gowtham
http://ganesh.gowtham.googlepages.com
Originally posted by Gowtham Ganamukala:
as u said if u places all the files in ur root directory if ur prjts extends in some 900 pages or more u will be in CHAOS
so its really good convention to use the dif folder and be aware of giving links ....
Coz it may give u trouble some times
Who among you feels worthy enough to be my best friend? Test 1 is to read this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|