Hi,
  I am making a web-based application needed to do the following:
1. I have a set of resources
2. These resources are to be handled internall by a handler which will manage the resources - which may have mata-data tags.
3. The summary of these resource, viz, mata-data and the location on the server will be kept in an "xml" file
4. There is a jsp which shall provide access to these resources.
5. The jsp will first authenticate the user and then provide permission-controlled access

  This is how I proceeded:
1. Created the handler for all the extensions that I need to handle through the jsp (in WEB-INF/web.xml)
2. So, all the resources that are being accessed are first handled by this jsp for authentication
3. Now, there's a problem. Suppose the URL denotes a ".dat" file and I need to stream it through the Windows Media Player, I will give the URL of the file something as
    <embed src="http://localhost:8080/resrouces/datfiles/file.dat"... > ...
4. Isn't that a problem - a recursive, never-ending loop. The ".dat" will again be asked to be handled by the jsp.

   Any way out?


Gaurav Vaish
------------------------------
Senior Undergraduate,
Department of Electrical Engineering,
Indian Institute of Technology,
Kanpur, INDIA - 208016
Home URL:
http://www.iitk.ac.in/ee/btech/gvaish
Calendar: http://calendar.yahoo.com/mastergaurav
Alternate E-Mail: [EMAIL PROTECTED]



Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 a year!
http://personal.mail.yahoo.com/

Reply via email to