OK, cool. Watch for a notice in the BA forum. I just need to find some time to finish the documentation and it'll be ready for testing.
John Schretz
Ranch Hand
Joined: Sep 10, 2008
Posts: 151
posted
0
I have another question about the descriptor with fromtman
for the welcome-file-list in the passed i have entered my mapped servlet name so it goes to that servlet when you got to
www.mysite.com
this still works fine <welcome-file>jsp/index.jsp</welcome-file>
but if i were to do <welcome-file>dispVendors</welcome-file> it doesnt work.
what would be the correct format using frontman?
below is the current web.xml i am using
thanks
john
Bear Bibeault
Author and opinionated walrus
Marshal
Page-relative references are death in web applications. Use server-relative references that begin with the context path.
Think about it for a minute: the browser is trying to find the image file in the file system relative to the current URL. That's fine in a static site where the URLs represent folders. But in a web app, the URLs are mapped and have nothing whatsoever to do with the file system.
By removing the .. you got it to accidentally work. Don't depend upon that. Use server-relative addresses as outlined in this JSP FAQ.
This message was edited 1 time. Last update was at by Bear Bibeault
John Schretz
Ranch Hand
Joined: Sep 10, 2008
Posts: 151
posted
0
thanks worked like a charm. also answered alot of questions i never took the time to learn.
Bear Bibeault
Author and opinionated walrus
Marshal