struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Parmar, Deepak" <dpar...@cgmpsystems.com>
Subject RE: Error in running struts example in weblogic 6.1
Date Fri, 22 Feb 2002 23:39:45 GMT
Hi KK,

I checked it out and "ApplicationResources.properties" is in correct place.
To clarify this i added another jsp file:

<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>

<title><bean:message key="logon.title"/></title>
<bean:message key="logon.title"/>

and this does display TITLE from resource file but if i just add taglib
directive
	<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> it give me
error.

I may be missing here because i just started playing with struts.

Thanks
Deepak

-----Original Message-----
From: Khalid, Khusro [mailto:kkhalid@aivia.net]
Sent: Friday, February 22, 2002 5:19 PM
To: 'Struts Users Mailing List'
Subject: RE: Error in running struts example in weblogic 6.1


Deepak...
first of all u werent clear on what u were doing ...
if ur just trying out that example, then i think u need to check out the
web.xml and verify that the "ApplicationResources.properties" is in the
correct place. Your action servlet cant find it and hence the error..due to
=> <bean:message key="index.title"/>" (in index.jsp).
-KK


-----Original Message-----
From: Parmar, Deepak [mailto:dparmar@cgmpsystems.com]
Sent: Friday, February 22, 2002 4:18 PM
To: Struts Users Mailing List
Subject: RE: Error in running struts example in weblogic 6.1


Hi KK,

There is not <html:form.....> tag.
I'm trying to run struts example.
I have added struts-example.war file and trying to access index.jsp file

Deepak

-----Original Message-----
From: Khalid, Khusro [mailto:kkhalid@aivia.net]
Sent: Friday, February 22, 2002 4:55 PM
To: 'Struts Users Mailing List'
Subject: RE: Error in running struts example in weblogic 6.1


Deepak,
im thinking u probably have something like
<html:form ... title="">
the form tag doesnt support any "title" attribute...

you may want to check out:

http://jakarta.apache.org/struts/doc-1.0.2/struts-html.html#form

-KK


>  -----Original Message-----
> From: 	Parmar, Deepak [mailto:dparmar@cgmpsystems.com]
> Sent:	Friday, February 22, 2002 3:44 PM
> To:	struts-user
> Subject:	Error in running struts example in weblogic 6.1
>
>
> Hello,
>
> I'm getting following error while running struts example:
> /index.jsp(3): Error in using tag library uri='/WEB-INF/struts-html.tld'
> prefix='html': The Tag class 'org.apache.struts.taglib.html.FormTag' has
> no setter method corresponding to TLD declared attribute 'title', (JSP 1.1
> spec, 5.4.1)
> probably occurred due to an error in /index.jsp line 3:
> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
>
> Deepak << File: ATT31459.txt >>

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message