Re: Upgrade 2.1.6 to 2.1.8.1
2010/3/10 CRANFORD, CHRIS chris.cranf...@setech.com When upgrading Struts from 2.1.6 to 2.1.8.1; I found that for some reason my application isn't actually loading struts. Did anyone experience this problem when they upgraded? Is there something specific I should check or be aware of? It is as if the framework just isn't being loaded via web.xml. Did you use a new filter? Do you have any exceptions? Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Problem with freemaker, basic Struts2 app in Google App Engine
Did you specify /struts/* as a static content? Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Problem with freemaker, basic Struts2 app in Google App Engine
2010/3/10 Oscar oscar.kalde...@gmail.com: Do you mean in web.xml right? Well, no. This is the web.xml as you can see: No, in appengine-web.xml, as below ?xml version=1.0 encoding=utf-8? appengine-web-app xmlns=http://appengine.google.com/ns/1.0; applicationgruuf-done/application version2/version sessions-enabledtrue/sessions-enabled system-properties property name=java.util.logging.config.file value=WEB-INF/classes/logging.properties/ /system-properties static-files include path=/struts/* / include path=/js/* / /static-files /appengine-web-app Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Problem with freemaker, basic Struts2 app in Google App Engine
2010/3/10 Oscar oscar.kalde...@gmail.com: I've changed my appengine-web-app as you said but i still get the same error. You can see it here (in a new application): What version of Struts 2 are you using? Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: StrutsUtil
2010/3/10 CRANFORD, CHRIS chris.cranf...@setech.com: Any reason why moving from Struts 2.1.6 to 2.1.8.1 that the /struts/utils.js javascript file isn't being returned to the browser? Maybe it's a problem with static content for your servlet container? Did you specify /struts as a static content? The file is there, you can check it here http://gruuf-done.appspot.com/struts/utils.js Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Problem with freemaker, basic Struts2 app in Google App Engine
2010/3/11 Oscar Calderon oscar.kalde...@gmail.com: Sorry, i had a problem so i can't answer. The Struts version is 2.0.11 No problem, but I think you have to upgrade to latest version - 2.1.8.1 Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Request Encoding
2010/3/15 Ulf Liedén u...@lieden.net: to the JSP, but this doesn't help. Any suggestions? Add encoding filter to web.xml Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 + Sitemesh + Freemarker doesn't work
2010/3/16 jonathan doklovic list-rea...@sysbliss.com: I was able to resolve the issue simply by using the snapshot jar listed on this blog post: http://www.stonescape.net/roller/xtian/date/20091021 My web.xml was correct, just needed the updated sitemesh plugin. Here you have the whole build http://hudson.zones.apache.org/hudson/view/Struts/job/struts2/193/ I added proper web.xml config for full integration with SiteMesh 2 + Freemarker 2.4.2 + Velocity 1.3 , including Struts 2 Tags, ValueStack, and FreemarkerManager statics. http://struts.apache.org/2.x/docs/sitemesh-plugin.html Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: [S2] Error running under Weblogic 10.3.2.0
2010/3/17 Gustavo Felisberto gustavo.felisbe...@wit-software.com: I did some more testing and this is getting really strange. I'm using eclipse and when I export the project as a WAR file and place it inside the autodeploy directory of a running weblogic domain it works fine. It just gives this error when using the publish feature of eclipse. Any ideas? No, did you try export to war and unpack it inside WebLogic? Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 + Sitemesh + Freemarker doesn't work
2010/3/17 jonathan doklovic list-rea...@sysbliss.com: Are the artifacts in a snapshot repo somewhere, or do i have to manually install them into local? Not yet, I'm working on that ;-) Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: SecurityContextHolder.getContext().getAuthentication() returning null
2010/3/17 Lance Hill la...@baldhead.com: Any hints about why SecurityContextHolder.getContext().getAuthentication() would return a null? Spring version? Configuration? Did you try the simplest possible setup? Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Setter in action triggers twice. Bug?
2010/3/17 Francisco José Aquino García fj.aqu...@gmail.com: Browsing the latest distribution I've noticed that it bundles xwork-core-2.1.6.jar but the latest version listed on the XWork home page is 2.1.5... has Struts2 forked xwork-core-2.1.6 from the official XWork? Yap, XWork is part of Struts 2 and was moved to Apache. Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Admin defined (not configured in XML) URL recognizing
2010/3/17 Marek Dudek marek.du...@gmail.com: Is that possible and how to do it? I'm not sure what you want to achieve, but maybe writing a custom ActionMapper could help. http://struts.apache.org/2.x/struts2-core/apidocs/org/apache/struts2/dispatcher/mapper/ActionMapper.html Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: [S2] Error running under Weblogic 10.3.2.0
2010/3/18 Gustavo Felisberto gustavo.felisbe...@wit-software.com: I have very little experience with Weblogic. Do you know where do I need to copy the unpacked WAR? I don't know, I'm using IntelliJ IDEA to deploy unpack version and it works perfectly! Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: [S2] Error running under Weblogic 10.3.2.0
2010/3/18 Gustavo Felisberto gustavo.felisbe...@wit-software.com: What I would love would be a small tutorial on how to do it properly. I found some tutorials but are for older versions of Idea. I don't have any particular setup, I'm just connecting with WebLogic in debug mode (or start it) and then I'm able to compile a class that will be reloaded by WebLogic. Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: org.apache.struts2.dispatcher.FilterDispatcher cannot be cast to javax.servlet.Filter
2010/3/23 Hallgrímur Th. Björnsson hallgrimur.bjorns...@skyrr.is: I am fairly new to Struts. I'm trying to get an application which uses Struts to work on Glassfish v3. I have made it work on JBoss and Tomcat. Try to use one of these org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter or (when you are using Sutemesh) org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Can I redirect user to another website using action result?
2010/3/25 Kun Niu haoniu...@gmail.com: I'm trying to use struts2 to redirect user to another website out of my tomcat box. I wonder if action result supports http://xxx.com format. Any hints are appreciated and thanks in advance. You have to results: redirect and redirectAction. The first one can redirect to any url you need! Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Can I redirect user to another website using action result?
2010/3/25 Kun Niu haoniu...@gmail.com: Thank you for your fast reply. I wonder if there's a manual so that I can checkout all the struts function? http://struts.apache.org/2.x/docs/guides.html http://struts.apache.org/2.x/docs/result-types.html Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: struts2 + Tiles, whypages shrink in top center ?
2010/3/29 A. Lotfi majidna...@yahoo.com I tried all the browsers but still small, plz take a look here : http://osp105.mit.edu:8084/Struts2Tiles/welcomeLink.action Did check the source of your page in browser? It's a mess, duplicated body and so on. Check your tiles, only main page (the layout) should have body tag. The reset has to be just a html snippet - no html, body tags. Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: struts2 + Tiles, whypages shrink in top center ?
2010/3/29 A. Lotfi majidna...@yahoo.com: I put the width attribute to 100% but look how it looks now : http://osp105.mit.edu:8084/Struts2Tiles/welcomeLink.action It took the whole page width, as you wanted but you still mixing body elements as Sandeep Kotha showed you. Maybe you should start with some HTML tutorial? Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: S2 s:form in interator really slow
2010/3/29 Greg Lindholm greg.lindh...@gmail.com: s:iterator value=#action.userConnectionsPaged What is this? Did you try with static list (not from DB or so)? Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Exception starting filter struts2 java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
2010/4/2 sandeep kotha sandeep4u.ko...@gmail.com: In-spite of having *struts2-core-2.1.8.1.jar *under /WebContent/WEB-INF/lib/struts-2.1.8.1/ . im getting the below error . Is that /WEB-INF/lib/struts-2.1.8.1/ a directory ??? ^ If so, your jars cannot be found, move them to /WEB-INF/lib as is specified by servlet specification! Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Convention Plugin - dynamically setting the result
2010/4/8 RogerV roger.var...@googlemail.com: I'm trying to develop an action mapper type of action. The action analyses the incoming parameters and based on those I want to dynamically select the action to handle the next step. So what I'm trying to do is to set a string field called location with the string name of the action and using the annotation @Result(name=service, type=redirectAction,location=%{location}). This is not working - I get redirected to my application default startup page. Before I go digging deeper, could someone confirm that it is possible to use OGNL to set the location in the @Result annotation at run-time or must the annotation be set at compile-time. Yes, it's possible, do you have getLocation() method in that action? Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Migrating struts2 version 2.0.11 to 2.1.8.1
2010/4/13 sharath karnati karna...@yahoo.com: s:submit value=Login type=submit method=checkLogin cssClass=ibutton / When I press this button it should call 'checkLogin' method in LoginAction but it is not calling this method, it is just calling execute() method. I even tried changing above line to name=method:checkLogin but it is calling exeute() method only?? It's disabled be default, you must change it with a constant (I don't remember the name of constant ;-) Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 XML based validation doesnt work !
2010/4/16 nandyiyer nandussi...@gmail.com: I'm trying to include XML based validation in my application ? This is part of my struts.xml - action name=addAuctionItem class=auctionItemAction Are you using Spring? Try default packge and auctionItemAction-addAuctionItem-validation.xml Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: How to reuse field validators?
W dniu 16 kwietnia 2010 16:27 użytkownik Griffith, Michael * michael.griff...@fda.hhs.gov napisał: Currently the xml file is in the package with the struts action. I this this is where my problem lies, should it be in the model package? Yes, and you must expose you model directly. Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Xml based form validation not working
2010/4/19 Kartik Kumar krishnan.1...@gmail.com: action name=action_item_search class=gov.nasa.spacebook.ActionItemTrackingAction method=fetchByCriteria XML file must have exactly the same name as action Class and method name, so ActionItemTrackingAction-fetchByCriteria-validation.xml and must be in the same package as action class. Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Setter in action triggers twice. Bug?
2010/4/20 Francisco José Aquino García fj.aqu...@gmail.com: Where are the sources for xwork-core-2.1.6 then? Here you have the latest version svn.apache.org/viewvc/struts/struts2/trunk/ The old can be found here http://svn.opensymphony.com/fisheye/browse/xwork Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 XML based validation doesnt work !
2010/4/23 nandyiyer nandussi...@gmail.com: Changed the code and fixed the issue . The validation works but the message wont be displayed on the screen . Can anyone say what is the problem here ? What theme are you using? If Simple you must add s:actionerror or s:actionmessage/ or s:fielderror/ tag. Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 XML based validation doesnt work !
2010/4/26 nandyiyer nandussi...@gmail.com: I didnt understand the previous message . Could you please elaborate on it or tell me as to where to add it ? If you are using Simple theme, you must add previously mentioned tag into your jsp. Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 XML based validation doesnt work !
2010/4/23 nandyiyer nandussi...@gmail.com: Changed the code and fixed the issue . The validation works but the message wont be displayed on the screen . Can anyone say what is the problem here ? How do you know that it works? Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: ConcurrentModificationException error.
Do you have devMode set to true? Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Parts in the documentation are not displayed correctly
2010/5/3 stlecho stle...@gmail.com: It seems that parts of the Axis2 documentation are not displayed correctly (see underneath screenshot). All I can see is a blue rectangular, but not the content. Could this be solved ? Sure, please provide the full path to document with the problem! Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: [VOTE] Move future struts releases to apache's Nexus Pro instance
Hi all! As the Vote passed, I'm going forward! Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: [VOTE] Move future struts releases to apache's Nexus Pro instance
And the task for Infra https://issues.apache.org/jira/browse/INFRA-2682 Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: [s2] broken documentation in web site
2010/5/5 hernan gonzalez hgonza...@gmail.com: Since several days ago, the docs in the webpage of Struts2 are badly broken, in particular the examples and code. Examples https://cwiki.apache.org/WW/stream-result.html http://struts.apache.org/2.x/docs/stream-result.html http://struts.apache.org/2.x/docs/writing-interceptors.html Compare the last ones with the older ones: http://struts.apache.org/2.0.14/docs/stream-result.html http://struts.apache.org/2.0.14/docs/writing-interceptors.html It looks like that something went wrong during exporting to html, please check the source - https://cwiki.apache.org/confluence/display/WW/Stream+Result Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: [s2] broken documentation in web site
2010/5/5 Lukasz Lenart lukasz.len...@googlemail.com: It looks like that something went wrong during exporting to html, please check the source - https://cwiki.apache.org/confluence/display/WW/Stream+Result Hmm something strange, the code is there but highlighting doesn't work any more :-( Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: [s2] broken documentation in web site
2010/5/5 Lukasz Lenart lukasz.len...@googlemail.com: Hmm something strange, the code is there but highlighting doesn't work any more :-( Here it is - https://issues.apache.org/jira/browse/INFRA-2638 but I have no clue how to solve that :P Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Parts in the documentation are not displayed correctly
2010/5/4 stlecho stle...@gmail.com: The majority of the pages in the Guides Tutorials pages have this problem: - http://struts.apache.org/2.1.8.1/docs/getting-started.html http://struts.apache.org/2.1.8.1/docs/getting-started.html - http://struts.apache.org/2.1.8.1/docs/struts-2-blank-archetype.html http://struts.apache.org/2.1.8.1/docs/struts-2-blank-archetype.html - http://struts.apache.org/2.1.8.1/docs/hello-world-using-struts-2.html http://struts.apache.org/2.1.8.1/docs/hello-world-using-struts-2.html - http://struts.apache.org/2.1.8.1/docs/create-struts-2-web-application-using-maven-to-manage-artifacts-and-to-build-the-application.html http://struts.apache.org/2.1.8.1/docs/create-struts-2-web-application-using-maven-to-manage-artifacts-and-to-build-the-application.html It's related to new version of Confluence, please use the latest development version (2.1.8.1 - 2.x) http://struts.apache.org/2.x/docs/getting-started.html Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: [s2] broken documentation in web site
2010/5/6 hernan gonzalez hgonza...@gmail.com: Uhmm CSS stuf is still broken for me -as detailed in previous post. And further, there's a #editReport() thing near the header in most pages, for example here http://struts.apache.org/2.x/docs/getting-started.html You meant that CSS - http://cwiki.apache.org/confluence/download/resources/confluence.ext.code:code/shStyles.css If so it will be removed as is not needed, also that #editReport() can be thrown away! On Thu, May 6, 2010 at 3:45 AM, Lukasz Lenart lukasz.len...@googlemail.com wrote: Strange, it looks ok right now ;-) @Wes did do some magic? Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: [s2] broken documentation in web site
2010/5/6 hernan gonzalez hgonza...@gmail.com: Not only that, but the page displays ugly (classic missing css symptom) and the main css http://struts.apache.org/2.x/docs/resources/space.css still show errors inside: /* Could not locate resource: /includes/css/master.css */ Try to force reload that page, I don't see such problems any more! Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: [s2] broken documentation in web site
2010/5/6 hernan gonzalez hgonza...@gmail.com: Not a cache issue on my side, I try this on several servers around the world and get the same: [vps1]~ $ wget --quiet -O- http://struts.apache.org/2.x/docs/resources/space.css | grep resource /* Could not locate resource: /includes/css/master.css */ /* Could not locate resource: /includes/css/wiki-content.css */ Do you get a different result ? Perhaps some cache in apache.org... ? Damn, right now I have the same problem! What's going on?!? Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: [s2] broken documentation in web site
Ok, I copied space.css from 2.1.8 and now it works, just temporary solution! Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts 2 : redirect to action method on type conversion fail ?
Use Preparable interface instead http://struts.apache.org/2.x/struts2-core/apidocs/com/opensymphony/xwork2/Preparable.html Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts release 2.1.9
2010/5/10 j...@researchtogether.com: When will there be a GA release of 2.1.9 or above? Hope soon! We're planing to use Nexus to make a release and right now I'm waiting for access. Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Online docs messed up
2010/5/14 Greg Lindholm greg.lindh...@gmail.com: It appears the online docs are messed up: http://struts.apache.org/2.x/docs/tag-reference.html Sorry if I'm repeating well know information. Or, is there a better URL to use? This URL looks about the same. http://struts.apache.org/2.1.8.1/docs/guides.html Should be ok, I copied css file from 2.1.8 Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Manipulating Strings with Struts²
2010/5/17 Michaël JERUSALMI michaelj...@hotmail.com: I'm working on a Java Web App under Struts², and i'm having trouble using the taglib s:if. I have a test s:if, but instead of writing a test like this s:if test=string == myValue, I'd like to write something like this : s:if test=string.contains(myValue) , or using a substring function Do such functions exist ? How to use it ? Yes, with OGNL, please check that tutorial: http://www.roseindia.net/struts/struts2/struts2controltags/if-else.shtml Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Online docs messed up
2010/5/14 nuwan chandrasoma mymail...@gmail.com: I also noticed that, i think the wiki .css is messed up, It's because of new Confluence and auto export plugin :-( I can restore the previous version of the css file but it looks like everyday a new export is generated :P Regards -- Łukasz http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Now the wiki is also messed up
2010/5/27 Greg Lindholm greg.lindh...@gmail.com: On this page https://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html All the code samples are missing, they show up as a squiggly line. I don't know exactly why but it's probably related to Autoexport plugin, if you check the origin everything is ok https://cwiki.apache.org/confluence/display/S2WIKI/Troubleshooting+guide+migrating+from+Struts+2.0.x+to+2.1.x Even the home page links to the Wiki are broken https://cwiki.apache.org/S2WIKI/home.html takes you to a not found page and after a few seconds you are redirected to a folder listing. The link is wrong, I've changed it to correct one https://cwiki.apache.org/S2WIKI/welcome-to-apache-struts2.html Docs are so important for a open source project, someone needs to work on getting them fixed. (Pretty please) We're working on that but any help from Autoexport plugin experts will be appreciated! Kind regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Blank Extension Bug Report
Hi, Here you can submit the bug https://issues.apache.org/jira/browse/WW Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Error in Weblogic
2010/6/8 Abhishek Doctor abhishek8...@yahoo.com: am trying to deploy simple hello world application from APACHE STRUTS TUTORIAL on weblogic after exporting war files from Eclipse. I am Do you have xwork jar included? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: tag attributes evaluation
2010/6/13 Oleg Mikheev mi...@bigfoot.com: Guys, It took me some quite some time to understand how to pass a dynamic value to a textfield label. It appeared that I needed to use this strange notation: %{#var} like this: c:set var=ro value=qwe scope=request/ s:textfield name=username label=%{#request.ro} / I haven't found any description that would list which Struts2 tag attributes accept dynamic values and which require 'force evaluation'. The only resource that mentioned it was Dave Newton's letter http://old.nabble.com/Re%3A-S2-tags---dynamic-attributes-p19292043.html I really think that this notation must be documented specifically on this page: http://struts.apache.org/2.1.8.1/docs/ognl.html Thanks, I already added your comments (just before Collections section) https://cwiki.apache.org/confluence/display/WW/OGNL for future please create a ticket https://issues.apache.org/jira/browse/WW Kind regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: [s2] broken documentation in web site
2010/6/15 hernan gonzalez hgonza...@gmail.com: More than 40 days passed, and still broken. http://struts.apache.org/2.1.8.1/docs/tag-reference.html This is getting depressing, it makes Struts2 look as an dying project. The problem isn't with Struts itself but with Confluence Autoexport plugin and the latest version of the Confluence, you can alwys use http://struts.apache.org/2.1.8/docs/tag-reference.html Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: [s2] broken documentation in web site
2010/6/15 Greg Lindholm greg.lindh...@gmail.com: I've whined about this several times and nobody seems to care enough about it to fix it. So maybe it is a dying project. Any help is appreciated, so feel free to propose a solution... Blaming Confluence doesn't actually help the situation if no one is working with Confluence to fix it. I'm not blaming Confluence or Autoexport plugin, I've just presented facts. And it's very hard to solve the problem if you never write a plugin for Confluence. If you know how to do it, you can check out the Autoexport source code and prepare a patch. Or guide me - I'm still not able to find a working solution. If the 2.1.8 version of the docs is working then why isn't it hooked into the website? The latest official release is 2.1.8.1 that's why. Kind regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Model Driven Action doesn't return value when model gets reassigned to some other value - hibernate problem
2010/6/29 Greg Stasica gstas...@googlemail.com: 2. get the MyBean object in getModel() method but i don't think this method should do any dao/business operations You can always use Preparable interface Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: OutOfMemoryError: PermGen space!!!! Dont know why?
Try to build just a war file and deploy it without MyEclipse help. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 remote commands execution
2010/7/10 Meder Kydyraliev mede...@gmail.com: There's a critical remote commands execution vulnerability in XWork(used by Struts2), which fixed in 2.2.0, which isn't released yet but can be downloaded here: http://people.apache.org/builds/struts/2.2.0/ More details about this vulnerability can be found here: http://blog.o0o.nu/2010/07/cve-2010-1870-struts2xwork-remote.html Thanks, I put your blog for reference in Struts 2.2.0 Notes [1] [1] https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.2.0 Kind regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 remote commands execution
2010/7/13 Johannes Geppert jo...@web.de: is version 2.2.0 also available with maven? Not yet, still in stagging repo only and still under the Vote :-( Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: struts2+hibernate+spring - lazyInitaializationException
Hi, I really don't see how Struts2 can messed it up. Would you try to write a unit test to check that? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Issue with hibernate 3 + jboss-5.1.0.GA +mySql with Struts 2
Hi, You have plenty of errors in XML, take a look on that with some validation tool, for example.: * user-name/root/user-name - first tag closed * local-tx-datasourcee ... /local-tx-datasource - double ee in the first tag Use better tool instead asking questions! Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: REST and Non-REST actions
2010/7/20 Kevin Jones kev.r.jo...@gmail.com: Simple question (I think), when using the REST plugin, can I have two 'controllers' one that expects REST urls/verbs and one that is a standard Struts2 Action, i.e. where I can map incoming URLs to action methods? Take a look on PrefixBasedActionMapper [1], it was included in version 2.2.1 (under Vote) [1] https://cwiki.apache.org/confluence/display/WW/ActionMapper#PrefixBasedActionMapper Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: lost URL parameters with s:param tag
2010/7/20 Emi Lu em...@encs.concordia.ca: s:param name=helpTitle value=%{getText('example1')} / s:param name=helpText value=%{getText('example2')} / It's the expected behavior as you don't have these properties in your action. You're looking throughout message resources and not for action's variable. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Whereabouts of Struts 2.2
2010/7/20 Rohan Ranade rohan.ran...@gmail.com: Hi all, Sorry in advance for a potentially silly question. I have been seeing a couple of mails on the list about Struts 2.2. Is it released already? The struts.apache.org page doesn't seem to mention it anywhere except a section in the migration guide - http://struts.apache.org/2.1.8.1/docs/version-notes-221.html. If it has not been released, a pointer to a likely release date would be great. The Struts 2.2.1 is under Vote, you can find it in staging repository: http://people.apache.org/builds/struts/2.2.1/ Maven 2 staging repository: https://repository.apache.org/content/repositories/orgapachestruts-014/ Kind regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Cache improvments in Struts 2.2.1
Hi, I spent some time playing with JProfiler and measured struts2-showcase application, more precisely employee/edit.action. The results are presented under attached link https://spreadsheets.google.com/pub?key=0AqTWUdvycqiKdEF3eWxvVVpfcW1TTFYtZ0FaWk5EV2chl=ploutput=html If you have some spare time, you can play with that version downloading it from below locations: Distribution: http://people.apache.org/builds/struts/2.2.1/ Maven 2 staging repository: https://repository.apache.org/content/repositories/orgapachestruts-014/ Please be aware that it's still unreleased version and voting process is under way! Kind regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Cache improvments in Struts 2.2.1
2010/7/22 Lukasz Lenart lukasz.len...@googlemail.com: Please be aware that it's still unreleased version and voting process is under way! You are all welcome to vote! Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Cache improvments in Struts 2.2.1
2010/7/22 Philip Luppens philip.lupp...@gmail.com: As much as I like the improvements, could you please specify the parameters for the test? Concurrency level, number of requests (Just 4 requests isn't going to give a clear indication of the performance), and most importantly, a comparison with some older versions (2.0.x, 2.2.0, etc ..). I'd also like to make sure that no memory leaks happen over time (I was getting a memory leak when the beanswrapper cache was turned on in combination with another freemarker Configuration in the same Struts 2 app). It was very a simple test, just one user, the first request was for a fresh application (just started) and the following were exactly the same but the application was already wormed. This test base only on Freemarker caching mechanism. Ok, that's a good idea to compare with other versions and I'll try to do it next week. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Adding annotations to the interceptor stack
defaultStack [1] already has validation interceptor defined, you shouldn't duplicate it. The best way is to create your own stack and play with interceptors - not to refer to other stack. [1] http://struts.apache.org/2.x/docs/interceptors.html Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Setting up 2.2.1 in maven for testing
Hi, You must define it in repository section of your pom - http://maven.apache.org/pom.html#Repositories repositories repository idstruts-staging/id urlhttps://repository.apache.org/content/repositories/orgapachestruts-014/url layoutdefault/layout /repository /repositories Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Setting up 2.2.1 in maven for testing
Thanks for your comments! Please register a ticket and I try to put some love with the docs ;-) Kind regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Spring 2.5.6 - 3.0
You must exclude Spring 2.5.6 in struts2-spring-plugin dependency. http://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html#Dependency Exclusions Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Not able to deploy the Struts Framework application on Jboss server
2010/7/30 venkat_...@yahoo.com venkat_...@yahoo.com: While deploying the Struts Framework application on Jboss server, I am getting the error messages. Here with I am attaching errors.txt file for error messages. Could any body guide/suggest to resolve my issue. I don't see anything related to Struts 2 in stack trace, could you check error.log for more informations? Or setup DEBUG level? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: [ANN] Struts 2.2.1 GA release available
2010/8/16 Emi Lu em...@encs.concordia.ca: Cannot find the file: http://apache.parentinginformed.com/struts/binaries/struts-2.2.1-all.zip Not Found The requested URL /struts/binaries/struts-2.2.1-all.zip was not found on this server. A tiny mistake, should be http://apache.parentinginformed.com/struts/binaries/struts2-2.2.1-all.zip Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 and Maven Archetypes
Hi, I added archetype catalog, could you test it? mvn archetype:generate -DarchetypeCatalog=http://struts.apache.org/ Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: [ANN] Struts 2.2.1 GA release available
2010/8/17 mailtolouis2020-str...@yahoo.com: The struts-2.2.1-src.zip source link is wrong Thanks, solved, but please wait few minutes before cache will expire Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: [S2] 2.2.1 Appended .xhml to back of the url
2010/8/17 mailtolouis2020-str...@yahoo.com: After upgrade to 2.2.1, struts appended .xhtml to the url, is there anyway to turn it off like what 2.1.8.1 was? What you have in struts.properties or/and in struts.xml ? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: [ANN] Struts 2.2.1 GA release available
2010/8/18 Per Johansson perj...@gmail.com: The release is also available through the central Maven repository under Group ID org.apache.struts. I cannot find version 2.2.1 under http://mvnrepository.com/artifact/org.apache.struts/struts2-parent Here you have http://repo2.maven.org/maven2/org/apache/struts/struts2-parent/2.2.1/ Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: [S2.2.1] Javassist dependency
Reposting just for future reference 2010/8/18 Dave Newton davelnew...@gmail.com: Oh, you're right, it says it's provided. Which confuses me even more :/ On Wed, Aug 18, 2010 at 7:43 AM, Lukasz Lenart lukasz.len...@googlemail.com wrote: 2010/8/18 Dave Newton davelnew...@gmail.com: Hmm, I guess I'm misreading the POMs for various things then; on the Maven browser site I was looking at the S2.1.8.1 core POM specifically excluded Javassist, the S2.2.1 one doesn't (local; not on browsing site yet). I'm still not sure why S2.2.1 distro /lib doesn't have javassist, though--shouldn't it? I didn't see an exclusion anywhere (but haven't dug around yet) and it's in s2-blank. Javassist is excluded in OGNL pom, you can check XWork pom to see that Javassist is included in case of tests. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: [S2.2.1] Javassist dependency
W dniu 18 sierpnia 2010 15:17 użytkownik Dave Newton davelnew...@gmail.com napisał: What, to prove to historians that I'm usually confused?! Just to put it on the list. If you didn't notice, I answered directly to you ;-) Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts 2.2.1 - Unit Testing Interceptors
2010/8/18 Stephen Turner stur...@mit.edu: Unit tests for interceptors in Struts 2.2.1 In TokenInterceptorTest I see a reference to org.apache.struts2.TestConfigurationProvider, but I can't find this class in a jar file. I do see the source code though. Which jar should I be using for TestConfigurationProvider? You must include JUnit Plugin http://struts.apache.org/2.x/docs/junit-plugin.html Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Performance issues
Did you enabled FreeMarker cache? http://struts.apache.org/2.x/docs/freemarker.html Cache sesction Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts 2.2.1 - Unit Testing Interceptors
2010/8/18 Stephen Turner stur...@mit.edu: I'm looking in struts2-junit-plugin-2.2.1.jar that came as part of struts2-2.2.1-all.zip and I see only these classes in the org/apache/struts2 folder: StrutsTestCase.class StrutsTestCase$1.class StrutsSpringTestCase.class What am I missing? This class is used internally by Struts 2 (src/main/test) and it isn't exposed to users :-( Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: 2.2.1 - Validation Behavior
2010/8/19 Daniel Stephenson dan.stephen...@gmail.com: @Result(name = input, type = chain, params = {namespace, /sc, actionName, workerScheduleCsrCreatePopup}) When the chain happens and hits the method the field errors are no longer on the request. I just rolled back to 2.1.8.1 and the field errors were populated again. Maybe that is related to your case? https://issues.apache.org/jira/browse/WW-2869 Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Ajax support for Struts 2.2.1
Take a look on jQuery plugin http://code.google.com/p/struts2-jquery/ Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Release Notes for Struts 2.2
Done -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Latest version release notes and install documentation
2010/9/9 Dave Evans dsevan...@gmail.com: Hello all, I went here to get the latest version on struts: http://struts.apache.org/download.cgi#struts221 The Release Notes link: http://struts.apache.org/docs/2.2.1/version-notes-221.html returns a 404. Link corrected, give around 30 minutes when cache expire Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 and Maven Archetypes
2010/9/14 Roland T. Craddolph rcraddo...@amagatto.com: Sorry I've been having Outlook issues for far too long that finally got fixed. It works and this is a lot easier than that huge command. My only question is for the packaging question what would you recommend to put there? I'm still trying my best to follow industry standards if that makes sense. Sorry, but I don't understand your question, could you explain it a bit? Kind regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 and Maven Archetypes
2010/9/14 Roland T. Craddolph rcraddo...@amagatto.com: I started messing around with some more and option 6 didn't work, it has a build failure. Could you register an issue with attached error log? http://issues.apache.org/jira/browse/WW Thanks in advance -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Chaining Issue With Struts 2.2.1
You can put your two cents here https://issues.apache.org/jira/browse/WW-3488 Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: OutOfMemoryError: PermGen space!!!! Dont know why?
2010/9/15 abhishek jain abhishek.netj...@gmail.com: I have the following in my bin/catalina.sh JAVA_OPTS=$JAVA_OPTS -server -Xms512M -Xmx1024M -XX:MaxPermSize=1024M -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager I think, you must lower the numbers, it's giving 2,5G in totla and as I remember JVM had always a problem with allocation over 2G And more info would be helpful (OS, RAM, etc) Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts Support Network
2010/9/16 Frans Thamura fr...@meruvian.org: hi all we can see there is Spring tc, Mule tc, and a lot of companies try to open support of tomcat when will Struts2 follow this? Good question, but I think it will never happened ;-) S2 it's just a framework, like Hibernate and not an application server (Spring tc) or business bus (Mule). I don't think if anyone need such support, maybe some trainings or so, but no SLA, dedicated patches and so on. I think, it's even better, I like to contribute just for fun and pleasure :D Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Tomcat 5.0.27 Issue
2010/9/21 Roland T. Craddolph rcraddo...@amagatto.com: I'm just wondering if anyone as any problems with building a Struts2 archetype using Maven2, creating a war file, and deploy it to a tomcat server running the version of 5.0.27 did it cause you any errors? I created a blank struts2 example project using the maven archetype command, and was wondering if there is something I need to look for when running the war file with Tomcat 5.0.27 versus Tomcat 6.0.26. Struts version? If 2.2.1 add Javassist library as a dependency and change version of Struts to 2.2.1 in the pom ;-) Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts 2.2.1 Problem
Maybe it's related to that http://blog.o0o.nu/2010/07/cve-2010-1870-struts2xwork-remote.html I've added some more restrictive rules regarding request's parameters names. Lot of special characters are disallowed, take a look on line 138 http://svn.apache.org/viewvc/struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/interceptor/ParametersInterceptor.java?view=markup You can always declare yours own by declaring acceptParamNames for that interceptor. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 threading in a Java EE application server environment
It's a Struts2 specific interceptor to do background work, please read about ExecuteAndWaitInterceptor. Just that interceptor is using new Thread, normally Struts2 don't create additional threads. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: After upgrading from Struts 2.0.x to 2.2.x, static content no longer served...
2010/10/18 Eric Nielsen ericdniel...@gmail.com: Here are my filters from web.xml filter filter-namestruts-cleanup/filter-name filter-classorg.apache.struts2.dispatcher.ActionContextCleanUp/filter-class /filter filter filter-namesitemesh/filter-name filter-classorg.apache.struts2.sitemesh.FreemarkerPageFilter/filter-class /filter filter filter-nameSpring OpenEntityManagerInViewFilter/filter-name filter-classorg.springframework.orm.jpa.support.OpenEntityManagerInViewFilter/filter-class /filter filter filter-namestruts/filter-name filter-classorg.apache.struts2.dispatcher.FilterDispatcher/filter-class /filter Try to use the new filter: http://struts.apache.org/2.2.1/struts2-core/apidocs/org/apache/struts2/dispatcher/ng/package-summary.html Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts2 threading in a Java EE application server environment
2010/10/19 Phil Adams padam...@gmail.com: Hi Lukasz, Thanks for the information... I read about ExecuteAndWaitInterceptor but it seems as though that must create a new thread as well, since it also uses the BackgroundProcess class to execute the action, right? In this particular situation, I need to find a way for the action's execute() method to be called on the servlet container's original thread, rather than on some new thread created by Struts. The only option is to write a custom interceptor that will base on ExecuteAndWaitInterceptor but it will use the servlet container's mechanism to create threads. There is no such functionality in EAWI. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Where is the JIRA?
2010/10/20 Greg Akins angryg...@gmail.com: https://issues.apache.org/struts/ gives me a 404 https://issues.apache.org/issues/ Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts Tiles Problem
2010/11/5 Rafael Medeiros mederaf...@gmail.com: How to use plugin-tiles in struts 1.3.8: Check the documentation http://struts.apache.org/1.x/struts-tiles/installation.html Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts Tiles Problem
2010/11/8 Andy T verygoofy...@gmail.com: Hi Lukasz, I have struts-tiles-1.3.8.jar loaded . . . is this what you mean? Yes, it should be sufficient, could you post your struts config? Below is extract from the log you sent me. FATAL main org.apache.struts.tiles.TilesPlugin - TilesPlugin : Specified RequestProcessor not compatible with TilesRequestProcessor ERROR main org.apache.struts.action.ActionServlet - Unable to initialize Struts ActionServlet due to an unexpected exception or error thrown, so marking the servlet as unavailable. Most likely, this is due to an incorrect or missing library dependency. javax.servlet.ServletException: TilesPlugin : Specified RequestProcessor not compatible with TilesRequestProcessor at org.apache.struts.tiles.TilesPlugin.initRequestProcessorClass(TilesPlugin.java:382) at org.apache.struts.tiles.TilesPlugin.init(TilesPlugin.java:137) at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:871) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:359) at javax.servlet.GenericServlet.init(GenericServlet.java:212) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:599) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: javax.servlet.ServletException: BeanUtils.populate
2010/11/25 Dominique JUSTE dju...@yahoo.com: Although I have used Struts for five years, I have been facing a trouble since Monday and I don't understand what's happening... Monday, monday ... manic monday... http://www.youtube.com/watch?v=lAZgLcK5LzI Kind regards ;-) -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: What is the status of OSGI (pref Equinox) and Struts2 integration?
2010/12/7 Andy Doddington a...@doddington.net: There seem to be several chat threads out there on the internet, but nothing more recent than around 2007. Given the obvious synergies between these two technologies, I find it hard to believe that nothing more has come of this. There are two bundles, admin and demo app. You can try to play with them and provide more feedback. Then we can consider adding more ;-) Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org