Re: Struts2+Spring2+Interceptor+Invalid action class configuration that references an unknown class named

2010-05-21 Thread rocks
> > Hantsy Bai-2 wrote: >> >> 于 2010/5/22 1:05, rocks 写道: >>> Dear, >>> >>> Apologize the posting same subject, but I did not find any solution so >>> far. >>> I am developing a web application based on struts 2.1.8.1+ spring 2+ >>> hibernate 3 + tomcat 5.5. There is requisite library like >>>

ognl: calling action method inside iterator tag

2010-05-21 Thread Grant Lewis
Wondering if it's possible (struts 2.1.8.1)? From my testing it doesn't appear possible to to call an action method from inside an iterator tag. I can't find any documentation on it so hoping an experienced user can shed some light on this mystery. I can call the method fine outside the iterator bu

Re: Get initial request url or action name

2010-05-21 Thread Ken
On Fri, 2010-05-21 at 13:41 -0600, Ken wrote: > What is the ognl expression get the initial request url (before > redirect)? The action name would probably suffice too. Okay I've got the url to any page that needs log in before access... Then redirected that to the Login page with an intercept

Get initial request url or action name

2010-05-21 Thread Ken
What is the ognl expression get the initial request url (before redirect)? The action name would probably suffice too.

Re: Struts2+Spring2+Interceptor+Invalid action class configuration that references an unknown class named

2010-05-21 Thread Hantsy Bai
于 2010/5/22 1:05, rocks 写道: Dear, Apologize the posting same subject, but I did not find any solution so far. I am developing a web application based on struts 2.1.8.1+ spring 2+ hibernate 3 + tomcat 5.5. There is requisite library like struts2-convention-plugin-2.1.8.1.jar in my classpath. For

Re: Linking page

2010-05-21 Thread Stephen Turner
On Fri, 21 May 2010 11:39:56 -0400, ch...@chrismiles.org wrote: If you are not populating/building a view then it makes no sense to go through the controller. It is counter intuitive just pass through an action which does nothing, when the JSP would get filtered anyway. Chris That's yo

Struts2+Spring2+Interceptor+Invalid action class configuration that references an unknown class named

2010-05-21 Thread rocks
Dear, Apologize the posting same subject, but I did not find any solution so far. I am developing a web application based on struts 2.1.8.1+ spring 2+ hibernate 3 + tomcat 5.5. There is requisite library like struts2-convention-plugin-2.1.8.1.jar in my classpath. For authentication I am using st

Re: Linking page

2010-05-21 Thread Fabio Perfetti
If anyone want see my code this is the svn url. it's a exercise for the university. thanks all svn checkout *http*://gestioneps.googlecode.com/svn/trunk/gestioneps-read-only 2010/5/21 Fabio Perfetti > denis can you explain me with an example? > > > 2010/5/21 > >> Is that strictly true? >> >>

Re: Linking page

