jsf 2 - URL is changed to http://localhost:8080/WEB-INF after importing project from Eclipse to NetBeans -
my jsf2.0 web designed on eclipse indigo. after point of time realised netbeans more powerful web dev highlighting xhtml page along xhtml validation @ once. imported project netbeans 7.3. goes when run here, noticed url changed http://localhost:8080/web-inf
.
where need mention url? running web in glassfish v3.1.2
you might have adjust context root.
check netbeans kb article here project-setup-existing-sources
10.(optional) adjust context path. default, context path based on project name.
also check glassfish-web.xml
for example, glassfish-web.xml file hello1 application specifies following context root:
<context-root>/hello1</context-root>
see also:
Comments
Post a Comment