RE: Weblogic pains...
Hi, has weblogic problems with the TLD being under WEB-INF? try moving the tld to a directory not underneath WEB-INF, update the jsp and retry regards Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 22, 2001 12:28 PM To: [EMAIL PROTECTED] Subject: RE: Weblogic pains... Subject: Re: Weblogic pains... Tag attributes need to be double-quoted, but I'd start by describing the problem you are having! I have used Struts with WLS 5.1 and WLS 6.0 and have had no trouble. %@page contentType=text/html% %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % html:html html:form action='/whatever' /html:form /html:html Oops. Staring at the problem so long I forgot to mention what it is. I get an error 500 in the browser and something like this in my log: Thu Nov 22 12:16:31 CET 2001:E WebAppServletContext-dto-struts-app Root cause of ServletException javax.servlet.ServletException: runtime failure in custom tag 'form' at jsp_servlet._devinfo._jspService(_devinfo.java:111) at weblogic.servlet.jsp.JspBase.service(JspBase.java:27) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :106) I tried both quotes and double-quotes: no difference whatsoever. Mark Schenk | Ceci n'est pas une signature Blackboard Project Manager | Delft University of Technology |E-mail: [EMAIL PROTECTED] Dept.: DTO |Phone: +31 152785448 (85448) Room: LB00.680 |Fax:+31 152786359 - -- 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]
Weblogic pains...
I am trying to get a simple application up and running under Weblogic 5.1 (sp 8) and getting stuck on about the first step :-(. It looks as though struts has problems translating mappings. This is my jsp: %@page contentType=text/html% %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % html:html html:form action='/whatever' /html:form /html:html And the corresponding entry in struts-config.xml is OK, 'cause this displays a fine form tag under Tomcat. Is there some known limitation on Weblogic? I am using prefix matching in my app, could this be the problem? Thanks for any input. PS Upgrading Weblogic is not an option for me: this is part of a larger app. Mark Schenk | Ceci n'est pas une signature Blackboard Project Manager | Delft University of Technology |E-mail: [EMAIL PROTECTED] Dept.: DTO |Phone: +31 152785448 (85448) Room: LB00.680 |Fax:+31 152786359 - -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Weblogic pains...
Tag attributes need to be double-quoted, but I'd start by describing the problem you are having! I have used Struts with WLS 5.1 and WLS 6.0 and have had no trouble. Sean - Original Message - From: Mark Schenk [EMAIL PROTECTED] To: Struts-User [EMAIL PROTECTED] Sent: Thursday, November 22, 2001 9:28 AM Subject: Weblogic pains... I am trying to get a simple application up and running under Weblogic 5.1 (sp 8) and getting stuck on about the first step :-(. It looks as though struts has problems translating mappings. This is my jsp: %@page contentType=text/html% %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % html:html html:form action='/whatever' /html:form /html:html And the corresponding entry in struts-config.xml is OK, 'cause this displays a fine form tag under Tomcat. Is there some known limitation on Weblogic? I am using prefix matching in my app, could this be the problem? Thanks for any input. PS Upgrading Weblogic is not an option for me: this is part of a larger app. -- -- Mark Schenk | Ceci n'est pas une signature Blackboard Project Manager | Delft University of Technology |E-mail: [EMAIL PROTECTED] Dept.: DTO |Phone: +31 152785448 (85448) Room: LB00.680 |Fax: +31 152786359 -- -- - -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Weblogic pains...
Subject: Re: Weblogic pains... Tag attributes need to be double-quoted, but I'd start by describing the problem you are having! I have used Struts with WLS 5.1 and WLS 6.0 and have had no trouble. %@page contentType=text/html% %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % html:html html:form action='/whatever' /html:form /html:html Oops. Staring at the problem so long I forgot to mention what it is. I get an error 500 in the browser and something like this in my log: Thu Nov 22 12:16:31 CET 2001:E WebAppServletContext-dto-struts-app Root cause of ServletException javax.servlet.ServletException: runtime failure in custom tag 'form' at jsp_servlet._devinfo._jspService(_devinfo.java:111) at weblogic.servlet.jsp.JspBase.service(JspBase.java:27) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :106) I tried both quotes and double-quotes: no difference whatsoever. Mark Schenk | Ceci n'est pas une signature Blackboard Project Manager | Delft University of Technology |E-mail: [EMAIL PROTECTED] Dept.: DTO |Phone: +31 152785448 (85448) Room: LB00.680 |Fax:+31 152786359 - -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Weblogic pains...
Do you not have to give the form a name? - Original Message - From: Mark Schenk [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, November 22, 2001 11:28 AM Subject: RE: Weblogic pains... Subject: Re: Weblogic pains... Tag attributes need to be double-quoted, but I'd start by describing the problem you are having! I have used Struts with WLS 5.1 and WLS 6.0 and have had no trouble. %@page contentType=text/html% %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % html:html html:form action='/whatever' /html:form /html:html Oops. Staring at the problem so long I forgot to mention what it is. I get an error 500 in the browser and something like this in my log: Thu Nov 22 12:16:31 CET 2001:E WebAppServletContext-dto-struts-app Root cause of ServletException javax.servlet.ServletException: runtime failure in custom tag 'form' at jsp_servlet._devinfo._jspService(_devinfo.java:111) at weblogic.servlet.jsp.JspBase.service(JspBase.java:27) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :106) I tried both quotes and double-quotes: no difference whatsoever. -- -- Mark Schenk | Ceci n'est pas une signature Blackboard Project Manager | Delft University of Technology |E-mail: [EMAIL PROTECTED] Dept.: DTO |Phone: +31 152785448 (85448) Room: LB00.680 |Fax: +31 152786359 -- -- - -- 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: Weblogic pains...
I've never seen the errors you are getting, sorry... I've seen Struts work with Weblogic for what that's worth. Since the JSP exceptions aren't very helpful I might resort to debugging it line by line! See where Struts is really complaining. Regarding double quotes, I guess I was thinking of XML... sure enough single quotes are OK with JSP; I learn something new every day. - Original Message - From: Mark Schenk [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, November 22, 2001 1:06 PM Subject: RE: Weblogic pains... Do you not have to give the form a name? Nope, struts uses the default bean defined in struts-config: action path=/whatever name=whateverformbean scope=request ... And the form bean works... (as it IS created when I run it in tomcat...) PS. You had me worried about having to use double quotes so I looked it up the jsp-specs: section 2.1.5 states you can use both single and double quotes. -- -- Mark Schenk | Ceci n'est pas une signature Blackboard Project Manager | Delft University of Technology |E-mail: [EMAIL PROTECTED] Dept.: DTO |Phone: +31 152785448 (85448) Room: LB00.680 |Fax: +31 152786359 -- -- - -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]