arta.apache.org/struts/tags-tiles";
prefix="tiles"
%>
Registration failed
Your registration failed because:
If you feel this is not correct, please mailto:[EMAIL PROTECTED]">contact customer service.
Any idea why the errors are not showing up?
Thanks,
Neil
Michael:
The redirect was it. I took out the redirect="true" and everything
is working fine.
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 mont
ut
since I am using tiles.
I have tried browsing the struts API and searching the web
to no avail.
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
struts.apache.org/api/org/apache/struts/config/ConfigHe
> lperInterface.html
>
> Martin-
>
> - Original Message -
> From: "Neil Aggarwal" <[EMAIL PROTECTED]>
> To: "'Struts Users Mailing List'"
> Sent: Saturday, June 18, 2
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:644)
at java.lang.Thread.run(Thread.java:595)
What can I do to fix this?
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (214) 986-3533, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce
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
Wendy:
I tried setting my error page directive to:
java.lang.Throwable
/errorPage.jsp
I am still getting an IllegalStateException.
That seems weird to me.
Neil
--
Neil Aggarwal, JAMM Consulting, (214) 986-3533, www.JAMMConsulting.com
FREE! Valuable info on how your
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
ag cause a problem?
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! http://newsletter.
Bill:
You are right, when I use the page errorPage directive, I get it
to go to the error page, but when I use the one in web.xml,
that gives me the Internal Error.
Strange.
Thanks for your help,
Neil
--
Neil Aggarwal, JAMM Consulting, (214) 986-3533, www.JAMMConsulting.com
FREE
Hello:
I have a site I am developing that has some pages with direct content
and some where the content comes from a database.
For the direct pages, I have a layout that depends on a pageTitle
attribute in the tiles definition. Here is an example:
The layout.back embeds the pag
Dave:
That worked perfectly! Thanks for the hint.
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! http://newsletter.JAMMConsulting.com
load a page with the url
to the jsp. Here is an example:
http://dev.rentclubs.com/rentclubs/howWeStarted.jsp
Any ideas?
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
Erik:
Doh! I guess I did not copy the whole thing.
Thanks for the help.
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! http
Hello:
I have a DynaForm with some beans stored in an array:
I have the form-bean declared as session scope for my actions:
The persistent.Feature class has a field text with setText and getText
accessors.
When want wa
Hello:
Does anyone have any ideas on how to get this to work?
Is this a bug?
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! http
Laurie:
I need to get the value of the text field from the feature bean, not
just the feature bean itself.
So, I had the change your code to:
And it worked perfectly.
Thanks for tip!
Neil
--
Neil Aggarwal, JAMM Consulting, (214) 986-3533, www.JAMMConsulting.com
FREE! Valuable
ot like the plus signs.
Is there a way to force URLEncoder to use %20 instead of + signs?
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
Harper
> Sent: Tuesday, July 26, 2005 5:12 PM
> To: user@struts.apache.org
> Subject: Re: [OT] Force URLEncoder to use %20 instead of + for spaces
>
>
> Neil Aggarwal wrote:
> > Hello:
> >
> > When I encode the name of an image file to place into a
> URL, I
Laurie:
FYI, I got a response from someone on comp.lang.java.programmer.
They suggested using the java.net.URI class.
I tried it and it works perfectly.
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (214) 986-3533, www.JAMMConsulting.com
FREE! Valuable info on how your business can
James:
I would like you to consider my company.
We focus on custom hosting solutions and high touch
customer service.
Please let me know if I can be of service to you.
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (214) 986-3533, www.JAMMConsulting.com
FREE! Valuable info on how
Laurie:
Be careful about mixing query parameters and POST parameters.
I have had instances where the browsers do not give you the
query parameters that you specify on the action of the form.
It is safest to put all parameters in the form via hidden tags.
Neil
--
Neil Aggarwal, JAMM
g.xml file:
Any ideas why that did not work?
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! http://newsletter.JAMMConsulting.com
> -Ori
Paul:
I see.
I did this which worked:
Is there a better approach to doing this?
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months
David:
I tried this index.jsp page:
<[EMAIL PROTECTED] uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
I have this in my tiles-defs.xml:
When I go to the index page, I get a blank page.
Any ideas?
Thanks,
Ne
get this:
It is taking the variables as literals.
Any ideas?
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! http://newsletter.JAMMConsulting.
David:
That worked! That is really cool.
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! http://newsletter.JAMMConsulting.com
> -Origi
also using name-based virtual hosting, the
host name in the url is different for http and https mode.
Is there a more struts-friendly way to do this?
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can r
Craig:
I tried this and it worked flawlessly. Thank you
for the info.
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! http
Leon:
I have apache in front of tomcat.
Apache does the ssl, but I still need to generate the URLs
with the http and https prefix.
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or
Graham:
I don't like depending on JavaScript for this.
I think your modification to html:base would be perfect.
I have voted for it.
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce oper
like:
which would end up doing the same thing.
Is there such a thing in Struts?
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less!
tiles";
prefix="tiles"
%>
When I try to load the page (You can see what I have at
http://dev.crcbusinessservices.com/crcgroup/index.jsp)
I get this error in the tomcat log:
SEVERE: ServletException in '/layout.jsp':
ServletException in '/heade
Antonio:
That seems counterintuitive to me, but it worked.
Thanks for your help!
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6 months or less! http
be created) that prevented it from fulfilling this request.
Apache Tomcat/5.0.25
Any ideas?
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how y
David:
Hmmm. I was playing around with my struts-config and got it
working somehow. It looks the same to me, but I cant argue
with results. It must have been that I had a wrong version
on my dev server.
Sorry for any inconvenience to the list members.
Thanks,
Neil
--
Neil Aggarwal
this error:
org.apache.jasper.JasperException: /navigation.jsp(21,87) equal symbol
expected
You can see it on this page:
http://www.pricetracker.jammconsulting.com/pricetracker/navigation.jsp
If I remove the scriptlet and hard code an image, everything is
fine.
Any ideas?
Thanks,
Neil
--
Nei
t is why I need a piece of code
to generate the url. It first has to check in what mode the
page has been loaded.
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce operating costs by
17% or more in 6
their data will be posted again.
To get around this, I use a redirect instead of forward in many
of my apps.
Is there a way to do that within struts?
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com
FREE! Valuable info on how your business can reduce
Juanjo:
> but I don't know where are this data... In the ValueStack?
I use this code in my JSP to retrieve values from
the value stack:
ActionContext.getContext().getValueStack().findValue("myValue");
I hope that helps,
Neil
--
Neil Aggarwal, (281)846-8957, http:
h the tags.
If you can post a small example, I will try to see if I
can figure something out.
Neil
--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
Host your struts app on a CentOS VPS for only $25/month!
Unmetered bandwidth, 7 day no risk tri
s
Z");
Date date = dateFormat.parse("2009-11-20 00:00:00 +0100");
System.out.println(DateFormat.getDateTimeInstance(DateFormat.LONG,
DateFormat.LONG).format(date));
I hope this helps,
Neil
--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
CentOS 5.4 VPS with unmet
ad of String?
Neil
--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
Host your struts app on a CentOS VPS for only $25/month!
Unmetered bandwidth, 7 day no risk trial, Google Checkout
-
To unsubscribe, e-mail: u
nce.
Is that the problem?
I think you are going to have to do it manually.
Set your field as a String and then in your
validate method, check if it is null or a valid
int value. If it is not what you want, throw
an ActionError.
Neil
--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.
you can
implement a method setLoad(String) in your class
that does nothing.
Neil
--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
Host your struts app on a CentOS VPS for only $25/month!
Unmetered bandwidth, 7 day no risk tri
Also, what if the myString is null
or an empty string. The code would throw a null
pointer or the field size would be zero.
Neil
--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
Host your struts app on a CentOS VPS for only $25/month!
Unmetered bandwidth, 7 day no r
er pain, the DateFormat class
does not like a colon in the middle of the time
zone either. I assume you are not using multiple
time zones so you should be OK.
Neil
--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
Host your struts app on a CentOS VPS for only $25/month!
Unmetered b
String and then have a getLength() method
that calls super.length().
It's a pain, but should work.
Neil
--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
Host your struts app on a CentOS VPS for only $25/month!
Unmetered bandwidth, 7 day no
> I skipped it because I cannot figure out the format to handle
> that colon in the middle of that time zone.
The only solution I found was to manually take it out of the
date string.
Neil
--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
Host your struts app on a Cent
to
call the corresponding String methods. That would be
really be a pain!
Anyway, thanks for the clarification,
Neil
--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
Host your struts app on a CentOS VPS for only $25/month!
Unmetered bandwidth, 7 day no risk trial, Google
> Doesn't help unfortunately as the
> length of the string
> in characters is not the same as the space required to
> display it in full!
Have you tried adding 2 or 3 to the length value?
Neil
--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
Host your strut
g a result name="input", I think success is only
executed on a POST operation.
Neil
--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
Host your struts app on a CentOS VPS for only $25/month!
Unmetered bandwidth = no overage charges, 7 day free trial
--
On my form bean, I have boolean values
for each of the checkboxes and set the checkbox to use
the field name:
When the user submits the form, everything
works as expected.
Can you do that in your app instead of processing the
request params yourself?
Neil
--
Neil Aggarwal, (281)846-8
Neil
--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
Host your struts app on a CentOS VPS for only $25/month!
Unmetered bandwidth = no overage charges, 7 day free trial
-
To unsubscribe, e-mail: user-un
> Let me simplify the question: Has anyone out there managed to
> create a
> working connection to the latest version of MySQL 64-bit via
> JDBC from
> Struts 2?
I am sure many people have. I run 64 bit servers with MySQL
and Struts 2.
What are you seeing?
Neil
--
Neil Agg
> Oh, and a relevant follow-up question: do you use JDBC-ODBC
> to connect
> to MySQL?
I never used ODBC to talk to MySQL. I am not sure how well
that would work.
Thanks,
Neil
--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
Host your MySQL database on a CentOS virtu
Nestor:
> Is there a way I can use java templates for all tags except form?
You can mix and match struts UI tags and normal
HTML tags in your JSPs. I do it all the time and
it will not hurt anything.
Neil
--
Neil Aggarwal, (281)846-8957, http://UnmeteredVPS.net
Host your Struts
. There will some need for meetings at
the
client site so local candidates are preferred.
Thank you,
Neil
--
Neil Aggarwal, (972) 834-1565
We lend money to investors to buy or refinance single family rent houses.
No origination fees, quick approval, no credit check
or
people.{name}
I have this in my JSP code:
The method getAccountManagerMap is in a superclass and is static.
This worked fine in 2.0.14, did something change in 2.1.8?
Thanks,
Neil
--
Neil Aggarwal, (281)846-8957, http://www.JAMMConsulting.com
CentOS 5.4 KVM VPS $55/mo, no set
Lukasz:
> struts.ognl.allowStaticMethodAccess=true
I will try that.
Neil
--
Neil Aggarwal, (281)846-8957, http://www.JAMMConsulting.com
CentOS 5.4 KVM VPS $55/mo, no setup fee, no contract, dedicated 64bit CPU
1GB dedicated RAM, 40GB RAID storage, 500GB/mo premium BW, Zero downt
They just start hacking stuff together and hope it will all work
at the end.
I think that is why there are so many crappy systems out there.
Regarding you room - I think I would need a padded room next
to it!
Neil
--
Neil Aggarwal, JAMM Consulting, (214) 986-3533, www.JAMMConsultin
(ChannelSocket.java:866)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:683)
at java.lang.Thread.run(Thread.java:595)
I have the ignore attribute set to true, so why would I get a null pointer?
Thanks,
Neil
--
Neil Aggarwal, JAMM Consulting
since there will be a lot of duplicated code.
2. Create one webapp and pass around a site identifier?
Then, I can load the correct set of JSPs based
on the identifier?
Any suggestions for the best way to do this?
Thanks,
Neil
--
Neil Aggarwal, (832)245-7314
Rod:
The functionality will be exactly the same for
each site.
How do I tell struts to load a given set of
tiles based on the domain name?
Thanks,
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com
Scott:
Great! I will use tiles.
I am confused about know to know which set of tiles
to load. The sites will have different domain names.
Can I tell tiles to use a set based on that?
Thanks,
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
Eliminate junk email and reclaim
gt;
This does not work, I get an empty label on the page.
I also tried using:
That did not work either.
Any ideas how I may do this?
Thanks,
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
Eliminate junk email and r
l);
%>
I still get an empty label.
Any ideas why this did not work?
Thanks,
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.
> -Original Message-
> From: Wes Wann
Wes:
That worked, thank you.
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.
> -Original Message-
> From: Wes Wannemacher [mailto:[EMAIL PROTECTED]
> Sent
date using the picker, it
zeros out the time part of the field. Any idea
how to make it keep the time the user entered?
Thanks
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details
Hello all:
When I include this tag in the head tag of
my layout:
My webapp seems to take about a second per page
load.
If I remove that tag, things are lightning fast.
I only need the datetimepicker struts tag, nothing
else.
Is there a way to make this faster?
Thanks,
Neil
--
Neil
Hello:
I forgot to mention that I am using Struts 2.0.14
with the Tiles plugin on a CentOS 5 server.
Any ideas why this is so slow?
Thanks,
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for
Musachy:
Thanks for the response. It seems strange the
Struts-based approach is so inefficient that
we have to look at an outside solution.
Thanks,
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com
Hello:
Is there a good tutorial for the Tiles plugin
in struts 2?
I am not seeing anything that gives me enough
to move forward.
Thanks,
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for
this action:
/top/Home.jsp
How do I tell it to use my tiles definition that
includes the layout?
Thanks,
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details
Here is my layout.jsp file:
<[EMAIL PROTECTED] uri="http://struts.apache.org/tags-tiles"; prefix="tiles" %>
This is the layout
Body should be in next column
Do I need to define the taglib in my web.xml file?
Tha
James:
I added the listener to my web.xml:
org.apache.struts2.tiles.StrutsTilesListener
I don’t see anything about the TilesInterceptor.
What am I supposed to do there?
Thanks,
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
FREE! Eliminate junk email and
Dave:
In that case, the example on this page:
http://cwiki.apache.org/WW/tiles-plugin.html
is wrong.
I changed the URI and things are working now.
Thanks,
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http
M.Liang:
Add this to your web.xml:
no_access
*.jsp
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.
-Original Message-
From: M.Liang
Miro:
You can call Class.forName() as many times as you
like without a problem.
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.
-Original Message-
From: temp temp
Hello:
Is there a struts tag to check if a collection is not null
and has at least one element?
I want to check a collection before printing the table
containing the elements using an tag.
Thanks,
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
FREE! Eliminate junk email
Matt:
I use URLRewrite. I only have a few rules since
urlreqrite supports regex pattern mathing.
Thanks,
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.
-Original Message
Matt:
Both.
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.
-Original Message-
From: mraible [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 19, 2007 12:04 PM
To: user
retailProductsCount.
The jsp code above is showing the correct value for
retailProductsCount, but it is not formatted with
the integer formatter.
Any ideas what I did wrong?
Thanks,
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http
?
Thanks,
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hello:
I am trying to apply formatting to a value
from s:property.
I tried this:
but that did not format the value. It only outputs
it unchanged.
Any ideas how to do this?
Thanks,
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim
Dave:
OK, so I added this to my struts.xml:
and I defined application.properties with this
content:
format.money={0,number,currency}
But, I still get format.money for the output.
Do I need to use the Il8n interceptor somewhere?
Thanks,
Neil
--
Neil Aggarwal, (832)245-7314
Dave:
So, is there no way to define a global format
for currency?
Thanks,
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.
-Original Message-
From: Dave Newton [mailto
Hello:
I did some more testing.
I tried this:
The outputs format.money instead of $12.345.00 which
I expected.
I defined the format in the struts.xml file like
this:
Any ideas?
Thanks,
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
FREE! Eliminate junk email and
,
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 01, 2007 2:42 PM
To: Struts Users
Dave:
Did you give up on this?
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.
-Original Message-
From: Neil Aggarwal [mailto:[EMAIL PROTECTED]
Sent: Wednesday
! Thanks for that.
I tried moving the package.properties to
WEB-INF/classes so it would be application
wide but that seems to be ignored.
I would still really like a way to make a global
properties file if possible. Any
suggestions on how to do that?
Thanks,
Neil
--
Neil Aggarwal, (832)245
Dave:
Arrgh. I just figured it out.
I need to set the constant to the name of
the file *without* the .properties extension.
So, in struts.xml, I put this:
and it loads application.properties just fine.
Thank you for your help on this.
Thanks,
Neil
--
Neil Aggarwal, (832)245-7314
2007 4:04:58 PM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.Exception: Testing error handling
at
org.apache.jsp.createError_jsp._jspService(createError_jsp.java:54)
// Rest of trace removed
Thanks,
Neil
,
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
Hello:
Does anyone have an idea how to debug this?
Thanks,
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.
-Original Message-
From: Neil Aggarwal [mailto:[EMAIL PROTECTED
error page
does not come up.
Any ideas what went wrong?
Thanks,
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.
-
To
{
Logger.getLogger(getClass()).debug("Page context is null");
}
return SUCCESS;
}
}
But, when the action executes, the pageContext is always null.
What can I do to get the exception that was thrown?
Thanks,
Neil
--
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
Elim
Hello:
The tiles plugin for struts2 is labeled experimental.
Is there another way of doing similar functionality on
struts2?
Thanks,
Neil
--
Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for
xception {
HttpServletRequest req = ServletActionContext.getRequest();
if( !"https".equalsIgnoreCase(req.getScheme()))
return "loginRedirect";
return "login";
}
}
Any ideas how to make this work?
Thanks,
Neil
--
Neil Aggarwal, (214)986-3533, www.JAMMCon
Neil
--
Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
FREE! Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
1 - 100 of 110 matches
Mail list logo