Context path

2004-10-13 Thread Hari Saptoadi
hi all , is there any different reading page context between JDK 1.3 and JDK 1.4 ? i mean i have struts app , and if i call in browser like this http://10.1.9.222:8988/multi/HomeAction.do it work fine in JDK 1.3 but when i upgrade to JDK 1.4 .2, i got this massage The page cannot be displayed HTT

Re: Context path

2004-10-13 Thread Andrew Hill
From the stack trace it looks a classloading issue. I presume that your com.tes.HomeForm and HomeAction classes are in your WEB-INF/classes or a jar in WEB-INF/lib? (Confirm that first though given it worked in 1.3 and assuming you changed nothing else it should still be the case!) Where is you

context path problem - urgent

2004-08-05 Thread Yu, Joel, Contractor
hi, I server called "apps", all application deployed under apps will have /apps in it's uri. for example to access application named "foo": http://somehost.com/apps/foo my problem is when I say in my jsp (with set up in my struts-config.xml), it goes to http://somhost.com/foo/test.action, it d

context path problem - please help

2004-08-06 Thread Yu, Joel, Contractor
hi, I have server called "apps", all application deployed under apps will have /apps in it's uri. for example to access application named "foo": http://somehost.com/apps/foo my problem is when I say in my jsp (with set up in my struts-config.xml), it goes to http://somhost.com/foo/test.action,

RE: context path problem - urgent

2004-08-06 Thread Geoffrey Morris
x27;s Tomcat 5, I can show you how to deploy your app to /apps/foo. -Original Message- From: Yu, Joel, Contractor [mailto:[EMAIL PROTECTED] Sent: Thursday, August 05, 2004 2:37 PM To: '[EMAIL PROTECTED]' Subject: context path problem - urgent hi, I server called "apps"

RE: context path problem - urgent

2004-08-09 Thread Yu, Joel, Contractor
I am using Bea Weglogic 8.1. -Original Message- From: Geoffrey Morris [mailto:[EMAIL PROTECTED] Sent: Friday, August 06, 2004 12:24 PM To: [EMAIL PROTECTED] Subject: RE: context path problem - urgent The problem is that you are deploying your app to "/foo" instead of

RE: context path problem - please help

2004-08-06 Thread Jim Barrows
> -Original Message- > From: Yu, Joel, Contractor > [mailto:[EMAIL PROTECTED] > Sent: Friday, August 06, 2004 7:19 AM > To: 'Struts Users Mailing List' > Subject: context path problem - please help > > > hi, > I have server called "apps"

How to set base context path?

2009-02-05 Thread David C. Hicks
ard to this. 1) How would I go about changing that base context path "/harvey" into "/somethingelse"? 2) Is it possible to not have to have the base path defined in Struts at all? It seems to me that this would be the ideal solution. Thanks, Dave ---

Re: How to set base context path?

2009-02-05 Thread Musachy Barroso
> 1) How would I go about changing that base context path "/harvey" into > "/somethingelse"? It depends on the container that you are using > 2) Is it possible to not have to have the base path defined in Struts at > all? It seems to me that this would be the

Re: How to set base context path?

2009-02-05 Thread ChadDavis
> 2) Is it possible to not have to have the base path defined in Struts at > all? It seems to me that this would be the ideal solution. If you deploy the app as the root app in the servlet container, then your struts namespaces are essentially doing this. I think the net effect is what you are

Re: How to set base context path?

2009-02-05 Thread David C. Hicks
I think we've got the problem solved now. One of the developers found that in one case the path was actually hard-coded in a JSP. Ugh! We also had not provided a namespace for our struts package, and so apparently it was defaulting to the package name. Just little details that get left unti

Re: How to set base context path?

2009-02-05 Thread ChadDavis
"Harvey" is nice though. Great movie. There's a scene with this slightly chubby lady singing that cracks me up completely. On Thu, Feb 5, 2009 at 3:00 PM, David C. Hicks wrote: > I think we've got the problem solved now. One of the developers found that > in one case the path was actually hard

Re: How to set base context path?

