Bugs item #562964, was opened at 2002-05-31 12:02
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104754&aid=562964&group_id=4754

Category: Tapestry
Group: suggestion
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Howard Lewis Ship (hship)
>Summary: Non-unique app name problems

Initial Comment:
If you deploy a war with two applications that have 
the same name, tapestry silently allows this. 
Requests made to either application will be routed 
to the first application loaded.

Tapestry should detect this condition and throw an 
exception/display an error page when it occurs.

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

>Comment By: Howard Lewis Ship (hship)
Date: 2002-07-03 10:19

Message:
Logged In: YES 
user_id=26816

The first pass at this problem was to validate that each 
application name was unique.

However, a much better solution is to build the HttpSession 
keys using the servlet name, not the application name.  This 
is guaranteed to be unique and (in testing) works like a charm.

The application name is once more relegated to being a bit of 
documentation, not used in the actual operation of 
Tapestry ... an improvement.


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

Comment By: Howard Lewis Ship (hship)
Date: 2002-06-03 11:01

Message:
Logged In: YES 
user_id=26816

I suppose this is doable.  Each servlet could, on startup, 
find/create a Map stored in the servlet context that would be 
used to ensure that the app name is unique.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=104754&aid=562964&group_id=4754


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Oh, it's good to be a geek.
http://thinkgeek.com/sf
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to