Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

JSP Default Document

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  Strange MIME Problem  
Author Message
kramerof89

External


Since: Apr 27, 2004
Posts: 1



(Msg. 1) Posted: Tue Apr 27, 2004 2:04 pm
Post subject: JSP Default Document
Archived from groups: microsoft>public>inetserver>iis (more info?)

I have an IIS 5.0 Webserver and I'd like to have it serve a .jsp as
the default page. If I post the link as
http://server/directory/index.jsp it works fine. However, if I set
the default document to be either directory/index.jsp OR index.jsp it
won't correctly run the jrun middleware.

I have a temporary solution of making the default page a .ASP that
does a response.redirect to the full path, but I'd like to not have to
do that. I've seen other issues like this out there, but the only
work around I see is what I've already come up with.

Thanks in advance

 >> Stay informed about: JSP Default Document 
Back to top
Login to vote
anonymous131

External


Since: Oct 17, 2003
Posts: 720



(Msg. 2) Posted: Tue Apr 27, 2004 2:15 pm
Post subject: JSP Default Document [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You cannot specify a default document as
directory/index.jsp

You specify the default document as index.jsp in the
virtual directory properties and then call your file like
this:
<a style='text-decoration: underline;' href="http://server/directory/" target="_blank">http://server/directory/</a>

And what does "won't correctly run the jrun middleware"
mean exactly? Errors?

doug
 >-----Original Message-----
 >I have an IIS 5.0 Webserver and I'd like to have it
serve a .jsp as
 >the default page. If I post the link as
 >http://server/directory/index.jsp it works fine.
However, if I set
 >the default document to be either directory/index.jsp OR
index.jsp it
 >won't correctly run the jrun middleware.
 >
 >I have a temporary solution of making the default page
a .ASP that
 >does a response.redirect to the full path, but I'd like
to not have to
 >do that. I've seen other issues like this out there,
but the only
 >work around I see is what I've already come up with.
 >
 >Thanks in advance
 >.
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: JSP Default Document 
Back to top
Login to vote
kramerof891

External


Since: Apr 27, 2004
Posts: 1



(Msg. 3) Posted: Tue Apr 27, 2004 3:07 pm
Post subject: Re: JSP Default Document [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Actually, you can make a directory/index.jsp your default page, but
that's not the issue (I changed the home directory to directory and the
default document to index.jsp with the same exact results). The trick
is to use the '/' and not the '\'.

The .jsp fills in username with <USERNAME> and password with masked
characters, and then errors out as if the user attempted to login with
those credentials. Interestingly enough, if you log into the machine
and then navigate to the file in question and double click it, you get
the same exact behavior. That seems to indicate that windows is using
its own scripting engine and not the JRUN middleware.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 >> Stay informed about: JSP Default Document 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]