Looking for someone to take over a Struts project in Plano, TX

2014-02-23 Thread Neil Aggarwal
. 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

RE: S2 Can I use java templates for all tags except form?

2009-12-27 Thread Neil Aggarwal
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

RE: MySQL + JDBC

2009-12-14 Thread Neil Aggarwal
> 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

RE: MySQL + JDBC

2009-12-13 Thread Neil Aggarwal
> 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

RE: redirect with parameter

2009-12-10 Thread Neil Aggarwal
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

RE: checkbox : unchecked elements not in list

2009-12-04 Thread Neil Aggarwal
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

RE: excute method

2009-11-26 Thread Neil Aggarwal
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 --

RE: OGNL expression help

2009-11-17 Thread Neil Aggarwal
> 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

RE: OGNL expression help

2009-11-16 Thread Neil Aggarwal
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

RE: [Struts 2.1.8] datetimepicker and action: String or Date ??

2009-11-16 Thread Neil Aggarwal
> 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

RE: OGNL expression help

2009-11-16 Thread Neil Aggarwal
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

RE: [Struts 2.1.8] datetimepicker and action: String or Date ??

2009-11-16 Thread Neil Aggarwal
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

RE: OGNL expression help

2009-11-16 Thread Neil Aggarwal
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

RE: Struts2 Multiple validation for single field

2009-11-16 Thread Neil Aggarwal
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

RE: Struts2 Multiple validation for single field

2009-11-16 Thread Neil Aggarwal
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.

RE: Struts2 Multiple validation for single field

2009-11-16 Thread Neil Aggarwal
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

RE: [Struts 2.1.8] datetimepicker and action: String or Date ??

2009-11-16 Thread Neil Aggarwal
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

RE: How to access the form data directly?

2009-11-15 Thread Neil Aggarwal
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

RE: How to access the form data directly?

2009-11-14 Thread Neil Aggarwal
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:

RE: [S2] Jsp not loading bean from superclass static method

2009-10-28 Thread Neil Aggarwal
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

[S2] Jsp not loading bean from superclass static method

2009-10-28 Thread Neil Aggarwal
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

RE: [S2] Using ajax head tag makes entire application slow

2009-01-12 Thread Neil Aggarwal
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

RE: [S2] Using ajax head tag makes entire application slow

2009-01-12 Thread Neil Aggarwal
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

[S2] Using ajax head tag makes entire application slow

2009-01-09 Thread Neil Aggarwal
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

Size attribute not valid for datetimepicker?

2009-01-01 Thread Neil Aggarwal
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

RE: How to output local variable as textfield label

2008-12-09 Thread Neil Aggarwal
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

RE: How to output local variable as textfield label

2008-12-09 Thread Neil Aggarwal
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

How to output local variable as textfield label

2008-12-09 Thread Neil Aggarwal
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

RE: [S2] Best approach to separate look & feel with same backend code

2008-01-14 Thread Neil Aggarwal
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

RE: [S2] Best approach to separate look & feel with same backend code

2008-01-13 Thread Neil Aggarwal
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

[S2] Best approach to separate look & feel with same backend code

2008-01-13 Thread Neil Aggarwal
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

How to get exception in action class for error page?

