Hello all,
I have a problem when using spring and the spring aplication context.
If I configure the action class directly from struts.conf, my action
does just the correct behavior. (1)
But if I configure the action in a spring file and in struts.conf put
only the spring bean name everything gets p
> There are couple of ways I can think of to do this, but they're ugly:
> - JSP level logic to render the page differently - dont want it, I'd
> rather individual jsp's for each supported device (or family) as this
> allows developers who are working on targeting a site to a specific
> device to c
How about using different packages/namespaces for the views?
/bb/index.jsp
/wm/index.jsp
2010/1/28 Marcus Bond :
> Hi,
>
> I am wanting to implement a site such that some actions may have a different
> mapping depending upon the device used (e.g. regular
I beg your pardon for spamming.
I'm mixing JSTL/Struts2 and my i18n messages
are generated using JSTL.
JSTL uses a java.util.Locale Object stored in the session
via key "javax.servlet.jsp.jstl.fmt.locale".
While Struts2 uses it's own key.
Now using the JSTL key to stuff the current locale into
an
Hi,
I am wanting to implement a site such that some actions may have a
different mapping depending upon the device used (e.g. regular browser /
mobile device etc.) but what I don't want to do is have to litter my
actions with this type of logic. It could be at the result mapping level
(i.e. i
Thank you Chris!
As far as I know the Struts-Tiles plugin supplied with Struts 2.1.8.1 does
not support Tiles 2.2 (or 2.1 for that matter).
This is exactly the reason!
I think both struts2 & Tiles2' official websites should highlight this
in a very prominent position!
Lowered the version t
As far as I know the Struts-Tiles plugin supplied with Struts 2.1.8.1 does
not support Tiles 2.2 (or 2.1 for that matter).
(*Chris*)
On Thu, Jan 28, 2010 at 11:15 AM, Emi Lu wrote:
> Good afternoon,
>
> Tiles2.2.1, Struts 2.1.8.1, Spring 2.5.6, tried simple example, but always
> got the follow
Good afternoon,
Tiles2.2.1, Struts 2.1.8.1, Spring 2.5.6, tried simple example, but
always got the following error:
===
java.lang.NullPointerException
org.apache.tiles.definition.UnresolvingLocaleDefinitionsFactory.getDefinition(UnresolvingLocaleDefiniti
Hi list,
I'm using struts 2.1.8 with JDK6
I've Message.properties | Message_de_DE.properties
and Message_en_US.properties.
When switching the local via a browser plugin everything
works fine and I can see that Session.WW_TRANS_I18N_LOCALE
contains the expected locale (de_DE or en_US).
Now I've a
Lo and behold! This does work. . . the problem I was initially running into
was that I was using the name:
struts.multipart.parser
and not the correct (new as of 2.1.8 ?)
struts.multipart.handler
So yes, defining the bean to use, in this case jakartax, will accomplish
just what a struts-plugin
Hi All,
I am new to struts2+spring and i am just trying to learn. I have added
following in web.xml.
struts2
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
struts2
/*
org.springframework.web.co
you can publish more then one topics like this:
nani2ratna wrote:
>
> Hi Johannes,
>
> Can you tell me how to change this example to work for single select box.
> I mean If user change anything in select box, another 2 select boxes need
> to get change their data.
>
Hi Saeed,
Thanks for trying to solve my issue.
Actually...Struts 2 is a Great Framework for Developing Web Applications.
But the word great adds more complexity to the Framework. I am using Dojo
with Struts2, but unexpectedly it did not works with IE it works in Mozilla
FF but not in IE.
So, Is
It looks fine to me perhaps someone else can help you.
On Thu, Jan 28, 2010 at 4:42 PM, SweetRahul wrote:
>
> Yes, i have written it correct way...if i am not wrong.
> Please have a look at following struts.xml file
>
>
>
>my.jsp
>Login.js
Yes, i have written it correct way...if i am not wrong.
Please have a look at following struts.xml file
my.jsp
Login.jsp
now here the URL is like this: "~/secure/login.action", Isn't it ?
and the code in jsp file is as
It says secure.Login not just login. Case Sensitive too.
On Thu, Jan 28, 2010 at 4:25 PM, SweetRahul wrote:
>
> Yes. But still it gives me an error...
> My Struts.xml file contain the above action with name "login" and for
> double
> check
> in result i have provided name="success".
>
> My Actio
Yes. But still it gives me an error...
My Struts.xml file contain the above action with name "login" and for double
check
in result i have provided name="success".
My Action is executed successfully...but it will not display the page which
is mapped to SUCCESS.
If you want some more information
That needs to be defined in struts.xml action and its result.
On Thu, Jan 28, 2010 at 4:10 PM, SweetRahul wrote:
>
> Hi,
>
> Very Very thank you for Such a Wonderful Explanation about the Initial
> Configuration for Struts2.
>
> But, I have always stuck here(whenever i create application from
>
Hi,
Very Very thank you for Such a Wonderful Explanation about the Initial
Configuration for Struts2.
But, I have always stuck here(whenever i create application from
scratch) I have checked all the My Configurations... but then also my
application gives me error something like this:
" Str
Jars are in the maven dependency list?
On Thu, Jan 28, 2010 at 3:59 PM, LotusHeart wrote:
>
> Hello,
> I am quite new in Struts2
> Even I have the same errors.The jar files mentioned above are available
> there but still it gives me the same error
> Please tell me the solution here
>
> Jan 28, 2
Hello,
I am quite new in Struts2
Even I have the same errors.The jar files mentioned above are available
there but still it gives me the same error
Please tell me the solution here
Jan 28, 2010 4:03:02 PM org.apache.tomcat.util.digester.SetPropertiesRule
begin
WARNING: [SetPropertiesRule]{Server
Hi Johannes,
Can you tell me how to change this example to work for single select box.
I mean If user change anything in select box, another 2 select boxes need to
get change their data.
Thanks in advace
Ratna
Johannes Geppert wrote:
>
> Maybe this helps you.
>
> http://code.google.com/p/str
22 matches
Mail list logo