2008/10/22 stanlick [EMAIL PROTECTED]:
I started a new Struts 2 project today with Tiles and Spring. My default
result type is tiles and everything works alright as long as you don't
look at the console! For some strange reason there are numerous messages
like the following:
The Struts
2008/10/22 D'Ottavio Alessandro [EMAIL PROTECTED]:
html:text property=myproperty readonly=bean:write
name=readonlyproperties property=myproperty /
You cannot nest tags in JSP, but you can use EL (if you are using at
least Servlet 2.4):
html:text property=myproperty
Configuration: Websphere 6.1.0.19 App Server, Oracle DB 10g, Struts 2.0.6,
Spring2.0.3 and Hibernate 3.0
We have a web app having 3 layers - Action classes, Service or Business
Objects and DAOs.
BOs and DAOs are accessed thru interfaces.
We use spring to inject dependency.
We have defined
Wrong configuration!
Do U add struts-spring-plugin.jar to the lib folder?
Any config in the struts.properties and web.xml to correct load spring
context with context-listener?
On Thu, Oct 23, 2008 at 3:20 PM, Rajiv Singla [EMAIL PROTECTED]wrote:
Configuration: Websphere 6.1.0.19 App Server,
Yes we have struts2-spring-plugin-2.0.6.jar in lib folder.
I have attached my struts.properties file
My web.xml has following listeners
listener
listener-classorg.springframework.web.context.request.RequestContextListener/listener-class
/listener
listener
Hey!
I just tried moving up to the new version and suddenly my s:div's are
not loading anymore. Couldn't find anything about it in the release
notes or migration guide. I have no errors or anything. Anyone else
having problems with this? Backing down to 2.0.11.2 and it comes back
to working.
I am using my own Stack and wonder why parameter setting fails although i did
exclude them:
interceptor-ref name=params
param
name=excludeParamsdojo\..*,d-.*-(p|s|o),^struts\..*/param
Hi all!
I´m having some trouble deploying one of my application on a Unix machine.
The application uses EJB3 beans, and the server log seems to indicate that
Jboss (4.2.2) deployer cannot
find my EJB3 classes. How can this be? It works perfectly when deployed on
windows.
I´ve seen some issues
I'm not sure what the Struts portion of the question is; perhaps you could
elaborate. Have you considered asking on a JBoss forum?
Dave
--- On Thu, 10/23/08, Dallas [EMAIL PROTECTED] wrote:
From: Dallas [EMAIL PROTECTED]
Subject: NoClassDefFoundError deploying on UNIX, not Windows
To:
Oh... how stupid... too much multitasking, posted on the wrong forum :-)
However, if someone by any chance happens to end up here while looking for
answers to a similar question,
I might aswell mention that the problem was that the application had been
deployed in ascii-mode instead of binary
html:text property=myproperty readonly=${readonlyproperties.myproperty}/
If I do like this the EL is not evaluated in the STRUTS TAG
I say this because after I tried to put the output whit the JSTL c:out and I
see value of the expression correctly
Example
In the request variable
Il 23 ottobre 2008 15.54, D'Ottavio Alessandro
[EMAIL PROTECTED] ha scritto:
I'm using struts 1.3.8 and JSTL 1.0.6 JSP 1.2
This is the problem, you need at least JSP 2.0 and Servlet 2.4 (and
JSTL 1.1.x). What application server are you using?
Antonio
IBM WebSphere 5
No good for JSP 2.0 and Servlet 2.4
That mean if I want to set particulars attribute about the input field of forms
like disabled, maxlength, readonly, with a EL expression
I can't use the html:text tag, but normal HTML.
That mean that with my Application Server version I can't
Il 23 ottobre 2008 16.18, D'Ottavio Alessandro
[EMAIL PROTECTED] ha That mean that with my
Application Server version I can't set any attribute dynamically
inside the STRUTS TAG?
You have to use the EL version of Struts tags:
http://struts.apache.org/1.3.8/struts-el/index.html
Antonio
While it's dirty, you can use a scriptlet variable to specify the
dynamic value in a struts html tag.
% Object isEditable = false; %
html:text property=myproperty readonly=%= isEditable %/
It gets even dirtier when the variable you wish to expose already
exists in some scope. Hopefully you
Thanks Antonio, David
Using the taglib tags-html-el I can use EL expression
But One question.
The differences between tags-html and tags-html-el are not in the tag that are
identical.
Why I should prefer to use tags-html? If tags-html-el give me the same TAG and
also the possibility to use
Il 23 ottobre 2008 17.05, D'Ottavio Alessandro
[EMAIL PROTECTED] ha scritto:
But One question.
The differences between tags-html and tags-html-el are not in the tag that
are identical.
Why I should prefer to use tags-html? If tags-html-el give me the same TAG
and also the possibility to
I had this same issue with 2.1.2 but got no response from this list.
Leonard Broman wrote:
Hey!
I just tried moving up to the new version and suddenly my s:div's are
not loading anymore. Couldn't find anything about it in the release
notes or migration guide. I have no errors or anything.
When I dig deeper into this, I see the problem is with a oops.jsp I have
configured in my struts.xml as
global-results
result name=exceptionLogger
type=dispatcher/oops.jsp/result
/global-results
Now here is the strange part -- my request
The first thing I'd do is turn up logging to 11 on s2, xwork, tiles, and ognl.
Not sure why the exception page would be hit w/ *no* exception but I could
imagine that there could be an exception after the page/response has been
written to... Is the 'right' page rendered *completely*?
Dave
Sorry if this has been discussed/answered before, but:
Wouldn't it be nice to split the mailing list, so that Struts2 has its own list?
Really, we all know that Struts2 and Struts1/Classic are very
different frameworks,
and the user interest in the messagges about s2 have, in all
probability,
Andriy,
Can u give me the sample code snippet to get the array value from jsp.
With Regards,
MYAshok
Andriy Kharchuk wrote:
It helped. Thank you.
2008/1/28, Hernandez, David [EMAIL PROTECTED]:
Andriy,
Try putting the array in an encapsulating object, i.e. an ArrayList.
Regards,
Hi all,
Sorry for the late reply.
Inside my action method the User object is populated via autowiring.
Dao object is being injected as bean using spring.
i dont know how to set scope for the bean.
please help me in using the bean with scope.
If i did anything wrong in my approach, please
Scott, are you sure that you don't have error pages pointing to oops.jsp
in your web.xml file?
http://e-docs.bea.com/wls/docs81/webapp/web_xml.html#1017571
On my first S2 project, I had pointed my errors to an oops.jsp out of
habit. I was trying to use S2 tags in the error page and ran into the
I wish I could switch on a British accent here -- mine goes to eleven
already but the knobber is broken off. It was a crazy show at the Garden
where some bloke kept tell'n me to crank the bugger up.
Yeah, the right page and no exceptions yet the oops.jsp (with its S2 tags)
is being flagged for
--- On Thu, 10/23/08, MyAshok wrote:
Inside my action method the User object is populated via autowiring.
Have you read the Spring documentation? This seems more a Spring issue than
Struts, really.
I used Google and searched for spring 2.0 session scope and the hits seemed
relevant to your
Maybe you should consider buying an off-the-shelf web application or slowing
down a little to read the documentation. Popping in and asking for snippets
of code for this and a sample file to do that only shows that you are
looking for someone else to do your work. Have you searched *this*
I found that this syntax will work (although there may be a more elegant
way to do this)
tiles:importAttribute name=image_url scope=request /
s:submit type='image'
s:param name=src
s:url value=%{#request.image_url} /
/s:param
/s:submit
-John
Antonio Petrelli wrote:
2008/10/15
Hello Hernán,
yes, this has been proposed many times before, and the topic pops up
every few months or so. The current practice is to add [S1] or [S2] to
the message headline, but only very few people seem to do that - so I am
with you as I find it rather annoying to read posts half through
hello...
may be the problem is the order of the filter
here is mine
!-- END SNIPPET: filter --
filter-mapping
filter-nameset-encoding/filter-name
url-pattern/j_spring_security_check/url-pattern
/filter-mapping
filter-mapping
Is this what you're looking for?
http://struts.apache.org/2.0.12/docs/interceptors.html#Interceptors-InterceptorParameterOverriding
Nils-H
On Thu, Oct 23, 2008 at 1:09 PM, Torsten Krah
[EMAIL PROTECTED] wrote:
I am using my own Stack and wonder why parameter setting fails although i did
31 matches
Mail list logo