-Original Message-
> From: [EMAIL PROTECTED]
> Sent: Wed 12/19/2001 1:25 PM
> To: [EMAIL PROTECTED]
> Cc:
> Subject: jsp pages under WEB-INF..
>
>
>
> Hi, I know this question has been answered before, but I cannot
> f
Thanks Ted, I'll try this
/Neil
> This will
>
>> > Use this for an index.jsp
>> >
>> >
>> > <%@ page language="java" %>
>> > <%@ taglib uri="/tags/struts-logic" prefix="logic" %>
>> >
>> >
>> >
>
> But the other won't.
>
> For the standard welcom page, the container sends a redirect back to
> t
I see what you mean, but its a bit tricky to know where to draw the line
sometimes. A typical form which takes user input, may need to be navigated
directly, but at the same time there may be some grounds for wanting it
hidden under WEB-INF.
/Neil
> If I understand the philosophy behind placing
; So this page will be loaded when you write only your context.
> > example.
> > http://myserver/myContext/ will load hoooppp-> the page
> > http://myserver/myContext/logon.jsp.
> >
> >
> >
> > -Ursprüngliche Nachricht-
> > Von: Ted Husted [mailto:[EMAIL PROTECTED]]
>
the page
> http://myserver/myContext/logon.jsp.
>
>
>
> -Ursprüngliche Nachricht-
> Von: Ted Husted [mailto:[EMAIL PROTECTED]]
> Gesendet am: Wednesday, December 19, 2001 2:55 PM
> An: Struts Users Mailing List
> Betreff: Re: jsp pages under WEB-INF..
>
AIL PROTECTED]]
Gesendet am: Wednesday, December 19, 2001 2:55 PM
An: Struts Users Mailing List
Betreff: Re: jsp pages under WEB-INF..
Use this for an index.jsp
<%@ page language="java" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
And then p
Use this for an index.jsp
<%@ page language="java" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
And then put in a foward to whatever you want to handle the welcome
action
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Custom Software ~ Technical Services.
-- Tel +1 716 737-3
index.jsp should continue to reside in the top
level of your application.
Hope this helps,
-david
-Original Message-
From: [EMAIL PROTECTED]
Sent: Wed 12/19/2001 1:25 PM
To: [EMAIL PROTECTED]
Cc:
Subject: jsp pages under WEB
Hi, I know this question has been answered before, but I cannot find the
answer :(
I have placed all my jsp pages under a subdirectory of WEB-INF, as
recommended by Ted Husted. I would like a default page when I go to the
application (like an index.jsp), but I don't know how to do the mapping. I
9 matches
Mail list logo