Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have written one web page in html.But if was trying to run it is saying as
--------------------------------------------------------------------------------

TYPE:type Status report

message: /Vinod/

description: The requested resource is not available.
Posted
Comments
Richard MacCutchan 28-Jan-13 6:20am    
You need to provide a lot more information if you want some help. Show your code, especially the line where the error occurs.

You can let your program throw the HTML-Page against the OS - the OS then will decide how to deal with the HTML:

Java
String strPath = "/html/test.html";
Program p = Program.findProgram("html");
p.execute(strPath);


works with any file extension - the OS will report back when it's not able to use the file.
 
Share this answer
 
Comments
vinod.sambangi 28-Jan-13 7:19am    
Thank you for providing some solution but as i am new to JAVA ,could you please explain me where to place the code..i would be thankfull to you.
TorstenH. 28-Jan-13 7:39am    
That depends on how and where the HTML page should be presented.
Is it a button that you press ("Help")?
Or is there some action happening, which should present the HTML page as a result?
vinod.sambangi 28-Jan-13 8:04am    
it is just simple html page .And i am using tomcat server 6. I am trying running on localhost but it's saying nothing
Holly!
You created a HTML-Page and want to check it out on a server?
You do NOT need Eclipse to create that and NOT a Tomcat to run that one.

You need a simple Apache. Check out XAMPP[^]. That is a free web server ruznning on your Windows machine. great for development. You can even use CMS Systems on there, cause a mySQL is inculded.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900