Re: admins, can you add something like [struts] before every subject
On Fri, Jan 13, 2012 at 7:15 PM, Dave Newton davelnew...@gmail.com wrote: This has been brought up many times in the past--I don't see the point any more; traffic is low for both. I don't think any of the Apache mailing lists have a prefix, at least none of the ones I'm on do, and a random sampling of http://mail-archives.apache.org/mod_mbox/ doesn't show any. At this late date I don't think it's something we'd add. -- Wendy - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Java based spell check
On Mon, Jun 27, 2011 at 10:15 PM, Ashish Kulkarni ashish.kulkarn...@gmail.com wrote: Hi Does anyone know of open source Java based spell check which does not call google webservice for spell check? Like pspell in PHP which can be hosted in intranet environment Long ago I used JSpell in a Struts app. Looks like they are still around... http://www.jspell.com/ -- Wendy - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Forum Advice
On Thu, Feb 24, 2011 at 9:57 PM, Jerson John jer...@cprvision.com wrote: How can i do forum in Struts 2...Is it has to custom build or is there any api or opensource application or thirdpart thing...Beacuse now I am heading towards building the forum for my applicationPlease help me I can't imagine anyone needing to write forum software from scratch at this point. There are plenty of options out there -- I would evaluate several and see what fits your needs. -- Wendy - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Critical question regarding JIRA issue number 'WW-3461'!
On Thu, Feb 17, 2011 at 10:47 AM, Shishir Saxena shishir.sax...@tcs.com wrote: Hence, the patch does not seem to help me here. Any comments? The user list is generally for discussion of released versions. If you're building it yourself and applying patches, the dev list is a better place for questions. (I didn't check the JIRA issue, but please do update it with the results of your testing, perhaps the original author of the patch can offer some advice.) -- Wendy - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: SAMRALA?
If the posts annoy you, then filter them out so you don't have to read them, but please keep the personal comments off the mailing list -- that's not how Apache communities work. -Wendy - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Authorization/ Authentication
On Tue, Dec 28, 2010 at 11:10 AM, Amol Ghotankar ghotankaru...@gmail.com wrote: Even I am searching for some better way in which authentication can be done using struts2 or spring security toghether. You might want to look at Codehaus Redback. Even if you end up not using it, you might find some ideas there. (Redback is the role based access control layer used in Apache Continuum (which is a Struts 2 app.) There is a webapp overlay which gives you user creation, log in/out and the ability to set up which role can do what in your app.) -- Wendy - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: ibatis is not maintained by apache. So what other db processing plugins combined great with struts2 for db operations
On Thu, Aug 12, 2010 at 2:24 PM, Emi Lu em...@encs.concordia.ca wrote: http://ibatis.apache.org/index.html shows that 2010/06/16 - Apache iBATIS has been retired. Can you suggest other db processing plugins combined great with struts2 please? Personally, I like ibatis a lot; it's a pith that apache does not support it anymore. You can still use it... the people who work on iBatis decided to take it elsewhere, and the name changed, that's all. Cimballi already provided a link to http://www.mybatis.org . -- Wendy - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Migration from struts 1.1 to 1.3
On Sat, Jul 17, 2010 at 7:54 AM, amine123456 eh.m.am...@gmail.com wrote: being the rookie that i am , I have no idea how to upgrade from struts 1.1 to 1.3 . so , can any one please help me with a step by step method Here are links to notes that the community has contributed on upgrading from/to various versions: http://wiki.apache.org/struts/StrutsUpgrade -- Wendy - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: read the source code
On Wed, Oct 28, 2009 at 6:50 PM, mark lu liujuns...@ygsoft.com wrote: Thank you very much for your reply! I have read some code of xwork.however,i am a littel lazy,so i want to find a book to introduce . now that there is no book,I'll follow what you said. It would be great if you could write up your experience as you explore the source code. Maybe you'll write that book you're looking for, :) or a series of blog posts would be fabulous. -- Wendy - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Wondering that Struts2 is getting die?
On Wed, Sep 30, 2009 at 4:59 AM, karaatli todayhe...@gmail.com wrote: of course thanks to community of struts2 but I want to see that strust2 is more alive and more updated... I don't know what's more alive than a new release currently being voted on... If you have specific examples of documentation that needs updates, you can open a JIRA issue to point out the problem. https://issues.apache.org/struts/browse/WW -- Wendy - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: How to get 2.1.8 from Maven Snapshot Repository?
On Sun, Sep 27, 2009 at 11:12 PM, David C. Hicks dhi...@i-hicks.org wrote: I've added the snapshot repository to my pom.xml, but I'm still unable to get the 2.1.8 snapshot release. I have found a message about 2.1.8 being available there dated 9/22/09, however. Is there something else I should or should not be doing? Please ask on the dev list (not user) if you are interested in unreleased bits. We generally reserve the user list for discussion of official releases. This post should have the info you're looking for: http://mail-archives.apache.org/mod_mbox/struts-dev/200909.mbox/%3ce34c19110909230832m49dc8be8oddbb0bc45966c...@mail.gmail.com%3e -- Wendy - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: How to get 2.1.8 for Maven build?
On Thu, Sep 24, 2009 at 3:35 PM, David C. Hicks dhi...@i-hicks.org wrote: I've added the snapshot repository to my pom.xml, but I'm still unable to get the 2.1.8 release. I have found a message about 2.1.8 being available there dated 9/22/09, however. Is there something else I should or should not be doing? Here's what I've added: ... urlhttp://people.apache.org/repo/m2-snapshot-repository/url ... version2.1.8/version A snapshot repository would not contain a released (non-SNAPSHOT) version. 2.1.8 is not yet in the central repository: http://repo2.maven.org/maven2/org/apache/struts/struts2-core/ From what I see on the dev list, it's being voted on, but has not yet been officially released. If you're interested in trying it out pre-release, search the dev list archives for the vote thread and you'll find the repository url. -- Wendy - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Struts upgrade notes?
Is there a page on upgrading from 2.0 to 2.1, like we used to have here http://wiki.apache.org/struts/StrutsUpgrade ? I looked on the new wiki and didn't find anything, nor does Google turn up anything useful. I tried just changing the version from 2.0.14 to 2.1.6 in the Continuum build, and the app won't start. It's a minor version change so I don't expect it to be 100% backwards compatible. What else needs to change? The Continuum log file looks fine, but Tomcat says Apr 11, 2009 7:27:00 AM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart Apr 11, 2009 7:27:00 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/continuum] startup failed due to previous errors In Jetty I see 2009-04-11 07:42:53.314::WARN: failed struts-cleanup java.lang.NoClassDefFoundError: com/opensymphony/xwork2/util/logging/LoggerFactory at org.apache.struts2.dispatcher.ActionContextCleanUp.clinit(ActionContextCleanUp.java:74) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) Thanks, -- Wendy - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts upgrade notes?
On Sat, Apr 11, 2009 at 8:12 AM, Musachy Barroso musa...@gmail.com wrote: It seems like it is using an old version of xwork I would say. Looking in WEB-INF/lib, yes, it's using xwork-2.0.7. Thanks! I'm not sure why we have that declared separately in the pom... seems like it should be a transitive dependency of struts-core. -- Wendy - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Struts upgrade notes?
On Sat, Apr 11, 2009 at 7:57 AM, Wendy Smoak wsm...@gmail.com wrote: Is there a page on upgrading from 2.0 to 2.1, like we used to have here http://wiki.apache.org/struts/StrutsUpgrade ? In #struts I got a pointer to this page: http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html -- Wendy - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Maven and Struts 2 Stack
On Sat, Jan 31, 2009 at 7:31 AM, stanl...@gmail.com wrote: Are any of you using the Eclipse Maven plug-in? Also, is http://mvnrepository.com an aggregate source for POM's? As far as I know, it's just a search site, it doesn't serve the artifacts as a repo for Maven to automatically download from. Maven already knows about the central repo. Unless you're behind a firewall or something is preventing access, it should just work. If you've reconfigured it to point at mvnrepository.com, that's probably why you're having trouble. -- Wendy - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: struts 2.1.5 listed on http://struts.apache.org/2.x/
On Wed, Jan 7, 2009 at 10:03 AM, hernan gonzalez hgonza...@gmail.com wrote: Now it says 2.1.6 ... Please fix it, it's the first page that Googles shows searching by struts2. One of the devs already added a robots.txt file to try to convince Google not to index the *draft* docs at struts.apache.org/2.x, but it will take time some time to see if that works. The latest official release in the 2.1 series is 2.1.2 Beta, which can be downloaded from http://struts.apache.org/download.html 2.1.5 and 2.1.6 are *not* official releases (though there's a vote going on now for 2.1.6). -- Wendy - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Tiles with Struts 2.1.5
On Wed, Jan 7, 2009 at 8:38 AM, Ercan Kayaonu ekaya...@gmail.com wrote: I'm using Struts 2.1.5 with convention plugin. I'm in the learning process and trying several things (action, rule annotations, hibernate etc). Since we're on the user list, be aware that Struts 2.1.5 is not an official release. It was a test build posted on the dev list for evaluation, and shouldn't be used unless you're comfortable out on the bleeding edge. And if you _are_, come join us on the dev list where a vote for 2.1.6 is underway, and help test that. :) -- Wendy - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: struts 2.1.5 listed on http://struts.apache.org/2.x/
On Mon, Jan 5, 2009 at 8:30 AM, Brad A Cupit b...@lsu.edu wrote: http://struts.apache.org/2.x/ lists 2.1.5 as the version to download (in the big, blue Download Now 'button'). However, I could find no announcement or vote on any of the struts mailing lists mentioning that 2.1.5 is GA. Is this a bug in the http://struts.apache.org/2.x/ page? Or did Struts 2.1.5 quietly go GA? From http://struts.apache.org, that page is linked under 'Development' as 'Struts 2.x Draft Docs'. So no, Struts 2.1.5 is not an official release. (There is some discussion on the dev list, but no vote yet, and it is not on the download page.) I'm curious, how did you get to that page? -- Wendy - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: struts2-rest-plugin-2.1.5 problem
On Sun, Jan 4, 2009 at 7:25 PM, Ercan Kayaonu ekaya...@gmail.com wrote: Thank you for your quick reply. I tried using maven, but it couldn't find 2.1.5 one. Summary of mvn messages: Struts 2.1.5 has not been voted on and is not an official release -- standard disclaimers apply. :) If you didn't intend to venture out onto the bleeding edge, you can find the latest releases here: struts.apache.org/download.html That said, there may be a staging repo near where you downloaded the distribution; you can add that to your settings.xml to find the artifacts there. We usually keep discussion of unreleased bits on the dev list; you might want to subscribe and move the conversation over there. Thanks for helping to test it! :) -- Wendy - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: turn off dojo
On Wed, Dec 3, 2008 at 8:38 PM, Danilo Barsotti [EMAIL PROTECTED] wrote: I tried s:head theme=sample / but don't work. Should that be 'simple' instead? (You wrote 'sample'...) -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts 2.1.2/2.1.3?
On Thu, Nov 13, 2008 at 3:42 PM, Kurt Dominik [EMAIL PROTECTED] wrote: I was wondering if anyone knows if the source code for 2.1.3 is publicly available for review yet? 2.1.3 has not been released yet, but you can always check out the source code from Subversion. The trunk which is version 2.1.3-SNAPSHOT is here: http://svn.apache.org/repos/asf/struts/struts2/trunk/ If you're working with unreleased bits, please come join us on the dev list. You can find subscription information at http://struts.apache.org/mail-lists.html . -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Remove [EMAIL PROTECTED]
I've forwarded it to [EMAIL PROTECTED] which should reach one of the moderators. If it's still a problem in a couple of days, please ping again and I'll find someone in infrastructure to do it. -Wendy On Wed, Oct 22, 2008 at 5:45 PM, [EMAIL PROTECTED] wrote: PLEASE BAG THIS USER!!! On Tue, Oct 21, 2008 at 12:24 PM, Nils-Helge Garli Hegvik [EMAIL PROTECTED]wrote: I agree. On Mon, Oct 13, 2008 at 10:49 AM, Lukasz Lenart [EMAIL PROTECTED] wrote: Hi, Could someone remove this email from list? It's very annoying ;-( - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Download PDF File in Internet Explorer w/SSL
On Sat, Oct 18, 2008 at 5:06 PM, gcj [EMAIL PROTECTED] wrote: Despite the numerous posts/suggestions I have read/implemented on the subject, I am not able to download or display existing PDF files from my SSL struts/tomcat application using Internet Explorer. What did you do, and what happened? Without a description of the error it's hard to help. Your post initially reminded me of a problem I had long ago serving PDFs... Internet Explorer has a problem displaying non-HTML content over SSL as the result of a form POST. In short, you have to send IE some HTML before you send it the bytes of the PDF, or it will complain. If that sounds like it, I have a very old wiki page on the topic... http://wiki.wsmoak.net/cgi-bin/wiki.pl?NonsecureContent (But then later you say a plain link didn't work either, so maybe not.) -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: devMode dead
On Sat, Oct 11, 2008 at 2:15 PM, Martin Gainty [EMAIL PROTECTED] wrote: a really basic question..what does/is/will do devMode supposed to do? I couldnt find any doc on this? http://struts.apache.org/2.0.11.2/docs/devmode.html -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven Archetype
On Thu, Sep 18, 2008 at 4:29 AM, Jeromy Evans [EMAIL PROTECTED] wrote: The starter archetype for 2.0.11.2 is ... awaiting formal release to the maven repository. It's done... http://repo1.maven.org/maven2/org/apache/struts/struts2-archetype-starter/2.0.11.2/ (And the staging repo has been removed.) -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: using maven to setup a project
On Sat, Aug 23, 2008 at 8:55 AM, Ian P. Christian [EMAIL PROTECTED] wrote: I am attempting to setup a struts 2 project as described here: - http://struts.apache.org/2.x/docs/ready-set-go.html - http://struts.apache.org/2.x/docs/struts-maven-archetypes.html However, neither of these work. Maven attempts to download a file such as this: http://people.apache.org/repo/m2-snapshot-repository/org/apache/struts/struts2-archetype-starter/2.0.5-SNAPSHOT/struts2-archetype-starter-2.0.5-SNAPSHOT.jar Sorry about that. We really shouldn't be pointing users at unreleased snapshots. Firstly, I'm not sure how to progress here getting this working - I guess for the time being I'll have to avoid using maven. Unless you want to build the archetypes yourself locally, you'll need to wait for a release. Secondly, what is the correct procedure for reporting this issue such that either the docs can be changed, or the underlying issue fixed? You did the right thing-- ask here, then once you're sure it's a bug you can report it in JIRA. In this case there's already an issue open. https://issues.apache.org/struts/browse/WW-1726 -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: S2: Unable to undeploy app in Tomcat
On Fri, Aug 22, 2008 at 9:10 PM, Paul Benedict [EMAIL PROTECTED] wrote: I am unable to have Tomcat delete the physical directory of my webapp when I undeploy from Tomcat Manager. My application gets undeployed, but there is a lock is on the struts2-core library. Anyone encounter this problem? I am using 2.0.11.2 and Tomcat 6.0.16. Windows I assume? Look for some Tomcat options like 'antiJARLocking' and 'antiResourceLocking' to set in (I think) context.xml. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to get all sessions in one web application
On Thu, Jun 26, 2008 at 3:53 AM, Joey [EMAIL PROTECTED] wrote: Just want to know how to get all sessions. now, I used a listener to add ActionContext.getContext().getSession() to a list by myself, I just wondering maybe there is a struts API can get all sessions. AFAIK there is no 'getSessions' method anywhere in the Servlet spec. (You should be able to see the session you are in, but not the others.) What problem are you trying to solve by doing this? -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [S2] attempts to access www.opensymphony.com on Struts startup???
On Sun, Jun 22, 2008 at 7:53 PM, Chris Pratt [EMAIL PROTECTED] wrote: When validating the XML files, the system has to load the DTD's or XSD's that are housed at apache.org and opensymphony.org. There's probably a way to disable the XML validation of those files, I haven't had the need to look for it yet. If it needs them, it should load them from the classpath using the URI. Aren't they in one of the Struts 2 jars? (I'm not sure how it works with schemas, but DTDs definitely don't need to be loaded from a remote url.) -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What can you do with S2?
On Sat, Jun 14, 2008 at 3:48 PM, Dave Newton [EMAIL PROTECTED] wrote: Not sure about WAS, but don't (at least) Tomcat and Resin do that (a) before it knows if cookies are enabled, and (b) if cookies aren't enabled? It's part of the Servlet spec. Tracking by cookies is required. If the client won't accept a cookie, the container may do url rewriting, and if it chooses to do so, it must use a path parameter called jsessionid. (SRV.7.1.3) The container is required to support sessions for clients that do not accept cookies. While the spec doesn't mandate url rewriting, it does say containers commonly support it. I'm curious what difference you're seeing between Jetty and Tomcat? It sounds like Tomcat stops appending the jsessionid, but Jetty continues doing it? That's certainly valid (at least for the first response)... perhaps the framework needs to deal with it better? -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts 1 plugin equivalent...
On Mon, May 5, 2008 at 10:24 AM, JeanNiBee [EMAIL PROTECTED] wrote: New to Struts 2 and just trying to make the changes. In Struts 1 we had a plug in mechanism that would be executed when the application started up. This was a good place to configure pools and log files and such. What does Struts 2 has to handle this same feature. It's not Struts-specific-- consider using a ServletContextListener for this. http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletContextListener.html -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Multiple / Nested Forms
On Tue, Feb 26, 2008 at 2:11 PM, Suzy Fynes [EMAIL PROTECTED] wrote: Does anyone know if its possible to have nested forms on a JSP? Essentially have a html form, then another form within it. Unless something changed while I wasn't looking, nested forms are not allowed in HTML. http://www.w3.org/TR/html4/interact/forms.html#h-17.3 -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Availability of Struts 2.1.0? ... related to XWork 2.1.0
On Feb 18, 2008 1:21 PM, Maxx [EMAIL PROTECTED] wrote: I'm wondering if the version 2.1.0 of Struts2 would have to be released one day as I found it was initially due in late October 2007. (see links below) Problem is I currently need a fix/enhancement about Enum native conversion, which was already resolved in... XWork 2.1.0 http://jira.opensymphony.com/browse/XW-564 As it seems both (XWork 2.1.0 current Struts2 GA = 2.0.11) are incompatible - I tested it, some XWork classes moved or disappeared -, I don't really know what to do actually. The best (only...) place to find out when Struts will be released is the dev list. In this case, you may be in luck! Don is talking about doing a build later this week. That's not a guarantee, Struts releases are never due on a particular date, and it still has to pass a vote before it can be released, but activity seems to be picking up for 2.1. Of course you can always build the framework(s) yourself. You'll probably need the latest of both XWork and Struts-- the latest XWork may not be compatible with older versions of Struts. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Rumors about poor performance
I've got an anecdotal report of Spring MVC performance being *much* better than Struts 2. And zero data to back it up. ;) I'm trying to get the version numbers that were used for testing (most likely the 2.0.11 GA release) and more information on what the tests looked like. I'm told that it was just simple page requests, nothing fancy. Has anyone had occasion to test similar apps done in both frameworks? Any relevant experience to share? Thanks, -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] Apache Struts Tops OpenLogic Open Source Leaders List with a 71% Share
On Jan 25, 2008 2:29 PM, Ted Husted [EMAIL PROTECTED] wrote: * http://press-releases.techwhack.com/15764/openlogic-5/ More marketing than statistical science, but it's nice to hear that Struts is still on top. :) That reminds me (especially since it's Friday) of... http://memeagora.blogspot.com/2008/01/craptaculous-web-framework.html Generally, Struts still rules the numbers (although, recently, he's been asking how many people would use Struts on a new project and the numbers plummet). He rattles off the litany of web frameworks (there are dozens in the Java world, after all). And, on the panels I'm on, I pipe in by asking people how many are using their own, home grown Craptaculous framework. Interestingly enough, there are always hands. And the home grown Craptaculous framework generally beats out some well known rivals, like JSF (thank heavens) and Tapestry (what a shame). -Neal Ford -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts 2' IRC Channel
2008/1/22 Alceu Medeiros [EMAIL PROTECTED]: Anybody know how is the Struts 2' IRC Channel address? Is that at irc.feenode.net? #struts on chat.freenode.net -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: i want to use the source luke.
On Jan 15, 2008 5:24 PM, Darren James [EMAIL PROTECTED] wrote: I recently downloaded the 2.0.11 distribution, and was able to find the sources to all of the java classes under the org.apache.struts2.*. However, i did not see the source for any of the com.opensymphony.xwork2.* classes. Is the source for these classes available? According to the struts2-core 2.0.11 pom, it depends on xwork 2.0.4. Try the -sources jar, here: http://repo1.maven.org/maven2/com/opensymphony/xwork/2.0.4/ -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struct Logging
On Jan 8, 2008 9:04 PM, Sohil Rupani [EMAIL PROTECTED] wrote: i m using struct 1.3.8 ... ?xml version=1.0 encoding=iso-8859-1? !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts Configuration 1.3//EN http://struts.apache.org/dtds/struts-config_1_3.dtd; And earlier: ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN http://java.sun.com/j2ee/dtds/web-app_2_2.dtd; Possibly unrelated to the problem you are reporting here, but Struts 1.3 has a minimum requirement of Servlet 2.3. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Location of struts_config DTD file?
On Dec 28, 2007 12:10 AM, Sridhar Raman [EMAIL PROTECTED] wrote: In the struts-config.xml file, I need to specify the location of the struts_config DTD file. Normally, this is given as an http link. But if the net is down, it obviously won't work. Not true. The DTD is inside the Struts jar, and you don't need to copy it anywhere. Here's a post explaining how it works for Struts 1: http://marc.info/?l=struts-userm=107842475723945 The documentation says that one needs to copy the DTD into the struts.jar under resources. But doing this also doesn't help. I still get the same exception. What documentation? (And what exception?) -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Is struts 1.X has JAAS integration API?
On Dec 16, 2007 10:15 PM, 张云勇 [EMAIL PROTECTED] wrote: Is struts 1.X has JAAS integration API? I want to use the follow code: HttpServletRequest request = ServletActionContext.getRequest(); String authType = request.getAuthType(); // http or https Based on the comment, you probably want getScheme() here... see http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletRequest.html#getScheme() vs. http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpServletRequest.html#getAuthType() String user = request.getRemoteUser(); // the user principal (in string) Principalprincipal = request.getUserPrincipal(); // get a Principal object bool isAuth = request.isUserInRole(patrick); but I don't know how to set the values for authType ,remoteUser etc. anyone can give me help~ I'm not sure exactly what you're asking, and it probably depends on what container you're using. Most of them come with examples to help you get started. Explain bit more about what you need to do, and someone can probably help. -- Wendy
Re: REST Showcase
On Dec 9, 2007 9:58 AM, Martin Gainty [EMAIL PROTECTED] wrote: Good Morning Piero in my test pom.xml in plugin-repositories if I configure the suggested pluginRespository pluginRepository idapache.snapshots/id nameApache Maven Repository (Snapshots and Test Builds)/name !-- urlhttp://people.apache.org/repo/m2-snapshot-repository//url -- urlhttp://people.apache.org/repo/m2-snapshot-repository//url releasesenabledfalse/enabled/releases snapshotsenabledfalse/enabled/snapshots /pluginRepository As Piero pointed out, you've disabled both releases and snapshots here. (Though the error looks more serious than the usual 'cannot find ... in any repository.) If you want Maven to download regular jars (as opposed to plugins) from it, you'll also need to configure that as a repository. (You only pasted a pluginRepository.) Please wander over to the dev list and ask if you're still having trouble building or using the snapshots. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [s2] download 2.1?
On Nov 29, 2007 10:16 AM, tom` frost [EMAIL PROTECTED] wrote: This page shows a linke to download 2.1 http://struts.apache.org/2.x/ but then you are taken to a page where 2.0.11 is the newest version. Where can I download 2.1? As far as I know, 2.1 has not yet been released. I searched the archives, and I don't see a vote thread. I assume the site was inadvertently published from trunk or otherwise updated in error. If you're interested in trying out test builds, please subscribe or watch the archives of the dev list, where you'll find announcements and discussions about upcoming releases. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: The breadcrumbs have been served!
On 10/13/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Greetings -- I finished the S2 breadcrumb plug-in and you are welcome to it and the source code at www.strutsschool.com. Struts Classic? We only called it that briefly during one of the svn reorgs, it didn't stick. It's just Struts, or Struts 1 if you're trying to differentiate. http://struts.apache.org/1.x/ -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Where is struts-*.tld
On 10/5/07, mjparme [EMAIL PROTECTED] wrote: I have scoured google and docs on struts.apache.org and can't find where these files are!! It has been very frustrating. All the getting started guides say to put these files in WEB-INF but then don't tell you where to get these files from! You haven't really needed to put them in WEB-INF/lib for a *long* time, even for Struts 1. Modern Servlet containers will discover them inside a jar if you use the correct uri. More info here: http://wiki.wsmoak.net/cgi-bin/wiki.pl?WebXmlNoTaglib -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Karma upgrade?
On 9/29/07, Marcos Hernandez [EMAIL PROTECTED] wrote: Hi everyone, I'd like to help editing the Struts2 documentation. I've already sent the fax with my info and signature 2 weeks ago, but I don't know what a Karma upgrade means. And it seems I need one of 'those' to contribute. (I'm following the directions in: http://struts.apache.org/2.x/docs/editing-the-documentation.html) Actually, the instructions say to ask on the dev list. :) (I just checked, and your iCLA hasn't been recorded yet.) -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Karma upgrade?
On 9/29/07, Marcos Hernandez [EMAIL PROTECTED] wrote: Hi Wendy, thanx for replying. Just one question: how long do you think it could be before my iCLA is recorded? a month, two, three? because until then I can't be sure that they actually received it by fax :-/ I think it should have been done in two weeks' time. Please go ahead and fax it again, and ping the dev list in a week or so. (I also added a link to the wiki page so you can watch for it yourself.) Thanks for your patience. :) -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [OT] When did JSP officially go from 1 to 2?
On 9/23/07, Rick Reumann [EMAIL PROTECTED] wrote: I'm trying to create a doc to persuade the 'powers that be' to provide a decent server for our applications, and I'm presenting the merits of JSP2/Servlet2.4. I'd like to know when those specs became official, but I'm having trouble finding the dates. I want them to realize that I'm not requesting anything bleeding - I think JSP2.0 was official back in 2004? but I could be wrong. Anyone know the dates? Thanks. Let's see... Google jsp 2.0 specification - http://jcp.org/aboutJava/communityprocess/final/jsr152/ - download - read front page Final Release - November 24, 2003 -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [S2] Minor Documentation Issue
On 9/21/07, Kenton [EMAIL PROTECTED] wrote: At: http://struts.apache.org/2.x/docs/url.html it says url attribute id is deprecated in favor of var. However, var doesn't work and id does (Struts 2.0.9). I assume this is a documentation error. Can I fix this somehow? Or I will just ignore. Be sure to use the docs that match the version you are using. Here is the same page for version 2.0.9: http://struts.apache.org/2.0.9/docs/url.html I assume that page is correct for the latest 2.x (probably 2.1 on trunk). -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Taglib documentation
On 9/12/07, Slattery, Tim - BLS [EMAIL PROTECTED] wrote: That one doesn't look very good either. The text lines don't wrap, I have to scroll nearly forever to get to the end of a line, then come way back to the left edge to see the next one. Besides it's a Javadoc, not a reference doc that tells just what each option does in your JSP page. Hmm...actually there's one line at the top (Many of the tags in this page...) that goes forever to the right. That one line makes it impossible to size the rest of the page as I'd like. At one point we were tracking several bugs in Taglibdoc that were affecting our site. Might be worth reviewing those and making sure we're using the latest version. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Pls help me to find Struts 1.0.2 binary, library and source
On 9/2/07, Joey Watson [EMAIL PROTECTED] wrote: I have to find Struts 1.0.2 Binary Distribution, Struts 1.0.2 Library Distribution and Struts 1.0.2 Source Code Distribution for a project, but I didn't find it on apache website(http://archive.apache.org/dist/jakarta/struts/binaries/), only 1.1 can be found, so anybody know where I can download 1.0.2 binary, library and source. It's here: http://archive.apache.org/dist/struts/struts-1.0.2/ -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: test mail
On 8/25/07, Meenakshi Singh [EMAIL PROTECTED] wrote: just a test mail to see if i am reaching everyone or not. Yes. If you want to make sure a message made it to the list, check the archives, for example: http://www.nabble.com/Struts---User-f206.html . (And with GMail, your own messages don't appear in your inbox. When someone responds, then you'll see the thread.) -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts tag-lib
On 7/23/07, Søren Blidorf [EMAIL PROTECTED] wrote: I am confused on how to configure tag-libs i web.xml. Unless you're using a really old Servlet container, you don't need to put anything in web.xml. (Since Servlet 2.3, the container will scan the jar files in WEB-INF/lib and discover the taglibs.) The guidelines says: http://struts.apache.org/tags-html; But the example from the webapps that comes with the download of struts says: /tags/struts-html What is correct? What version of Struts? What url for the guideline you mention above, and what page in the example? The latest taglibdoc is here... http://struts.apache.org/1.x/struts-taglib/tlddoc/html/tld-summary.html ... which says to use this in your JSP: %@ taglib prefix=html uri=http://struts.apache.org/tags-html; % Let us know where you found the incorrect info so we can fix it. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Issues with migration from struts 1.1. to 1.2.9
On 6/30/07, pavan reddy [EMAIL PROTECTED] wrote: I have issues with moving from different strtuts version with tiles plugin in tiles-def.xml the doc type seems to raise an xml parse error i tried moving the tiles dtd file to web-inf and pointing it to it but didnt help much, any clues on it thanks in advance Have you reviewed the community maintained upgrade notes? http://wiki.apache.org/struts/StrutsUpgrade -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: when did Struts become a top-level Apache project?
On 6/25/07, Bill Johnson [EMAIL PROTECTED] wrote: I was wondering if anyone knows when Struts became a top-level Apache project instead of being simply a Jakarta project subproject. I'm looking for the month and year this happened. Management wants to know. Long story. Looks like the proposal for a top-level Struts project was approved at the March 2004 ASF Board meeting: http://www.apache.org/foundation/records/minutes/2004/board_minutes_2004_03_17.txt HTH, -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: running the test in the HelloWorld tutorial
On 6/9/07, Session Mwamufiya [EMAIL PROTECTED] wrote: I've been able to set up struts 2 after a long review of everything needed, and am now looking to run the test that was given in the HelloWorld tutorial to test the HelloWorld action. I understand what the code does, but what do I need to do to run the test and get its results from within a web page or command line? Could someone give me a simple step by step method that I could reproduce? Do you mean the HelloWorld test described here? http://struts.apache.org/2.x/docs/hello-world.html How to run it depends on what build tool or IDE you're using, so we'll need that information in order to help. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: running the test in the HelloWorld tutorial
On 6/9/07, Session A Mwamufiya [EMAIL PROTECTED] wrote: That's exactly the one Wendy! I wasn't using an IDE to code the java pages for the HelloWorld tutorial, but my IDE of choice, if one is needed for the test, is Eclipse 3.2. An IDE is not required. The tutorial assumes you have some favorite development environment already, and are just adding the files to it. What are you using to compile and build the application? Maven? Ant? Eclipse? I would start with the Maven [1] webapp archetype: mvn archetype:create -DarchetypeArtifactId=maven-archetype-webapp -DgroupId=com.example -DartifactId=hello-world That will set up most of the directory structure I need. Then I'd add the src/main/java and src/main/test directory, and proceed from there, following the tutorial and using 'mvn install' to compile the code, run the tests, package the webapp and install it into my local maven repository. [1] http://maven.apache.org -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: running the test in the HelloWorld tutorial
On 6/9/07, Session Mwamufiya [EMAIL PROTECTED] wrote: I currently build my java files with a .bat files that simply calls on javac and places the class files where I want them. That's the info I was looking for. :) Are you already able to compile the test? (That will tell me you've already downloaded JUnit and put it on the classpath, because the test says 'import junit.framework.TestCase;') To run the test from the command line (or batch file) take a look at this JUnit FAQ: http://junit.sourceforge.net/doc/faq/faq.htm#tests_1 I've never done this, but (with the appropriate things on the classpath,) try: java org.junit.runner.JUnitCore tutorial.HelloWorldTest I would prefer to keep things as simple as this, because trying to understand Maven would be adding yet another layer of complexity. Agreed. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: running the test in the HelloWorld tutorial
On 6/9/07, Session Mwamufiya [EMAIL PROTECTED] wrote: I'm running the test from WEB-INF/scr/Test where both HelloWorldTest.java and HelloWorldTest.class are located. If you changed the package for the action, you need to do the same for the test. Do they both have package helloworld; at the top? Both .class files need to be in a directory structure matching the package-- in this case, in a directory named helloworld. The directory just above 'helloworld' needs to be on the classpath. In your case that's probably WEB-INF/classes. The test works fine here with JUnit 4.3.1. Here is the classpath that Maven Surefire constructed: [DEBUG] Classpath: [C:\cygwin\home\wsmoak\hello-world\target\classes C:\cygwin\home\wsmoak\hello-world\target\test-classes C:\java\m2-repository\opensymphony\xwork\2.0.1\xwork-2.0.1.jar C:\java\m2-repository\org\apache\struts\struts2-core\2.0.6\struts2-core-2.0.6.jar C:\java\m2-repository\commons-logging\commons-logging\1.0.4\commons-logging-1.0.4.jar c:\Program Files\Java\jdk1.5.0_10\jre\..\lib\tools.jar C:\java\m2-repository\opensymphony\ognl\2.6.11\ognl-2.6.11.jar C:\java\m2-repository\junit\junit\4.3.1\junit-4.3.1.jar C:\java\m2-repository\freemarker\freemarker\2.3.8\freemarker-2.3.8.jar] -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: running the test in the HelloWorld tutorial
On 6/9/07, Session Mwamufiya [EMAIL PROTECTED] wrote: I moved my build.bat file to the root level, and am only using one file to build the code, the test, and run the test. This is the content of build.bat: @echo off set CLASSPATH=WEB-INF\lib\xwork-2.0.1.jar;WEB-INF\lib\junit-4.3.1.jar;WEB-INF\cl asses;WEB-INF\src\test Echoing Dave, you need to put all of the dependencies on the classpath. Look at the list of jars at the bottom of my last message. You probably don't need all of those for this simple example, but you need more than you have listed above. javac WEB-INF\src\java\*.java -d WEB-INF\classes javac WEB-INF\src\test\*.java -d WEB-INF\classes So far, so good... I modified my HelloWorldTest.java file as follows according to JUnit.org: Unnecessary, but JUnit 4 with annotations is more fun. :) The output I get is: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory Add the commons-logging jar to the classpath. If you get another NoClassDefFoundError, then look at the list of jars and see if there is a likely suspect. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Exception-tag bean:size must be empty, but is not
On 6/2/07, vikas rao [EMAIL PROTECTED] wrote: bean:size id=size name=searchForm property=results I get this error: org.apache.jasper.JasperException: /search.jsp(36,0) According to TLD, tag bean:size must be empty, but is not. The tag isn't closed. If you're using a validating editor, it should have complained that there was no /bean:size tag. Try: bean:size id=size name=searchForm property=results / Note the / at the end. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Requests from a Struts Newbie
On 5/14/07, Giesen Giesen [EMAIL PROTECTED] wrote: From http://struts.apache.org/2.x/docs/hello-world.html, I see: import com.opensymphony.xwork2.ActionSupport; This doesn't compile and I can't find this package anywhere. I'm guessing that is older WebWork code and hasn't been updated to the newer package hierarchy. No, that's XWork 2 code, right where it should be. What Struts distribution are you working with? The struts-2.0.6-lib.zip file includes xwork-2.0.1.jar, make sure it's available on your classpath. Second request: Web forums. Mailing lists are much more awkward to use. I am well versed in them, I know about the web archive interfaces, but web forums are just so much simpler and easier to deal with. That's easy... Nabble! Here's the user list: http://www.nabble.com/Struts---User-f206.html -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [BEER] Re: Books
On 4/27/07, Harring Figueiredo [EMAIL PROTECTED] wrote: By th eway he describes the whole thing, I think he meant it literaly, even though he should have used the adjective instead (sadistic). It is indeed very funny! A former coworker once accused open source developers of changing stuff not so that it would work better, but simply so they could sell more books! -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [S1] Is JSTL 1.1 compatible with Struts 1.2.9?
On 4/19/07, Crawford, Preston [EMAIL PROTECTED] wrote: Anyone know? I know Struts 1.2 comes with JSTL 1.0. I read somewhere that you have to use JSTL 1.1 with a 2.4 container, which is what we have. I just need to figure out what version of JSTL we can/should run. The combinations are described here: http://wiki.apache.org/struts/StrutsAndJSTL -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [S2] Struts2 + Maven
On 4/7/07, Guilherme [EMAIL PROTECTED] wrote: I'm trying to build my project using Maven, but when i run mvn:compile this error is generated: Odd. At first I thought this belonged on [EMAIL PROTECTED], but there _is_ a profile in the struts2-core pom that has a dependency on com.sun:tools:jar:1.5.0, and I wonder if that's the cause of the error. I can't tell anything from the info you provided here, can you paste your pom.xml and the output of 'mvn install -X' on http://rafb.net/paste, and post a link to it? Also, what version of Maven are you using? What Java vendor and version? And what OS? -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Unable to read META-INF/tld...
On 2/22/07, Pierre Thibaudeau [EMAIL PROTECTED] wrote: I think I have a problem with my library versions, but I cannot pinpoint the problem. Here's the exception when I deploy on Tomcat 6.0.2: org.apache.jasper.JasperException: /index.jsp(1,1) Unable to read TLD META-INF/tld/struts-bean.tld from JAR file file:/C:/applications/Tomcat%206.0/webapps/my_app/WEB-INF/lib/struts- taglib-1.3.5.jar The %20 in the path looks suspicious, (as does the fact that it's file:/ and not file://). I would try installing Tomcat in a path without spaces, such as c:/applications/apache-tomcat-6.0.2 . -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [s2] Groovy Actions in Struts 2
On 2/14/07, Mark Menard [EMAIL PROTECTED] wrote: I have Spring configured, but when it goes to instantiate the Groovy action class from the script it's not on the classpath. My environment: * Maven 2 (based off the Struts 2 Archetype) * Jetty plugin * Groovy source files mixed into src/main/java I know my issue is that the .groovy files are not being copied from src/main/java to the target directory. Problem is I'm pretty much a Maven novice. In ant I'd just make a task to do it, but I have no idea how to do that in Maven. Put them in src/main/resources and they will be picked up automatically. If you want them in with your Java sources, then you'll need to tell Maven about them. Note that you then have to explictly mention the default of src/main/resources, in addition to your custom locations. Something like... build ... resources resource directorysrc/main/resources/directory /resource resource directorysrc/main/java/directory includes include**/*.groovy/include includes/ /resource /resources ... -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven2 archetype or sample POM for Struts 1.x?
On 1/23/07, Manos Batsis [EMAIL PROTECTED] wrote: Is there any M2 archetype or sample POM availabe for Struts 1.x webaps with webdoclet, nergefiles and all working? I'm trying to create a POM and extract an archetype from it, but sincde i got to various issues i finally wondered whether a nice soul has already gone through this. There is an archetype for 1.3, based on the struts-blank app. It hasn't been released yet, but I just deployed a new snapshot and tried it out. The readme is here: http://svn.apache.org/repos/asf/struts/maven/trunk/struts-archetype-blank/README.txt The archetype version number is 1.3.5-SNAPSHOT (but the webapp generated from it uses the released 1.3.5 jars.) Let us know whether it works for you-- it's on my needs a release list, but hasn't been a high priority. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [S2-ish] deploying exploded webapps with maven2 and cargo
On 1/12/07, Joe Germuska [EMAIL PROTECTED] wrote: (I sent the below to the cargo users list, but haven't gotten a response in several days, so I'm going to be gauche and send it to struts; now that Struts2 uses Maven2, some Struts folks must be dealing with this [*cough* Wendy :-) ] If anyone has advice, it will be appreciated... ) You must have learned the secret-- I can't read all the mail I get, so I search for my name occasionally to see if anyone is calling me. :) Just for fun, try ${basedir}/target rather than ${project.build.directory} -- I think it's just surefire, but there are definitely cases where the former works and not the latter. I'm slightly confused about what's going on, since you mention both an exploded webapp and remote deployment. I don't see how that would work. Best bet would be to construct a simple example app, maybe start with the Struts blank archetype and add the Cargo config, and post back to the Cargo list with a link to it. I don't have time to set it up, but I'll probably play with it if you get it started. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Validation Framework and DispatchAction
On 12/28/06, Andy Foster [EMAIL PROTECTED] wrote: This validates at the action mapping level so in the above case it validates on update as well as create. How do you validate just against the create submitaction of the DispatchAction mapping? I would suggest turning off the automatic validation, and calling it manually when needed. Here's an article about it (though the motivation here is different): http://www.learntechnology.net/validate-manually.do -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Validation Framework and DispatchAction
On 12/28/06, Andy Foster [EMAIL PROTECTED] wrote: This should solve my problem as each submitaction that requires validation validates the same set of data. However this will not work if there are three methods create and update both need to validate but each validate against a different set of parameters and the third submitaction does not validate. To validate against a different set of parameters for each dispatched method, consider how ValidatorForm and ValidatorActionForm work. ValidatorForm keys off of the form name, while ValidatorActionForm keys off the path. You appear to already be using ValidatorActionForm, because you have form name=/process_object instead of form name=formBeanName If you want to invent a new way to map requests to validation rule sets, I think all you need to do is subclass ValidatorForm and override getValidationKey(). Try having it return the value of the parameter you're using for method dispatching, then use that for the form name=... in validation.xml. Seems reasonable anyway... I haven't played with this in a while. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [s2] Location of S2 v2.0.2 download
On 12/28/06, Christy Kudlac [EMAIL PROTECTED] wrote: I've been hunting around and can't seem to find the location of the latest 2.0.2 bundled S2. I am continually redirected back to the 2.0.1 which I have. Can someone please point me in the right direction/location? That's because Struts 2.0.2 has not been released yet. If you're interested in the latest-and-greatest code from svn or nightly builds, follow the links under Development on the left hand menu, and come join us on the development mailing list if you have questions. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [tiles2] Is there a workaround for SB-96?
On 12/28/06, Christy Kudlac [EMAIL PROTECTED] wrote: Just curious if anyone knows of a workaround for SB-96? http://issues.apache.org/struts/browse/SB-96 I'm converting a large, enterprise app from Struts 1.x (tiles of course) to S2 using Tiles2 Or at least I was trying until I ran into this issue. I'm still in the process of evaluating various toolkits/frameworks, and I really like all the features associated with S2. Are you using Struts 2.0.1 and the Tiles 2 jar that was shipped with it, or some other combination? -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts2 and spring2 fails, adding RequestContextFilter/Listener doesnt work.
On 12/22/06, Peder Larsen [EMAIL PROTECTED] wrote: I've been trying for some time now to get my basic struts2 test up and running. The problem i have is that i need to inject one UserInfo pr session into my FooAction. I want to use spring2 for this since it has better scope support than spring1. Are you using the 2.0.1 beta release? Anyone know what i might do to fix it? Post the relevant parts of your configuration files and code, and see if someone can spot the problem. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: OFF RECORD
On 12/21/06, Juan Espinosa [EMAIL PROTECTED] wrote: Hi to all, i have a question off recordbut is related to web Anyone has documentation or examples of how 1) Compiling a jsp file 3) Executing this jsp file (the servlet generated) 4) Get the html ths jsp generates I want to do this programatically I want to use the jsps as templates for newsletters This sounds like a job for Velocity templates. http://jakarta.apache.org/velocity/ -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: basic JSTL question
On 12/19/06, Rick Schumeyer [EMAIL PROTECTED] wrote: These should be easy questions, but I can't find the answers...if someone could either answer them or point me to the right docs, I would appreciate it. 1. What is the proper uri for the jstl core library? According to my JSP book it should be %@ taglib prefix=c uri=http://java.sun.com/jsp/jstl/core; % but eclipse complains about unknown tags like c:out. It depends on what JSTL and Servlet spec versions you're using. (And the rest of the answers depend on this one.) There is some information here to help you sort it out: http://wiki.apache.org/struts/StrutsAndJSTL -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: where to download 1.3.6 - broken link ?
On 12/18/06, Lixin Chu [EMAIL PROTECTED] wrote: the linked provided on WiKi seems broken: http://people.apache.org/builds/struts/1.3.6http://people.apache.org/builds/struts/1.3.6 are we going to have a new release soon ? I changed the wiki to say will be available here since 1.3.6 doesn't yet exist. The 1.3.5 release is available from the downloads page: http://struts.apache.org/download.cgi#struts135 -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts 1.3.5 and SSL
on 12/11/06, Joseph McGranaghan [EMAIL PROTECTED] wrote: - Do I start with the default ComposableRequestProcessor? - Do I gut the org.apache.struts.action.SecureTilesRequestProcessor and add it to commands - Do I need to alter the underlying struts chain-config, override it, or just add commands in another chain-config I don't think you'll have to touch the ComposableRequestProcessor itself. The supplied chain config file is in org/apache/struts/chain/chain-config.xml of the struts-core jar. (Or org/apache/struts/tiles/chain-config.xml if you're using the one from Tiles. [1]) I think you would use one of those chain config files as a starting point, write another command (or chain of commands,) and configure the framework to use your replacement chain config file. But I haven't tried it myself. :) [1] IIRC, the chain config file for Tiles in 1.3.5 is missing a couple of commands and you'll need to add them. HTH -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: struts action servlet interaction with jsp files
On 12/9/06, Fabio Miranda Hamburger [EMAIL PROTECTED] wrote: How can I 'send' this array from fooBarStrutsAction.java, and its method: public ActionForward execute(...) TO a jsp file, let's say display.jsp? and by the way, how to access that array within the JSP file. I think I am missing a crucial concept here, thanks for clarify this. In your action, request.setAttribute( myArray, myArray ); In your JSP use JSTL's c:forEach tag to display the values. (The Struts logic:iterate tag can be used instead. While we recommend JSTL over the equivalent Struts tags, you might want to keep things simple at first and avoid introducing another library.) -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [s2] servlet 2.4 required ?
On 12/7/06, nicolas de loof [EMAIL PROTECTED] wrote: I'm starting a project based on Java 1.4 and serlet 2.3 (tomcat 4.1). I'd like to use Struts2 as it includes retro-translated support for java 1.4. According to project main page ( http://struts.apache.org/2.x/#Platform%20Requirements), servlet 2.4 is required. Yes, Struts 2 requires Servlet 2.4. The Servlet 2.4 spec was finalized over three years ago, and if I've got my versions straight, is part of J2EE 1.4. Does this mean I will have to wait all my customer to upgrade to JEE5 prior to using Struts2 ? If so, I'll have to wait 1 or 2 years ... No. Java EE 5 is Servlet 2.5, not 2.4. See: From http://java.sun.com/javaee/technologies/ Java EE 5 Java Platform, Enterprise Edition 5 (Java EE 5) (JSR 244) ... Web Application Technologies Java Servlet 2.5 (JSR 154) JavaServer Faces 1.2 (JSR 252) JavaServer Pages 2.1 (JSR 245) JavaServer Pages Standard Tag Library (JSR 52) -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Spring integration with Struts-2.0.2
On 12/7/06, liukaipeng [EMAIL PROTECTED] wrote: Is there any change to this short hand name for spring, or I'm missing some configuration point newly added to struts-2.0.2? Try using struts2-core and the struts2-spring-plugin, as Tomas suggested. (I think the 'all' jar will go away, I don't see how it can work with plugins, since each plugin needs a struts-plugin.xml file.) -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Detailed TagDocs download ?
On 12/5/06, Sakari Isoniemi [EMAIL PROTECTED] wrote: Where detailed tag desc ( http://struts.apache.org/2.x/tagreference.html ) can be downloaded ? I didn't found this information from struts-2.0.1-docs.zip (2006-11-06) That looks like it was generated by the Maven Taglib Plugin. It's dated August 24th, so my guess is that it's an old page that is no longer generated. I removed it and a few other old pages from the server, they'll disappear in a day or so. From the Struts 2 home page, 'Tag Reference' links to this: http://struts.apache.org/WW/tag-reference.html Assuming that existed when 2.0.1 was done, it should be in the docs. If not, it will be in the next build. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: The first request
On 12/5/06, Thom Burnett [EMAIL PROTECTED] wrote: I need to set up my first page with a sequence of database interactions before the execute() method is called (I think). What's the recommended struts way of doing so. All requests go through the controller, never straight to the JSP. Once that pattern is established, you can either have a separate 'setup' action, or use a dispatch-style action with a setup method. There are several good tutorials here, I believe 'Lesson 2' shows a setup action. http://learntechnology.net/ -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: packages organisation in struts 2
I'm developping a new web app with struts 2 using eclipse and I would like to organize my code like I am used to do with struts 1. I mean putting Interfaces, beans, actions in separate folders/packages. It seems impossible to add a package/source floder under the main packages given with example apps of struts 2 ( the one with build.bat). I don't know if it comes from eclipse or from struts, or if I must add new packages/sources folder to the root directory... I assume you're working with the Blank example, as that's the only build.bat file I can find in the source code repository. This is just a simple example for you to start with, I believe Ted uses it in his tutorial. You should definitely establish your own package structure. How you build your project is up to you. I recommend Maven 2, which can generate config files for Eclipse and IDEA. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [offtopic] periodic cleanup task scheduling for webapp?
On 12/4/06, J. Patrick Bedell [EMAIL PROTECTED] wrote: Sorry for the offtopic question! How might I configure my servlet container or webapp web.xml so that a periodic application performs a cleanup task for my webapp's database? I want to have a cleanup application (say, a particular java class) run periodically without triggering it on user input. Take a look at Quartz over at OpenSymphony http://www.opensymphony.com/quartz/ -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can't check out source code from struts repository
On 12/1/06, zhaoren liu [EMAIL PROTECTED] wrote: I can't get source code from Struts source code repository in the past months. Now I also can't get any according to the instruction on the struts homepage . I guessed that a network error in the past. But this error is exists all the time. Please tell me whether you can check out normally. And give me some suggestion on this problem. I use Subverion to check out: D:\svn checkout http://svn.apache.org/repos/asf/struts/current svn: REPORT 请求/repos/asf/!svn/vcc/default失败 svn: REPORT 的结果 /repos/asf/!svn/vcc/default: 400 Bad Request (http://svn. apache.org) It works fine for me, and the monitoring page shows that everything is up. http://monitoring.apache.org/status/ Can you view the svn url in a web browser? You can also try 'https' instead, and see if that helps. -- Wendy
Re: [FRIDAY/OT] Access Log file reporting tools
On 12/1/06, Monkeyden [EMAIL PROTECTED] wrote: Does anyone know of an OSS log file reporting tool? We're using a very old version of WebTrends, which usually works fine (but sometimes not). MGMT doesn't want to pony up so, well, you know. Was hoping that Apache had something. What sort of log files? I haven't used it, but Chainsaw comes to mind... http://logging.apache.org/log4j/docs/chainsaw.html -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [FRIDAY/OT] Access Log file reporting tools
On 12/1/06, Monkeyden [EMAIL PROTECTED] wrote: I was referring to web server access log files, by which to generate traffic reports. I looked at Chainsaw but it's basically just a log file viewer. I need something that will process, and report on, a 10 million line access.log file. So... Apache httpd logs, then? Try Analog or Webalizer... -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Are There Struts 2 Books?
On 11/30/06, Caroline Jen [EMAIL PROTECTED] wrote: Are there books available on Struts 2? or any newer versions of Struts? The WebWork in Action book is the only thing I'm aware of at the moment. For Struts 1, a second edition of James Holmes' Struts, The Complete Reference will be out soon. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Retrieving DynaValidatorForm values with JSTL
On 11/30/06, Edward Song [EMAIL PROTECTED] wrote: I have a form stored within the session and am trying to dump some of the Form values in the presentation using JSTL. Specifically something like Country : c:out value=${sessionScope.SubscriptionProcessForm.country}/ See 4.3.1 on http://struts.apache.org/1.x/userGuide/building_controller.html -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Retrieving DynaValidatorForm values with JSTL
On 11/30/06, Edward Song [EMAIL PROTECTED] wrote: In JSP pages using the Struts Taglib, attributes of DynaActionForm objects can be referenced just like ordinary ActionForm objects. Wherever a Struts tag refers to a property, the tags will automatically use the DynaActionForm properties just like those of a conventional JavaBean. So the code becomes bean:write scope=session name=SubscriptionProcessForm property=country/ No... if you're using JSTL, don't go back to bean:write. I meant this part: The DynaActionForm properties must be accessed through a slightly different syntax. The JSTL EL syntax for referencing a property of an ActionForm goes like this: ${formbean.prop} The syntax for referencing a property of a DynaActionForm would be: ${dynabean.map.prop} -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to get a dynaform in the Action class ?
On 11/30/06, Thomas Thomas [EMAIL PROTECTED] wrote: I have the following DynaValidatorForm : .. How am I supposed to get the parameters of this Form bean in the Action class ? Section 4.3.1 is popular today. :) http://struts.apache.org/1.x/userGuide/building_controller.html DynaActionForms are not a drop-in replacement for ActionForms. If you need to access DynaActionForm properties in your Action, you will need to use the map-style accessor, like myForm.get(name). -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Are There Struts 2 Books?
On 11/30/06, Simon Chappell [EMAIL PROTECTED] wrote: For Struts 1, a second edition of James Holmes' Struts, The Complete Reference will be out soon. Do you know which version of classic will that cover? It's up to date for Struts 1.3.5. http://www.amazon.com/Struts-Complete-Reference-2nd/dp/0072263865 -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: struts-html question.... puzzling problem...
On 11/28/06, maya [EMAIL PROTECTED] wrote: thank you very much.. downloaded lib and src downloads.. when unzipped, found that all files under docs are xmls not htmls.. You're probably looking at the source of the html pages, which is xml. The documentation is inside struts-documentation.war, which you can deploy to a servlet container, or just unzip somewhere. wonder also if there's an equiv. to this pg for 1.3.5... http://struts.apache.org/1.3.5/struts-taglib/tlddoc/index.html http://struts.apache.org/1.1/userGuide/ From the menu, under Developer Guides, choose a tag library, then either the API Reference (above) or the Package Description. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem using LookupDispatchAction
On 11/24/06, Gallagher, Jim (RBoS ITDS Dublin) [EMAIL PROTECTED] wrote: I've persuaded my project team to upgrade from Struts 1.1 to Struts 1.2.9, simply to allow use of the LookupDispatchAction. However, it's not working correctly for me. Have I misunderstood the requirements, or is there something else obvious I'm doing wrong? First, EventDispatchAction is a *much* better choice. Please use that instead. http://struts.apache.org/1.2.9/api/org/apache/struts/actions/EventDispatchAction.html (LDA does a reverse lookup from button text to property name and then (in the key method map,) from property name to method name. You didn't show the .properties file, but I doubt your getKeyMethodMap method is correct as written. Compare it to the one in the Javadoc.) -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: struts2-portlet-2.0.1
On 11/24/06, Alex Andrushchak [EMAIL PROTECTED] wrote: What is right place where can i ask about portlet development with struts2? This is the right mailing list for Struts 2 questions. However, it's a long holiday weekend in the US, and I don't think very many people are using portlets, so it may take a while to catch someone's attention. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem using LookupDispatchAction
On 11/24/06, Gallagher, Jim (RBoS ITDS Dublin) [EMAIL PROTECTED] wrote: Thanks, that sounds just like what I'm looking for, except for one thing: I need meaningful multi-word labels on the buttons, but it looks to me like the parameter for EventDispatchAction can't cope - is this true, or is it a question of using the properties file? EventDispatchAction looks for the presence of a request parameter in order to choose the method to be executed. It doesn't care what the button text is. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Regarding Compatability for Struts-2.0.1
On 11/23/06, Mitchell James [EMAIL PROTECTED] wrote: Struts 2 will not be backward compatible in the sense of allowing you to run things as is. I would recommend taking a look at the migration guide. I was going to suggest taking a look a the Struts 1 Plugin but it is still awaiting documentation. http://struts.apache.org/2.x/struts2-plugins/struts2-struts1-plugin/apidocs/index.html This is intended to allow you to run s1 and s2 side by side, so you can convert an application in stages. http://struts.apache.org/2.x/docs/plugin-guide.html -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how to selectively call struts validation from a form
On 11/23/06, robinbajaj [EMAIL PROTECTED] wrote: Hi Folks, My previous post's subject was not clear. So here's a re-phrase of the problem. My loyaltyPAge.jsp has two buttons - Exit and continue. I want the validation to occur only when Continue is clicked upon. But the html:form in the jsp points to one actionmapping having validate=true - that's why the Struts validation framework tries to validate the input fields regardless of which button is clicked. Rick has an article on calling validation manually, here: http://learntechnology.net/validate-manually.do -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [s2] building SVN trunk problem
On 11/20/06, Andrew Stepanenko [EMAIL PROTECTED] wrote: Struts2 API seems to compile well, but when it gets to compiling Struts2 Core it complains about package com.opensymphony.xwork2.inject doesn't exist. The full maven2 error log is attached. Interesting thing is that I was not able to find com.opensymphony.xwork2.inject in the latest xwork2 trunk as well! Struts2 sources also reference @Inject annotation in those files which failed to compile. Any ideas where is the package com.opensymphony.xwork2.inject? Do the nightly builds of Struts2 if any compile well? Try deleting $M2_REPO/opensymphony/xwork to force Maven to download the latest snapshot. (Unless you've moved it, $M2_REPO will be in your home directory: ~/.m2/repository.) Another option is to check out and build XWork from source along with Struts 2: svn co http://svn.opensymphony.com/svn/xwork/trunk xwork -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]