Brett and Pat,
1. Pat - Even with directory browsing off, if the file has a .jsp
extension, can't you still call that file directly? i.e. if the file is
known to be "somefile.jsp"? If I am right about this, then wouldn't you
need to rename the file with a different extension, and then include it in a
..jsp page, paying proper attention to flushing.
2. Brett - I am currently working with a development team on a website that
contains several sub applications and a high degree of complexity. We use
several standards from the Fusedoc technology, and a set of code conventions
developed by the team leader called CCV. I've got a call in to the PM to
find out if I can release some of this documentation to you, as it appears
that you will find it very useful.
Jason D. Wolfe
Interactive Developer
iVolution Interactive
[EMAIL PROTECTED]
http://www.ivolutionmedia.com
970.980.9619
-----Original Message-----
From: Pat Quinn [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 11, 2001 10:42 AM
To: JRun-Talk
Subject: RE: the name of the file that is always included is ...?
Hey Brett. One way to pull this off is to go to that same section of the JMC
that I mentioned, set Directory Browsing Allowed equal to false, and then
default document equal to index.jsp. That should get you what you want. Keep
in mind that there are different ways to set this up, both programatically
and via the Web server. This method makes JRun enforce these rules for a
given Web app.
HTH,
Patrick Quinn
Macromedia Consulting
[EMAIL PROTECTED]
-----Original Message-----
From: Bert Dawson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 11, 2001 4:50 AM
To: JRun-Talk
Subject: RE: the name of the file that is always included is ...?
What i want is to ensure that the _only_ file that can be browsed is the
index.jsp.
My background is as a CF developer using fusebox methodology
(www.fusebox.org), where, in a nutshell, all requests are to the index.cfm,
which handles the request.
simplified:
switch
case fuseaction is "home"
include home.xxx
case fuseaction is "dosomething"
include another.xxx
case fuseaction is "dosomethingelse"
include yetanother.xxx
defaultcase
include whatdoyouwant.xxx
Is anyone else trying to do this with JSP?
Are there any reasons why this methodology is not suitable for using with
JSP?
Bert
> -----Original Message-----
> From: Matthew L. Wright [mailto:[EMAIL PROTECTED]]
.......
> Can you give more details on what you have mind and why?
>
> -----Original Message-----
> From: Pat Quinn [mailto:[EMAIL PROTECTED]]
> Sent: 10 April 2001 18:48
> To: JRun-Talk
> Subject: RE: the name of the file that is always included is ...?
>
>
> Do you mean setting a default document? One way is to do this
> in the JMC
> <YourServerName>(left pane)-->Web
> Applications-->WebAppName-->File Settings.
>
> Let me know if that's what you're looking for, or not.
>
> Best,
> Patrick
>
> -----Original Message-----
> From: Bert Dawson [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 10, 2001 1:36 PM
> To: JRun-Talk
> Subject: RE: the name of the file that is always included is ...?
>
>
> yep, thats the one, thanks, though looking at it i don't
> think it'll do what
> i want:
> I was looking for a way to ensure that only the index.jsp
> page was called
> directly from a browser.
> Any hints?
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists