Re: what is going on? struts 2

2007-12-23 Thread Vinny
What exactly is the problem? On Dec 23, 2007 11:27 PM, Ray <[EMAIL PROTECTED]> wrote: > my struts.xml > > > > > > > > WelcomeAction > ${username} > > - > To unsubscribe, e-mail: [EMAIL

what is going on? struts 2

2007-12-23 Thread Ray
my struts.xml WelcomeAction ${username} - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to improve dojo performance in Struts 2.0.9

2007-12-23 Thread jeromy . evans
Roberto Nunnari wrote: > Hi Jeromy and list. > > I'm trying a self built struts-2.1.1-snapshot with the dojo plugin > and I'm seeing very slow dojo performance.. I thought that the dojo > performance problem whould be solved in 2.1.1 using the plugin, but > it doesn't seam so now to me.. > Hi Rober

Re: Error @ Struts2

2007-12-23 Thread Frans Thamura
i will give the code, we try to integrate jackrabbit with struts2, using spring-modules the website is www.merveos.com/komodo the code will be published at http://www.sf.net/projects/komedo hope can give the update to svn shortly F

Re: 3 columns s:iterator

2007-12-23 Thread Ray
Rodrigo Pereira 写道: Hi, is there a simple nice way of displaying a list of objects in a 3 coluns table? Is there any attribute I can use on s:iterator? Right now I can only print one at a row or all in one row.

3 columns s:iterator

2007-12-23 Thread Rodrigo Pereira
Hi, is there a simple nice way of displaying a list of objects in a 3 coluns table? Is there any attribute I can use on s:iterator? Right now I can only print one at a row or all in one row.

Can I access a constant in a Freemarker view?

2007-12-23 Thread Gary Affonso
I've got an object that I expose to my view via getModel. That object has a typical "public static final" constant... public static final String firstName_KEY = "firstName"; Note that I purposefully don't provide a static getter (I don't want to have to write getters for all my constants).

Re: Error @ Struts2

2007-12-23 Thread Martin Gainty
Fans- Please show the jsp Thanks Martin-- - Original Message - From: "Frans Thamura" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Sunday, December 23, 2007 12:34 PM Subject: Error @ Struts2 > hi anyone can help me to read this error > > HTTP Status 500 - > ---

Re: Error @ Struts2

2007-12-23 Thread Adam Hardy
Hi Frans, are you sure that's the root cause? It doesn't look like it. Have another look in the logs - I've found the struts 2 exceptions to be quite useful most of the time. Adam Frans Thamura on 23/12/07 17:34, wrote: hi anyone can help me to read this error HTTP Status 500 - -

Error @ Struts2

2007-12-23 Thread Frans Thamura
hi anyone can help me to read this error HTTP Status 500 - -- *type* Exception report *message* ** *description* *The server encountered an internal error () that prevented it from fulfilling this request.* *exception* javax.servlet.ServletException org.a

Re: How to improve dojo performance in Struts 2.0.9

2007-12-23 Thread Roberto Nunnari
Hi Jeromy and list. I'm trying a self built struts-2.1.1-snapshot with the dojo plugin and I'm seeing very slow dojo performance.. I thought that the dojo performance problem whould be solved in 2.1.1 using the plugin, but it doesn't seam so now to me.. So.. I have two questions: 1) do the infor

Re: REST and JSON

2007-12-23 Thread Frans Thamura
> > At the moment the Struts2 framework allows you to plug in various result > types for an action. It wouldn't surprise me if this also evolves to a > result type based on the requested content type as per the REST plugin's > implementation as its a really good idea. i can see REST and JSON wi

Re: [OT] Exception.getLocalizedMessage()

2007-12-23 Thread Adam Hardy
hi gary, thanks for the thoughts. You're right, AOP would do it, but I also have a dislike of AOP and would want to use it for this unless I was convinced it was worth leveraging getLocalizedMessage(). I'm with you on the idea of putting the localization key into the exception, but I'm not to

Re: Why two struts2 projects can not exsits in one server at one time

2007-12-23 Thread Gabriel Belingueres
Are you _actually_ starting up two JBoss servers with identical port configurations in the same computer? Please provide us with more information. Gabriel 2007/12/23, Ray <[EMAIL PROTECTED]>: > So it's because two projects can not use the same port number right? > thank u. > > -- > Ray Chen > Em

Re: Why two struts2 projects can not exsits in one server at one time

2007-12-23 Thread Nils-Helge Garli Hegvik
It would be a lot easier to find out what the problem is if you can describe it in more detail. Having multiple struts applications in an application server should work just fine. My guess is that you have run in to some sort of classloader problem, having struts 2 libraries or configuration files

Re: direct access to freemarker files

2007-12-23 Thread Leonidas Papadakis
Thanks for the reply Dave, isn't a little crude to do it like that ? Actually i haven't done it like that till now and i am not sure if it's going to be easy to move everything there ... Regards, Leon Dave Newton wrote: Can you just put them under WEB-INF like with JSP files? d. --- Leon

Re: Why two struts2 projects can not exsits in one server at one time

2007-12-23 Thread Leonidas Papadakis
Actually, i am running 4 at the moment , under tomcat 5.5.25 sharing most libraries as well. Have you encountered any problem ? Leon Ray wrote: So it's because two projects can not use the same port number right? thank u.

Accessing ActionMessages from Tag Library

2007-12-23 Thread Chris Pratt
OK, I'm losing my mind trying to figure this out, so I figured I'd just ask the people who already know. I'm trying to write a tag library, one of the tags I'm attempting to write is similar to the old tag from Struts 1. But, I can't seem to figure out how to get hold of the messages. I tried t