Hello all,
I am in the process of upgrading from velocity-tools 1.0 to
velocity-tools 1.1 in my existing Struts 1.1-based application.
This app was working perfectly before the upgrade (just one JAR file)
and now I get an NPE whenever I use the velocity-tools's
LinkTool.setForward() method.
He
Niall,
(First, let me say that I'm very happy to see such a great response so
fast. I really appreciate the time you took to research my problem and
make suggestions. I expected to suffer several rounds of "go away and
complain to the velocity tools guys" before getting anything useful.
Thanks!
Caroline,
Iterator iterator = threadRows.iterator();
while( iterator.hasNext() )
{
odd = ( odd + 1 )%2;
ThreadBean threadBean = ( ThreadBean
)iterator.next();
.
}
%>
5. when I tried to write out the properties; for
example:
<%=threadBean.getSender()%>
<%=threadBe
Caroline,
Wait a second...
Collection threadRows = ( Collection
)request.getAttribute( "ThreadBeans" );
int odd = 0;
Iterator iterator = threadRows.iterator();
while( iterator.hasNext() )
{
odd = ( odd + 1 )%2;
ThreadBean threadBean = ( ThreadBean
)iterator.next();
Caroline,
Sorry, I still did not explain my code very well.
I've looked at your code, and none of it could print that error message.
You must be leaving something out.
Is it possible that the message is actually coming from a different part
of your JSP?
-chris
signature.asc
Description: OpenP
Ram,
Initially we had to use (\d{1,4})|(FEW)|(few)|(MANY)|(many) and eventually
we found that it is accepting 0(zero) when we enter a integer value as
0(zero) or which is invalid.
anybody have any idea about how to achieve the above using regular
expression. I tried finding any document to ref
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
It's been a long time since I've posted, and I've got my eye on S2 for
some upcoming work that will share code with a non-web-based interface
so I'd like to re-use as much code as possible without tying myself to
the S2 API.
The issue is with fi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
Bump: does anyone have any ideas?
Thanks,
- -chris
On 4/12/2010 4:48 PM, Christopher Schultz wrote:
> All,
>
> It's been a long time since I've posted, and I've got my eye on S2 for
> some upcoming work that wil
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rahul,
On 4/27/2010 1:09 AM, Rahul Mohan wrote:
> I think the fundamental mechanism of S2 is the configurable interceptor
> stack where each interceptor applies itself to the current action based on
> the interfaces the action implements. You can st
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Wes,
Sorry for the delay in replying... I hadn't noticed that your reply was
here.
On 4/28/2010 11:49 AM, Wes Wannemacher wrote:
> I can understand your desire to remove the dependency of struts,
> making your actions reusable. But at the same time,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
I've looked through the archives to see if there's a way to do this, and
I feel like there must be an easier way, so I'll ask again.
I'm using Struts 1.3.8 in a webapp deployed on Tomcat 6.0, and I'd like
to reload my own MessageResource objects
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Marshall,
On 7/15/2010 9:27 AM, Marshall Gunter wrote:
> Do Struts 2 field validators need to be thread safe?
That depends on what you want to do with them. Are you writing your own,
or are you critiquing the existing validator implementations?
- -c
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ken,
On 7/15/2010 5:54 PM, Ken wrote:
> On Tue, 2010-07-13 at 15:16 -0600, Ken wrote:
>
>> I am looking for documentation for the struts.xml configuration file.
>> Are there different tags for different versions of struts.xml?
>> I'm using struts 2.1
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Manos,
On 7/16/2010 9:42 AM, Manos Batsis wrote:
> On 07/16/2010 04:21 PM, Stephen Turner wrote:
>> We're using Struts 2 for file uploading, and we're filtering the types
>> of files people can upload by checking the file's content type against a
>> l
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anyone? Thanks in advance!
On 7/14/2010 10:16 AM, Christopher Schultz wrote:
> All,
>
> I've looked through the archives to see if there's a way to do this, and
> I feel like there must be an easier way, so I'll ask a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Abhishek,
http://download.oracle.com/javase/6/docs/api/java/lang/reflect/InvocationTargetException.html
- -chris
On 3/14/2011 4:26 PM, abhishek jain wrote:
> Hi friends,
> I am on production and getting this error:
> can anyone help me solve, i am u
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
I've been using S1 for years to great satisfaction. Thanks!
I'm coming up against a problem that I think I can't get around, so I'm
posing it to the community to see if anyone can help.
We have a regular expression that we want to put into a pr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
On 4/20/2011 6:46 PM, Dave Newton wrote:
> I'd play with the MessageFormat Javadocs:
>
>> Within a String, "''" represents a single quote. A QuotedString can contain
>> arbitrary
>> characters except single quotes; the surrounding single quote
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
I can't believe I've been working with Struts for nearly 10 years and
I'm only now attempting to use a multi-page flow with a form bean in the
session.
Of course, I'm having difficulty with checkboxes.
Our (simplified) flow looks something like
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
Thanks for the quick reply.
On 6/17/2011 3:46 PM, Dave Newton wrote:
> On Friday, June 17, 2011, Christopher Schultz wrote:
>> I can't believe I've been working with Struts for nearly 10 years and
>> I'm still usi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
struts-1.3.8
commons-validator-1.3.1
I recently started using a dynamic form attribute called
"reset". It's documented to allow you to use either "true" or "false" or
any combination of comma-separated HTTP methods that will trigger the
form fi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
Does anyone have any ideas about my post?
- -chris
On 6/30/2011 11:02 PM, Christopher Schultz wrote:
> All,
>
> struts-1.3.8 commons-validator-1.3.1
>
> I recently started using a dynamic form attribute
> called "res
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
On 7/19/2011 5:59 PM, Dave Newton wrote:
> If it works, I wouldn't worry about it.
>
> I'm not sure if anybody is planning any further 1.x releases, to be
> honest; maybe if a patch is filed against the ticket someone would
> apply it, but I'
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
On 8/3/2011 12:57 PM, Christopher Schultz wrote:
> I can always just patch my local struts-config.dtd file to get rid
> of the error. I'm happy to supply a (nearly trivial) patch to the
> 1.x branch just in case there is another
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
We've been using Struts 1 (currently 1.3.10) happily for years, mostly
with a monolithic configuration file (struts-config.xml). Lately,
we've been splitting-out some of the and global-forward
configuration into separate files. As a logical next
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bump
On 8/24/12 3:36 PM, Christopher Schultz wrote:
> All,
>
> We've been using Struts 1 (currently 1.3.10) happily for years,
> mostly with a monolithic configuration file (struts-config.xml).
> Lately, we've been split
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
raghu88,
On 9/4/12 2:25 AM, raghu88 wrote:
> i am trying to export some data to excel file...while doing this i
> am getting following exception:
> Servlet.service() for servlet action threw exception:
> java.lang.IllegalStateException: getOutputSt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
All,
I'm running Struts 1.3.10 (with commons-validator 1.3.1), and I'm
trying to validate (and subsequently parse) a floating-point value as
a double.
My validator configuration looks like this (I apologize for it's
potential unreadability):
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
All,
On 1/18/13 1:02 PM, Christopher Schultz wrote:
> Before I go digging-through the code Struts/commons-validator to
> find out exactly what might be wrong, can anyone give me any
> suggestions at to what I might be missing?
Actually,
Łucaz,
On Jan 18, 2013, at 16:00, Lukasz Lenart wrote:
> 2013/1/18 Christopher Schultz :
>> The method validateDouble() totally ignores the user's Locale and
>> calls commons-validator's formatDouble(String) method instead of the
>> formatDouble(String,Locale) m
-chris
--
Christopher Schultz
Chief Technology Officer, Total Child Health Inc.
Technical Director, Center for Promotion of Child Development through Primary
Care
tel: +1.410.807.4500 x20
tel: +1.888.4CHADIS (+1.888.424.2347)
email: cschu...@chadis.com
On Jan 18, 2013, at 16:38, Lukasz
-chris
--
Christopher Schultz
Chief Technology Officer, Total Child Health Inc.
Technical Director, Center for Promotion of Child Development through Primary
Care
tel: +1.410.807.4500 x20
tel: +1.888.4CHADIS (+1.888.424.2347)
email: cschu...@chadis.com
On Jan 18, 2013, at 16:38, Lukasz
Łucaz,
On Jan 18, 2013, at 16:38, Lukasz Lenart wrote:
> 2013/1/18 Christopher Schultz :
>> Honestly, I'm shocked that struts 1, which is at least 10 years old, still
>> has a glaring internationalization bug like this.
>
> It isn't actively developed any more,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Łukasz,
On 1/18/13 4:38 PM, Lukasz Lenart wrote:
> 2013/1/18 Christopher Schultz :
>> Honestly, I'm shocked that struts 1, which is at least 10 years
>> old, still has a glaring internationalization bug like this.
>
> I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
All,
I'm trying to write a unit test to test my fix(es) for but I keep
getting this exception during the test:
java.lang.NullPointerException
at
org.apache.struts.util.ModuleUtils.getModuleConfig(ModuleUtils.java:93)
at
org.apache.s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
All,
I realize that S1 is EOL but the press release says that the
documentation will still be available from the Struts home page.
I can't seem to find the 1.3.x API Javadocs on the site, and neither
can Google. Are the Javadocs still available fro
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
All,
I'm running Struts 1.3.8 (yeah, I know), and I'm having an odd
experience with certain actions.
I'll do something simple like:
return mapping.findForward("success");
... where the "success" forward is defined like this:
This has bee
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
All,
I'm working on a fresh project and using Struts 2 for the first time.
I've been using Struts 1 for more than 10 years and I generally know
my way around web applications.
I just can't seem to get a fairly simple setup working. I'm intending
to
make the request to
http://localhost:8080/list.action. It's almost as if the Filter does
not run at all.
What's the default value of 's "name" attribute? It's not
defined in the DTD:
Thanks,
- -chris
> On Sun, Sep 27, 2015 at 3:00 AM, Christopher Schultz &l
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Lucaz,
On 9/27/15 10:08 AM, Lukasz Lenart wrote:
> 2015-09-26 23:30 GMT+02:00 Christopher Schultz
> :
>> I'm working on a fresh project and using Struts 2 for the first
>> time. I've been using Struts 1 for more than
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Lucasz,
On 9/27/15 12:02 PM, Christopher Schultz wrote:
> On 9/27/15 10:08 AM, Lukasz Lenart wrote:
>> 2015-09-26 23:30 GMT+02:00 Christopher Schultz
>> :
>>> I'm working on a fresh project and using Struts 2 for
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Christoph,
On 9/28/15 6:52 AM, Christoph Nenning wrote:
>> From: Christopher Schultz To:
>> Struts Users Mailing List , Date:
>> 26.09.2015 23:31 Subject: [S2] Trouble getting started
>>
>> -BEGIN PGP SI
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Christoph,
On 9/28/15 12:11 PM, Christopher Schultz wrote:
> Christoph,
>
> On 9/28/15 6:52 AM, Christoph Nenning wrote:
>>> From: Christopher Schultz To:
>>> Struts Users Mailing List , Date:
>>> 26.09.2015
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Lucasz,
On 9/28/15 2:51 AM, Lukasz Lenart wrote:
>>> It's not deployed as a WAR, but as webapps/ROOT (exploded WAR
>>> directory).
>>
>> For completeness, this is what is contained in my ROOT directory
>> ("deploy" is my CATALINA_BASE for Tomcat)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Lucasz,
On 10/1/15 10:06 AM, Lukasz Lenart wrote:
> Works :)
>
> Just dropped your package into webapps folder (Apache Tomcat 7.0.40
> on JDK8) and all is ok - except list.jsp contains some strange XML
> definition (in wrong place)
>
> http://scr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Lucasz,
On 10/1/15 10:06 AM, Lukasz Lenart wrote:
> Works :)
>
> Just dropped your package into webapps folder (Apache Tomcat 7.0.40
> on JDK8) and all is ok - except list.jsp contains some strange XML
> definition (in wrong place)
>
> http://scr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
All,
Is this the latest wisdom for accessing action properties from JSPs
using EL?
https://struts.apache.org/docs/access-to-valuestack-from-jsps.html
So if my action has a "public String getItems)" method, I'd like to do
something as close as poss
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Lukasz,
On 10/4/15 3:49 AM, Lukasz Lenart wrote:
> 2015-10-03 17:50 GMT+02:00 Christopher Schultz
> :
>> Is this the latest wisdom for accessing action properties from
>> JSPs using EL?
>>
>> https://struts.apache
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
All,
I've got a form which works nicely, and I'd like to add a "cancel"
button to it. Right now, I have an Action class that implements no
Struts2-defined interfaces... I just have the typical execute-style
methods edit() and save(). I'd like to cal
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Martin,
On 10/4/15 7:40 PM, Martin Gainty wrote:
> by form you mean Struts 1.3 StrutsForm?
No, an S2 form. I'm sorry I wasn't specific, though it should have
been obvious since I mentioned I was reading "Struts /2/ in Action".
I'm just talking abo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
All,
I'd like to use struts-config.xml to set some properties on an action,
just like you might use on a servlet.
I see that is an option under in the DTD and I
mistakenly thought that would set properties on the
Action instance, but it actuall
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
All,
On 10/15/15 2:58 PM, Christopher Schultz wrote:
> I'd like to use struts-config.xml to set some properties on an
> action, just like you might use on a servlet.
>
> I see that is an option under in the DTD
> and I mis
All,
Is it possible to get the ServletContext from an Interceptor's init()
method? I'd like to use it for some one-time initialization rather than
grabbing it during the interceptor's intercept() method and either
attempt one-time initialization or repeated-initialization.
Thanks,
-chris
---
All,
Yes, Struts 1.3.10.
I'd like to use a DynaValidatorForm with a property of type
java.lang.Integer. I'd also like to make it a required field. If it were
a String field, I could just say "required" and it would not allow
blank/empty value.
But since this is Integer, it defaults to new java.l
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Anu,
On 4/28/16 6:34 PM, Anu Krishna Rajamohan wrote:
> As Apache Struts 1.x is pretty old and it suffers from many
> security vulnerabilities, I decided to use a recent version of
> Apache Struts 2.x (Struts 2.3.24.1). However, I find that
> struts
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
All,
I've got an application still clinging to S 1.3.10 and I'd like to
upgrade, but I don't have a year-long release cycle in which to do it.
There used to be a S1 plug-in for S2. Does it still exist, and is it
still supported? Does anyone actuall
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
I'm trying to get a simple webapp up and running with Velocity. Here are
the steps I've taken so far:
1. Obtained the current trunk source from svn (I'm attempting to submit
a patch, which is why I'm going through svn instead of grabbing
t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
On 4/30/2009 10:01 AM, Christopher Schultz wrote:
> Seems pretty obvious, right? Velocity needs the
> org.apache.log.format.Formatter class. Well, I don't have this class
> anywhere in my (working) project, so I'm wondering w
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
I've been a struts 1 user for years, but I've never used the "token"
capability to avoid double-submissions, etc. I have a question about
their use and efficacy. The best example I can find is very
straightforward (which is good):
http://www.lea
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anyone?
Christopher Schultz wrote:
> All,
>
> I've been a struts 1 user for years, but I've never used the "token"
> capability to avoid double-submissions, etc. I have a question about
> their use and efficacy.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
Dave Newton wrote:
> I always put my reset before any long-running work, although I tend
> to disable the submit button via JavaScript anyway.
Thanks, Dave. Is there an elegant solution for this at all? Since
javascriptcannot be relied upon, I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ashish,
Ashish Kulkarni wrote:
> There wont be any user input and this thread should be called after like 10
> minutes, also i want to have a jsp page from where i can maintain this
> thread, like stop, change the time it should run etc.
>
> Are ther
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Antonio,
Antonio Petrelli wrote:
> Though I think that Quartz is a great product, it is discouraged by the Java
> EE specifications to create threads in a webapp.
Hey, every time someone asks on the Tomcat list about how to do this, I
tell 'em to use
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
I'm an S1 user and a member of the Velocity team. I recently posted a
message to the velocity-dev list regarding the ugly syntax required by
the S2 tag Velocity implementation.
For reference:
http://www.nabble.com/Named-macro-parameters-td194590
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
Dave Newton wrote:
> Someone else may have a better idea, but I think this is just the
> nature of the way HTTP works: you can forward or redirect; forward
> means you get the same request, redirect means you get a new one.
I'm not entirely sur
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Vikas,
vikas rao wrote:
> Hi,
> I am working on a bug in my application, the problem is, the session
> expires
> every 2 minutes or so and I have to log back in to continue, this is very
> frustrating.
Do you have cookies enabled or are you using URL
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mike,
Forsberg, Mike wrote:
> A form of approximately 1800 form elements is causing
> "java.lang.OutOfMemoryError: Java heap space". When 1000 form elements
> are used, no such error.
>
> [Am I doing something wrong?]
Yes, you are using 1800 form el
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Balazs,
Balazs Michnay wrote:
> I still cannot estabilish database connection using connection pooling.
> I think I made all the settings I need, but still nothing...
> 1) I have a tag in my server.xml
Can you show us the connection settings you are
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Balazs,
Balazs Michnay wrote:
> Thanks for helping.
> Sure, here are all my settings.
I think you have more configuration than you need. Here is exactly what
I have for a similar setup (MySQL 5.x, Connector/J 5.x, Tomcat 5.5.x):
I checked, and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Balazs,
Balazs Michnay wrote:
> 2) open your server.xml and put the following lines between
> tags (this is what I
> missed...)
> (Modify it properly...)
Although this is possible, most will recommend against it (including
me). This will create a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Balazs,
Balazs Michnay wrote:
> I have just downloaded NetBeans Profiler to see how my web-app
> performs and realized that it produces serious memory leaks...
[snip]
> What I discovered was that
> a simple page reload leads to eating up my memory a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jasdeep,
jasdeep wrote:
> 2. Configuring Jboss's Internal Container Level Connection pooling simply
> creating the datasources
This is the right way to do things.
> The application works OK with Second method but When it is being hit with
> 200 r
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Perryn,
Fowler, Perryn wrote:
> If I have a form that I want to submit with a POST, I want the
> response to this to always be a REDIRECT to a GET.
>
> I probably want this even in the case of validation failures that
> cause the form to be re-displa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jasdeep,
jasdeep wrote:
> Yes this is peek load actually .. The requests are through SMS's which
> is forwarded by kannel server to my application . actually we are in
> development phase and we are testing it as per client specifications.
>
> So thi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Balazs,
Balazs Michnay wrote:
>> Are you sure they cannot be garbage-collected? How do you know?
>
> The profiler can perform garbage-collection at any time I press a
> button. After pressing this, no memory is freed-up :(
Are you forcing a full GC
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Al,
Just ignore OT posts if they get on your nerves. They will eventually go
away. As much as I'd love to see some folks disappear from certain
lists, it's not very democratic. :(
- -chris
Al Sutton wrote:
> Is someone going to drop this guy form th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
Dave Newton wrote:
> You guys are going to vote me off the island, aren't you...
Soon vry soon. ;)
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
i
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Roger,
Roger Varley wrote:
> SEVERE: Parse Fatal Error at line 1 column 1: Content is not allowed in
> prolog.
> org.xml.sax.SAXParseException: Content is not allowed in prolog.
Usually this means that there is something other than the BOM before
you
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Al,
Al Sutton wrote:
> I'm just a bit worried about a snowball effect where people start seeing OT
> posts as acceptable and the number slowly grow as more people make them to
> the stage where the signal to noise ration becomes painful because, as w
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Balazs,
Balazs Michnay wrote:
> I think it's just a "small" [GC], because sometimes when I click on
> it several times, it frees up a little memory...
Okay, that may be one thing complicating your instrumentation.
>> Every request will eat up memory
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Adam,
Adam Gordon wrote:
> We're using the html:form element and we have the acceptCharset
> attribute set to "UTF-8" and when we enter a unicode character in a
> textarea in this form element, the UTF-8 character (in this case \u2022,
> the bullet sy
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Adam,
Adam Gordon wrote:
> So, we have a form in a JSP, and generally, the OS allows the user to
> copy/paste a bullet list from MS Word, OOWriter, et. al. into a text
> area in the form. Regardless of whether the browser is in UTF-8
> mode or ISO-88
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Balazs,
I just realized that we're talking about approximately 1MB of char[]
data... what's the big deal about that? ;)
Balazs Michnay wrote:
>> Can you expand the "+" next to Arrays.copyOfRange to see what the rest
>> of the stack trace is? I'm sure
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Joe,
Joe Yuen wrote:
> I'm currently using a
> resource file and that all work great except for some select boxes
> the data comes from the database where the data is in English. I was
> wondering how other people handle this situation?
You'll need y
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Joe,
Joe Yuen wrote:
> How does one detect which language and country is selected?
Since you are posting to the Struts mailing list, I would imagine that
you are using Struts. Struts 1.x allows you to grab the user's Locale by
using Action.getLocale(
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Adam,
Adam Gordon wrote:
> After some digging, there's URIEncoding attribute on the Connector
> element that if not specified defaults to ISO-8859-1 when attempting to
> decode URI bytes. I suspect setting this to UTF-8, in addition to the
> other c
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ambaris,
Ambaris Mohanty wrote:
> I'm developing a jsp form that has a date field. I want to get the date in
> dd-MON- from the user. I can't validate the format using struts
> validation framework.
Why not?
http://struts.apache.org/1.3.8/faqs/v
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Larry,
Zhang, Larry (L.) wrote:
> I am looking for a J2EE or AJAX solution for Outlook like notification
> (small window on the right bottom corner of the computer screen), can
> some one point out a tutorial like information?
Unless you can get the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Neil,
Neil Erdwien wrote:
> Yahoo's Widgets, http://widget.yahoo.com/, are cross-platform and look
> good to me. The development learning curve isn't too large either -- it
> is all mostly-standard JavaScript.
I had never heard of Yahoo! widgets...
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
Dave Newton wrote:
> --- yitzle <[EMAIL PROTECTED]> wrote:
>> I appreciate you taking the time to point out my
>> obvious mistakes.
>
> They're only obvious *after* you see them!
>
> I spent 10 minutes wondering why:
>
> if ("bar" == foo)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Animesh,
[EMAIL PROTECTED] wrote:
Christopher Schultz wrote:
>> That depends on your perspective:
>>
>> if("10" != 10)
>>
>> doesn't even compile. Some people would say that makes Java broken. :(
&g
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Roger,
Roger Varley wrote:
> I'm sure that I've read that it's possible, using Javascript, to
> detect if a client closes the browser & if that's true, then you could
> use an AJAX call to invalidate the session.
This is possible, but you can't bet o
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Srinivasula,
Srinivasula Reddy A , Bangalore wrote:
> [nothing]
It is considered bad form to post an empty message to a mailing list
(even though the question /is/ in the subject line).
When you say "sessionDestroy" method, do you mean that you ha
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
Wow, you have a gift for following multiple simultaneous threads ;)
Oh, yeah, and the whole thing is off-topic... this has nothing to do
with Struts (other than the fact that this listener extends action).
Dave Newton wrote:
> --- Christop
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Miro,
temp temp wrote:
> I am struts using fileupload I want to scan to uploaded -files .
The classpath in your JAR library below does not include any struts
classes. Only Jakarta commons ones.
The Class-Path in a JAR file cannot refer to JAR files
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Session,
Session Mwamufiya wrote:
> Thanks for the file, but I would really need to see a working example,
> because all of these files and directories here and there are too confusing.
> I wish someone could point me to a helloworld tutorial that act
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
I am a user of Struts 1 and I've seen a lot of discussion of the S2 date
picker lately. I have a need for a date picker and I'd like to know if
there is a way to use this widget without actually running S2 under the
hood.
I realize that the tag
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Torsten,
Torsten Römer wrote:
> As the DateTimePicker is actually a Dojo widget I'd assume you can also
> use it without Struts2:
Hey, thanks for the heads-up. I basically have zero familiarity with S2,
but knowing that it's a 3rd-party widget is hel
Balazs,
Balazs Michnay wrote:
> recently I found
> out that my memory consumption of my
> application is nothing compared to the memory consumption of my database
> server (MySQL).
>
> I'm theoretically using connection pool to save resources of my
> database server, but each time I make a query,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Balazs,
Balazs Michnay wrote:
> Thanks a lot, these changes really did help, now MySQL reports that
> only one connection is used all over the website. I really do
> appreciate your help.
No problem. Another good tip is to set your connection pool si
1 - 100 of 333 matches
Mail list logo