I am having a wierd problem where my action calls are not forwarding to the
correct page. Actually it works one time, but when I try to run the same
action again (this time on the same page) it attempts to go to a different
action (i.e. INPUT). Here is how I have it set up:
struts.xml
Folks,
Eureka! I finally tracked it down to a logic error in my app:
I had extended the Struts RequestProcessor to provide a custom
processRoles() method. This checks that users are logged in before they can
access an action, and also performs role base permission checking.
processRoles() was
TED]>
To
"Struts Users Mailing
List" <[EMAIL PROTECTED]>
cc
Subject
RE: NEWBIE: Wierd problem
- Action sometimes produces Status 500 - No Context configured to
process this request
In case the obvious hasn't bee
scombe"
<[EMAIL PROTECTED]>
06/30/2004 09:30 AM
Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>
To
"'Struts Users Mailing
List'" <[EMAIL PROTECTED]>
cc
Subject
RE: NEWBIE: Wierd problem
- Action sometimes produces Statu
004 14:30
To: 'Struts Users Mailing List'
Subject: RE: NEWBIE: Wierd problem - Action sometimes produces Status
500 - No Context configured to process this request
Thanks Marco
Yes that's right. The war file is called ExpenSysWT.war and the Tomcat
context is ExpenSysWT.
If
-Original Message-
From: Marco Mistroni [mailto:[EMAIL PROTECTED]
Sent: 30 June 2004 13:19
To: 'Struts Users Mailing List'
Subject: RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 -
No Context configured to process this request
Hello,
What's
Hello,
What's the name of your webapp?
If u deploy in tomcat, ur context will be the name of your .war file if
I m correct.
Try to put the link /mailto:[EMAIL PROTECTED]
Sent: 30 June 2004 13:15
To: 'Struts Users Mailing List'
Subject: RE: NEWBIE: Wierd problem - A
inding out whether
it is a Struts problem or somehow linked to your setup.
Jan
-Original Message-
From: Adam Lipscombe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 2:04 PM
To: 'Struts Users Mailing List'
Subject: RE: NEWBIE: Wierd problem - Action sometimes produces Sta
-Original Message-
From: Adam Lipscombe [mailto:[EMAIL PROTECTED]
Sent: 30 June 2004 12:57
To: 'Struts Users Mailing List'
Subject: RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 -
No Context configured to process this request
Yes, I understand (I think!).
How do
: 30 June 2004 11:49
To: 'Struts Users Mailing List'
Subject: RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 -
No Context configured to process this request
Hi Adam,
I thought that it might be that - as you are not in any "action" before you
actually login -
sults. If the user logs in (the login.do
action works!) and then presses back to return to the login page the same
URL now works.
I am baffled :-)
Adam
-Original Message-
From: McCormack, Chris [mailto:[EMAIL PROTECTED]
Sent: 30 June 2004 11:59
To: Struts Users Mailing List
Subject: RE:
st'
Subject: RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 -
No Context configured to process this request
Thanks Jan,
You may be right but I am not sure how this would help
The "login" global forward redirects the user to a Login.jsp page. From
Login.jsp 2 ac
ive link to the page you are on at the time not from the root of the application.
Chris McCormack
-Original Message-
From: Jan Behrens [mailto:[EMAIL PROTECTED]
Sent: 30 June 2004 10:11
To: 'Struts Users Mailing List'
Subject: RE: NEWBIE: Wierd problem - Action sometimes produc
TECTED]
Sent: 30 June 2004 10:11
To: 'Struts Users Mailing List'
Subject: RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 -
No Context configured to process this request
Hi Adam,
I am new to Struts so this is more of a shot in the dark but anyway... Could
it be th
Have you tried
adding a global forward for your help.do as well?
Cheers, Jan
-Original Message-
From: Adam Lipscombe [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 29, 2004 7:31 PM
To: 'Struts Users Mailing List'
Subject: NEWBIE: Wierd problem - Action sometimes produces
Thanks Jim, I'll keep digging and let you know.
-Original Message-
From: Jim Barrows [mailto:[EMAIL PROTECTED]
Sent: 29 June 2004 22:41
To: Struts Users Mailing List
Subject: RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 -
No Context configured to process
> -Original Message-
> From: Adam Lipscombe [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 29, 2004 2:38 PM
> To: 'Struts Users Mailing List'
> Subject: RE: NEWBIE: Wierd problem - Action sometimes produces Status
> 500 - No Context configured to process
omcat config or is the Struts config. I would
have thought that if its Tomcat it would never work.
TIA - Adam
-Original Message-
From: Jim Barrows [mailto:[EMAIL PROTECTED]
Sent: 29 June 2004 20:03
To: Struts Users Mailing List
Subject: RE: NEWBIE: Wierd problem - Action sometimes pro
> -Original Message-
> From: Adam Lipscombe [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 29, 2004 2:26 PM
> To: 'Struts Users Mailing List'
> Subject: RE: NEWBIE: Wierd problem - Action sometimes produces Status
> 500 - No Context configured to process thi
Mailing List'
Subject: RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 -
No Context configured to process this request
I think you're on the right track with your idea that no action has run
first. Usually in Struts an action should run before the JSP is seen.
Does it work i
ed in, and this strikes me as odd.
What in the login process could be altering the way Tomcat behaves?
TIA - Adam
-Original Message-
From: Jim Barrows [mailto:[EMAIL PROTECTED]
Sent: 29 June 2004 20:03
To: Struts Users Mailing List
Subject: RE: NEWBIE: Wierd problem - Action sometimes
L PROTECTED]
> Sent: Tuesday, June 29, 2004 10:31 AM
> To: 'Struts Users Mailing List'
> Subject: NEWBIE: Wierd problem - Action sometimes produces
> Status 500 - No Context configured to process this request
>
>
> Folks,
>
>
> I have a strange problem th
what point is the 500 being thrown?
> -Original Message-
> From: Adam Lipscombe [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 29, 2004 10:31 AM
> To: 'Struts Users Mailing List'
> Subject: NEWBIE: Wierd problem - Action sometimes produces
> Status 500 -
> N
Folks,
I have a strange problem that is confusing me:
I have a simple login page with a Help button defined like this:
"
When pressed, the JavaScript displayHelp() method below is called:
function displayHelp(context)
{
[snip]
var url = ""
url += "?context=" + context;
[snip]
wi
24 matches
Mail list logo