Bugs item #1219463, was opened at 2005-06-13 04:18
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1219463&group_id=119783

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Gili Tzabari (cowwoc)
Assigned to: Nobody/Anonymous (nobody)
Summary: Inconsistent Application current directory 

Initial Comment:
My application URL is:

http://localhost:8084/netbeans4/Main/

but it can also be accessed using:

http://localhost:8084/netbeans4/Main

and in fact, all remaining Wicket pages (such as
bookmarkable pages) end up with URLs such as:

http://localhost:8084/netbeans4/Main?bookmarkablePage=foo

The problem is that the current directory varies
between the two cases and it becomes impossible to
refer to resources in a relative manner. I propose
making http://localhost:8084/netbeans4/Main/ illegal
(i.e. automatically redirect it to
http://localhost:8084/netbeans4/Main) such that the
path is consistent across all application pages.

This is likely a simple matter of proper web.xml
configuration but we need to explicitly discuss this in
Wiki and our wicket-examples. Correctly they seem to
map /WebApp/* to the Wicket application whereas the
proposed behavior is to map /WebApp to the app and
/WebApp/* to a redirection servlet.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1219463&group_id=119783


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to