ECTED]]
Sent: Friday, August 16, 2002 19:03
To: [EMAIL PROTECTED]
Subject: RE: Re[2]: Welcome file and struts
Feels a bit weird having part of your deployment depend on a dummy file
though. I went for the index.jsp idea myself.
On Fri, 2002-08-16 at 11:40, Andrew Hill wrote:
> Ooo.
> Th
From: Dariusz Wojtas [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 16, 2002 18:30
> To: Struts Users Mailing List
> Subject: Re[2]: Welcome file and struts
>
>
> That topic was discussed here
> http://www.mail-archive.com/struts-user@jakarta.apache.org/msg34650.html
&g
s the request and it works just fine."
-Original Message-
From: Dariusz Wojtas [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 16, 2002 18:30
To: Struts Users Mailing List
Subject: Re[2]: Welcome file and struts
That topic was discussed here
http://www.mail-archive.com/s
>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, August 16, 2002 12:30 PM
Subject: Re[2]: Welcome file and struts
> That topic was discussed here
> http://www.mail-archive.com/struts-user@jakarta.apache.org/msg34650.html
>
> Darek
>
> Fri
[mailto:[EMAIL PROTECTED]]
Sent: Friday, August 16, 2002 18:30
To: Struts Users Mailing List
Subject: Re: Welcome file and struts
I don´t want get impatient ;-), but usually there is a lot more action here!
It´s just my luck that when I answer a question, everyone seems to be on
vacation :-) !
Has
iling List" <[EMAIL PROTECTED]>
MD> Sent: Friday, August 16, 2002 10:32 AM
MD> Subject: Welcome file and struts
>> Hi folks!
>>
>> I have got a question concerning the welcome file in the web.xml. I have
>> tried the following:
>>
>>
chael Delamere" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, August 16, 2002 10:32 AM
Subject: Welcome file and struts
> Hi folks!
>
> I have got a question concerning the welcome file in the web.xml. I have
>
Hi folks!
I have got a question concerning the welcome file in the web.xml. I have
tried the following:
/index.do
Could it be that tomcat has problems with this because the file doesn´t
physically exist? The reason for assuming this is that index.vm (velocity
template) seems to
> localhost:8080/EGPS/banking/action/login.jsp
It looks like you are confusing pathmapping with welcome file list
Try this instead:
http://localhost:8080/EGPS/banking/login.jsp
I removed "/action" because that's what you need to call an action, which
will forward to yo
Subject: Welcome file, servlet mapping in web.xml file
From: "BillB" <[EMAIL PROTECTED]>
===
Given the following web.xml entry:
banking
org.apache.struts.action.ActionServlet
config
/WEB-INF/struts-config.xml
debug
3
7;Struts Users Mailing List'
>Subject: RE: Welcome back Mark!
>
>
>Many of them - good and bad! I'll put together a synopsis
>
>Man, my head is not even into work yet. Been debugging our
>Struts app all
>day and the only thing I can think about is all those
ppell, Simon P [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 5:15 PM
To: Struts Users Mailing List
Subject: Welcome back Mark!
Man it's been quiet around here!
Any good tales to tell?
Simon
>-Original Message-
>From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
>Se
Man it's been quiet around here!
Any good tales to tell?
Simon
>-Original Message-
>From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
>Sent: Monday, July 15, 2002 4:06 PM
>To: 'Struts Users Mailing List'
>Subject: RE: html:errors ActionErrors accessible as scripting variable?
>
>
><%
>Ac
The welcome file should denote a valid URL. So I think you can put any struts action
URL forwarding to a tile definition. Also, you can put a jsp page URL inserting the
definition.
What you can't do is to put a definition name as welcome file ;-) .
Hope this help,
C
truts Evangelist
Struts-Atlanta, the "Open Minded Developer Network"
http://struts-atlanta.open-tools.org
> -Original Message-
> From: Dennis Muhlestein [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 26, 2002 6:28 PM
> To: Struts Users Mailing List
> Subject: Re: Actio
Create a index.jsp and place a tag to
forward to index.do.
Dave
--- Jerry Jalenak <[EMAIL PROTECTED]> wrote:
> Is it possible to do the following?
>
> in web.xml..
>
>
> action
> .
> .
> .
>
>
>
> a
We use apache in from of tomcat. Because there is no index.do, we would
get a directory listing (if that was turned on but it isn't because
well...).
Anyway, I added index.do to the list of files for apache to
automatically pull up and then just made a dummy file called index.do
tomcat gets the
6/2002 06:09:43 PM
Please respond to "Struts Users Mailing List"
<[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
cc: (bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject: RE: Action as Welcome File
Instead of that Yo
Instead of that You can make a dummy (xyz.jsp) and then in xyz.asp you can
Redirect to index.do
Pavan
-Original Message-
From: Jerry Jalenak [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 26, 2002 3:07 PM
To: '[EMAIL PROTECTED]'
Subject: Action as Welcome File
Is it poss
Is it possible to do the following?
in web.xml..
action
.
.
.
action
*.do
index.do
I am trying to get index.do to run first
By using the in web.xml, it is possible to have a
different HTML or JSP page displayed when a user accesses a specific URL.
Is it possible to specify a tiles definition? something like the following?
myFirstPage
where myFirstPage is defined in struts-config.xml as
Hi,
I guess both VA4.0 and Appserver use the webapp file to determine the
welcome page, etc. It works in
VA but not in Appserver. When I give the complete path to the jsp file in
the browser, it opens the page.
Any clues?
Thnx,
GB
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]&g
For the welcome page, the containers look for a physical file rather
than going through the usual servlet mappings. The best solution is to
define a welcome ActionForward and use that for the welcome page.
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
You can
Subject: struts and tomcat - Welcome list
From: "Hermod Opstvedt" <[EMAIL PROTECTED]>
===
Hi all
Why does putting for instance "index.do" into the welcome-file-list in the
web.xml for my application not work. Doing that just gives me a filelisting
of the contents u
welcome page
Subject: Re: configure welcome page
From: "Don Miller" <[EMAIL PROTECTED]>
===
Your problem is due to a common misconception of how the welcome file list
works. The welcome file list in the web.xml file defines the default
file(s) for all directories, including
Subject: Re: configure welcome page
From: "Don Miller" <[EMAIL PROTECTED]>
===
Your problem is due to a common misconception of how the welcome file list
works. The welcome file list in the web.xml file defines the default
file(s) for all directories, including the root and al
hi everyone
am a newbie in Struts and have been playing around with some examples. I
know it might sound obvious, but I have looked it up in the archive mail and
have not found anything.
I want to move the welcome page ( index.jsp) of my app from the root to
WEB-INF/JSP/index.jsp and for that I
Subject: Subject: configure the welcome page
4856:From: "Brian K. Buckley" <[EMAIL PROTECTED]>
===
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
Anna Chen wrote:
> Can I put an action instead of a page in the welcome-file-list like:
>
> /do/login
>
Nope. The servlet container will look for an actual file at that path.
You need to have a index.html/jsp that forwards to your login page.
Hi, All
Can I put an action instead of a page in the welcome-file-list like:
/do/login
Thanks
Anna
Using an Action as a welcome doesn't work, but you can use an index.jsp
to forward to a welcome Action.
<%@ page language="java" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
-- Ted Husted, Husted dot Com, Fairport NY USA.
-- Buildi
If this is solely a cosmetic thing, why not make an index.jsp your
welcome file, and have it requestDispatcher.forward into your struts
frameworkPut it in a bean if it makes you happy.
I haven't tried this, but I don't see why it wouldn't work
-Original Message---
Mark Woon wrote:
>Mark Woon wrote:
>
>>I've just started looking at Struts, and I'm trying to figure out how to
>>set an action as the default file for the webapp? For example, I have
>>an index.do Action, and I'd like that served by default instead of
>>index.htm[l]. Is this possible?
>>
>
>Af
Mark Woon wrote:
> I've just started looking at Struts, and I'm trying to figure out how to
> set an action as the default file for the webapp? For example, I have
> an index.do Action, and I'd like that served by default instead of
> index.htm[l]. Is this possible?
After looking at the struts
Just for your information - turns out this is a bug in Tomcat!
I submitted it (Bug No 3309) and they propose to fix it, maybe by 3.3.1. At the
moment, work around is to stick an uncompiled version in directory, or to use
javascript to perform a forward in a regular html page to your pre-compil
Yep, that's the conclusion I came to. I already posted to tomcat user mailing
list, but no response.
Dave
Ted Husted <[EMAIL PROTECTED]> on 08/24/2001 04:07:41 PM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:(bcc: David Hay/Lex/Lexmark)
Subject: Re: w
In any event, it's not a bug in Struts, so you might want to take it up
with the support group for your container.
[EMAIL PROTECTED] wrote:
>
> Hi Bill,
>
> I just want to have what works with uncompiled jsp's work with compiled jsps!
>
> My welcome page is
(and removed) this won't function as a
||| welcome file (i.e. something that will be shown if they request
||| http: ).
True. I've not done pre-compiled jsps before, but I would imagine you
could just not precompile this one file? If not, then forget what I just
said.
Joey
Joey Gibson wrote:
>
> An ever-so-slightly-less-clumsy way to do this it to have an index.jsp
>that looks like this:
>
>
>
But if index.jsp is precompiled (and removed) this won't function as a
welcome file (i.e. something that will be shown if they request
http: ).
On Fri, 24 Aug 2001 12:40:04 -0400, [EMAIL PROTECTED] wrote:
||| PS I can work around it with a index.htm as a welcome page that redirects you
||| with javascript to index.jsp, but that's very clumsy!
An ever-so-slightly-less-clumsy way to do this it to have an index.jsp
that
Hi Bill,
I just want to have what works with uncompiled jsp's work with compiled jsps!
My welcome page is called index.jsp, but when I compile it and put it in a jar
file, it is not found for the first page (though I can call it directly). Is
this some kind of bug?
Cheers,
Dave
PS
Hello,
I don't know if I understand your question completely, but are you
saying that having a servlet (or the ActionServlet) as a welcome page
would solve your problem? Or must it be a .jsp?
I am using the ActionServlet to forward to my welcome page. I have
index.do listed
Anyone have a solution for this? I'm having the same problem. Thanks.
[EMAIL PROTECTED] wrote:
>
>Hi everyone,
>
>I am pre-compiling my jsp's in my struts web app, and everything works fine,
>except specifying the welcome file in the web.xml.
>
>If I do not
Hi everyone,
I am pre-compiling my jsp's in my struts web app, and everything works fine,
except specifying the welcome file in the web.xml.
If I do not pre-compile everything, having index.jsp as the first page works
great. However, when I pre-compile index.jsp it doesn't work.
supposing for http://xyz/abc i want to goto an action and display
someresults, the following works for me.
the following welcome-file-list is needed otherwise, it doesnot work. i get
a 404 error.
web.xml
index.cm
config.xml
hope this helps.
ramakrishna.
- Original
Hi,
I have seen some messages in the news groups which seem to indicate that it
may be possible to set an action as the welcome page, though a couple of
people were having problems with it.
I tried doing this - set my welcome page to login.do (also tried /login.do).
After authentication I get a
-Original Message-
From: Gogineni, Pratima
Sent: Wednesday, August 15, 2001 11:59 AM
To: '[EMAIL PROTECTED]'
Subject: action as the welcome page
Hi,
I have seen some messages in the news groups which seem to indicate that it
may be possible to set an action as the we
Ted suggested this solution to solve having a welcome page redirect to a
struts action.
I tried it but encountered an issue because my default action requires
tomcat-based authentication.
Ex. path="/protected/mainmenu.do"
The redirect to this action works for http://host:
Maybe you could use a jsp:include to include the response from the
announcements.do ...
-Original Message-
From: Calvin Lau [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 8:05 AM
To: [EMAIL PROTECTED]
Subject: Welcome Page Action
I'm trying to figure out the best way of m
index.jsp:
<%
/**
* Redirect default requests to Welcome action.
*/
%>
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
Struts-config:
You could also use "announcement
I'm trying to figure out the best way of making my
welcome page (index.jsp) run an action that will show
my annoucements. I have an AnnouncementsForm that I
use with announcements.do elsewhere, but I'm not sure
how I should make the index.jsp page run this same
action. Is there any
For the people who didn't read this email when they
initially subscribed...please read for hints on
administrivia.
--- [EMAIL PROTECTED] wrote:
> Date: 22 Feb 2001 04:24:28 -
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: WELCOME to [EMAIL PROTECTED]
>
>
101 - 152 of 152 matches
Mail list logo