2009-02-05 Thread David C. Hicks
ChadDavis wrote: "Harvey" is nice though. Great movie. There's a scene with this slightly chubby lady singing that cracks me up completely. Amazing, but you're the first person I've encountered who got the reference to the movie. I had to explain it to everyone else - the magical, invisi

Re: How to set base context path?

2009-02-05 Thread Musachy Barroso
Ah, now you made curious... musachy On Thu, Feb 5, 2009 at 5:13 PM, David C. Hicks wrote: > > ChadDavis wrote: >> >> "Harvey" is nice though. Great movie. There's a scene with this >> slightly chubby lady singing that cracks me up completely. >> > > Amazing, but you're the first person I've en

Re: How to set base context path?

2009-02-05 Thread ChadDavis
You want this one: http://www.imdb.com/title/tt0042546/ On Thu, Feb 5, 2009 at 3:14 PM, Musachy Barroso wrote: > Ah, now you made curious... > > musachy > > On Thu, Feb 5, 2009 at 5:13 PM, David C. Hicks wrote: >> >> ChadDavis wrote: >>> >>> "Harvey" is nice though. Great movie. There's a sce

Re: How to set base context path?

2009-02-05 Thread David C. Hicks
Most excellent! I just served that up to the team on our chat channel. They're lovin' it. ChadDavis wrote: You want this one: http://www.imdb.com/title/tt0042546/ On Thu, Feb 5, 2009 at 3:14 PM, Musachy Barroso wrote: Ah, now you made curious... musachy On Thu, Feb 5, 2009 at 5:13 PM

Re: How to set base context path?

2009-02-05 Thread Dave Newton
David C. Hicks wrote: ChadDavis wrote: "Harvey" is nice though. Great movie. There's a scene with this slightly chubby lady singing that cracks me up completely. Amazing, but you're the first person I've encountered who got the reference to the movie. I had to explain it to everyone else

Make struts 1 skip outputting context path?

2007-12-17 Thread struts
webapp has the context some-name, it insists on outputting that context path to all url's (like actions for struts forms). So if we have an action path "/forum/posting/post" defined, struts outputs the action url as "http://some-name.com/some-name/forum/posting/post.do"

Re: Make struts 1 skip outputting context path?

2007-12-17 Thread Paul Benedict
xt /some-name in tomcat. However in front of tomcat we have > apache, and it mapps the domain name some-name.com to /some-name. This > works great, except when it comes to struts. Since struts notice that > the webapp has the context some-name, it insists on outputting that > context path to

How to get the action name (in addition to the context path name)?

2006-07-11 Thread Bryce Nesbitt
>From within a struts 1.0 jsp, how can I find the name of the action that invoked me? I can find the context path easy enough: <%= request.getContextPath().toString() %> And the name of the .jsp that I'm in: <%= request.getRequestURL() %> But where is th

RE: How to get the action name (in addition to the context path name)?

2006-07-11 Thread Samere, Adam J
tance"). There may be a better way to do what you are attempting though... -Original Message- From: Bryce Nesbitt [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 11, 2006 2:05 PM To: user@struts.apache.org Subject: How to get the action name (in addition to the context path name)? Fro

Re: How to get the action name (in addition to the context path name)?

2006-07-11 Thread Bryce Nesbitt
Thanks! Now what might be better? I have a legacy application that has a "member" side and an "admin" side, each with their own actions. But many of the view pages are nearly identical. The only difference in most of the view pages is the form submit, e.g.: It makes for a lo

Re: How to get the action name (in addition to the context path name)?

2006-07-17 Thread Eider Iturbe
mapping.instance"). There may be a better way to do what you are attempting though... -Original Message- From: Bryce Nesbitt [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 11, 2006 2:05 PM To: user@struts.apache.org Subject: How to get the action name (in addition to the context path

Re: How to get the action name (in addition to the context path name)?

2006-07-17 Thread rukka
Eider Iturbe wrote: Hi! I'm looking for a method in org.apache.struts.action.ActionMapping that returns the name of the action or jsp that has invoked my action (this action is the owner of the ActionMapping). Which is this method ? thanks in advance, You can find all forward names and p