Front controller

2005-06-24 Thread Nils Liebelt
Hi all, I want to write a Swing front end for one of my struts applications. Basically keeping everything besides the view. I would be nice if I can keep the validation framework and my controller components probably wrapped in some kind of interface. I am wondering if there's already a project

Re: jsp vs jstl in Math

2005-06-24 Thread Mario Neè
Karr, David wrote: Yes, I should have mentioned that. If you're using a JSP 2.0 container, you should NOT use Struts-EL. It will cause more trouble. If you configure your webapp correctly, you can use the EL natively in attributes, and even in template text. -Original Message-

Re: How to pass param implicit Object to html:link

2005-06-24 Thread Jose María
Hi, I have got create the link with the params in the request, the code is the next one: c:url var=rdfaction value=/action/showArticleRdf c:forEach items=${param} var=parameter c:param name=${parameter.key} value=${parameter.value} / /c:forEach /c:url a href=c:out

varying targets

2005-06-24 Thread Nitish Kumar
I have a application which extensively uses iframes. On some of the submit buttons I have to change the parent frame, while on some actions, I have to just update the current frame. I use target = _parent or target = _self for this purpose. Till this point every thing works fine. The problem

AW: Displaytag and Struts problem

2005-06-24 Thread Martin Kindler
Hi Lucas, your description of the problem is very good. Probably I will try to avoid paging on the relevant pages. Alternatively I could do paging myself (without displaytag). This seems easier than building something around displaytag. Martin -Ursprüngliche Nachricht- Von: Lucas

OT -- JSF + Tomcat Tutorial

2005-06-24 Thread Richard Reyes
Hi Guys, Can you guys remember any JSF Tutorial under tomcat that I can download? Thanks Richard

RE: OT -- JSF + Tomcat Tutorial

