[S2][T2] NullPointerException from UrlHelper.buildurl()

2008-10-01 Thread 928572663
I am getting a persistent NullPointerException from UrlHelper.buildurl(). It happens in my app and also in my simple test case below. What I am trying to do is have a main tiles definition whose JSP has a . That page pulls in a sub-tile using . The sub-tile page has the form control(s).

Re: Struts 2 Ajax DateTime Picker compatibility with FireFox 3

2008-10-01 Thread matt.payne
Don't use it (or dojo). Some of the jquery date/time pickers are far better anyway. Matt Abhinav Sharma wrote: > > I am using inbuilt struts 2 ajax date time picker for my web application. > It works fine with FireFox 2 but I face issues with rendering of these > controls in FireFox 3. Fire

Re: Captcha in Struts2

2008-10-01 Thread matt.payne
aarthy wrote: > > How Can I implement Captcha in Struts2? > see http://code.google.com/p/kaptcha/ I put the logic in a KaptchInterceptor so actions don't need to be aware of this lib or validation. Here is the crux of the logic for that interceptor.

customizing anchor w/freemarker

2008-10-01 Thread Fernandes, Filipe
I'm responsible for porting a web application to Struts2 and the original app had the concept of "enabled", "disabled", or "hidden" for its __web controls__. In Struts 2, it was relatively easy to mimic this behavior by simply creating freemarker templates to customize those controls that neede

Re: Struts 2 Ajax DateTime Picker compatibility with FireFox 3

2008-10-01 Thread Abhinav Sharma
Thanks Gabriel, It seems to be the Ajax theme issue . I did try to use the fix suggested but It doesn't work for me. But is there any other fix available to resolve the issue. Gabriel Belingueres-2 wrote: > > I had no issues using the datetimepicker with FF3. Maybe your problems > are related w

Re: redirecting to last working page

2008-10-01 Thread Lukasz Lenart
> We are not using ACEGI/Spring security. Is there any way to do this? It depends how you implemented the login process, more details can help... Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PRO

Re: redirecting to last working page

2008-10-01 Thread SivaK
Thanks for you reply. We are not using ACEGI/Spring security. Is there any way to do this? Lukasz Lenart wrote: > >> If the session expires, the user will be redirected to login page. Once >> the user logins again, how to redirect him to the last working page. >> Application is built in Struts

Re: redirecting to last working page

2008-10-01 Thread Lukasz Lenart
> If the session expires, the user will be redirected to login page. Once > the user logins again, how to redirect him to the last working page. > Application is built in Struts 1.2.9 You have to remember the requested page just before redirecting user to login page. If you are using ACEGI / Sprin

Re: removing the extension in url in struts 2

2008-10-01 Thread Owen Berry
As far as I can see, the default is: struts.action.extension=action,, and with that setting, accessing /login will work. I'm using it that way without any problems. On Wed, Oct 1, 2008 at 9:30 AM, duschhaube <[EMAIL PROTECTED]> wrote: > Hi, > > the extension can be configured in the struts.prope

redirecting to last working page

2008-10-01 Thread Sivaswamynatha K
Hi, If the session expires, the user will be redirected to login page. Once the user logins again, how to redirect him to the last working page. Application is built in Struts 1.2.9 Regards, Siva.K - To unsubscribe, e-mail: [EMA

Re: removing the extension in url in struts 2

2008-10-01 Thread duschhaube
Hi, the extension can be configured in the struts.properties struts.action.extension=action but i dont knoe if you can leave it empty. maybe you should consider to you the rest-plugin. Jq Jr schrieb: Hi All, Can anyone tell me how to remove the extension of url in struts 2 ? Like /login i

removing the extension in url in struts 2

2008-10-01 Thread Jq Jr
Hi All, Can anyone tell me how to remove the extension of url in struts 2 ? Like /login instead of /login.action -- View this message in context: http://www.nabble.com/removing-the-extension-in-url-in-struts-2-tp19760365p19760365.html Sent from the Struts - User mailing list archive at Nabble

Re: s2 and tomcat configuration

2008-10-01 Thread Dave Newton
--- On Wed, 10/1/08, Hardik Shah wrote: > i have also use tomcat 5.5 with s2 and works fine in many > projects but the thing is that my one live apps run on tomcat > 5.0.30 with s1 and java 5 > > so i have to use same configuration with struts 2 migration Then you'll probably have to update its

s2 and tomcat configuration

2008-10-01 Thread Hardik Shah
yap u right i have also use tomcat 5.5 with s2 and works fine in many projects but the thing is that my one live apps run on tomcat 5.0.30 with s1 and java 5 so i have to use same configuration with struts 2 migration thanks newton.dave wrote: > > --- On Wed, 10/1/08, Hardik Shah wrote: >>

Re: s2 and tomcat configuration

2008-10-01 Thread Dave Newton
--- On Wed, 10/1/08, Hardik Shah wrote: > StandardContext[/struts2-mailreader-2.0.11.2] > Exception starting filter Struts2 > javax.xml.transform.TransformerFactoryConfigurationError: > Provider org.apache.xalan.processor.TransformerFactoryImpl not found Looks like you don't have all the classes

Re: s2 and tomcat configuration

2008-10-01 Thread Hardik Shah
i am using tomcat manager to upload war fle newton.dave wrote: > > How did you "import" the WARs? > > Dave > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > >

Re: s2 and tomcat configuration

2008-10-01 Thread Hardik Shah
Thanks for showing interst 2008-10-01 16:54:48 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redire

RE: Re: Question regarding struts.multipart.maxSize

2008-10-01 Thread Siemback, Chris
Thanks - I did find the solution. The maximumSize parm is the way to do it. My problem (since I'm new to Struts 2) was how to override the interceptor stack in a different package. Once I had that correct, the parm value was assigned at the stack level. -Original Message- From: news [m

Re: s2 and tomcat configuration

2008-10-01 Thread Dave Newton
--- On Wed, 10/1/08, Hardik Shah wrote: > i am using tomcat 5.0.30 and java 5 ,but when i import > s2.0.11.2 apps.war either mail reader or blank > > it can not be run > > gives http status 404 > > i dont know why? > > please help me Is there anything in the logs? How did you "import" the WA

s2 and tomcat configuration

2008-10-01 Thread Hardik Shah
hi i am using tomcat 5.0.30 and java 5 ,but when i import s2.0.11.2 apps.war either mail reader or blank it can not be run gives http status 404 i dont know why? please help me - Java/J2EE developer India blogs http://hardik4u.wordpress.com wordpress blog -- View this message in