aspose file tools
The moose likes Tomcat and the fly likes Error in running the application Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Error in running the application" Watch "Error in running the application" New topic
Author

Error in running the application

Padma priya Gururajan
Ranch Hand

Joined: Oct 05, 2006
Posts: 411
Hi,
I am able to start the Apache server. I placed a folder called "test" under "webapps" and placed a html file "test1.html" under it.

Now, when i gave http://localhost:8080/test/test1.html, i get
/test is not available.


Padma priya N.G.
Be the change you want to be - Mahatma Gandhi
Padma priya Gururajan
Ranch Hand

Joined: Oct 05, 2006
Posts: 411
Hi,
Can you tell me as to why i get this kind of error.
With regards,
Padma priya N.G.
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1493
Hi priya!
I believe your localhost:8080 is mapped to webapps
now localhost:8080/test would search for webapps/test folder
and localhost:8080/test/test1.html would search for webapps/test/tes1.html

Do you have folder by name "test" in webapps? or did you try running localhost:8080/test1.html? (removing "/test")


Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
Padma priya Gururajan
Ranch Hand

Joined: Oct 05, 2006
Posts: 411
Hi,
I did not create WEB_INF folder and did not place web.xml within it. Thats why, it did not recognize it. Now, after the addition, it is working fine.
With regards,
Padma priya N.G.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Originally posted by padmapriyagururajan priya:
Hi,
I am able to start the Apache server. I placed a folder called "test" under "webapps" and placed a html file "test1.html" under it.


The Apache Web Server or Apache Tomcat?
They're two different products and the first can not host Java applications.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Error in running the application
 
Similar Threads
server side include
Context paths always coming up as "The requested resource is not available"
Acccess denied
Can't inlculde files from a parent directory in new tomcat
Problem with Tomcat 5