On 10/14/2017 5:43 AM, albert kao wrote:
> Messages:
> /WEB-INF/jsp/persons.jsp (line: 13, column: 8) Attribute id invalid for tag
> url according to TLD
Hello Albert,
Thanks for your report. It seems struts-examples need some fixes which
are under processing at [1].
Regards,
Yasser.
[1] htt
2009/7/16 jayadevan :
> xwork-2.0.4.jar,
> ognl-2.6.11.jar,
> jsp-api-2.0.jar,freemarker-2.3.8.jar,
> commons-logging-1.0.4.jar
> these are other jars
And struts2-core.jar, which version? Do you have some other exception
when you're starting Tomcat?
Regards
--
Lukasz
http://www.lenart.org.pl/
h
struts needs to map url requests to FilterDispatcher
your WEB-INF/web.xml should have filter configured and mapped as:
struts
org.apache.struts2.dispatcher.FilterDispatcher
actionPackages
your.action.package
templ
hi
xwork-2.0.4.jar,
ognl-2.6.11.jar,
jsp-api-2.0.jar,freemarker-2.3.8.jar,
commons-logging-1.0.4.jar
these are other jars
Lukasz Lenart wrote:
>
> 2009/7/16 jayadevan :
>> u said struts-tags.xml is already in struts2-*.jar
>> so add struts2-core.jar into class path and try to exccute
>>
>> the
2009/7/16 jayadevan :
> u said struts-tags.xml is already in struts2-*.jar
> so add struts2-core.jar into class path and try to exccute
>
> then i got the following exception
>
> org.apache.jasper.JasperException: File "/struts-tags.tld" not found
struts-tags.tld is for sure in struts2-core.jar,
hi
u said struts-tags.xml is already in struts2-*.jar
so add struts2-core.jar into class path and try to exccute
then i got the following exception
org.apache.jasper.JasperException: File "/struts-tags.tld" not found
at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultEr
2009/7/16 jayadevan :
> i tried both way
> directly
> and step by step
You should avoid directly accessing jsp files, always go through
actions. Especially when you are using Struts tags inside.
Regards
--
Lukasz
http://www.lenart.org.pl/
http://dailylog.lenart.org.pl/
Ogden Nash - "The troub
2009/7/16 jayadevan :
> my index.jsp like this
Is it the same file as in web.xml for welcome-file?
> where i place "struts-tags.xml " ?
It's already in struts2-*.jar
Regards
--
Lukasz
http://www.lenart.org.pl/
http://dailylog.lenart.org.pl/
Joan Crawford - "I, Joan Crawford, I believe in th
my index.jsp like this
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
http://www.w3.org/TR/html4/loose.dtd";>
<%...@taglib uri="/struts-tags" prefix="s" %>
Hello World
i tried both way
directly
and step by step
Lukasz Lenart wrote:
>
> It's ok, when you got that exception? What url were you entering in
> web browser? It looks like you went directly to jsp.
>
>
> Regards
> --
> Lukasz
> http://www.lenart.org.pl/
> http://dailylog.lenart.org.pl/
>
> Timothy
It's ok, when you got that exception? What url were you entering in
web browser? It looks like you went directly to jsp.
Regards
--
Lukasz
http://www.lenart.org.pl/
http://dailylog.lenart.org.pl/
Timothy Leary - "Women who seek to be equal with men lack ambition."
- http://www.brainyquote.com/
hi
my web.xml
http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
strutsExample
struts2
org.apache.struts2.dispatcher.FilterDisp
Could you show your web.xml?
Regards
--
Lukasz
http://www.lenart.org.pl/
http://dailylog.lenart.org.pl/
Lenny Bruce - "Communism is like one big phone company." -
http://www.brainyquote.com/quotes/authors/l/lenny_bruce.html
-
Thanks Greg, that tutorial helped me a lot... I cleared the issue by using
Prepare Interceptor and everything works fine now... I'm still not that much
clear on resolving the issue with tag but I will look into that a
little later...
Thanks again to u & chris for giving ur inputs
~Muthu
Greg
Have you looked at this?
http://struts.apache.org/2.1.6/docs/how-do-we-repopulate-controls-when-validation-fails.html
Muthu Velappan wrote:
>
> Thanks for the reply, Chris..
>
> My problem is that in there is no two separate actions for loading and
> submitting the data back from this JSP..
Thanks for the reply, Chris..
My problem is that in there is no two separate actions for loading and
submitting the data back from this JSP.. To be precise, while loading the
page it will use the input() method where as while submitting it will use
the execute() method in my Action class
Actual
Looks like your JSP pulls the data from one action, which I will call A, and
posts to another action, EditField.
When there is an error you are bounced back to the JSP (assuming 'input' leads
back to this JSP but
now the JSP is trying to populate the select from a property called
fieldTypeMap
t; From: Dave Newton [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 12, 2007 11:53 AM
> To: Struts Users Mailing List
> Subject: RE: org.apache.jasper.JasperException: File
> "C:/struts/taglibs/struts-bean.tld" not found
>
> With:
>
> - The TLDs
Yes it didn't.
Thanks,
Qaiser Mehmood
Work (512) 248-4269
Cell (571) 438-8639
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 12, 2007 11:53 AM
To: Struts Users Mailing List
Subject: RE: org.apache.jasper.JasperException: File
"
(512) 248-4269
> Cell (571) 438-8639
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 12, 2007 11:31 AM
> To: Struts Users Mailing List
> Subject: Re: org.apache.jasper.JasperException: File
> "C:/struts/
Yes I tried them in WEB-INF also. Same problem... :)
Thanks,
Qaiser Mehmood
Work (512) 248-4269
Cell (571) 438-8639
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 12, 2007 11:31 AM
To: Struts Users Mailing List
Subject: Re
Try putting those tld's in your webapp's WEB-INF directory. And then make
sure you have those listed them in you web.xml file.
Not neccessarily in WEB-INF but just making sure they are there for sure.
Should have something similar in your web.xml.
/WEB-
On Thursday 25 November 2004 12:01, Danko Desancic wrote:
> The problem was conflict with some jars in CATALINA_HOME/common/lib
>
> Thanks for help
And thank _you_ :-) I had a (apparently) completely unrelated jasper error
and, sure enough, I had a number of old libraries in /common/lib. I remo
The problem was conflict with some jars in CATALINA_HOME/common/lib
Thanks for help
Danko
-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 24, 2004 5:32 PM
To: Struts Users Mailing List
Subject: RE: org.apache.jasper.JasperException
:[EMAIL PROTECTED]
Sent: Wednesday, November 24, 2004 5:32 PM
To: Struts Users Mailing List
Subject: RE: org.apache.jasper.JasperException: Unable to compile class
for JSP
Danko,
I'm confuse by your EL tag showing map['password']. So wouldn't you
access it using a map syntax li
al Message-
From: Danko Desancic [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 24, 2004 5:14 PM
To: Struts Users Mailing List
Subject: RE: org.apache.jasper.JasperException: Unable to compile class
for JSP
See below:
-Original Message-
From: David G. Friedman [mailto:[E
See below:
-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 24, 2004 5:09 PM
To: Struts Users Mailing List
Subject: RE: org.apache.jasper.JasperException: Unable to compile class
for JSP
Danko,
What, exactly, are you typing in for
Danko,
What, exactly, are you typing in for your html:text tag?
or something else? I'm on
the same setup and I haven't seen that error before.
Regards,
David
-Original Message-
From: Danko Desancic [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 24, 2004 5:06 PM
To: [EMAIL PROTECTE
> -Original Message-
> From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 09, 2004 2:44 PM
> To: [EMAIL PROTECTED]
> Cc: 'Struts Users Mailing List'
> Subject: org.apache.jasper.JasperException
>
>
> I am getting this error, what could be the reason...
>
> 2004-08-0
29 matches
Mail list logo