The reason i need the request body is that the action i should take is to
analyze the html generated. (ie.: syntax checking, finding img without alt
attributes, reading meta-information ...).
More: this job must be done server side (no jscript or other client-side stuff
are allowed in my applica
Can anyone help me in building struts applications with Maven 1.1?
Plz Let me know, what are all the dependency files used to compile the
struts java files.
Thanks and Regards
Saravanan
DISCLAIMER:
---
Laurie Harper holoweb.net> writes:
> listKey="id" listValue="name"
>headerKey="-1" headerValue=""
>label="Region:" labelposition="left"/>
Hi Laurie,
I ran into a similar problem a few days ago. I posted my workaround here:
http://article.gmane.org/gmane.comp.
Hi:
thanks for replying..
I replaced the jars with 2.0.4 SNAPSHOTs for struts2-api and struts-core and
struts2-spring-plugin..
then I get this exception, I am using
struts2-api-2.0.4-SNAPSHOT
struts2-continuations-plugin-2.0.4-SNAPSHOT
struts2-core-2.0.4-SNAPSHOT
struts2-jasperreports-plugin-2
From: "xiao jie" <[EMAIL PROTECTED]>
> (do I have to remove the struts2-core-2.0.1 as well)
Um... you should remove *all* the 2.0.1 JAR files
and make sure that you're using the proper version
of the remaining libraries.
(...and curse MyEclipse for not putting library
version numbers in the JAR f
Jie--
When building your web applcation your application needs to associate the
IDentifier 'bean'with a class such as this declaration
.\struts-2.0.1\apps\struts2-showcase-2.0.1\web-inf\applicationContext.xml
(found in sample struts2-showcase-2.0.1.war)
Hi:
I tried that, I found all the cached dtd files under the preference options in
eclpise,
I found a list of it, I removed all the cached dtd files and start again, i
still have this errors.
thanks a lot
Pam
- Original Message
From: Tom Schneider <[EMAIL PROTECTED]>
To: Struts Users M
Does this:
http://marc.theaimsgroup.com/?l=struts-user&m=117002603126715&w=2 help you?
Tom
xiao jie wrote:
hi:
I tried to update my application from 2.0.1 to 2.0.4 and I have downloaded all the nightly built
2.0.4 jar files and plugins i needed and put them under WEB-INF/lib (do I have to remo
hi:
I tried to update my application from 2.0.1 to 2.0.4 and I have downloaded all
the nightly built
2.0.4 jar files and plugins i needed and put them under WEB-INF/lib (do I have
to remove the struts2-core-2.0.1 as well), is that all I have to do?
but I ended up with errors saying
Element type
This seems related to https://issues.apache.org/struts/browse/WW-1601
and http://issues.apache.org/struts/browse/WW-1634
Don
On 1/29/07, Laurie Harper <[EMAIL PROTECTED]> wrote:
I suspect this may be related to the recently mentioned bug/limitation
in s:select, but I haven't been able to figure
I suspect this may be related to the recently mentioned bug/limitation
in s:select, but I haven't been able to figure out how to work around it
if so. I'm trying to create a select input for a model property which
has a POJO type (actually, a persistent entity). Here's a rough outline:
public
I attached a patch to the ticket, now(when the patch gets applied :) )
you can use it like this:
...
The current css is here:
http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/resources/org/apache/struts2/static/dojo/src/widget/templates/TabContainer.css?view=markup
and the
Hi,
I'm trying to create an 'edit form' page. In this, I'm trying to populate a
multiple select field with a bean in the request scope and match the selected
values from the form. I'm not sure how to get this to work. After looking in
the taglib source, it looks like I have to specify anoth
Good catch, I got confused between WEB-INF and META-INF :)
musachy
cilquirm wrote:
your persistence.xml must be in META-INF directory in the classpath ( so
basically, it needs to end up either in your jars in WEB-INF/lib or in your
WEB-INF/classes directory )
shahab wrote:
Hi:
I have p
your persistence.xml must be in META-INF directory in the classpath ( so
basically, it needs to end up either in your jars in WEB-INF/lib or in your
WEB-INF/classes directory )
shahab wrote:
>
> Hi:
>
> I have persistence.xml under META-INF
>
> (both WEB-INF and META-INF are under tomcat_ho
Hi,
A simple question :
In this tag, what's the difference between id and name ?
Thanks in advance
Philippe
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
A "templateCssPath" is required on the tabbedPanel, so you will be able
to specify the css used for the tabs.
https://issues.apache.org/struts/browse/WW-1688
regards
musachy
walidito wrote:
Hi all,
I could customize my
Hi,
I wonder if there are any design guidelines on how to use AJAX with s2.There
was that traditional MVC architecture;now with AJAX there would be a lot of
processing done on the client side.
Also, it seems to me that we can do away totally with the submission of the
page to the server and
Hi:
I have persistence.xml under META-INF
(both WEB-INF and META-INF are under tomcat_home/webapps/ level
In fact, w/o this file, i get the same error also. How do I know if this
file is being picked up or not.
thanx
Shahab
Musachy Barroso-2 wrote:
>
> Is "persistence.xml" under WEB-INF? I
Hi,
i have a Problem with uploading large Files in IE (Firefox it is ok).
Here is the first part of my fileuploadinterceptor. (i just override the
fileuploadinterceptor and added some debug messages)
public String intercept(ActionInvocation invocation) throws Exception {
ActionContext
Is "persistence.xml" under WEB-INF? I was getting the same error when I
tried to avoid using the dummy persistence.xml (there is got to be a way
of configuring the persistent unit from Spring, but I didn't look into it).
musachy
shahab wrote:
Hi:
I am trying to use Struts 2, Spring and JPA.
Hi All,
I would like to present to you a new open-source project related with web
application security: HDIV (http://www.hdiv.org). Actually we have been working
on it for 3 years but we have published it recently.
HDIV is a Struts security extension in order to solve most common web
applicatio
Hi all,
I could customize my http://www.nabble.com/-s2--how-to-fully-customize-tabs---tf3138330.html#a8697705
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additi
Hi:
I am trying to use Struts 2, Spring and JPA. I have developed a simple
application like the one mentioned in
http://cwiki.apache.org/S2WIKI/struts-2-spring-jpa-ajax.html.
I am getting the following error -
SEVERE: Exception sending context initialized event to listener instance of
class
The clarification Paul asked for would be helpful, and I'd also suggest
posting the form bean definition from struts-config.xml along with the
action mappings for both displaying the form and handling its submission.
Re-reading your original post, I suspect you have an action in front of
the f
On 1/29/07, Tom Schneider <[EMAIL PROTECTED]> wrote:
Does this http://jira.opensymphony.com/browse/WW-291 have anything to do
with this?
I don't think so, although I'm just reading that ticket for the first time
and haven't encountered this bug.
In short, it looks like the DebuggingIntercept
Struts 2 can use JSF components, so it's not an either/or decision.
* http://struts.apache.org/2.x/docs/javaserver-faces.html
For an enterprise-grade JSF solution, see Apache Shale
* http://shale.apache.org/
The direction of Struts 2 is to continue to become the framework that
we actually *wan
Does this http://jira.opensymphony.com/browse/WW-291 have anything to do
with this? It seems like if Struts 2 is doing a sendError when it should be
throwing a ServletException like WW currently is, you would get results like
this. It still means that there is another error that is the root caus
Dariusz,
Thanks for the response. I'm pretty sure that hibernate is not the culprit.
In fact, I've done a quick test to verify that I get the same error when I take
hibernate out of the picture.
Stack trace:
05:00:52,946 ERROR Dispatcher:341 - Could not execute action
java.lang.IllegalSta
Can some one say something about the direction of Struts? Can we say it
will be replaced by JSF eventually? Is it easy to migrate struts to JSF?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL P
I usually get IllegalStateException exceptions with Struts2
if there was an unexpected exception in my code, ie. from Hibernate.
I can see Hibernate in your stack, are you sure this is not the reason
of your problems?
Is this the full stacktrace?
Dariusz Wojtas
On 1/29/07, bob <[EMAIL PROTECTED]
I'm getting the following error with every request. I can't figure out what it
means. I've looked around and tried to read the request myself, but I'm just
starting to learn Struts2 so its not the meaningful to me yet. I don't even
know whether this is a tomcat problem or a struts2 problem.
Gonçalo:
You and others trying to explore Tiles 2 may want to check out the examples
from the SVN repository:
http://svn.apache.org/repos/asf/tiles/examples/trunk/
Again, I want to point out that people who plan to use Tiles 2 really ought
to subscribe to the tiles-dev mailing list. This is al
Hello comunity,
After a couple of hours searching for a working example of tiles2
config file that actually works with struts2 I decided to ask on the
mailing list if anyone actually got tiles2 working with struts2.
I now that some elements changed from tiles1 but I'd prefer to
customize a given
Wonderful Dave. Its working
"
I am glad that you remembered # character :)
Thank you so much.
From: Struts2 Fan [mailto:[EMAIL PROTECTED]
>
>
>
> "
> title=""/>
>
First of all, for clarity, I would create the url with an id and use it
in the expression later.
<%-- 10? --%>
"
title=""/>
Hmm, might be %{#item.id}, I c
Hi Struts2 Users,
I have a question.
"
title=""/>
Here I used iterator tag and for the s:param's value (it is currently 10
above) I want to put the id property of the bean. (The bean has the property
id.) How can I put it there? cannot be accepted
there.
Thanks
Which build are you using?
regards
musachy
xiao jie wrote:
Hi :
I seem to have problem with the s:datetimepicker tag in my struts 2 application,
I used the quickstart project as a template and starting point for my project,
but when I include a s:datetimepicker in a jsp page,it says No tag "d
Hello,
In the struts2-showcase application, I see the includes in struts.xml
working very well. Then, I gone to hack the source code to try understand
how this works.
My conclusions are:
1) If a package 'A' extends 'struts-default', then it can be put in a
file-A.xml ;
2) If a package 'B' ext
The struts-tiles-plugin depends on the nightly snapshot of Tiles 2, which
means that some things may get out of sync with the docs -- for instance,
we've recently been working on clarifying the names of some of the JSP tags
and I know for a fact some of the doc at tiles.apache.org is not in sync
w
Hello Joe, thank you for your reply.
In fact I had already saw
http://cwiki.apache.org/S2PLUGINS/tiles-plugin.html, however I did not
found any reference to an example of tiles-config.xml nor the version
of the bundled Tiles (I assume from your answer that is tiles2).
I'd still like to look into
Have you seen http://cwiki.apache.org/S2PLUGINS/tiles-plugin.html ?
Struts 2 is intentionally mostly ignorant of Tiles, except for the plugin,
so something like per-package tiles defs would involve writing your own
code, perhaps a custom subclass of the TilesResult. However, if you just
want to
Hello,
I'm developing a web application using struts2. I'm a struts1
developer and now I'm migrating myself (not a specific app) to
struts2.
The documentation is very good so I managed to setup struts and run a
few actions. The problem I found was in what it regards to Tiles.
Despite the documen
Chris you made my day.
We never thought about an option like redirect. Problem resolved and best
thanks to you.
with kind greetings from germany
Dirk Hesse
Am 26.01.2007, 20:08 Uhr, schrieb Christopher Schultz
<[EMAIL PROTECTED]>:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dirk,
Hi Nagesh,
Actionform design will not change when using nested tags or logic tags.
When using nested tags PROPERLY then data will be be set automatically by
struts framework.
If you read line by line below and undertstand the code from struts
userguide/API then then you an easily catch the logic
Hi,
Can you be more specific regarding the data you are losing on validation?
e.g.
1. request attributes
when a new request is sent from the browser, the validation may occur before
you have an opportunity to add further request attributes - in this case you
should validate in your action c
Well, I'm using Struts 1.3.5 and DynaValidatorForm + validation.xml for
validation. We resolved the issue Friday, by performing some additional steps.
Instead of using DynaValidatorForm, we created our own class which extends
DynaValidatorForm. After we call the validate-method, and it fails,
47 matches
Mail list logo