This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HTML QUERY  RSS feed

 
pavithra murthy
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ranchers
i wanted one information .

i have created a simple html Page(html name is feb6.html ) for login in a local folder (d:\javaexamples) in my PC. now i want to execute that html .
what path do i need to specify in the address bar
do i need to start tomcat server or not ?
is it
http://localhost:8080/javaexamples/feb6.html (TRIED WITH THIS BUT NOT HAPPENING)

OR IS IT ANY DIFFERENT ADDRESS PLease TELL ME
 
Balagopal Kannampallil
Ranch Hand
Posts: 136
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

For accessing an html page like this
http://localhost:8080/javaexamples/feb6.html
The feb6.html should be present inside a web application named javaexamples deployed inside your web server.

You can take two approaches to see how your HTML gets rendered in a browser.
Easy way.
* Smple Way You can right click you feb6.html and open it in IE/Firefox or anybrowser in your PC.

The other way
* You can create a web application named javaexamples.
* Make a webpage named feb6.html inside you web application.
* Deploy your web application in your web server.
* Call the webpage like the way your are calling.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!