RE: JDK 1.4 Logging with Struts
Most application servers are nowhere near supporting JDK 1.4, thus 1.4 logging within most webapps is still 6-9 months out. Last I heard, Weblogic 7.0 was still running JDK 1.3.1, so it isn't really possible to configure it yet. What many people are doing is creating a facade to their logging mechanisms, so that if they decide to switch to JDK1.4 later on, they will just need to change their implementation without doing a mass search and replace within their entire codebase (see the Jakarta Commons Logging subproject for a good start). IMHO, Log4j is way ahead of the JDK anyway, so it's going to be a long time before they catch up. I'd browse through the Log4j archive, there have been many discussions on this over there. -Manish -Original Message- From: Chen, Dean (Zhun) [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 9:40 AM To: 'Struts Users Mailing List' Subject: JDK 1.4 Logging with Struts Has anyone implemented JDK 1.4's Logging features with Struts? We used Log4J, but since 1.4 has Logging incorporated, we are investigating this option, any suggestions? The examples on Sun's web site aren't too helpful because it doesn't give you examples of configuration files. Also, how can this be integrated with Tomcat or Weblogic? Thanks, Dean Chen -- 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]
RE: Mail System Error - Returned Mail
I'm no lawyer, but it may be illegal for you to send an email to that published address. You should be more careful. :-P -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 9:46 AM To: Struts Users Mailing List Subject: RE: Mail System Error - Returned Mail I emailed their postmaster last night about this, I guess they are busy (probably making an offering to the porcelain god) JM -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 9:32 AM To: Struts (E-mail) Subject: FW: Mail System Error - Returned Mail Apparently, this moron reached his 64k limit -Original Message- From: Mail Administrator [mailto:[EMAIL PROTECTED]] Sent: Friday, May 10, 2002 9:29 AM This Message was undeliverable due to the following reason: The user(s) account is temporarily over quota. [EMAIL PROTECTED] Please reply to [EMAIL PROTECTED] if you feel this message to be in error. -- 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] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: *.do ---- Proof of Concepts
Struts has a class org.apache.struts.actions.ForwardAction that will probably fill your need. In your web.xml, you can leave the default *.do configuration as is. In your struts-config.xml, add the following action (in the actionmappings section), and replace the 'parameter' with the jsp file you want to forward to (and the /test with whatever you would like to call your action): action-mappings actionpath=/test type=org.apache.struts.actions.ForwardAction name=whateveryouwanttocallit parameter=/index.jsp /action /action-mappings Restart, and now if you issue a /test.do you will be redirected to your jsp page (through the controller). This way, you don't have to create an action class, but you still can use the controller. See the javadoc on the ForwardAction class for more. -Manish -Original Message- From: K J [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 2:04 PM To: Struts Users Mailing List Subject: *.do Proof of Concepts Say I have a web application which contains 1 JSP and I wanted to use Struts. I don't have any action classes, but I want to use the controler servelt and the taglib. Will the *.do work only when you have action classes? What would this entry look like if I only want the Controler servelt to forward to a JSP(without any action classes)? can you tell me what needs to go where(i.e. web.xml vs. struts-config.xml). what should go in the global forward path, and the servelet-mapping section? Thanks. = __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- 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]