Hi Frans,
Be careful not to cross-post questions. That gets some people very angry.
Velocity's "resource.loader" property is a comma separated value
Struts sets up a VelocityManager, the manager loads velocity.properties
from a various locations in the webapp/classpath, the VelocityManager
c
jeromy
i got this JarResourceLoader
but my problem here, i use both the classpath and jarResource
is it possible to mixed both ?
F
hi jeromy
i still dont get how can
the template in /WEB-INF/classes work well
but in the /WEB-INF/lib cannot be found
in my experience anything in clasess can be zipped become .jar and put in
the lib
and in my case, i can use the classpath in the classes folder
but in the lib folder
any idea
So this thread didn't help ?
http://www.mail-archive.com/user@struts.apache.org/msg73528.html
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
hi all
i use struts2 with velocity
i just do several testing , the template is velocity, and freemarker :)
i got this
if we put the template in the source, and deploy to WEB-INF/classes
the template loaded perfectly
but when i try to move all the file inside the classes to a .jar and put in
t
i have designed a jsp page namely index.jsp
As i am using myeclipse as IDE which has tomcat embedded in it.
running my application using embedded tomcat is displaying index.jsp page
accuratly which is asking for input about the name and date.
but when i hit submitt button.it is not able to find t
Dave Newton wrote:
For example Depending the circumstance
I load setValue(boolean) or setValue(String).
In S2 it could cause problems with the form tags; it expects form values to
follow JavaBean standards. I'm not sure what would happen.
Dave
You can have the two setters if you want, bu
--- "Peters, John" <[EMAIL PROTECTED]> wrote:
> Is it possible to have multiple methods for the same
> value? Then have the jsp either load a text box or a
> check box For example Depending the circumstance
> I load setValue(boolean) or setValue(String). Then can
> the jsp page create either a
Is it possible to have multiple methods for the same value?
Then have the jsp either load a text box or a check box
For example
Depending the circumstance I load setValue(boolean) or setValue(String).
Then can the jsp page create either a text box or a check box?
Blue Cross Blue Shield of Florid
if you like acegy, you can see the roller project, this is cool
implementation, event the LDAP + CAS is not complete, you can see the
Liferay security implementation
but, both of them dont have ACL implementation
F
[EMAIL PROTECTED] wrote:
Dude, that sounds very exciting! I was thinking you were just "tweaking"
around the existing interceptor. Does it allow filtering on the action
name?
I wouldn't say it's very exciting, but I've found it useful. Yep, you
can filter on the action name and can plugin
Kelly.Graus wrote:
My questions:
1. I'm very new at Struts and servlet technologies in general. I'm
thinking that there might be ways for a user to add session objects, so they
could just add an object to the session with same names that I am using for
roles.
The session is managed by T
Dude, that sounds very exciting! I was thinking you were just "tweaking"
around the existing interceptor. Does it allow filtering on the action
name?
Peace,
Scott
On Fri, Mar 7, 2008 at 5:06 PM, Jeromy Evans <
[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Jeromy --
> >
> > I don't m
--- Chamara Gunaratne <[EMAIL PROTECTED]> wrote:
>
Ah.
I'm not sure that the short-circuiting behavior works with client-side
validation, although it probably should. I don't see any code in the
generated JavaScript, however, that would enforce short-circuiting behavior.
You may want to file a
Dave:
Thank you, here's the files:
ApplicationAction-validation.xml:
http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd";>
Please enter your first name.
^[a-z.\-, A-Z]+$
First Name may only contain l
[EMAIL PROTECTED] wrote:
Jeromy --
I don't mean to step on your toes and your plug-in sounds great; but should
this "tiny extra" bit of namespace code be submitted as a patch to the
already existing wildcard code?
Hi Scott,
Xwork 2.1 already includes a NamedVariablePatternMatcher, with the sa
Please repost your configs, JSP, and action; I'll look at it again.
Dave
--- Chamara Gunaratne <[EMAIL PROTECTED]> wrote:
> Hmmm, I tried setting the log level to DEBUG and it yielded a mass of
> logging entries, but nothing that was particularly insightful. Grepping on
> short-circuit, validato
Hmmm, I tried setting the log level to DEBUG and it yielded a mass of
logging entries, but nothing that was particularly insightful. Grepping on
short-circuit, validator, etc didn't bring out anything useful.
Very strange problem, everything else seems to be working fine and I cannot
find anywhere
newton.dave wrote:
>
> Some of your JSP didn't come through.
>
> You can set a parameter on a link created with [1] by using the
> tag [2], examples of doing so are on [1]. Sometimes the
> documentation is your friend.
>
> You'd need to set an ID, because the *only* thing a browser can send
Dave,
I did. I will try both, easy path first. I'll let you know what I find
so that you can close the JIRA incident I opened. I did look at the JIRA
ticket Antonio posted, and it seems likely that is the problem.
Thanks to all that replied, especially all the extra effort that Martin
went to.
--- "Kelly.Graus" <[EMAIL PROTECTED]> wrote:
> [...]
> I want to be able to hyperlink each of the names, then display additional
> detailed information when one of the names is clicked on about the object
> that was clicked on. Is there a way to set up the anchor for each name so
> that either the
Hello,
I currently have an action that creates a list of objects (lets say each
object has a name and an id), then redirects to a jsp page that iterates
over the list and displays the name and id for each object in a table.
I want to be able to hyperlink each of the names, then display additiona
Hi,
Is this possible to do selective validation using validation.xml? What I meant
by this is that calling a different set of validation on each(different)
invocation of same action and same method.
Example: I call UpdateAction and update method and use
UpdateAction-validation.xml and want to
Did you see Antonio's post about how it's probably a bug in Tiles?!
Seems like it would be quite a bit easier to try his idea than all this.
--- Martin Gainty <[EMAIL PROTECTED]> wrote:
> Good Afternoon Michael
>
> I just ran thru the scenario you described on a 'healthy' jsp page and see
> thi
i can run it ...
i put the template in /src/java, one level with the java code
but when i try to make a .jar, the velocity still cannot recognize the
template
this is my velocity.properties
resource.loader=class
class.resource.loader.description = Velocity Classpath Resource Loader
class.reso
Good Afternoon Michael
I just ran thru the scenario you described on a 'healthy' jsp page and see
this debug output:
03-07 12:58:52,718 DEBUG
(org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor:1
34) - Validating /tags/non-ui/actionTag/form with method execute.
2000-03-07 12
--- aum strut <[EMAIL PROTECTED]> wrote:
> i am not sure about the method invocation as read the example some where as
> mentioned theer it was describibg that struts2 will automaticaaly populate
> the fields in the action with refrence to input field.
How do you access the form page? What is the
hi dave,
i am not sure about the method invocation as read the example some where as
mentioned theer it was describibg that struts2 will automaticaaly populate
the fields in the action with refrence to input field.
On 3/7/08, Dave Newton <[EMAIL PROTECTED]> wrote:
>
> Oops, hit send too quickly.
Oops, hit send too quickly.
It's also a good idea (in general) to answer the questions somebody asks
you--they may be relevant.
--- aum strut <[EMAIL PROTECTED]> wrote:
> even when i am trying the example from the struts web site namely
> HelloWorld it is also not running. it still giving me the
--- aum strut <[EMAIL PROTECTED]> wrote:
> even when i am trying the example from the struts web site namely
> HelloWorld it is also not running.
> it still giving me the following error.
Let's focus on your application for now.
Dave
-
even when i am trying the example from the struts web site namely HelloWorld
it is also not running.
it still giving me the following error.
*type* Status report
*message* *There is no Action mapped for namespace / and action name
HelloWorld.*
*description* *The requested resource (There is no
--- aum strut <[EMAIL PROTECTED]> wrote:
> [...]
I'm also not clear on how you're getting to your input form in the first
place; are you using dynamic method invocation?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
--- aum strut <[EMAIL PROTECTED]> wrote:
> /jsp/welcome.jsp
Is that a typo? "SUCCESS" should be lower-case if you're returning
ActionSupport.SUCCESS.
Also the information regarding the lack of a configured result should be
logging an error message to your console. Including such logging informati
Hi All,
I have tried all the ways but not able to solve the problem..
i am attaching all the codes for my test application..
*StrutsExample.xml*
*
package* aum;
*
import* java.sql.Date;
*
import* com.opensymphony.xwork2.ActionSupport;
**
*public* *class* StrutsExample *extends* ActionSupport
On Sat, Mar 8, 2008 at 12:01 AM, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- Frans Thamura <[EMAIL PROTECTED]> wrote:
> > /view/frontpage/login/login.vm
> > [...]
> > resource '/WEB-INF/view/frontpage/login/login.vm'
>
> Looks to me like Velocity is expecting them to be under WEB-INF, no?
>
i g
--- Frans Thamura <[EMAIL PROTECTED]> wrote:
> /view/frontpage/login/login.vm
> [...]
> resource '/WEB-INF/view/frontpage/login/login.vm'
Looks to me like Velocity is expecting them to be under WEB-INF, no?
Dave
-
To unsubscrib
--- Skip Hollowell <[EMAIL PROTECTED]> wrote:
> It's getting pretty close to that magical time, production day.
>
> So I am starting to get a little anxious about what kind of limits my
> Struts 2 app will run up against. Is there any good way to determine
> what kind of user load I will start
--- [EMAIL PROTECTED] wrote:
> In case of validation failure or type conversion error the input result is
> returned. I would like to customize this so that for both cases, I coul
> give the result that will be returned. Is it possible to do that ?
http://struts.apache.org/2.x/docs/workflow-inter
--- Skip Hollowell <[EMAIL PROTECTED]> wrote:
> In my app, I don't want to have any of the fields be autocomplete, so I
> took the generalized approach of each form calling an onload script that
> sets AUTOCOMPLETE=OFF. Turns out, this gets my security folk's knickers
> in a twist, and they wou
hi all
i put all my velocity tempate in the .jar file
and the folder structure is like this
/view/frontpage/login/login.vm
and i got this error
Mar 7, 2008 11:28:55 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet default threw exception
org.apache.
This sounds as exciting as your first kiss! Have you looked at HttpUnit?
On Fri, Mar 7, 2008 at 10:07 AM, Skip Hollowell <[EMAIL PROTECTED]> wrote:
> Hey all,
>
> It's getting pretty close to that magical time, production day.
>
> So I am starting to get a little anxious about what kind of limit
Hey all,
It's getting pretty close to that magical time, production day.
So I am starting to get a little anxious about what kind of limits my
Struts 2 app will run up against. Is there any good way to determine
what kind of user load I will start maxing out with? Is there an open
source l
hi all
i have a problem here.
in freemarker case, i successfully make all the template in .jar
but when i try to put all the xml in jar, (the struts.xml,
struts-cimande.xml, struts-jobmerv.xml, which they are my action package)
i got that the jar is loaded first, and when i pust a struts-cimand
2008/3/7, Griffith, Michael * <[EMAIL PROTECTED]>:
>
> Struts 2.0.11.1
> Tiles 2.0.5
I think that this is a bug with Tiles 2.0.5:
https://issues.apache.org/struts/browse/TILES-232
It is fixed, so if you build Tiles 2.0.6-SNAPSHOT by yourself it should go
away.
For further questions on Tiles plea
Hi all,
I've tried to apply the zero configuration in an already well running
struts2 application.
I've been quickly facing to limitations because the zero configuration
seems to ignore interceptors.
The interceptors feature is a key concept of my application.
I'd like to know if the this patte
Jeromy --
I don't mean to step on your toes and your plug-in sounds great; but should
this "tiny extra" bit of namespace code be submitted as a patch to the
already existing wildcard code? I agree the action configuration needs to
be flexible but most of it already is. I would just hate to see t
I'd be happy to do more than that; I'll fix the bug if someone can give
me some design direction.
MG
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2008 7:36 AM
To: Griffith, Michael *
Cc: Struts Users Mailing List
Subject: Re: How can I combine
Struts 2.0.11.1
Tiles 2.0.5
-Original Message-
From: Antonio Petrelli [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2008 2:20 AM
To: Struts Users Mailing List
Subject: Re: How can I combine a result (tiles + xslt)?
2008/3/6, Griffith, Michael * <[EMAIL PROTECTED]>:
>
> Same result. D
Using Struts 1.3.x and I have this problem with error messages be displayed
after moving from one page to another.
I use the validate method in the form class and here is where the problem
occurs.
I use java script to set a the value of button on the form so that we can
check if next was s
Hi all,
In case of validation failure or type conversion error the input result is
returned.
I would like to customize this so that for both cases, I could give the
result that will
be returned.
Is it possible to do that ?
thanks in advance.
Meissa
L'integrite de ce message n'etant pas assure
I am facing a strange problem. When I use I get the following error on the console:
07.mar.2008 15:30:46 org.apache.tomcat.util.http.ParametersprocessParameters
WARNING: Parameters: Invalid chunk ignored.
and the parameters are not passed properly, but after removing *theme="ajax"
targets="reque
Good Morning Michael
This is a bug.. do you want to update JIRA?
Thanks
Martin-
- Original Message -
From: "Griffith, Michael *" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Thursday, March 06, 2008 4:07 PM
Subject: RE: How can I combine a result (tiles + xslt)?
Hi all,
In my app, I don't want to have any of the fields be autocomplete, so I
took the generalized approach of each form calling an onload script that
sets AUTOCOMPLETE=OFF. Turns out, this gets my security folk's knickers
in a twist, and they would like field itself have AUTOCOMPETE set to
off, so
I've posted the snapshot jar, example source and an example webapp:
http://code.google.com/p/struts2urlplugin/downloads/list
The full source is being synsync'd to googlecode as I type.
I won't make a formal release until there's user documentation, but
you're welcome to ask me questions.
The
hi,
I am facing an issue with oracle app server 10.1.3.1. With an application
deployed in it, any .action hit seems to lose the parameter map. However, i
m using Spring MVC with jasper reports for reporting purpose. So hitting a
.report seems to go thru without the parameter map loss. I m using s
hi,
I need to display the date as 21-jan-08 20:20:20 and when user changes it,
the corresponding value should get populated in the Action class. I see that
the date object is being displayed in the format specified but when getting
converted back into the action class its throwing error. The Obje
Yes, you're right that they are just warnings and I could eliminate them with
logging config; also yes I'm running in devMode.
Looking at the source, the exception will always be thrown and logged
though, even when not in devMode.
I've noticed there's a NoParameters marker interface which action
2008/3/7, Asad Habib <[EMAIL PROTECTED]>:
>
> How do I hide the path of links in Struts? Should I use the action
> attribute of for this or is there a better way to
> accomplish this?
You can use the URL Rewrite filter:
http://tuckey.org/urlrewrite/
HTH
Antonio
2008/3/6, Griffith, Michael * <[EMAIL PROTECTED]>:
>
> Same result. Does anyone have any other ideas on what I can do to
> prevent this? Any tile that is supposed to be rendered after the body
> (ie the footer) is not rendered because the stream is closed.
Version of Struts 2 and Tiles?
Antonio
59 matches
Mail list logo