2005-06-24 Thread Jesse Alexander (KBSA 21)
check on JSFCentral (http://www.jsfcentral.com/reading/index.html) and JSF-Tutorials (http://www.jsftutorials.net/) hth Alexander -Original Message- From: Richard Reyes [mailto:[EMAIL PROTECTED] Sent: Friday, June 24, 2005 10:09 AM To: Struts Users Mailing List Subject: OT -- JSF +

native2ascii

2005-06-24 Thread EROL TEZCAN
Hi, In my application, I want to create ApplicationResources_tr.properties file for Turkish using native2ascii For this , I am using native2ascii -encoding UTF-8 ApplicationResources_tr_old.properties ApplicationResources_tr.properties command from dos prompt. But this process

I18N by pages

2005-06-24 Thread Yaroslav Novytskyy
Hello, all! I just wonder if there is an existing (tested, prooved) way (a kind of development pattern) for Struts to make internationalization not by message resources but by pages (JSPs, templates)? The point is that using message resources deleloper can only define a string value for

Re: native2ascii

2005-06-24 Thread Jana Parvanova
This should be Ok. Have you tried using the processed files? - Original Message - From: EROL TEZCAN [EMAIL PROTECTED] To: sturts_apache_user sturts_apache_user user@struts.apache.org Sent: Friday, June 24, 2005 11:57 AM Subject: native2ascii Hi, In my application, I want to create

How to find the cause of the error

2005-06-24 Thread Jeroen P
Hi, I've got a prolbem with finding the error in my code. I'm trying to integrate Hibernate in my application. Tomcat gives a stack trace, but it didn't give a line number where the error occurred. It looks like it goes wrong with the logic:iterator in my JSP page and the BlogItem getter in

Re: native2ascii

2005-06-24 Thread EROL TEZCAN
Yes, I tried processed files, but in jsp file chars seem wrong like #65533; Jana Parvanova [EMAIL PROTECTED] wrote: This should be Ok. Have you tried using the processed files? - Original Message - From: EROL TEZCAN To: sturts_apache_user sturts_apache_user Sent: Friday, June 24,

RE: How to find the cause of the error

2005-06-24 Thread jacob.willig
Jeroen, I would put a try catch block around the getBlogItem method: public Iterator getBlogItem() { try { Session session = HibernateUtil.currentSession(); Transaction tx = session.beginTransaction(); Query query = session.createQuery(select b from

problem while displaying error message

2005-06-24 Thread Khan
Hi, Iam using Struts1.0 ActionErrors and ActionError object to store/display errors which is reading the errors from ApplicationResources file. Iam unable to display the error for dynamically generated values. Any idea please. My Code: String txtLoginId = Manager ; //

RE: problem while displaying error message

2005-06-24 Thread jacob.willig
First: It seems wrong to tell the user that an id does not exist! It goesd against security conventions! Second.. I think you should do something like this: errors.add(Application.GLOBAL_ERRORS, new ActionError(err.app.login.invalid,txtLoginId )); With your ,messageresource having a line:

RE: problem while displaying error message

2005-06-24 Thread Nitin Mandolkar
Have you added you ActionErrors object in request scope. http://struts.apache.org/api/org/apache/struts/action/Action.html Go this link and find the method SaveErrors -ni3 -Original Message- From: Khan [mailto:[EMAIL PROTECTED] Sent: 24 June 2005 10:33 To: user@struts.apache.org

Re: native2ascii

2005-06-24 Thread Paul Moody
Below is my understanding of the solution. It is a bit annoying that property files can not be UTF-8 encoded but that seems to be the case. Anyway, here is what I have done and it seems to work... - you should store your Turkish strings in a text file with UTF-8 format (you can open the file in

Re: ApplicationResources.properties vs Validator framework

2005-06-24 Thread James Mitchell
late-reply Oh GOD!!! Not this guy again!! ;) /late-reply -- James Mitchell Software Engineer / Open Source Evangelist Consulting / Mentoring / Freelance EdgeTech, Inc. http://www.edgetechservices.net/ 678.910.8017 AIM: jmitchtx Yahoo: jmitchtx MSN: [EMAIL PROTECTED] Skype: jmitchtx -

Re: native2ascii

2005-06-24 Thread EROL TEZCAN
Very Thanks Paul !! Now it works fine. I opened the old properties file, and saved it as UTF-8, and then run same native2ascii command. It encode all Turkish chars to right UTF-8 chars. Thanks again, Erol Paul Moody [EMAIL PROTECTED] wrote: Below is my understanding of the solution. It

Re: [FRIDAY] ApplicationResources.properties vs Validator framework

2005-06-24 Thread Adam Hardy
But now it's Friday, so you can say what you like! Well almost. Mark, good to have you back. I always enjoyed your posts. I take it that being PC is still a dogma you have no truck with? On 24/06/05 11:22nbsp;James Mitchell wrote: late-reply Oh GOD!!! Not this guy again!! ;) /late-reply

RE: [FRIDAY] uh oh

2005-06-24 Thread Mark Galbreath
muhahahaha. I know you've missed me! When I signed off the list a couple of years ago (wow! that long???) I was doing an RD PHP/MySQL/Linux gig with the Dept of State; for the past year I've been building C#.NET/SQL Server/IIS apps for the local county fire and rescue dept. Now, I'm at

RE: [OT] Re: running tomcat on port 80

2005-06-24 Thread George Sexton
If you are using Linux, or I assume a BSD variant, another approach is to run tomcat on port 8080 and use an IPTABLES rule to forward port 80 requests to port 8080 iptables -t nat -A PREROUTING -p tcp -i $WAN_IF --dport 80 -j REDIRECT --to-port 8080 George Sexton MH Software, Inc.

Re: I18N by pages

2005-06-24 Thread Glenn Deschênes
What you can do is have a jsp for each locale language such as page_fr.jsp and page_en.jsp. Your application can store the locale in the user's session object. Your application can update the session locale when the user switches between en fr. You can have the following forwards for the action

Re: I18N by pages

2005-06-24 Thread Martin Gainty
Glenn et al Another option for Struts localisation is to embed your language specific strings typically with key=string defined within your ApplicationResources_language_country.Properties file struts-config.xml will reference message-resources for key-based tag or param-value (initialisation

Re: I18N by pages

2005-06-24 Thread Yaroslav Novytskyy
Hi! This is exactli what I'd like to avoid and use l10n on pages level not level of defined strings in message bundles for different languages. I don't want to use the english (html) design and to translate english phrases to french, which will be included into english design. I want to use

Re: ValidatorActionForm and java script validation....

2005-06-24 Thread Lucas Bern
Hi Lauren, I have benn trying to do that, but the java script code generated by validator framework seems to be tied to the name of the form... var formName = form.getAttributeNode(name); oRequired = eval('new ' + formName.value + '_required()'); formName.value is the same as in

Re: I18N by pages

2005-06-24 Thread Jeff Beal
Probably your best bet would be to use a custom ActionMapping and override the findForward() method to return a Locale-specific JSP page. On 6/24/05, Yaroslav Novytskyy [EMAIL PROTECTED] wrote: Hi! This is exactli what I'd like to avoid and use l10n on pages level not level of defined

Re: varying targets

2005-06-24 Thread Lucas Bern
oh, I had to face this problem some weeks ago And no way my friend. The only solution us that the target attribute of the html:form tag be a request time expression, like this: JSP html:form action=cloneAtack target=%=request.getAttribute(whereIsTheTarget)% bla bla bla /html:form

Re: I18N by pages

2005-06-24 Thread Glenn Deschênes
I'm confused here. You have 2 resource bundles called: resource_fr.properties resource_en.properties They both have the same keys but different values. The Struts framework will load the appropriate value from the correct bundle based on the locale language. That's it !! One jsp can obtain all

[OT] find out web app path / Quartz Scheduler?

2005-06-24 Thread Brian McGovern
Hi I've got a struts web app but am running Quartz also. In some places in my app I need the servlet to figure out the path under which its running. I do that like this. getServlet().getServletContext().getRealPath(foo); This returns me my web app path up to the foo directory. But in my

Re: [OT] find out web app path / Quartz Scheduler?

2005-06-24 Thread Leon Rosenberg
your current directory is the one you get by new File(.); On Fri, 2005-06-24 at 11:28 -0400, Brian McGovern wrote: Hi I've got a struts web app but am running Quartz also. In some places in my app I need the servlet to figure out the path under which its running. I do that like this.

RE: [OT] find out web app path / Quartz Scheduler?

2005-06-24 Thread Brian McGovern
I think i asked the wrong quiestion.. I dont need current directory i need the webapp directory. -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Friday, June 24, 2005 11:27 AM To: Struts Users Mailing List Subject: Re: [OT] find out web app path / Quartz

RE: [OT] find out web app path / Quartz Scheduler?

2005-06-24 Thread Barnett, Brian W.
Pass it into the job using the JobDetail object. JobDetail jobDetail = sched.getJobDetail(FooJob, FooGroup); String fooPath = servlet.getServletContext().getRealPath(foo); jobDetail.getJobDataMap().put(fooPath, fooPath); -Original Message- From: Brian McGovern [mailto:[EMAIL PROTECTED]

RE: OT -- JSF + Tomcat Tutorial

2005-06-24 Thread James Holmes
www.jamesholmes.com/JavaServerFaces -Original Message- From: Richard Reyes [mailto:[EMAIL PROTECTED] Sent: Friday, June 24, 2005 3:09 AM To: Struts Users Mailing List Subject: OT -- JSF + Tomcat Tutorial Hi Guys, Can you guys remember any JSF Tutorial under tomcat that I can download?

Re: I18N by pages

2005-06-24 Thread Yaroslav Novytskyy
Hi! Yes this is a possibillity. But what if I already have different forwards for my action: success, info, lalala. I will have to change this to success_en, info_en, lalala_en and to add success_fr, info_fr, lalala_fr and to include additional logic to action to check what language is

Re: I18N by pages

2005-06-24 Thread Yaroslav Novytskyy
Wow! meanwhile I've had the same idea. Posted simultaniosly :) But I doubt, that this solution will be compatible with tiles :( What do you think about that? Best regards Yaroslav Novytskyy Jeff Beal wrote: Probably your best bet would be to use a custom ActionMapping and override the

Re: I18N by pages

2005-06-24 Thread Yaroslav Novytskyy
Hi! French is usually more verbose than English. At times the HTML page must be really different to accomodate the French. In general, I always design the page in French first as for it will work out fine in English afterwards. French was only an example, I think of Ukrainian instead, but

Re: OT -- JSF + Tomcat Tutorial

2005-06-24 Thread Yaroslav Novytskyy
http://www.coreservlets.com/JSF-Tutorial/ Richard Reyes wrote: Hi Guys, Can you guys remember any JSF Tutorial under tomcat that I can download? Thanks Richard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: I18N by pages

2005-06-24 Thread Glenn Deschênes
Yaroslav, You just threw in Tiles into the mix ! Can't suggest anything haven't used it yet. Perhaps you can rephrase exactly what you'd like to do and use. - Glenn On 6/24/05, Yaroslav Novytskyy [EMAIL PROTECTED] wrote: Wow! meanwhile I've had the same idea. Posted simultaniosly :) But

[FRIDAY] Why isn't Java Open Source?

2005-06-24 Thread Mark Galbreath
http://www.catb.org/~esr/writings/let-java-go.html Words to ponder in an age of .NET and Python ascendancy! ~mark This email and any file transmitted with it may be

Re: Form-Action combo

2005-06-24 Thread Michael Jouravlev
I happened to initiate a private discussion on the topic, so if someone interested, I am sharing it, with Michael Oliver's consent. Hopefully, it is readable ;-) On 6/23/05, Michael Oliver [EMAIL PROTECTED]wrote: On 6/23/05, Michael Jouravlev [EMAIL PROTECTED]wrote: On 6/23/05,

Re: [FRIDAY] Why isn't Java Open Source?

2005-06-24 Thread Dave Newton
Mark Galbreath wrote: http://www.catb.org/~esr/writings/let-java-go.html Words to ponder in an age of .NET and Python ascendancy! Pah, Lisp is still better :/ Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [FRIDAY] Why isn't Java Open Source?

2005-06-24 Thread Frank W. Zammetti
I always take anything Eric Raymond says with a grain of salt the size of his head. If he is good at anything it is writing something, then claiming how he didn't actually mean anything bad by it and it certainly wasn't a flame, and then becoming incredulous when someone has the nerve to fire

Re: running tomcat on port 80[Scanned]

2005-06-24 Thread Daniel Henrique Ferreira e Silva
Holy crap! Mark Galbreath is back? God save the struts-users list! ;-) On 6/23/05, Mark Galbreath [EMAIL PROTECTED] wrote: That would be the Friggin' Ignorant Newbie Encyclopaedia? ;-) -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Thursday, June 23,

Re: I18N by pages

2005-06-24 Thread Jeff Beal
I haven't looked into the guts of how forwards to Tiles definitions work, but I think the basic idea is still sound. It's just that the path attribute of your forward is now the name of a Tiles definition instead of a JSP page, so in addition to a separate JSP page for each supported locale,

Re: running tomcat on port 80

2005-06-24 Thread Mohd. Jeffry
On 6/22/05, Tony Smith [EMAIL PROTECTED] wrote: How can I set the permission? It is my box, viturally I can do whatever I want. Thanks, If you don't care about security you can always run tomcat as root and you can use whatever unused ports. Just su - into root and execute the

URL Parameter passing in Display Tag

2005-06-24 Thread Phani
This part of the code is giving me compile time JSP error -- cannot resolve symbol symbol : variable name The item has got storeNo, name account properties. How can I append name account to the URL. bean:define id=inventoryItems name=StoreForm property=inventoryItems toScope=request/

RE: NoSuchMethodError

2005-06-24 Thread Michael Oliver
I found it! The problem came from the Axis WSDL2Java with the helper gen switch turned on. That generates helper classes for things like org.apache.struts.action.ActionForm which in this case I didn't need or want, but because the source was generated and my build picked it up and put the

Re: [FRIDAY] uh oh

2005-06-24 Thread Rick Reumann
Mark Galbreath wrote the following on 6/24/2005 7:43 AM: muhahahaha. I know you've missed me! If you are back here, does this mean we don't have to smell you anymore on #FunkyCodeMonkey on irc.darkmyst.org?:) Mark, by the way, your boss called, said you were being replaced by

RE: [OT] find out web app path / Quartz Scheduler?

2005-06-24 Thread Brian McGovern
That worked great. thanks. good idea. -Original Message- From: Barnett, Brian W. [mailto:[EMAIL PROTECTED] Sent: Friday, June 24, 2005 11:17 AM To: 'Struts Users Mailing List' Subject: RE: [OT] find out web app path / Quartz Scheduler? Pass it into the job using the JobDetail object.

Re: [FRIDAY] uh oh

2005-06-24 Thread James Mitchell
Yes, and he is having one doubt about your code! -- James Mitchell Software Engineer / Open Source Evangelist Consulting / Mentoring / Freelance EdgeTech, Inc. http://www.edgetechservices.net/ 678.910.8017 AIM: jmitchtx Yahoo: jmitchtx MSN: [EMAIL PROTECTED] Skype: jmitchtx - Original

Re: [FRIDAY] Why isn't Java Open Source?

2005-06-24 Thread Rick Reumann
Frank W. Zammetti wrote the following on 6/24/2005 12:45 PM: I notice your label for this group is 'Struts Luzers'... hmmm, did I just feed a troll? O, how I wish Mark would have been around for many of the Frank and Dakota Jack discussions in the past:) I wouldn't have had to pay to see

RE: [FRIDAY] uh oh

2005-06-24 Thread Mark Galbreath
I have no doubt my boss is looking for a friggin' H-1B Indian faggot to replace me for 1/2 the rate. And I'm leaving for home in a few, so I'll be back on #funkycodemonkey in about a half an hour. Rick: did you send those nekid pics of your wife yet? James: when ru going to port struts to a

RE: [FRIDAY] uh oh

2005-06-24 Thread Frank W. Zammetti
On Fri, June 24, 2005 1:52 pm, Mark Galbreath said: I have no doubt my boss is looking for a friggin' H-1B Indian faggot to replace me for 1/2 the rate. You DO realize this is a PUBLIC mailing list, right?? I am neither Indian nor homosexual, but dude, come on, that's pretty damned offensive.

Re: [FRIDAY] Why isn't Java Open Source?

2005-06-24 Thread Dave Newton
Rick Reumann wrote: Frank W. Zammetti wrote the following on 6/24/2005 12:45 PM: I notice your label for this group is 'Struts Luzers'... hmmm, did I just feed a troll? O, how I wish Mark would have been around for many of the Frank and Dakota Jack discussions in the past:) I wouldn't

Re: [FRIDAY] uh oh

2005-06-24 Thread Dave Newton
Frank W. Zammetti wrote: On Fri, June 24, 2005 1:52 pm, Mark Galbreath said: I have no doubt my boss is looking for a friggin' H-1B Indian faggot to replace me for 1/2 the rate. You DO realize this is a PUBLIC mailing list, right?? I am neither Indian nor homosexual, but dude, come

Re: [FRIDAY] uh oh

2005-06-24 Thread Dave Newton
Mark Galbreath wrote: James: when ru going to port struts to a Lisp framework? I'm almost done. The Tileth (Tileth Is Like Enhanced Tiles, Hey?) part is dragging a little bit due to laziness and other obligations (it's too bad I have to have a job...) So far I can take a simple

Re: [FRIDAY] uh oh

2005-06-24 Thread Simon Chappell
Mark, On 6/24/05, Mark Galbreath [EMAIL PROTECTED] wrote: muhahahaha. I know you've missed me! When I signed off the list a couple of years ago (wow! that long???) I thought that it was you that was missing me! Oh well, next time I'll try harder to miss you. :-) Simon

Re: [FRIDAY] uh oh

2005-06-24 Thread Simon Chappell
Hey, this isn't a joke is it? I would love to see a Lisp version of Struts. I'm trying to learn Lisp as a background process, so a working example of something I was already familiar with would be appreciated. Simon On 6/24/05, Dave Newton [EMAIL PROTECTED] wrote: Mark Galbreath wrote:

Re: [FRIDAY] uh oh

2005-06-24 Thread Woodchuck
i vote for a Scheme port of Struts! :D woodchuck --- Simon Chappell [EMAIL PROTECTED] wrote: Hey, this isn't a joke is it? I would love to see a Lisp version of Struts. I'm trying to learn Lisp as a background process, so a working example of something I was already familiar with would be

Re: [FRIDAY] uh oh

2005-06-24 Thread Aleksandar Matijaca
There is an excellent site: http://www.robert-tolksdorf.de/vmlanguages.html That talks about a number of different interpreters for Java (no typos here, sentence is correct). One of them is Lisp for java (written in Java). I have successfuly integrated Jython with a number of j2ee projects

Re: [FRIDAY] uh oh

2005-06-24 Thread Dave Newton
Simon Chappell wrote: Hey, this isn't a joke is it? I would love to see a Lisp version of Struts. I'm trying to learn Lisp as a background process, so a working example of something I was already familiar with would be appreciated. Fished in, fished in. It's partially a joke, partially

Validator-rules.xml in localhost

2005-06-24 Thread Roberto
Hi, I work in localhost with Jboss. My validator-rules.xml had the follow code: !DOCTYPE form-validation PUBLIC -//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1.3//EN http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd; When I deployed my

Weird Error

2005-06-24 Thread David Erickson
Can anyone shed some light on this error? 2005-06-24 17:12:18,671 [ERROR] action.ActionServlet - Parsing error processing resource path /WEB-INF/struts/struts-config.xml java.lang.NoSuchMethodException: No such accessible method: addForwardConfig() on object:

Strange error-page behavior

2005-06-24 Thread Neil Aggarwal
Hello all: I have this directives in my web.xml file: !-- Application wide error page -- error-page exception-typejava.lang.Throwable/exception-type location/error.do/location /error-page This is supposed to invoke this action in the struts config file: action path=/error

RE: Weird Error

2005-06-24 Thread David Erickson
Love solving my own problems =).. the class needs to be with the type property not className.. -David -Original Message- From: David Erickson [mailto:[EMAIL PROTECTED] Sent: Friday, June 24, 2005 5:21 PM To: 'Struts Users Mailing List' Subject: Weird Error Can anyone shed some

Re: Strange error-page behavior

2005-06-24 Thread Wendy Smoak
From: Neil Aggarwal [EMAIL PROTECTED] I have this directives in my web.xml file: !-- Application wide error page -- error-page exception-typejava.lang.Throwable/exception-type location/error.do/location error-page Having dealt with this recently, I'm fairly sure the location has

RE: Strange error-page behavior

2005-06-24 Thread Neil Aggarwal
Wendy: The reason I need to execute code is for me to send an error report to the site admin. Thanks, Neil -- Neil Aggarwal, JAMM Consulting, (214) 986-3533, www.JAMMConsulting.com FREE! Valuable info on how your business can reduce operating costs by 17% or more in 6 months or less!

Re: Strange error-page behavior

2005-06-24 Thread Wendy Smoak
From: Neil Aggarwal [EMAIL PROTECTED] The reason I need to execute code is for me to send an error report to the site admin. Have you tried using an actual file (.jsp or .html) that does nothing but forward or redirect to the Struts action? Or perhaps... can you just call the

Re: Validator-rules.xml in localhost

2005-06-24 Thread Wendy Smoak
From: Roberto [EMAIL PROTECTED] Then, I modified the validator-rules.xml in the follow manner: !DOCTYPE form-validation PUBLIC -//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1.3//EN /WEB-INF/validator_1_2_0.dtd after that I have copied the

RE: Strange error-page behavior

2005-06-24 Thread Neil Aggarwal
Wendy: I tried setting my error page directive to: error-page exception-typejava.lang.Throwable/exception-type location/errorPage.jsp/location /error-page I am still getting an IllegalStateException. That seems weird to me. Neil -- Neil Aggarwal, JAMM Consulting, (214)

Re: Strange error-page behavior

2005-06-24 Thread Laurie Harper
The problem is that by the time the error occurs in your JSP, the response has already been committed. When Tomcat tries to issue the redirect to the error page, it fails. Your only recouse is to increase the size of the response buffer. To be robust, the buffer would need to be at least as

RE: Strange error-page behavior

2005-06-24 Thread Neil Aggarwal
Laurie: Is there an app-wide way to set the buffer size or do I need to put a page buffer directive in each of my JSPs? Thanks, Neil -- Neil Aggarwal, JAMM Consulting, (214) 986-3533, www.JAMMConsulting.com FREE! Valuable info on how your business can reduce operating costs by 17% or

Re: I18N by pages

2005-06-24 Thread Ramadi Pearse
Yaroslav, Tiles already contains 18N support. If your tiles config is called tiles-config.xml, the controller will look for tiles named in the user's locale first (tiles-config_fr.xml, tiles-config_de.xml) and then default to the original if cannot be found. Use this as a way of presenting

Form Security

2005-06-24 Thread Ramadi Pearse
I have two questions. In thinking about security, there are two uses using Struts forms which I don't know how to solve. 1. Is it common practice in a web-application to force some actions only through a POST request? For instance, I have a login functionality on my website, and in my browser's