Hi..
I am getting the following error while deploying the
struts2-blank-2.0.6.war provided in struts-2.0.6-all.zip as examples. I am
pretty new to struts. please help me out..
Mar 8, 2007 2:41:00 AM
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider register
INFO: Par
Hi!
I want to set a customized response for every action. ( Actually, I want
to set the header to include cache control for every response) I want it
to be unanimous for all pages. So, can I set it in RequestProcessor or
ActionServlet and how.
Please reply asap.
Abhimanyu
Hi!
Thanks. That solved the purpose. But I want it to be unanimous for all
pages. So, can I set it in RequestProcessor or ActionServlet and how.
Please reply asap.
-Original Message-
From: Joan Horta [mailto:[EMAIL PROTECTED]
Sent: Friday, February 23, 2007 8:36 PM
To: Struts Users Mai
I would try to recompile the entire app. NoClassDefFoundError generally
relates to different JAR files that is shipped .. vs the one that was used
to compile the app.
On 3/9/07, Skip Hollowell <[EMAIL PROTECTED]> wrote:
This morning, I was playing with my setup in eclipse, and I moved some
of
Could you post the relevant section of your tiles-config & struts-config ?
Cheers.
WiB
On 3/9/07, Joe Yuen <[EMAIL PROTECTED]> wrote:
I am using struts 1.2.9 and am trying to understand how tiles works. I am
getting the following error:
javax.servlet.ServletException: Can't find Tile context
I would double-check your deployment and sanity-check
that the libraries are actually where you think they
are.
--- Skip Hollowell <[EMAIL PROTECTED]> wrote:
> This morning, I was playing with my setup in
> eclipse, and I moved some
> of my libraries around, and then I decided to move
> them bac
Swaminathan Subramanian wrote:
All,
I am working on application using Struts 1.0. I am trying to display an
ArrayList of complex objects using the logic:iterate tag.
Here's some more details -
FileObj
fileName
fileSize
fileType
fileM
Hi All,
I think I know what is the trouble but am still not sure why is this a
problem for Struts 2.0. I hope someone from the Struts community can help to
shed some light. Or what is the recommended way of aoping the action class
if spring proxy is not the route to go.
The problem is when I us
Guice is used as xwork's internal dependency injection container.
If possible, how do I use Guice for DI in an application?
Thanks
Ron
--
View this message in context:
http://www.nabble.com/-S2--Using-Guice-tf3371417.html#a9381479
Sent from the Struts - User mailing list archive at Nabble.com
One quick thing I see wrong is you have singleton="false" that is a
spring 1 attribute.
Shih Lee wrote:
Hi All,
I think I know what is the trouble but am still not sure why is this a
problem for Struts 2.0. I hope someone from the Struts community can help to
shed some light.
The problem is w
This morning, I was playing with my setup in eclipse, and I moved some
of my libraries around, and then I decided to move them back to where
they originally were. I can no longer start my tomcat instance, as I
get the following error:
Mar 8, 2007 3:15:17 PM org.apache.catalina.core.StandardCo
Hi All,
I think I know what is the trouble but am still not sure why is this a
problem for Struts 2.0. I hope someone from the Struts community can help to
shed some light.
The problem is when I use
"org.springframework.aop.framework.ProxyFactoryBean" to AOP the Action
class. Once I remove the A
I got an integration testing setup working last night with Maven 2, Struts
2, Spring and Hibernate JPA. I did a write up:
http://www.vitarara.org/cms/node/107
This took me a while to figure out, but it's very nice to be able to test my
actions all the way through my service and data layer without
Has anyone experienced a problem setting a list into the action using
? Is there a specific theme that must be used? I'm
getting a null in my action.
In my tag I have name="available", and in my action I have a
global/encapsulated List named available.
-Original Message-
From: [EMAIL P
Hi All,
I have been playing with Struts 2.0 sample application, struts-blank, and
integrates it with Spring 2.x. So far, I have not been having great success
with it.
I have followed all the steps needed to integrate Struts 2.0 w
From http://struts.apache.org/2.0.6/docs/updownselect.html:
headerKey false
true String Key for first item in list. Must not be empty! '-1' and '' is
correct, '' is bad.
This is rather unclear, so I'm not quite sure how I should be using the
headerKey parameter. Does anyone have some insight?
Musachy --
I agree. It's just so frustrating when you have to fool around to get a
feature in S2 to work. I am a Java Architect currently involved in a
teaching engagement. Who would I contact to see about writing a Struts2
book? I see this as a venture that might be worthwhile.
Scott
On 3
All,
I am working on application using Struts 1.0. I am trying to display an
ArrayList of complex objects using the logic:iterate tag.
Here's some more details -
FileObj
fileName
fileSize
fileType
fileModifiedDate
Action class
Its all working now. I moved the OpenSessionInViewFilter all the way up in
web.xml
and it works fine..
Thanks a lot
-ravi
On 3/7/07, Dave Newton <[EMAIL PROTECTED]> wrote:
--- Ravi Mangalagiri wrote:
> I did move OpenSessionInViewFilter all the way
> up. no luck
I have heard that some books are on their way, but I don't know more than
that. The wiki has a lot of information, you just have to browse around a
little bit, and ask here when you don't find something :)
regards
musachy
On 3/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Don't get me wr
Scott,
It's frustrating we know but keeping things perspective lets not forget that it
just recently came out of beta. Giving it a month or two provides us early
adopters with the opportunity to figures things out (albeit the hard way) and
help out those folks later on with similar problems lik
I am using struts 1.2.9 and am trying to understand how tiles works. I am
getting the following error:
javax.servlet.ServletException: Can't find Tile context for
'com.chisq.vax.action.VaxAction'. TilesAction subclasses must be called from a
Tile
What is this "Tile context" that it is complai
Don't get me wrong -- I think S2 is a giant step forward after having used
S1 for years. However, the hodge podge of limited "and simple" examples
and no available courses or books, makes learning the framework quite a
challenge. Do you know if anyone has a book in the works? Do you know of
an
I'm not sure that I follow. This link:
http://struts.apache.org/2.x/docs/ajax-tags.html
has been posted here many times, there is a link to it int the
documentation:
http://struts.apache.org/2.x/docs/guides.html
and the showcase has several examples. Could it be more confusing? oh yeah.
If you
Could this be any more confusing? Unless someone documents all the
idiosyncracies, folks are going to give up on Struts2 and adopt RoR! I have
read all the docs/wikis on the S2 site and even poured over the showcase
code. I worked three evenings this week trying to figure out how to
incorporate
Yes - you are right. The sessions are generated automatically by the container
(tomcat, etc).
Thanks. In a servlet based web-app I would create the session object
programatticaly with httpServletRequest.getSession(true). I just
wasn't sure if Struts 2 was creating the session for me since I a
> > Secondly I need to know when a session is
> > ended. Is there an established Struts 2 practice for this or do I
> > still create an HTTPSessionListener object and register it in web.xml
> > as I would with a "basic" web-app.
>
> HTTPSessionListener?
>
> You can use
> --- code ---
>
>
Hello.
> A couple of newbie questions. Firstly, does Struts2 automatically
> create an HTTP Session or do I need to explicitly create it.
Sessions are managed by the servlet-container. Struts does not need to create
them.
> Early
> experimentation suggests that it's automatically created as I
Am Donnerstag, 8. März 2007 schrieb Piero Sartini:
> But my form tag contains theme="ajax" because of the validation. is it
> right to make the submit button theme="css_xhtml" to avoid the ajax-submit?
it needs to be "xhtml" theme on the submit button.
not very elegant in my oppinion - but it work
Yes
musachy
On 3/8/07, Piero Sartini <[EMAIL PROTECTED]> wrote:
But my form tag contains theme="ajax" because of the validation. is it
right
to make the submit button theme="css_xhtml" to avoid the ajax-submit?
Am Donnerstag, 8. März 2007 schrieb Musachy Barroso:
> Just use the regular submi
But my form tag contains theme="ajax" because of the validation. is it right
to make the submit button theme="css_xhtml" to avoid the ajax-submit?
Am Donnerstag, 8. März 2007 schrieb Musachy Barroso:
> Just use the regular submit tag. (no theme="ajax").
>
> musachy
>
> On 3/8/07, Piero Sartini <
Just use the regular submit tag. (no theme="ajax").
musachy
On 3/8/07, Piero Sartini <[EMAIL PROTECTED]> wrote:
I am using the ajax theme mainly because of the validator and some
features
like tabbed pane etc.
But if I submit a form, I want to submit that form and go to the result of
the
acti
I am using the ajax theme mainly because of the validator and some features
like tabbed pane etc.
But if I submit a form, I want to submit that form and go to the result of the
action - not load it into a div. the result gets decorated again, and I do
not want to force the users into activating
Thank you very much Dave.
I never looked at it. Copied from older version and changed only DTD.
Thanks a lot!!
DISCLAIMER
==
This e-mail may contain privileged and confidential information which is the
property of Persistent Systems Pvt. Ltd. It is intended only for the use of the
indiv
Re-asking if there's anything in the logs that seems
relevent both on startup and on the request? Also, if
you're getting the freemarker error, look *before* the
freemarker error in the log to see what the actual
problem is (and turn devMode on).
d.
--- meeboo <[EMAIL PROTECTED]> wrote:
>
> I t
--- Avinash Wable wrote:
> I already posted this in "NullPointerException in
> TilesException using Tiles with Struts 2" thread.
Sorry it took me so long; I've been training a vole to
program Java so I can send it to work in my place.
> Does anyone got the same problem when using Tiles 2
> with S
I tried using the maven archetype but still get the same error (even with the
Config-browser plugin). Could someone maybe guide me through the
configuration process for a simple Struts 2 hello world application? I'm
having trouble grasping what the bare minimum amount of files is to set up a
Strut
I already posted this in "NullPointerException in TilesException using Tiles
with Struts 2" thread.
Does anyone got the same problem when using Tiles 2 with Struts 2
My jsps are simple (don't use tiles tags). I am using tiles just as a
forward result type.
You can look at my configuration given
Hi
A couple of newbie questions. Firstly, does Struts2 automatically
create an HTTP Session or do I need to explicitly create it. Early
experimentation suggests that it's automatically created as I'm seeing
the JSESSIONID parameter in the Urls generated without doing anything,
but I'd like to be
Ah-ha! Thank you!
Ian Roughley wrote:
>
> I think you need to change the struts.properties file to enable .do as
> the extension rather than .action - this can also be achieved from the
> struts.xml file.
>
> /Ian
>
>
> ChristopherAngel wrote:
>> I am unable to get my own example web app
Hi,
I am facing problem in deploying the example application provided with
Struts 2.0.6.
I am using jboss-4.0.3SP1
Here is the log on jboss console
2007-03-08 13:30:08,711 DEBUG [org.jboss.deployment.MainDeployer] Starting
deployment of package:
file:/C:/jboss-4.0.3SP1/server/d
41 matches
Mail list logo