I am using Weblogic 8.1 SP3 <%@ page language="java" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<html:html locale="true"> <head> <title><bean:message key="index.title "/></title> <html:base/> </head> <body> <html:form action="/login"> <bean:message key="prompt.login"/> <html:text property="login"/> <br/> <bean:message key="prompt.password"/> <html:password property="password"/> <br/> <html:submit> <bean:message key="index.login"/> </html:submit> </html:form> </body> </html:html> I am NOT using bean:define. In fact.. bean:message works... still that exception of creating bean comes :( On 9/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Tom, Can you post the JSP code? Are you using WebLogic Portal 4.0 or WebLogic Server 6.1 SP5 version??? If so, Struts bean:define doesnt work in that version of software based on my experience. Thanks and regards, Pazhanikanthan. P (Paz) Consultant for AXA, Senior Software Engineer, HCL Australia Services Pty. Ltd. Off : +61-3-9618-4085 Mob : +61-0411-354-838 *"Tom Jerry" <[EMAIL PROTECTED]>* 07/09/2006 02:21 PM Please respond to "Struts Users Mailing List" To: "Struts Users Mailing List" <user@struts.apache.org> cc: Subject: Re: exception Error 500--Internal Server Error javax.servlet.jsp.JspException: Exception creating bean of class code.LoginForm: {1} at org.apache.struts.taglib.html.FormTag.initFormBean( FormTag.java:487) at org.apache.struts.taglib.html.FormTag.doStartTag( FormTag.java:457) at jsp_servlet.__index._jspService(__index.java:216) at weblogic.servlet.jsp.JspBase.service(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run( ServletStubImpl.java:996) at weblogic.servlet.internal.ServletStubImpl.invokeServlet (ServletStubImpl.java:419) at weblogic.servlet.internal.ServletStubImpl.invokeServlet (ServletStubImpl.java:463) at weblogic.servlet.internal.ServletStubImpl.invokeServlet (ServletStubImpl.java:315) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run (WebAppServletContext.java:6452) at weblogic.security.acl.internal.AuthenticatedSubject.doAs( AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs( SecurityManager.java:118) at weblogic.servlet.internal.WebAppServletContext.invokeServlet( WebAppServletContext.java:3661) at weblogic.servlet.internal.ServletRequestImpl.execute( ServletRequestImpl.java:2630) at weblogic.kernel.ExecuteThread.execute( ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java :178) On 9/6/06, David Friedman <[EMAIL PROTECTED]> wrote: > > What is the full stack trace in your application server logs? > > -----Original Message----- > From: Tom Jerry [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 06, 2006 12:48 PM > To: user@struts.apache.org > Subject: exception > > > Why do I get an "exception in creating bean" ???? > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > _____________________________________________________________________ This e-mail has been scanned for viruses by MCI's Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com ********************************************************************************* Important Note This email (including any attachments) contains information which is confidential and may be subject to legal privilege. If you are not the intended recipient you must not use, distribute or copy this email. If you have received this email in error please notify the sender immediately and delete this email. Any views expressed in this email are not necessarily the views of AXA. Thank you. **********************************************************************************