Forums Register Login

how to get rid of /faces/

+Pie Number of slices to send: Send
Hello

http://localhost:8181/baran/faces/default.jsp



my default page address is above , but i dont want to use the /faces/.
Can i get rid of it ,so url will show as below?


http://localhost:8181/baran/default.jsp

 
+Pie Number of slices to send: Send
i think you should check URL MAPPINGS in web.xml of your project.....
+Pie Number of slices to send: Send
if you define your Faces servlet as

<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>

then you can access your pages like : http://localhost:8181/baran/default.jsf
+Pie Number of slices to send: Send
thanks a lot
pie. tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 995 times.
Similar Threads
American idol results: sad and suprised
Error while running the Controller Servlet
Problem accessing Oracle database through JDBC using JSP
default.jsp
problem with using URIs as parameters
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 18, 2024 20:33:43.