RE: Question: Struts on Weblogic - Urgent please

2001-08-07 Thread Upadhye, Sujit (GEAE, Foreign National)

Thanks Quan. However, I have following problem:

The server.xml has nested markups as:

Inside this Context tag I put the specified entry.

However, the web.xml has totally different set of markups. Does it support
 tag? If yes, under which tag should this be added? Please let me
know.

Thanks again,

Sujit

-Original Message-
From: Pham Thanh Quan [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 06, 2001 9:27 PM
To: [EMAIL PROTECTED]
Subject: Re: Question: Struts on Weblogic - Urgent please


Try putting it into the file "web.xml" in Web-inf directory
Quan

- Original Message -
From: Upadhye, Sujit (GEAE, Foreign National) <[EMAIL PROTECTED]>
To: Craig R. McClanahan <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, August 07, 2001 12:40 AM
Subject: Question: Struts on Weblogic - Urgent please


> Hi,
>
> I am using Struts on Weblogic 5.1 with SP9. Initially I developed my app
on
> Tomcat. Here, I am forwarding control to another action object. So, in my
> config.xml, I have:
>
> 
>
> I start my app on Tomcat through URL:
> http://localhost/wls/cmweb/detrunselect.do. When I submit this page, the
new
> URL I get is:
> http://localhost/wls/cmweb/detcontrol.do.
>
> This is the expected behavior.
>
> However, when I try to run the same on Weblogic, the second URL comes up
as:
> http://localhost/cmweb/detcontrol.do.
>
> Please note that 'wls' get dropped from the URL. This causes the app to
> fail. Can some one tell me how can I still get the 'wls' while using
> 'redirect = true'?
>
> For my Tomcat, I have an entry in server.xml as:
>  reloadable="true">
> I feel it is this entry that is adding 'wls' to the relative path. Where
can
> I add this entry for the Weblogic. (Weblogic does not seem to have
> server.xml).
>
> Thanks in advance,
>
> Sujit
>



Re: Question: Struts on Weblogic - Urgent please

2001-08-06 Thread Pham Thanh Quan

Try putting it into the file "web.xml" in Web-inf directory
Quan

- Original Message -
From: Upadhye, Sujit (GEAE, Foreign National) <[EMAIL PROTECTED]>
To: Craig R. McClanahan <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, August 07, 2001 12:40 AM
Subject: Question: Struts on Weblogic - Urgent please


> Hi,
>
> I am using Struts on Weblogic 5.1 with SP9. Initially I developed my app
on
> Tomcat. Here, I am forwarding control to another action object. So, in my
> config.xml, I have:
>
> 
>
> I start my app on Tomcat through URL:
> http://localhost/wls/cmweb/detrunselect.do. When I submit this page, the
new
> URL I get is:
> http://localhost/wls/cmweb/detcontrol.do.
>
> This is the expected behavior.
>
> However, when I try to run the same on Weblogic, the second URL comes up
as:
> http://localhost/cmweb/detcontrol.do.
>
> Please note that 'wls' get dropped from the URL. This causes the app to
> fail. Can some one tell me how can I still get the 'wls' while using
> 'redirect = true'?
>
> For my Tomcat, I have an entry in server.xml as:
>  reloadable="true">
> I feel it is this entry that is adding 'wls' to the relative path. Where
can
> I add this entry for the Weblogic. (Weblogic does not seem to have
> server.xml).
>
> Thanks in advance,
>
> Sujit
>




Re: Question: Struts on Weblogic - Urgent please

2001-07-14 Thread David M. Karr

> "Yexing" == Yexing Yang  writes:

Yexing> Hi, 
Yexing> I am trying using Struts , but i encountered a problem after I installed
Yexing> ant, when I use 
Yexing> build command (build -Ddist.dir= 
dist
Yexing> )
Yexing> for building ant, I got "access denied" error, I have set up the class_path
Yexing> correctly, 
Yexing> so could someone give some advice. Really appreciated.

Well, the first piece of advice I will give you is to not write a new note in
reply to another note, as it tends to confuse the subscribers, and tends to
make it less likely someone will read and respond to your question.  Some
people read mailing lists as "threads", and pay more attention to the titles of
base notes, and might not notice a note about a completely different subject
written in reply to a base note.

Wrt your problem, I assume you're doing this on Windows.  You get "access
denied" in Windows when you try to delete or overwrite a file that is currently
opened by some other application.  You first need to figure out what
file/directory you are getting access denied on.  Second, it would be useful to
install a tool called "Process Explorer", which you can get for free from
.  Assuming you can figure out what file you're
getting "access denied" on, you can use "Process Explorer" to see what
application has that file open.

I would also question whether you phrased your question correctly.  You say you
are using Ant for building Ant.  I assume you meant you're trying to use Ant to
build Struts.

And finally, you don't need to BUILD struts normally, you can just use the
binary distribution.

-- 
===
David M. Karr  ; Best Consulting
[EMAIL PROTECTED]   ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)




