Hi. I have a div where I want to put the result of an action after submitting
a form like this:
s:form id=adauga_form
s:hidden name=actiune value=1
id=parametru_actiune_adauga /
s:hidden name=id_user value=
I'm trying to understand the JSF dependencies in struts2 build 2.0.9. When I
deploy our struts 2 app onto Oracle App Server 10.1.3.2 I get a
java.lang.NoClassDefFoundError, with javax/faces/lifecycle/Lifecycle not
found.
Three questions:
1. Is the JSF plugin enabled by default in 2.0.9?
2. Does
Hi all ,
I am getting stack overflow error while using tabbed panel and in my
application no ajax based tags are working , datetimepicker,autocompleter
etc..
Previously I wrote some example where they all worked ,
But they are failing miserably when they
I believe you are right. It does work when using Chaining. I believe I had a
bug in the final jsp page, it now works correctly. Thank you
Laszlo Borsos wrote:
I haven't tried it yet, but the Chaining Interceptor is also meant for
this purpose.
[EMAIL PROTECTED] wrote:
1) How can
Greetings to all,
since i am migrating to struts2 i would like to ask which is the most
efficient way to handle the hibernate sessions ... i.e. stick to the
hibernateutil class that is on hibernate website example ? Create a
application scope bean accessible via spring ?
Your answers are
If spring take control of this then you can access many springcontainer
feature on session. Also you can take advantage of different Templates
provided by spring(HibernateTemplate , SimpleJDBCTemplate..)
-Original Message-
From: Leonidas Papadakis [mailto:[EMAIL PROTECTED]
Sent:
Sorry about the late reply, but better ate than never.
All you need to do is have a setPar(String par) method in your action and
it's automagically invoked when extending parameteraware (t may even be
invoked generally, I can't remember).
Z.
file set:
Launch JSP page: TestActionParam.jsp
Hi, I am a new user here and I had the same preoblem with my aplication. I
wanted to display a table with some data taken from the database.
I tried to put my struts configuration file in WEB-APPS/classes but tomcat
gave me an error telling me that filter dispatcher dindn't find my
configuration
Hi, I am a new user here and I had the same problem with my application. I
wanted to display a table with some data taken from the database.
I tried to put my struts configuration file in WEB-APPS/classes(as I saw on
this forum) but tomcat gave me an error telling me that filter dispatcher
Thank you for your reply.
What about the performance in this case... Is it going to be fast and
stable ?
L
Baseer Patel MD wrote:
If spring take control of this then you can access many springcontainer
feature on session. Also you can take advantage of different Templates
provided by
Hello,
I updgrade struts2.0.6 to struts2.0.9.
All seem work expcet tiles plugin (render).
/WEB-INF/tiles.xml (extract)
definition name=global.welcome template=/view/tiles/layout.jsp
put name=title value=Welcome to RIC type=string/
put name=header value=/view/tiles/header.jsp/
put
Depends on many factor your exact requirement,
However you can use EHCache to boost performance along with QueryCache,
Level1 Leve2 cache.
Lazy loading is also boost performance but in some scenarios only.
If you don't recognize these may degrade even too.
-Original Message-
From:
Tiles 2 was updated between 2.0.6 - 2.0.9 and has
slightly different tag attributes (and DTD? I don't
recall...); check the Tiles documentation or look at
the TLD.
d.
--- rom3ro [EMAIL PROTECTED] wrote:
Hello,
I updgrade struts2.0.6 to struts2.0.9.
All seem work expcet tiles plugin
Hi to everyone.
It seems that JFreeChart plugin for Striuts 2 doesn't work with java
1.4.
Is there any way to use it with java 1.4?
Thanks in advance.
Andrei Sauchanka,
Software Engineer
EPAM Systems
Gomel office, Belarus (GMT+2)
Office fax: +375 (23) 553-200
Mobile: +375 (29) 236-66-04,
Hi,
Is there any plugin available for eclipse to use struts2 framework? We
would also like to work on Hibernate?
Your help on this would be greatly appreciated.
Regards,
NKarthikeyan.
--
View this message in context:
http://www.nabble.com/Struts2-plugin-for-eclipse-tf4317126.html#a12292272
ok i've found,
i haven't updgrade commons-digester-1.6.jar to commons-digester-1.8.jar.
thanks for tour replies.
tibo
rom3ro wrote:
Hello,
I updgrade struts2.0.6 to struts2.0.9.
All seem work expcet tiles plugin (render).
/WEB-INF/tiles.xml (extract)
definition
You need to give more details, on how they are failing, in order for
us to help you.
musachy
On 8/23/07, Vamsi [EMAIL PROTECTED] wrote:
Hi all ,
I am getting stack overflow error while using tabbed panel and in my
application no ajax based tags are working ,
Hello everybody. I am getting this error when I am trying to use tiles in
struts2. If anybody could help that would be terrific. Any input will be
greatly appreciated. Thank you.
javax.servlet.ServletException: Unable to define definition for a container
which does not implement
I'm using Struts 2.0.6
I noticed the following behaviour of the doubleselect UI tag, present also
in the Struts showcase.
A non default item is choosen in the first select and something else is
choosen in the linked select.
After submit if one returns to the form page using the 'back' button in
#1055;#1056;#1045;#1042;#1045;#1044;
#1052;#1045;#1044;#1042;#1045;#1044;!!!
Sick sense of humor? Visit Yahoo! TV's
Comedy with an Edge to see what's on, when.
http://tv.yahoo.com/collections/222
How about AA with Struts2 only?
I'm trying to understand Authorization with JAAS, but I'm not being very
successeful. Authentication is taken care of, I use JAAS and a PostgreSQL
database to store users, passwords and roles.
In the end of authentication, I store the subject in the HttpSession:
Has anyone been able to run Struts 2.0.9 with Java 2 security enabled?
I am finding that when I enable j2 security, struts can not initialize
because Win32CanonicalPathComponentRetriever throws a null-pointer
exception. Grrr.
This is under WebSphere 6.1.
--
View this message in context:
Hi,
while using EventDispatchAction in struts am getting
the below shown exception. Can anybody help me with an example
java.lang.NoSuchMethodException:
com.mss.actions.EventDispatchDemoAction.save,back,recalc=recalculate,default=save(org.apache.struts.action.ActionMapping,
Hi,
can anybody help me with an example on
EventDispatchAction in struts1.2.9 . Please help me its very urgent.
Just send .java file containing the code.
--
Regards,
Venu madhav.Yelamanchili
Developer,
WCS Team,
Miracle Software Systems,
[EMAIL PROTECTED]
Ph.No:+919963503613
Venu,
Please paste two things:
1) The action mapping (action) defining the action.
2) The signature of the method you're trying to call.
Paul
On 8/23/07, Venu Madhav [EMAIL PROTECTED] wrote:
Hi,
can anybody help me with an example on
EventDispatchAction in struts1.2.9 .
The example code is
http://svn.apache.org/viewvc/struts/struts1/trunk/apps/examples/src/main
/java/org/apache/struts/webapp/dispatch/EventDispatchActionExample.java?
view=markup (http://tinyurl.com/2amz3v) but your problem may be in the
struts config.
George Dinwiddie, iDIA Computing, LLC
I'm using 100% Struts 2 security:
- centralized store (simple Java class/XML config file) which maps roles
and actions
- interceptor if some user directly types the URL (based on the store)
- custom tag for showing/hiding links (based on the store)
This protects only *actions* and not data
Is
http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main
/webapp/WEB-INF/tiles.xml?view=markup (http://tinyurl.com/2p4adw) what
you're looking for?
George Dinwiddie, iDIA Computing, LLC
http://iDIAcomputing.com/
http://blog.gdinwiddie.com/
-Original Message-
From:
Did you provide yourself methods named save, back, and recalc? Do they match
the execute() signature of Struts?
On 8/23/07, Dinwiddie, George [EMAIL PROTECTED] wrote:
The example code is
http://svn.apache.org/viewvc/struts/struts1/trunk/apps/examples/src/main
Paul Benedict wrote:
Did you provide yourself methods named save, back, and recalc? Do they match
the execute() signature of Struts?
On 8/23/07, Dinwiddie, George [EMAIL PROTECTED] wrote:
The example code is
http://svn.apache.org/viewvc/struts/struts1/trunk/apps/examples/src/main
Paul Benedict wrote:
Did you provide yourself methods named save, back, and recalc? Do they match
the execute() signature of Struts?
On 8/23/07, Dinwiddie, George [EMAIL PROTECTED] wrote:
The example code is
http://svn.apache.org/viewvc/struts/struts1/trunk/apps/examples/src/main
What do you mean with 100% Struts 2 security? As far I know, S2 does
not have anything out-of-the-box regarding security.
In my case, I had to manually develop a login action and an
authentication interceptor.
Alvaro.
On 8/23/07, Arnaud Cogoluegnes [EMAIL PROTECTED] wrote:
I'm using 100%
Paul Benedict wrote:
Did you provide yourself methods named save, back, and recalc? Do they match
the execute() signature of Struts?
On 8/23/07, Dinwiddie, George [EMAIL PROTECTED] wrote:
The example code is
http://svn.apache.org/viewvc/struts/struts1/trunk/apps/examples/src/main
hi,
I am getting following exception if I remove default method in
struts-config.xml
javax.servlet.ServletException: Request[/event] does not contain handler
parameter.
can any body help me
--
Regards,
Venu madhav.Yelamanchili
Developer,
WCS Team,
Miracle Software Systems,
[EMAIL
hi,
I am getting following exception if I remove default method in
struts-config.xml
javax.servlet.ServletException: Request[/event] does not contain handler
parameter.
can any body help me
--
Regards,
Venu madhav.Yelamanchili
Developer,
WCS Team,
Miracle Software Systems,
[EMAIL
If you have your action parameter=hello,goodbye,default=hello
Have two methods:
public ActionForward hello(ActionMapping,
ActionForm,HttpServletRequest,HttpServletResponse)
public ActionForward goodbye(ActionMapping,
ActionForm,HttpServletRequest,HttpServletResponse)
Have also three submit
I was wondering what the best approach would be for taking form data
passed to an Action and removing 'special characters' from the data.
I am having issues with users pasting text from word docs etc. We
only support ISO-8859-1 as of now and there are some characters that
Word will replace such
Hi Paul,
It should be like what you gave. But here its not taking other methods into
consideration. Its taking only the default method. what ever button you press
the control is going to default method only.
--
Regards,
Venu madhav.Yelamanchili
Developer,
WCS Team,
Miracle Software
This is a good approach. In fact, you might start with the params
interceptor - as it is responsible for assigning data to the action, and
all that is needed is to sanitize before assignment.
/Ian
Richard Sayre wrote:
I was wondering what the best approach would be for taking form data
Is http://www.ognl.org/ the correct site for OGNL 2.7 ?
I´d like more information about this new release
Herrera
--
View this message in context:
http://www.nabble.com/OGNL-2.7-site-.-tf4318772.html#a12297763
Sent from the Struts - User mailing list archive at Nabble.com.
That means the request parameter name is not being included. I can't help
you there. But you'll have to research why the intended parameter name isn't
being submitted. Look at your HTML source and make sure you get distinct
names (not values).
Paul
On 8/23/07, Venu Madhav [EMAIL PROTECTED]
You could just override the string conversion in xwork:
http://struts.apache.org/2.x/docs/type-conversion.html
define something like this in xwork-conversion.properties
java.lang.String=org.example.MyConverter
Then create a class MyConverter that extends the XWorkBasicConverter and
override
Paul Benedict wrote:
That means the request parameter name is not being included. I can't help
you there. But you'll have to research why the intended parameter name isn't
being submitted. Look at your HTML source and make sure you get distinct
names (not values).
Paul
On 8/23/07, Venu Madhav
I don't think you need tile-config.xml. You can just add your tiles
definition to tiles.xml in WEB-INF.
-Original Message-
From: Pavel Sapozhnikov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 22, 2007 3:09 PM
To: user@struts.apache.org
Subject: Struts2 Tiles question
Hi everybody.
You need to change
put name=title value=Welcome to RIC type=string/
To
put-attribute name=title value=Welcome to RIC type=string/
-Original Message-
From: rom3ro [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 23, 2007 6:21 AM
To: user@struts.apache.org
Subject: struts2.0.6 -
Yeah I think thats what I was looking for, um but actually I was wondering
in struts.xml I say:
action name=presentEntryLogin class=
com.xfact.struts2login.actions.LoginLogoutDispatchAction
method=presentEntryLogin
result name=input type=tilesswiss.not_authenticated
/result
I'd be more inclined towards a filter here, preferably close to the top
of the chain... my thought is it's better to deal with things like that
as soon as possible because there's less chance of something exploitable
down the pipe. We have a cross-site scripting filter in our standard
Yes, but then you wouldn't use type=tiles
(*Chris*)
On 8/23/07, Pavel Sapozhnikov [EMAIL PROTECTED] wrote:
Yeah I think thats what I was looking for, um but actually I was wondering
in struts.xml I say:
action name=presentEntryLogin class=
Great and how do I tile the tile jsp to use the specified definition? Also
definitions can only be in tiles.xml right?
On 8/23/07, Chris Pratt [EMAIL PROTECTED] wrote:
Yes, but then you wouldn't use type=tiles
(*Chris*)
On 8/23/07, Pavel Sapozhnikov [EMAIL PROTECTED] wrote:
Yeah I think
Sorry tell* haha
On 8/23/07, Pavel Sapozhnikov [EMAIL PROTECTED] wrote:
Great and how do I tile the tile jsp to use the specified definition? Also
definitions can only be in tiles.xml right?
On 8/23/07, Chris Pratt [EMAIL PROTECTED] wrote:
Yes, but then you wouldn't use type=tiles
Please paste relevant portions on your web.xml, tiles-config and struts xml
files , so we can take a better look . I'm assuming you are using
Tiles 2along with Struts 2 .
On 8/23/07, Pavel Sapozhnikov [EMAIL PROTECTED] wrote:
Hello everybody. I am getting this error when I am trying to use
Hi I have a question in Struts 1 in struts-config.xml I have:
message-resources parameter=MessageResources /
What would the equivalent be in Struts2
Thank you
--
Pavel Sapozhnikov
xFact, Inc
[EMAIL PROTECTED]
Can I instead of pointing to a definition point to actual jsp? And this jsp
will have like more tile:insertAttribute and yea? Could I do that?
Great and how do I tell the tile jsp to use the specified definition? Also
definitions can only be in tiles.xml right?
You can put the definition right
And then import the jsp right? So how would I tell the tile jsp to use a
certain definition?
The normal way to integrate the two is to use the type=tiles result
type, and have your result reference a definition that points to the
layout that it needs.
It's also possible to point to a .jsp page
And then import the jsp right? So how would I tell the tile jsp to use a
certain definition?
On 8/23/07, Chris Pratt [EMAIL PROTECTED] wrote:
Can I instead of pointing to a definition point to actual jsp? And this
jsp
will have like more tile:insertAttribute and yea? Could I do that?
Great
Hi could anyone tell me is why is that why when every time I send email to
this mailing list I get Mail undeliverable error but the actual email gets
sent. I wasn't sure if I did something wrong?
--
Pavel Sapozhnikov
xFact, Inc
[EMAIL PROTECTED]
I think it is the value of struts.custom.i18n.resources in
struts.properties. You can also put it in struts.xml as
constant name=struts.custom.i18n.resources value=MessageResources
/
-Original Message-
From: Pavel Sapozhnikov [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 23, 2007
Oh great. Thank you very much. Do I need to include any jars or what not
On 8/23/07, Jiang, Jane (NIH/NCI) [C] [EMAIL PROTECTED] wrote:
I think it is the value of struts.custom.i18n.resources in
struts.properties. You can also put it in struts.xml as
constant name=struts.custom.i18n.resources
It seems that somebody is subscribed with a non-existent email address.
I added a filter in Gmail to automatically delete them.
Alvaro.
On 8/23/07, Pavel Sapozhnikov [EMAIL PROTECTED] wrote:
Hi could anyone tell me is why is that why when every time I send email to
this mailing list I get
Filter on what exactly? What do you filter?
On 8/23/07, Alvaro Sanchez-Mariscal [EMAIL PROTECTED]
wrote:
It seems that somebody is subscribed with a non-existent email address.
I added a filter in Gmail to automatically delete them.
Alvaro.
On 8/23/07, Pavel Sapozhnikov [EMAIL PROTECTED]
Also in jsp I have s:bean name=? id=something / I also see a line in
tomcat where its loading MessageResources.properties file now if I remove
name tag from s:bean it compains cuz name is required but at the same time I
don't know what should go in name attribute.
On 8/23/07, Pavel Sapozhnikov
Hey yeah I am using Tiles2. So this error only happens when I in
struts.xmlI point NOT to a definition but to a jsp like this (notice
no type there):
action name=presentEntryLogin class=
com.xfact.struts2login.actions.LoginLogoutDispatchAction
method=presentEntryLogin
result
Hi Antony,
Did you fix this in the IRAD IDE or on the WAS server ?. I'm using RAD 7.0.0
and wasn't able to apply the patch ; seems 6.1.0.5 won't work on this
version.
Thanks,
Joseph
newton.dave wrote:
--- Antony Stubbs [EMAIL PROTECTED] wrote:
Just as an after thought - perhaps this
Is it possible to get the requested path from inside an interceptor?
For instance, the following url was requested:
http://myhost:8080/mywebapp/private/admin/json/companies.action
So, from the interceptor, how can I get the
/private/admin/json/companies.action part from that url? I searched
Hi could anyone guide me on integrating Struts2 and Tiles1. Maybe me point
me to a page. Also are there any official dates as to when Tiles2 will be
out of beta? Thank you.
--
Pavel Sapozhnikov
xFact, Inc
[EMAIL PROTECTED]
I don't know if this is possible or not but I would like to have a
authentication interceptor that if a user is not authenticated it saves
the action being called in session and then continues to a login action.
Then after the user has successfully logged in it would call the stored
action again
Why would you want to have it as a jsp and not a tile definition ? . I don't
know the internals, but would tiles:xxx tags work without result
type=tile defined?
On 8/23/07, Pavel Sapozhnikov [EMAIL PROTECTED] wrote:
Hey yeah I am using Tiles2. So this error only happens when I in
struts.xmlI
Well we feel that this tiles.xml will just get insanely big. Is there a way
to like separate the concerns with that tiles.xml?
On 8/23/07, j alex [EMAIL PROTECTED] wrote:
Why would you want to have it as a jsp and not a tile definition ? . I
don't
know the internals, but would tiles:xxx tags
It's quite possible. Take a look at the comments here:
http://www.vitarara.org/cms/struts_2_cookbook/creating_a_login_interceptor
On 8/23/07, Phillip Grenier [EMAIL PROTECTED] wrote:
I don't know if this is possible or not but I would like to have a
authentication interceptor that if a user is
Sourced from
http://www.vitarara.org/cms/struts_2_cookbook/creating_a_login_interceptor
//put the address of the action called originally into the session
String urlGoingTo =
invocation.getProxy().getNamespace()+/+invocation.getProxy().getActionName()+.action;
attributes.put( GOING_TO,
Hi everybody. I remember in Struts1 we have those things ActionForms and
when you submit a form everything gets copied to into a form in fact you can
make your own form in Struts1. Is the same possible in Struts2 for instance
I heard about the POJO Forms. How would I tell struts to use that POJO
We have a need to generate a run of HTML files, like a letter or print
batch. We also need to be able to (in real time), generate said
reports/letters. Our infrastructure is Struts, so my lean is to create a
struts page with a JSP template for the on-demand letters and reports. The
question is
If you don't want to point the result to a tile, or you don't want to use
type=tiles, you could also deploy Tiles-2 as a stand-alone service, without
the S2-T2 plugin. I do this, and it works more easily than the plugin, and
removes the dependency on the plugin. The fewer intermediate layers
Ray thank you so much. So what steps should I take in order to do that.
Could you help? Basically I remove the jar right I probably have to do
remove some things in web.xml right? I mean basically what steps do I need
to take in order to do that.
On 8/23/07, Ray Clough [EMAIL PROTECTED] wrote:
Matches: from:(mclink.it)
Do this: Skip Inbox, Delete it
On 8/23/07, Pavel Sapozhnikov [EMAIL PROTECTED] wrote:
Filter on what exactly? What do you filter?
On 8/23/07, Alvaro Sanchez-Mariscal [EMAIL PROTECTED]
wrote:
It seems that somebody is subscribed with a non-existent email address.
Evening All
Anyone see solutions to Script Error produced with 0.7 DOJO?
Thanks
Martin
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error,
s:url value=%{getText('anon.page.home.banner')}/
should do the trick.
JM schrieb:
Greetings,
I want to get the text of an url from a resource bundle. I have the
following test snippet from a jsp:
s:text name=anon.page.home.banner id=test1/
ol
litest: s:url
Try to provide an id for the s:form tag
Andvar Woo schrieb:
When I try to use s:doubleselect/ ,it does not work.
below is a segment of the exception thrown
Expression parameters.formName is undefined on line 76, column 43 in
template/simple/doubleselect.ftl.
The problematic instruction:
78 matches
Mail list logo