Hi,

theoretically you would have to put the struts.jar into the 
---default_context_dir---/WEB-INF/lib and then it should work.

There are messages in the mailing-list archive that show how
using Thread.currentThread().getContextClassLoader() instead
of Class.forName() will allow you to put Struts.jar also into the
default_path. As you have the Struts-sources available you could 
also modify it (make a search for "forName(" and then change).

About the second problem: just configure correspondently. I do it all
the time...
eg.
    <!-- start action -->
    <action    path="/start"
               type="com.csg.cs.jst.strutssample.control.StartAction">
    </action>

    <!-- welcome action -->
    <action    path="/welcome"
               type="com.csg.cs.jst.strutssample.control.WelcomeAction">
      <forward name="success"              path="/home.jsp"/>
      <forward name="problem"              path="/homeProblem.jsp"/>
    </action>
will have /do/welcome and /do/start route to different action-classes.


hope this helps
Alexander Jesse



by the way: your mail has not come in HTML...

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 28. Februar 2002 16:36
To: [EMAIL PROTECTED]
Subject: Struts-Application in Default Servlet Context





Hi,

I want to combine a struts-application with a Vignette Content Management
System.
We are using a WebLogic 5.1, and Vignette puts its JSPs in the default context.

What I want to achieve is to have the struts application integrated with the
default context,
such that I can use a forward to the JSP pages that have been put there by
Vignette.

Is that possible?
I see the problem in incorporating struts.jar in some default_path, which is
discouraged by the documentation.
How can I do that?

Challenge for Level 2: I want to use multiple action-classes with my
application, for
example such that URLs
http:.../servlets/main.do
http:.../servlets/part1.do
http:.../servlets/part2.do
all access different action-classes (and use different form-beans, of course).

Am I on the wrong track here?

Thanks for any help,
-Ronald

P.S. My apologies if this message comes as HTML. In my company I have no
other means to send mail then through Notes.



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to