RE: Question: Struts on Weblogic - Urgent please

2001-07-14 Thread Yang, Yexing

Hi, 
I am trying using Struts , but i encountered a problem after I installed
ant, when I use 
build command (build -Ddist.dir= dist
)
for building ant, I got "access denied" error, I have set up the class_path
correctly, 
so could someone give some advice. Really appreciated.

yexing

-Original Message-
From: Upadhye, Sujit (GEAE, Foreign National)
[mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 14, 2001 6:55 PM
To: [EMAIL PROTECTED]
Subject: Question: Struts on Weblogic - Urgent please


Hi,

I am using Struts on Weblogic 5.1 with SP9.

Initially I developed my app on Tomcat. Here, I am forwarding control to
another action object. So, in my config.xml, I have:



I start my app on Tomcat through URL:
http://localhost/wls/cmweb/detrunselect.do. When I submit this page, the new
URL I get is:
http://localhost/wls/cmweb/detcontrol.do.

This is the expected behavior.

However, when I try to run the same on Weblogic, the second URL comes up as:
http://localhost/cmweb/detcontrol.do.

Please note that 'wls' get dropped from the URL. This causes the app to
fail.

If I remove the 'redirect = true' from config.xml, then the URL appears as:
http://localhost/wls/cmweb/detrunselect.do

Please note, that 'wls' is not dropped. But the action object has also NOT
changed. This is not what I want.

So, I want to use 'redirect = true'. Can some one tell me how can I still
get the 'wls' while using 'redirect = true'?

Thanks in advance,

Sujit



RE: Question: Struts on Weblogic - Urgent please

2001-07-14 Thread Jason Chaffee
Title: RE: Question: Struts on Weblogic - Urgent please





There is a bug with weblogic and sp9.  I spent over a month with their tech people trying to get them to understand the problem.  They finally gave me a custom solution and said it would be fixed in sp10.

-Original Message-
From: Upadhye, Sujit (GEAE, Foreign National)
[mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 14, 2001 3:55 PM
To: [EMAIL PROTECTED]
Subject: Question: Struts on Weblogic - Urgent please



Hi,


I am using Struts on Weblogic 5.1 with SP9.


Initially I developed my app on Tomcat. Here, I am forwarding control to
another action object. So, in my config.xml, I have:





I start my app on Tomcat through URL:
http://localhost/wls/cmweb/detrunselect.do. When I submit this page, the new
URL I get is:
http://localhost/wls/cmweb/detcontrol.do.


This is the expected behavior.


However, when I try to run the same on Weblogic, the second URL comes up as:
http://localhost/cmweb/detcontrol.do.


Please note that 'wls' get dropped from the URL. This causes the app to
fail.


If I remove the 'redirect = true' from config.xml, then the URL appears as:
http://localhost/wls/cmweb/detrunselect.do


Please note, that 'wls' is not dropped. But the action object has also NOT
changed. This is not what I want.


So, I want to use 'redirect = true'. Can some one tell me how can I still
get the 'wls' while using 'redirect = true'?


Thanks in advance,


Sujit