2007-09-10 Thread Neil Aggarwal
{ 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

[S2] Application wide error page

2007-09-10 Thread Neil Aggarwal
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

RE: [S2] error-page directive not working

2007-09-06 Thread Neil Aggarwal
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

[S2] Wildcard action name that includes slashes?

2007-09-03 Thread Neil Aggarwal
, 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

[S2] error-page directive not working

2007-09-02 Thread Neil Aggarwal
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

RE: [S2] How to apply formatting to s:property?

2007-08-02 Thread Neil Aggarwal
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

RE: [S2] How to apply formatting to s:property?

2007-08-02 Thread Neil Aggarwal
! 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

RE: [S2] How to apply formatting to s:property?

2007-08-02 Thread Neil Aggarwal
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

RE: [S2] How to apply formatting to s:property?

2007-08-01 Thread Neil Aggarwal
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

RE: [S2] How to apply formatting to s:property?

2007-08-01 Thread Neil Aggarwal
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

RE: [S2] How to apply formatting to s:property?

2007-08-01 Thread Neil Aggarwal
, 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

RE: [S2] How to apply formatting to s:property?

2007-08-01 Thread Neil Aggarwal
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

[S2] How to apply formatting to s:property?

2007-08-01 Thread Neil Aggarwal
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

[S2] Use struts tags to run two loops over each 5 products in a collection?

2007-07-30 Thread Neil Aggarwal
? 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

[S2] s:text not applying formatting

2007-07-30 Thread Neil Aggarwal
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

RE: Don't expose .action to user?

2007-07-19 Thread Neil Aggarwal
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

RE: Don't expose .action to user?

2007-07-19 Thread Neil Aggarwal
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

[Struts 2] If exists tag?

2007-07-18 Thread Neil Aggarwal
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

RE: [JAVA] using clas.forname()

2007-07-18 Thread Neil Aggarwal
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

RE: How to keep users from accessing to *.jsp strightforword?

2007-07-13 Thread Neil Aggarwal
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

RE: [Struts 2] Tiles plugin tutorial?

2007-07-10 Thread Neil Aggarwal
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

RE: [Struts 2] Tiles plugin tutorial?

2007-07-10 Thread Neil Aggarwal
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

RE: [Struts 2] Tiles plugin tutorial?

2007-07-10 Thread Neil Aggarwal
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

RE: [Struts 2] Tiles plugin tutorial?

2007-07-09 Thread Neil Aggarwal
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

[Struts 2] Tiles plugin tutorial?

2007-07-09 Thread Neil Aggarwal
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

[Struts2] How to right align the label for a text field?

2007-04-15 Thread Neil Aggarwal
: Here is what the page looks like: https://tweb.retcgroup.com/thymeleweb/test/ThemeTest.action I want the label Short: to appear to the right of its table cell instead of the left. Can someone help me? Thanks, Neil -- Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com FREE! Eliminate

[Struts2[ Need help - Anyone in Houston, TX?

2007-04-11 Thread Neil Aggarwal
Hello: We are having trouble ramping up with struts 2. Is there anyone in Houston TX that can help us get struts 2 up and running for a project we are working on? This would be paid work. Please contact me off-list if you can help. Thanks, Neil -- Neil Aggarwal, (214)986-3533

RE: [Struts2] How to get instance of ActionSupport class after redirect?

2007-04-07 Thread Neil Aggarwal
Ted: Thanks for the advice. I think that is the best approach to use. Thanks, Neil -- Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com FREE! Eliminate junk email and reclaim your inbox. Visit http://www.spammilter.com for details. -Original Message- From: [EMAIL

RE: [Struts2] How to get instance of ActionSupport class after redirect?

2007-04-06 Thread Neil Aggarwal
Laurie: I alyways use a redirect after a form post to avoid the stupid page expired warning if the user hits the reload button. I think we will save the ActionSupport instance in the session and get it back from there. Thanks, Neil -- Neil Aggarwal, (214)986-3533

[Struts2] How to get instance of ActionSupport class after redirect?

2007-04-06 Thread Neil Aggarwal
can try to give excerpts of my code to illustrate. Thanks, 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

RE: Multiple submit buttons on form not working

2007-03-01 Thread Neil Aggarwal
Dave: I see what you are saying. I changed my form to have a string field and now it captures the value of the button that was pressed. It does not match the doc but it works! Thanks, Neil -- Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com FREE! Eliminate junk email and reclaim

Multiple submit buttons on form not working

2007-02-28 Thread Neil Aggarwal
; %> Form test Any ideas why this is not working? Thanks, Neil -- Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com FREE! Eliminate junk email and reclaim your inbox. Visit http://www.spammilter.com for details. -

RE: Pass url back to redirect action?

2007-02-26 Thread Neil Aggarwal
Laurie: That worked perfectly. Thank you for the guidance. Neil -- Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com FREE! Eliminate junk email and reclaim your inbox. Visit http://www.spammilter.com for details. -Original Message- From: news [mailto:[EMAIL PROTECTED] On

Pass url back to redirect action?

2007-02-26 Thread Neil Aggarwal
? Thanks, 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

RE: Can actions have paths?

2007-02-26 Thread Neil Aggarwal
the user to login: package util; import com.opensymphony.xwork2.*; public class LoginInterceptor extends AbstractInterceptor { public String intercept(ActionInvocation invocation) throws Exception { return "login"; } } Any ideas on this? Thanks, Neil --

Can actions have paths?

2007-02-26 Thread Neil Aggarwal
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

[Struts2] How to set a redirect action to https?

2007-02-25 Thread Neil Aggarwal
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

What to use instead of tiles in Struts2?

2007-02-25 Thread Neil Aggarwal
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

Null pointer from tiles insert even though ignore is true?

2005-12-24 Thread Neil Aggarwal
(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

RE: database design

2005-10-03 Thread Neil Aggarwal
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

RE: how can I add request parameters to url ?

2005-08-03 Thread Neil Aggarwal
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

RE: Good Java host

2005-07-31 Thread Neil Aggarwal
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

RE: [OT] Force URLEncoder to use %20 instead of + for spaces

2005-07-27 Thread Neil Aggarwal
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

RE: [OT] Force URLEncoder to use %20 instead of + for spaces

2005-07-26 Thread Neil Aggarwal
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

Force URLEncoder to use %20 instead of + for spaces

2005-07-26 Thread Neil Aggarwal
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

RE: Not getting submitted values from textarea in logic:iterate

2005-07-21 Thread Neil Aggarwal
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

RE: Not getting submitted values from textarea in logic:iterate

2005-07-21 Thread Neil Aggarwal
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

Not getting submitted values from textarea in logic:iterate

2005-07-20 Thread Neil Aggarwal
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

RE: Security constraint not working

2005-07-14 Thread Neil Aggarwal
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

Security constraint not working

2005-07-14 Thread Neil Aggarwal
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

RE: How to set tiles attribute dynamically?

2005-07-08 Thread Neil Aggarwal
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

How to set tiles attribute dynamically?

2005-07-08 Thread Neil Aggarwal
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

RE: Strange error-page behavior

2005-06-27 Thread Neil Aggarwal
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

Re: Strange error-page behavior

2005-06-25 Thread Neil Aggarwal
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.

RE: Strange error-page behavior

2005-06-24 Thread Neil Aggarwal
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

RE: Strange error-page behavior

2005-06-24 Thread Neil Aggarwal
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

RE: Strange error-page behavior

2005-06-24 Thread Neil Aggarwal
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

Strange error-page behavior

2005-06-24 Thread Neil Aggarwal
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

RE: How to get current top-level struts action?

2005-06-18 Thread Neil Aggarwal
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

How to get current top-level struts action?

2005-06-18 Thread Neil Aggarwal
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

RE: Errors not showing on page

2005-06-07 Thread Neil Aggarwal
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

Errors not showing on page

2005-06-07 Thread Neil Aggarwal
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

RE: (Newbie question) tiles:getAsString error attribute not found

2005-04-06 Thread Neil Aggarwal
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

(Newbie question) tiles:getAsString error attribute not found

2005-04-05 Thread Neil Aggarwal
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

Shortcut action mapping from html:link?

2005-04-04 Thread Neil Aggarwal
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!

RE: Handle images path in one place

2005-02-14 Thread Neil Aggarwal
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

RE: Struts friendly way to switch between http and https?

2005-02-12 Thread Neil Aggarwal
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

RE: Handle images path in one place

2005-02-12 Thread Neil Aggarwal
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

Struts friendly way to switch between http and https?

2005-02-12 Thread Neil Aggarwal
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

  1   2   >