Hi,

When I forward from one action to another action, is it possible to find out ( at run-time ) which action the forward came from?

eg

If class A forwards to class B.  Can class B tell that it was forwarded to by class A?

Thanks

Chiji

>From: Steven Valin <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: Problem with weblogic
>Date: Thu, 04 Oct 2001 07:30:00 -0400
>MIME-Version: 1.0
>Received: from [64.125.133.20] by hotmail.com (3.2) with ESMTP id MHotMailBD85930A003E4136E825407D85140BF70; Thu, 04 Oct 2001 04:29:14 -0700
>Received: (qmail 13106 invoked by uid 500); 4 Oct 2001 11:28:27 -0000
>Received: (qmail 13099 invoked from network); 4 Oct 2001 11:28:27 -0000
>Received: from c000-h001.c000.snv.cp.net (HELO c000.snv.cp.net) (209.228.32.65) by daedalus.apache.org with SMTP; 4 Oct 2001 11:28:27 -0000
>Received: (cpmta 9915 invoked from network); 4 Oct 2001 04:28:24 -0700
>Received: from 146-115-72-145.c3-0.brl-ubr1.sbo-brl.ma.cable.rcn.com (HELO javelinsoftware.com) (146.115.72.145) by smtp.javelinsoftware.com (209.228.32.65) with SMTP; 4 Oct 2001 04:28:24 -0700
>From struts-user-return-18347-cn081 Thu, 04 Oct 2001 04:30:01 -0700
>Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>Precedence: bulk
>list-help:
>list-unsubscribe:
>list-post:
>Delivered-To: mailing list [EMAIL PROTECTED]
>X-Sent: 4 Oct 2001 11:28:24 GMT
>Message-ID: <[EMAIL PROTECTED]>
>X-Mailer: Mozilla 4.76 [en] (WinNT; U)
>X-Accept-Language: en,pdf
>References: <F7C369EC8001D51181DE00D0B7C9E6A1237EA0@BORMES03><[EMAIL PROTECTED]>
>X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
>
>Or put the struts.jar in the WEB-INF/lib directory of your war file.
>
>Jonathan M Crater wrote:
>
> > sounds like a classpath issue to me. make sure your struts.jar is in your
> > weblogic classpath when the server is started.
> >
> > ALAMI Ahmed - BOR wrote:
> >
> > > Hello everyone
> > >
> > > Does anyone knows the steps to deploy a WAR application using struts under
> > > Weblogic please
> > > When compiling to create the web.xml and weblogic.xml, it returns an error
> > > Exception in thread "main" java.lang.NoClassDefFoundError:
> > > org/apache/struts/action/Act
> > > ion
> > >
> > > Help me please
> > >
> > > Ahmed ALAMI
> > > Stagiaire
> > >
> > >
> > > 8, rue Gustave Hertz - 33600 Pessac
> > > * 05.57.89.00.36 *06.17.23.26.61 * 05.56.36.64.71
> > > * [EMAIL PROTECTED]
> > >
> > > -----Message d'origine-----
> > > De : Bang, Steinar [mailto:[EMAIL PROTECTED]]
> > > Envoyé : jeudi 4 octobre 2001 10:47
> > > À : '[EMAIL PROTECTED]'
> > > Objet : struts-example.war from struts 1.0, and missing .do servlets
> > > (and how to get web.xml)
> > >
> > > Platform: debian woody, apache 1.3.19, tomcat 3.2.3,
> > > struts 1.0, Java2 SDK 1.3
> > >
> > > [I'm not on the mailing list, so please Cc me on any
> > > response. Thanx!]
> > >
> > > I've downloaded the binary distribution of struts 1.0
> > > from
> > >
> > >
> > > And followed a modified version of what the INSTALL
> > > file says about installation under Tomcat:
> > > - I've copied "struts-documentation.war" and
> > > "struts-example.war" to /usr/share/java/webapps/
> > > - I've added "DirectoryIndex index.jsp index.html" and
> > > "AddHandler jserv-servlet .do" to /etc/apache/srm.conf
> > > - I've restarted tomcat and then restarted apache
> > >
> > > The URL seems to
> > > work fine, but has
> > > some problems:
> > > - how do I get the web.xml file from struts-example?
> > > (the tutorial says to look at it to see how you
> > > should create a web.xml file for your own application)
> > > If I remove the DirectoryIndex mapping for index.jsp,
> > > I get to list the directory for struts-example, but
> > > I'm not allowed to access
> > > where I presume the web.xml file can be found?
> > >
> > > - the other problem is related to actually running
> > > the application. If I try clicking on the link
> > > "Register with the MailReader Demonstration Application",
> > > I get a 404 not found on the URL
> > > /struts-example/editRegistration.do;jsessionid=83vbrf4511
> > > The "Walking tour of the Example Application", gives
> > > me a 404 Not found, on the URL
> > > /struts-example/tour.do;jsessionid=84vbfr4511
> > > The "Log on to the MailReader Demonstation Application"
> > > pops up a form requesting username and password,
> > > but I don't have anything meaningful to give it,
> > > so I can't test if it actually works.
> > > Both the "problem" links are .do files. When
> > > I remove the index.jsp DirectoryIndex mapping
> > > I can't find any .do files on the top level.
> > > Presumably they reside under WEB-INF/ somewhere,
> > > but since I can't access that directory from the
> > > web browser, I can't check.
> > > I'm guessing that I'm missing some configuration
> > > on .do files, but I don't know what.
> > >
> > > I'm continuing to dig at the problems, but all
> > > hints and tips will be appreciated.
> > >
> > > Thanx!
> > >
> > > - Steinar
> > >
> > >
> > > This email, its content and any attachments is PRIVATE AND CONFIDENTIAL to
> > > TANDBERG Television. If received in error please notify the sender and
> > > destroy the original message and attachments.
>
>--
>Steven Valin
>[EMAIL PROTECTED]
>
>


Get your FREE download of MSN Explorer at http://explorer.msn.com

Reply via email to