wierd problem

2007-10-01 Thread Henry Park
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

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request. SOLVED

2004-06-30 Thread Adam Lipscombe
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

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-30 Thread DGraham
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

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-30 Thread DGraham
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

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-30 Thread Marco Mistroni
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

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-30 Thread Adam Lipscombe
-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

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-30 Thread Marco Mistroni
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

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-30 Thread Jan Behrens
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

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-30 Thread Adam Lipscombe
-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

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-30 Thread Adam Lipscombe
: 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 -

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-30 Thread Adam Lipscombe
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:

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-30 Thread Jan Behrens
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

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-30 Thread McCormack, Chris
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

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-30 Thread Adam Lipscombe
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

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-30 Thread Jan Behrens
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

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-29 Thread Adam Lipscombe
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

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-29 Thread Jim Barrows
> -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

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-29 Thread Adam Lipscombe
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

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-29 Thread Jim Barrows
> -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

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-29 Thread Adam Lipscombe
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

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-29 Thread Adam Lipscombe
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

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-29 Thread Barett McGavock
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

RE: NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-29 Thread Jim Barrows
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

NEWBIE: Wierd problem - Action sometimes produces Status 500 - No Context configured to process this request

2004-06-29 Thread Adam Lipscombe
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