2010-05-21 Thread Fabio Perfetti
denis can you explain me with an example? 2010/5/21 > Is that strictly true? > > For forms specifically you can be (and I do) using Struts form tags. You > do not loose Struts benefits as the struts2 filter by default maps the url > pattern /* which means all JSP pages get filtered through. If

Re: Struts 2 and Spring 3??

2010-05-21 Thread Robert Taylor
I'm using Struts2 and Spring Security 3 on a project. I used the following links to get me going: http://static.springsource.org/spring-security/site/docs/3.0.x/reference/springsecurity.html http://java.dzone.com/tips/pathway-acegi-spring-security- It's much simplier than the old ACEGI configur

Re: Re : Re : Disappearing Labels

2010-05-21 Thread Brian Thompson
On Fri, May 21, 2010 at 11:23 AM, Martin Gainty wrote: > > FYI:YOU SPELLED WIRED WRONG > __ > do not intercept or modify this transmission Are you sure about that? I thought 'weird' looked more appropriate than 'wired' in that context. -Brian -

Re: Struts 2 and Spring 3??

2010-05-21 Thread Hantsy Bai
于 2010/5/22 0:29, Burton Rhodes 写道: I think I saw a message a while back that commented about using Spring 3 (and Spring Security 3) with Struts 2.1.8 framework. Is this possible? If so, how? - To unsubscribe, e-mail: user-unsu

Struts 2 and Spring 3??

2010-05-21 Thread Burton Rhodes
I think I saw a message a while back that commented about using Spring 3 (and Spring Security 3) with Struts 2.1.8 framework. Is this possible? If so, how? - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For addition

RE: Re : Re : Disappearing Labels

2010-05-21 Thread Martin Gainty
//as this was already asked and resolved from rogers email of early this week //when InvocationContext ValueStack is null usually indicates actionInvocation does not yet know of your listener to check 1) /** * Gets whether this ActionInvocation has executed before. * This will be s

Re: Linking page

2010-05-21 Thread chris
Is that strictly true? For forms specifically you can be (and I do) using Struts form tags. You do not loose Struts benefits as the struts2 filter by default maps the url pattern /* which means all JSP pages get filtered through. If you are not populating/building a view then it makes no sense to

Re : Re : Disappearing Labels

2010-05-21 Thread François Rouxel
no I have just one war file deployed on tomcat 6 and when in my action I push my model on the valueStack, only my label inside a tag disapeared (eg : the labels displayed by a work perfeclty very very weird... fr/ _

Re: Linking page

2010-05-21 Thread Stephen Turner
On Fri, 21 May 2010 11:01:43 -0400, Denis Cabasson wrote: I personnaly prefer to use the same Action for things that are logically grouped. So in your case, I would use the execute method to return SUCCESS, pointing to the jsp, and a doSearch method with SEARCH result, pointing to the other J

Re: Linking page

2010-05-21 Thread Denis Cabasson
I personnaly prefer to use the same Action for things that are logically grouped. So in your case, I would use the execute method to return SUCCESS, pointing to the jsp, and a doSearch method with SEARCH result, pointing to the other JSP. That way, you have only one action for both JSP. I don'

Re: Linking page

2010-05-21 Thread chris
Just create a anchor to your form. Search And then have the form submit to your doSearch action. That is all. Chris > there isn't any logic! only show the form... > so how can i do? > > 2010/5/21 > >> You do not need to go through an action before your form unless there is >> some logic you wi

Re: Linking page

2010-05-21 Thread Fabio Perfetti
there isn't any logic! only show the form... so how can i do? 2010/5/21 > You do not need to go through an action before your form unless there is > some logic you wish to perform first. > > Chris > > > Hi all, > > i am wondering what is the best way for link a page to other. > > Imagine this sc

Re: Linking page

2010-05-21 Thread chris
You do not need to go through an action before your form unless there is some logic you wish to perform first. Chris > Hi all, > i am wondering what is the best way for link a page to other. > Imagine this scenario: > > Index Page with a menu: > - Search > - Insert > > if i click on search, must

Re: Re : Disappearing Labels

2010-05-21 Thread Bhaarat Sharma
Were you in an environment where the Xworks.jar was shared by different WARs? can you share how your tag looked like? Thanks On Fri, May 21, 2010 at 7:11 AM, François Rouxel wrote: > I had the same effect when pushing my model on the valueStack... > I don't know why, but my labels disappeared

Re: Struts2 Convention plugin with junit plugin

2010-05-21 Thread Rebecca Case
So, I take it this just isn't going to work then? - Original Message From: Rebecca Case To: user@struts.apache.org Sent: Sat, May 15, 2010 10:47:08 AM Subject: Struts2 Convention plugin with junit plugin I'm using Struts 2.8.1 using the convention plugin and attemption to junit test t

Linking page

2010-05-21 Thread Fabio Perfetti
Hi all, i am wondering what is the best way for link a page to other. Imagine this scenario: Index Page with a menu: - Search - Insert if i click on search, must show a form. so I use Search in my struts.xml i have an action formSearch.jsp now i fill the form and on submit, i call the actio

Re : Disappearing Labels

2010-05-21 Thread François Rouxel
I had the same effect when pushing my model on the valueStack... I don't know why, but my labels disappeared too... if anybody had an idea... fr/ - Message d'origine De : Bhaarat Sharma À : St