at moment netbean project running in glassfish server showing http://localhost:8080/projectname/index.html
i need changed http://localhost:8080/homepage
how change url in title bar.
or way make .htaccess file needs encrypted placing .htpasswd in web-inf etc. or maybe there plugin.
let me know, in advance
dave
ive solved problem using in html5 history.pushstate(null, "title", new url")
renamed index.html index-1 etc. in netbeans if right click on project --> go properties --> , go run... can change context path , delete project folder http://localhost:8080/homepage
not http://localhost:8080/project/homepage.
to follow need further advice google not providing. want redirect anchor tag in page such href=" /index6.html#content"
. using history.pushstate() means anchor tag ignored , direct page pushstate values. anyway around this?
best regards
david
Comments
Post a Comment