RE: Question: Struts on Weblogic - Urgent please
Thanks Quan. However, I have following problem: The server.xml has nested markups as: Server/ContextManagerContext/ContextContextManager/Server Inside this Context tag I put the specified entry. However, the web.xml has totally different set of markups. Does it support Context 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: forward name=next path=/detcontrol.do redirect=true/ 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: Context path=/wls/cmweb docBase=apps/cmweb debug=0 reloadable=true/Context 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
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: forward name=next path=/detcontrol.do redirect=true/ 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: Context path=/wls/cmweb docBase=apps/cmweb debug=0 reloadable=true/Context 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
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: forward name=next path=/detcontrol.do redirect=true/ 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: Context path=/wls/cmweb docBase=apps/cmweb debug=0 reloadable=true/Context 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
Yexing == Yexing Yang 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=directory_to_contain_Ant_distribution 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 http://www.sysinternals.com. 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)