| 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
|
 |
 |
|
|
subject: Error in running the application
|
|
|