I still haven't found an answer to my puzzlement about encoding
non-ASCII characters. I've come to the conclusion that this isn't
specifically a Struts2 problem (so, I'll probably post on
stackoverflow for enlightenment), but for completeness's sake, here
are a few observations that may puzzle (or
I fail to understand how to use the "encode" attribute of the .
Here's an example that puzzles me... Let's try, alternately, to set
"encode" to "true" and "false". Here goes:
Élizabeth
yields:
/myAction?entityName=%C3%83%C2%89lizabeth
while
Élizabeth
yields
/myAction?entityNa
Yes the model is *exactly* the same in the two cases. In fact, both
S1 and S2 exist concurrently in the same Tomcat application.
Each test is run using JMeter, with 10 users who randomly try to
access one of 42 different pages involving 10 different types of
results (that is, roughly speaking, 10
>From the comparison I made on my own system, S2 is overall about 30 to
60 times slower than S1. This is based on comparing a number of pages
(repeatedly, testing with JMeter, etc.); the pages being compared
are, admittedly not 100% identical, but abstracting from the specific
differences, the pe
Say, I have a Map of the kind:
Map pet = new HashMap();
public Map getPet() { return pet; }
public void setPet(Map pet) { this.pet = pet; }
Typically, pet might contain something like:
pet.put("fr", "chat");
pet.put("en", "cat");
How do I refer to one of the map entries in a texfield? What is
Thank you, Nils and Tobin! Great explanations and suggestion! Thanks!
Nils wrote:
> The ActionProxy has methods for accessing the name, namespace and
> method of the action, and the ActionInvocation has a method for
> accessing the ActionProxy. The ActionInvocation also has a method for
> acces
Thanks Nils. Though, to be honest, it doesn't really help since my previous
post in this thread (and the question it asks) was based on a reading of
those very links...
;)
I hit the same wall: how to extract from an ActionInvocation (or an
ActionContext) the namespace, the name and the parameter
>
> Is there a way to determine which logging properties need to be configured
> to remove / change all of the struts logging?
>
> I haven't seen a confluence page on that topic yet.
>
> i.e., if I wanted to set the whole logging level for all of struts2 to
> ERROR, how would I find the property na
>
> > Instead of the uri, the action name, method and namespace called would be
> > better.
> > In this way the same can be applied to portlets too. So i would like to
> > enhance your original thread question.
>
> I belive this can be obtained from the action invocation.
>
I believe so too, but I
Hi Adam,
I vaguely believe that what you are looking for can be found, not among
interceptors, but among converters. (Isn't there a "trim" flag, somewhere?)
Sorry for the vague answer, but I hope it can steer you in the right general
direction!
2008/10/17 Adam Lister <[EMAIL PROTECTED]>
> Yes,
Is it possible, inside an interceptor, to "grab" the URL of the current
request?
The typical scenario for why I would like to be able to do that:
1) A user is about to perform MyRestrictedAction, but (say) the user lacks
authentication for that particular action.
2) CheckUserAuthenticatedIntercep
Is there a way to avoid null-valued (or empty-valued) parameters to be
explicitely mentioned in the URL generated by a form submitted through the
GET method?
For instance, here's a form:
If the user types "FOO" in the first textfield and nothing in the second,
the submitted URL
2008/8/27 Dave Newton <[EMAIL PROTECTED]>:
> IIRC it will--OGNL plays some games to try and do what it thinks you want to;
Microsoft products too try to do what they think you want...
It's absolutely maddening!
;)
-
To unsubscrib
2008/8/27 Jeromy Evans <[EMAIL PROTECTED]>
>
> I vaguely an update or concern recently relating to automatic refreshing
> of the model in the ModelDriven interceptor; the interceptor gets the
> model and re sets it on the stack when it thinks it should.
I followed through your suggestion, and came
2008/8/27 Jeromy Evans <[EMAIL PROTECTED]>
> There is something else at play here. If you put a break-point in the
> interceptor it should become clear.
>
> I vaguely an update or concern recently relating to automatic refreshing of
> the model in the ModelDriven interceptor; the interceptor gets
2008/8/27 Wes Wannemacher <[EMAIL PROTECTED]>
> this is documented behavior -
> http://struts.apache.org/2.x/docs/model-driven-interceptor.html
>
> see the second note, toward the top of the page.
>
Wes, are you referring to the following note: "The ModelDrivenInterceptor
will only push the mode
2008/8/26 Pierre Thibaudeau <[EMAIL PROTECTED]>
> [...] suddenly, on my most recent action, the model does not find its way
> to the top of the stack, and I cannot find where the problem might be.
>
I dug deeper into this issue and found something very surprising. The
strange be
I have successfully used the ModelDriven interface again and again. But
suddenly, on my most recent action, the model does not find its way to the
top of the stack, and I cannot find where the problem might be.
This is what I know about ModelDriven setup:
1) Action must implement ModelDriven inte
In case people were interested in newer developments on this topic, Perry
kindly posted an issue on Jira:
https://issues.apache.org/struts/browse/WW-2781
He also came up with a workaround: changing the DTD reference in struts.xml
from
http://struts.apache.org/dtds/struts-2.0.dtd";>
to
and put
2008/8/12 Musachy Barroso <[EMAIL PROTECTED]>
> You shouldn't need to use at all. Just use the "url" tag to
> build urls to any resource/urls you need, and it will take care of
> adding the context to the url for you.
>
Good point!
(That said, the only place where I ever use non--based URLs are
This may be completely incidental to your problem, but, it seems to me that,
if your actions are listed in that order, the first one will catch the
occurrences of the second one. ("importRole" is a particular case of
"*Role".) Shouldn't they be listed in the reverse order?
> > Example struts.xm
The essence of my question rested specifically on the:
%{somethingOrOther}...
On one system where I run my application, the base path is
http://www.website.com/
On the other, it is http://localhost:8080/myapp/
took care of that seamlessly. I suppose I could use one given
action as base referenc
Any suggestion as to an S2 equivalent to S1's ?
" />
???
What do you guys do?
The same question was asked a number of months ago:
http://www.nabble.com/%3Chtml%3Abase%3E-equivalent-in-S2-to9547065.html
http://www.nabble.com/-s2--Is-there-a-tag-similar-to-%3Chtml%3Abase-%3E-in-s1-to10983577.html
t
Those two mappings correspond to two separate actions: DipatchNewPost,
DispatchEdit. Each action has its own preview() method. (In fact, the
preview() method is inherited in each case from an abstract superclass.)
Clicking the "Preview" button calls the preview() method.
2008/8/9
I am a little puzzled as to what my best option is for mapping and naming
actions in the following context.
I have a "posting" form (in JSP) which is used for any of the following:
* Posting a new comment
* Editing an existing comment
* Previewing a new comment
* Previewing a comment while it's be
2008/8/9 Randy Burgess <[EMAIL PROTECTED]>
> As long as you set the cookie path and stick to that path it
> doesn't matter where the user enters the site.
Well, not entirely, it seems to me. Say, for example, that I were to set
the path to "/something/very/complex/and/unwieldy", the browser wou
>
> Isn't a path of "/" a "site-wide" cookie?
>
Thank you, Dave. I just tried that and path "/" behaves as site-wide. That
solves my issue!
Thanks Randy. That confirms what I have been discovering since last night.
This is a little annoying given that there are some bits of information that
I would love to set for the entire site. For instance, if I wish to
remember the current surfing language of a user and set that in a cookie
wit
it "by the book" according to
cookies specifications)?
Is there a way around this issue? Can I retain the "/users" namespace for
my login action and yet get the auto-login interceptor (with an action in
the "/" namespace) to read it back?
2008/8/9 Pierre Thibaudeau <
Struts: 2.1.2
browser: Firefox 3.0, with Firebug add-on
Strange phenomenon involving cookies. I don't know who to blame: my code,
Struts or Firefox...
I am running a copy of my application locally on my own local Tomcat server
(on localhost). After several operations on the webapplication (amo
Sorry to hear it didn't work.
I am having my own share of problems with that ExpressionValidator, and I
found one useful suggestion in the following doc:
http://www.opensymphony.com/xwork/wikidocs/ExpressionValidator%20Tips.html
Look for the section entitled "Use the validation message for debuggi
Since it's "expression" is an OGNL expression, have you tried instead:
@FieldExpressionValidator(expression = "usernameAvailable", message = "...")
which would attempt to find, in turn, getUsernameAvailable() and then
isUsernameAvailable()... I would be curious to know if that works.
My two cen
2008/7/29 [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> [...] First, might I make the assumption that type
> converters and validators can be represented as beans. Reason being is
> because I need to be able to do dependency injection via spring.
Converters as beans: that's not a problem. I have a s
Thank you Andreas and Brad. I too shall be impatiently looking forward to
2.1.3!
And I'd rather not backtrack to 2.0.11 as I want Ajax/dojo as a plugin and
not as a theme.
2008/8/1 Andreas Mähler <[EMAIL PROTECTED]>
> I am also desperately waiting for version 2.1.3 since it seems to be fixed
> t
I have read a number of reports spanning the last year and describing the
problem of wanting to attach parameters to an actionRedirect, as in the
following example:
myAction
23
This issue has been raised a number of times, I believe, but I
2008/7/30 Dasgupta, Ranjan <[EMAIL PROTECTED]>
> In your action set the fieldError:
> addFieldError("someField", "someText")
>
> in your JSP:
>
>
Thank you, Ranjan!
The "cssErrorClass" parameter was forgotten from the tag reference guides.
See for example:
http://struts.apache.org/2.1.2/docs/te
In Struts2, what is the equivalent of Struts1's "errorStyleClass" parameter
of tag?
In other words, how can I control the CSS style of a when
there is an error over that field?
(Using Struts 2.1.2)
I have a little "widget" (for want of a better word) which gets activated on
most pages by a call to:
the result of that action being a small JSP that will sit snuggly inside its
little box on the overall page. That little widget is, in effect,
independent and clueles
Quick question for which, I can't for the life of me find an answer in
the documentation.
>From within an Action that extends ActionSupport, how can I get access
to another action's URL from knowing the name of that other action.
With Struts1, I would have done something like:
(new ActionRe
Using Struts 2.1.2
My browser (Firefox 3) has a prefered locale (and only one): fr_CA
Struts2 constant: struts.locale=en_US
I use i18n throughout the software.
There is a "default" resource (whose content happens to be in
English): ApplicationResource.properties.
There are also resource bundles i
2008/7/23 Jeromy Evans <[EMAIL PROTECTED]>:
> Can you please raise this in JIRA?
Here ya go, Jeromy:
https://issues.apache.org/struts/browse/WW-2732
(I hesitated on the "Type" to give to this issue...)
-
To unsubscribe, e-mail:
(I use Struts 2.1.2)
I am not sure if the following behaviour of is documented.
(I have not read any comment about it.)
will yield the message from the
resource bundle whose key is "resource.bundle.key", provided that key
exists. Otherwise, normally, you would get the name of the key
printed a
> After a forward, the requestURI is now available in the request map:
>
> #request['javax.servlet.forward.request_uri']
Great, I'm learning!
> Snippet:
> StringBuilder uri = new StringBuilder();
> RequestMap requestMap = (RequestMap)
> stack.getContext().get("request");
>
Earlier in this conversation, Jeromy proposed two ways of accessing
the current URL (or URI), one through EL and the other through OGNL
> ${pageContext.request.requestURI}
> value="%{#context['com.opensymphony.xwork2.dispatcher.HttpServletRequest'].requestURI}"/>
That works great until (it seems
apache.org is currently down.
"Big deal!", you might say... Well with my recurring problem of Struts2.1.2
always trying to access that website on startup, I cannot restart my local
server This is very infuriating!
Are we agreed that Struts should not be attempting to access any remote
server
it
> is delegated to the HTTPSession object.
>
> 2008/7/14 Pierre Thibaudeau <[EMAIL PROTECTED]>:
>> 2008/7/14 Gabriel Belingueres <[EMAIL PROTECTED]>:
>>> Please test your interceptor using the following to get the session:
>>> Map session = invocation.
2008/7/14 Gabriel Belingueres <[EMAIL PROTECTED]>:
> Please test your interceptor using the following to get the session:
> Map session = invocation.getInvocationContext().getSession();
Well, Gabriel:
a) I'll be d*mned!
b) You're a genius! ;) (I would never have thought of looking that way!)
2008/7/14 Gabriel Belingueres <[EMAIL PROTECTED]>:
> That's strange.
> Which S2 version are you using?
>
Struts 2.1.2
Extra update.
What makes this even more puzzling is that EL can find the object while OGNL
cannot. On the first request,
${userLanguage} will display the correct value, but
will display nothing.
On the second request, both expressions will display the same (and correct)
value.
2008/7/14 Gabriel Belingueres <[EMAIL PROTECTED]>:
> Where in the interceptor chain do your custom interceptor execute?
>
The interceptor I mentioned in my earlier post is the first one:
userLanguage.
I have an interceptor that puts an object in the Session scope.
The interceptor calls the following when retrieving the Session:
public String intercept(ActionInvocation invocation) throws Exception {
ActionContext context = invocation.getInvocationContext();
HttpServletReques
>
> The benefit of EL is that your IDE (hopefully) understands it,
I wish my MyEclipse JSP editor was as clever as that... (Should I just
revert to Eclipse with the correct collection of plugins? or maybe switch to
IntelliJ?)
In any case, thanks a million!
Hello Jeromy,
I thought of your OGNL solution a few minutes ago, just before reading your
post. I had been so adamant on finding the value explicitly within the
value stack, that I had momentarily forgotten that I had access to the
HttpServletRequest object.
But your statement about EL intrigues
(Struts 2.1.2)
In the JSP, is it possible through some OGNL expression to get hold of the
URL of the current request? I looked through the XML output obtained
through debugging, but could not find anything.
(I know I can get hold of the action and parameters; so there might a
complicated way out.
Brilliant! Thanks, Dave!
2008/7/13 Dave Newton <[EMAIL PROTECTED]>:
> Depending on how your application is laid out you could also put a
> "catch-all" mapping at the end of your regular mappings, like so:
>
>
> /static/{1}.jsp
>
>
> Again, this is if you're intent on using XML configuration.
With Struts1, if I wished to render a JSP page without bothering with the
machinery of an action (yet going through the filters/interceptors), I would
have an action mapping as follows:
With Struts2, in the same situation, I would do:
/static/home.jsp
This
2008/6/30 Musachy Barroso <[EMAIL PROTECTED]>:
> "struts" maps to a folder inside the struts-core jar. Those files are
> used for validation and are not related to dojo (nothing to do with
> "head" tag)
>
Thank you, Musachy, for the "head's up"!
Though I must add that, within that setup, javascr
I am playing with Struts 2.1.2. (I have seen several other related topics
on this mailing list but nothing quite explicitely about what follows.)
I add the following tag inside the :
Unsurprisingly, this yields the following in the html:
// Dojo configuration
djConfig = { isDebug: true, bin
2008/6/27 Lukasz Lenart <[EMAIL PROTECTED]>:
> Right now, I don't have any other suggestions, I will try to test
> something like you during weekend, maybe then I will come back to you
> with some idea ;-)
>
Thanks Lukasz!
What I just did---and it worked---was to remove the abstract property set
2008/6/26 Chris Pratt <[EMAIL PROTECTED]>:
> How does your case differ from the example on the Type Conversion page
> you referenced? It seems to me you're trying to do exactly what that
> page says you can't?
>
My understanding of
http://struts.apache.org/2.1.2/docs/type-conversion.html#TypeCon
I tried your suggestion. Unfortunately, the exception is exactly as before.
(In practice, it would not have been a good idea to put the autoLogin
interceptor after the prepare interceptor, but I am definitely willing to
try anything!)
2008/6/26 Lukasz Lenart <[EMAIL PROTECTED]>:
> Try to change
tting
expression 'propertyId' with value '[Ljava.lang.String;@76a247'
2008/6/26 Pierre Thibaudeau <[EMAIL PROTECTED]>:
> I am aware that, when applying request parameters to an action, Struts
> cannot guess the actual type of parameters determined by a generic ty
Hi Lukasz
I don't know why you use such generic action class?
;)
Well, I haven't shown you the purpose of any of the objects. (In fact, the
full hierarchy is highly more complex than what is shown in my previous
post; there are 29 objects involved...)
> And as I know OGNL support generics and
I am aware that, when applying request parameters to an action, Struts
cannot guess the actual type of parameters determined by a generic type
(because of erasure at compile time).
However, I am assuming that if a non-generic action class extends an
abstract generic one, it should be possible in t
Thank you, Dave!
I had no problem checking out the source. Now whether I'll have time to
delve into its depths to unlock this mysterious online-connect-on-startup is
another matter...
2008/6/23 Dave Newton <[EMAIL PROTECTED]>:
> --- On Mon, 6/23/08, Dave Newton <[EMAIL PROTECTED]> wrote:
> > htt
> You'll need to enable OGNL's access to static methods.
>
> struts.ognl.allowStaticMethodAccess=true
>
Ah, I didn't know that!
>
> I try not to use this myself. Instead I expose a property that provides
> the values so it can sort, lookup I81N text, and minimize dependencies on
> OGNL-specifi
It is possible to refer to an enum value within OGNL:
[EMAIL PROTECTED]@MARS}
But how can I refer to the collection of all the values of an enum? In
Java, that would be: com.myapp.Planets.values()
With OGNL, I tried the following without success:
[EMAIL PROTECTED]@values()}
[EMAIL PROTECTED]@val
2008/6/23 Chris Pratt <[EMAIL PROTECTED]>:
> If you look at the states that the location of the DTD is
> http://struts.apache.org/dtds/struts-2.0.dtd. Since there is no way
> to put something like this on the CLASSPATH, the only way I know of to
> stop the XML libraries from loading this DTD rem
As a matter of fact, the DTD for struts.xml that corresponds to "
http://struts.apache.org/dtds/struts-2.0.dtd"; is found inside
struts2-core-2.1.2.jar which IS on the classpath.
2008/6/22 Pierre Thibaudeau <[EMAIL PROTECTED]>:
> As far as I know, the DTDs definitely are on
Hello Wendy,
As far as I know, the DTDs definitely are on the classpath. At least,
Eclipse considers they are. (It's easy to check: if I modify the header of
the DTD by (say) changing the DTD's version number, Eclipse gives a warning
that it cannot anymore find the corresponding "mock" DTD on th
Thanks, Chris, for the info!
It doesn't make sense to me that the DTD's should be compared to the ones
stored remotely (rather than locally), but at least it explains why the
system fails to start up when the internet is unavailable! May I suggest to
the Powers That Be that this should be made ve
I would love to get to the bottom of a problem that has cropped up a number
of times on this list:
* On April 29, 2008, I reported that XmlConfigurationProvider was trying to
access the internet. (At the time, I thought the problem might be due to an
incompatibility with a specific version of Tom
Good point. Thank you!
2008/6/14 Dave Newton <[EMAIL PROTECTED]>:
> I usually just use which has clean support for for/next type
> iteration. doesn't currently implement similar usage, AFAIK.
>
Is there a simple syntax with or for displaying a
sequence of integers from 0 to N-1 ?
(The value of N is not known at compile time.)
At the moment, the only way I can think of doing this is not very appealing:
Within the action, create an ArrayList and populate it with the sequence of
integers.
Thanks for the suggestion, but I use Spring very heavily! ;)
(Everything's bean-ified, and dependency injected...)
2008/5/5 KonTiki <[EMAIL PROTECTED]>:
>
> The Spring context listener is needed only if you do use Spring.
> If you do not, then this might be causing the error as Tomcat was unable
Just moving from Struts1 to Struts2.0.11.
No problem on Tomcat 6.0.16.
However, I get the following exception on startup with Tomcat 6.0.14.
Does anyone know a way round this?
(I've included excerpts from web.xml further down.)
***
EXCE
Thank you, Paul, for the clarification about the parsing of the regex (ORO
vs JDK 1.4); that's completely new to me! No luck so far in trying to
checkout the latest build of Validator 1.4, but will try again later today.
Failing that, I'll look into ORO's regex parser.
2007/12/10, Paul Benedict
that with Greek, Cyrillic, Arabic and Hebrew alphabets, that
would probably cover more than all the ground I need.
2007/12/6, Pierre Thibaudeau <[EMAIL PROTECTED]>:
>
> I am using Struts 1 (more specifically 1.3.8).
>
> I have a form for which I use the Struts Validator.
>
> O
I am using Struts 1 (more specifically 1.3.8).
I have a form for which I use the Struts Validator.
One of the textual fields should be able to accept any alphabetic character,
as well as spaces and apostrophes.
By "alphabetic characters", I don't merely mean [a-zA-Z], but I am also
interested in:
back to it in about a week.
Ever solve this problem?
Paul
Pierre Thibaudeau wrote:
> What version of the DTD are you using?
>
>
> The heading of my struts-config.xml file reads as follows:
>
>
> PUBLIC "-//Apache Software Foundation//DTD Struts Configurat
2007/3/18, Paul Benedict <[EMAIL PROTECTED]>:
What version of the DTD are you using?
The heading of my struts-config.xml file reads as follows:
http://struts.apache.org/dtds/struts-config_1_3.dtd";>
Hello Martin,
I did not see the stacktrace and or exception?
Bon Chance,
Let me re-quote the full trace below.
I upgraded from 1.3.5. (Before this upgrade, I had never attempted to use
> in my action mappings.)
>
>> > I just upgraded to Struts 1.3.8. I was experimenting with adding
>> >
I upgraded from 1.3.5. (Before this upgrade, I had never attempted to use
in my action mappings.)
2007/3/18, Paul Benedict <[EMAIL PROTECTED]>:
From what version did you upgrade from?
Pierre Thibaudeau wrote:
> I just upgraded to Struts 1.3.8. I was experimenting with adding
I just upgraded to Struts 1.3.8. I was experimenting with adding
in my action mappings.
Unfortunately, as soon as I add one of these to my struts-config.xml,
starting the servlet gives me the exception quoted below. The exception
goes away when I remove those lines. I am running the servlet o
2007/3/13, Michael Jouravlev <[EMAIL PROTECTED]>:
On 3/13/07, Christopher Schultz <[EMAIL PROTECTED]> wrote:
> > I am trying to implement a flood control mechanism to prevent robots
> > requesting pages after pages at an "inhuman" rate.
>
> I know you've gotten lots of feedback already, but ther
2007/3/13, Tamas Szabo <[EMAIL PROTECTED]>:
Have a look at the documentation of the "dispatcherType" at
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd.
Thank you, I'll take a look.
I pressume that by "internal redirects" in your initial mail you mean
forwards. Is this true?
Sometimes f
Yes, I believe it is 2.4.
Also:
Struts 1.3.5
Tomcat 6.0.9
2007/3/12, Tamas Szabo <[EMAIL PROTECTED]>:
Hi,
What servlet api are you using?
Is it at least 2.4?
Tamas
On 3/13/07, Pierre Thibaudeau <[EMAIL PROTECTED]> wrote:
> I am trying to implement a flood control mecha
I am trying to implement a flood control mechanism to prevent robots
requesting pages after pages at an "inhuman" rate.
My basic idea is this:
* A FirstInFirstOut List stored in the HttpSession, that records the time of
the user's last 10 requests.
* On each new request, a filter compares the cur
Or you can use ActionRedirect
http://struts.apache.org/1.x/apidocs/org/apache/struts/action/ActionRedirect.html
which sets this flag automatically.
Thank you! That's a significant improvement!
-
To unsubscribe, e-mail: [EMAIL
I would like either to:
1) instruct Struts that my newly formed forward is in fact a redirect.
2) or better, I would like to use my predefined "results" forward but
attach to it a map of parameters (in the same way that you can attach
a map-bean of parameters to an tag).
Are options 1 or 2 feasi
[using Struts 1.3.5]
I have a fairly complex search form which (once its content is checked
as valid and unambiguous) should *redirect* to a results action that
outputs a results.jsp page.
The primary reason for *redirecting* is that I want the browser's URL
bar to display an address which entir
I removed jsp-api.jar from WEB-INF/lib. (It is still in the build
path, though.)
Problem solved! (Though I don't understand why!)
2007/2/22, Pierre Thibaudeau <[EMAIL PROTECTED]>:
> > I think I have a problem with my library versions, but I cannot pinpoint the
> &g
> 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%20
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
2007/2/6, Strachan, Paul <[EMAIL PROTECTED]>:
you have to use a valid url with an anchoryour browser cannot make a
new HTTP request to a Tile. what were you expecting the link to contain?
The tile-path ".search" does not represent one tile but rather a collection
of tiles that, once they
Problem with using global forwards with tiles:
I have these two global forwards:
The first one points to a "person" ActionMapping. This works perfectly in
the tag
The second one points to an entry in the tiles-def.xml:
etc.
But produces a link ending with:
Thank you! Exactly what I needed! It works great!
2007/2/5, Illya Kysil <[EMAIL PROTECTED]>:
> google://SetCharacterEncodingFilter
I seem to have a problem of consistency between UTF-8 and ISO-8859-1 when it
comes to accepting Strings in forms. Here's how it goes:
* My application is intended to be entirely UTF-8 encoded: the database,
the JSP files, etc.
Only exceptions are the localized ApplicationResources_??.properties
Cecilia,
(I know nothing about Struts2, but I don't think that's essential to your
query!)
Every one of my Spring DAO beans contains a method along this one:
public static ThingDAO getInstance() {
return (ThingDAO) SpringConfig.getSpringContext
().getBean("ThingDAO");
}
(The Strin
There is no persistence layer as part of Struts. For that, you must rely on
an external package.
That said, Struts integrates very well with Hibernate (or with Hibernate +
Spring).
2007/1/31, jlp86 <[EMAIL PROTECTED]>:
Hello all - I'm new to Java Web development/Struts, and was wondering if
1 - 100 of 104 matches
Mail list logo