Re: Introducing Spring in Struts2 Project

2009-06-05 Thread alee amin
On Thu, Jun 4, 2009 at 6:46 PM, Wes Wannemacher w...@wantii.com wrote: On Thu, Jun 4, 2009 at 7:52 AM, alee amin mailing.list.mail...@gmail.com wrote: [...] *One question that i

Re: Introducing Spring in Struts2 Project

2009-06-04 Thread alee amin
thanks a lot martin. That's an excellent help. i can not imagine something more eloquent for this specific problem that i had. Thanks. Just for quick review, if i am not using convention plugin at the moment. I would be converting my action class from struts.xml as action

Re: Introducing Spring in Struts2 Project

2009-06-03 Thread alee amin
for the book he mentioned are available here - struts2inpractice.googlecode.com (btw, thanks for the plug Bruce) -Wes On Wednesday 03 June 2009 12:10:22 am alee amin wrote: hi philips, thanks for the links. however, the pdf on the site are not being downloaded properly. I duno if it has

Introducing Spring in Struts2 Project

2009-06-02 Thread alee amin
I have been assigned a task to introduce spring in struts 2 project. I have been novice at both technologies. Right now i am going through the project to analyze what is actually going and i thought to get some advice from experts sitting across the globe. What could be the key areas which will

Re: Introducing Spring in Struts2 Project

2009-06-02 Thread alee amin
hi philips, thanks for the links. however, the pdf on the site are not being downloaded properly. I duno if it has something to do with the web site. moreover, can you point me to the link where you have placed the source code. ..alee http://techboard.wordpress.com On Tue, Jun 2, 2009 at 9:47

Re: [S2] How to apply form based security in struts 2 application

2009-02-07 Thread alee amin
thanks ..alee http://techboard.wordpress.com On Thu, Feb 5, 2009 at 6:25 AM, dusty dustin_pea...@yahoo.com wrote: +1 Spring Security. Everything else is for wimps. Wes Wannemacher wrote: On Wednesday 04 February 2009 05:56:24 alee amin wrote: I browsed through struts official site

[S2] Creating and calling a servlet in sturts2 app

2009-02-04 Thread alee amin
hi, I am having a struts application but due to some reason i want to create a servlet in this application (which would return a json string) that is going to be used in JSP (that would map in struts action page url) .. .. I am unable to create the servlet and call it from that web. I have

Re: [S2] Creating and calling a servlet in sturts2 app

2009-02-04 Thread alee amin
This is the entry that i made in web.xml for the servlet servlet description /description display-namerawData/display-name servlet-namerawData/servlet-name servlet-classcom.e2e.servlet.rawData/servlet-class /servlet servlet-mapping servlet-namerawData/servlet-name

[S2] How to apply form based security in struts 2 application

2009-02-04 Thread alee amin
I browsed through struts official site to check for any plugin available or security mechanism to authenticate the user. but i could not find one. can anyone guide me what are teh ways to implement the security constraints (user security) on application. ..alee http://techboard.wordpress.com

Re: [S2] Creating and calling a servlet in sturts2 app

2009-02-04 Thread alee amin
not started? Nils-H On Wed, Feb 4, 2009 at 11:20 AM, alee amin mailing.list.mail...@gmail.com wrote: This is the entry that i made in web.xml for the servlet servlet description /description display-namerawData/display-name servlet-namerawData/servlet-name servlet

[S2] Customizing Struts JSON Plugin response

2009-01-30 Thread alee amin
I am using JSON plugin in Struts 2 for writing a resoponse. the plugin is generating the response perfectly. however, this is Google Visulization API demand that there should be a string wrapping the JSON response. like the one mentioned below. google.visualization.Query.setResponse(JSON

[S2] Exception : Cannot create a session after the response has been committed

2009-01-22 Thread alee amin
I make a call to http://localhost:8080/tracker/reports/rawList.action it is working fine for first call but whenever i try to make another call i get this exception .. java.lang.IllegalStateException: Cannot create a session after the response has been committed at

Re: [S2] Exception : Cannot create a session after the response has been committed

2009-01-22 Thread alee amin
Lenart lukasz.len...@googlemail.com wrote: 2009/1/22 alee amin mailing.list.mail...@gmail.com: pw.close(); That's the problem, you're closing output stream and framework is not able to do anything. Take a look on JSON Plugin [1] instead building response by your self. [1] http

Re: [S2] Exception : Cannot create a session after the response has been committed

2009-01-22 Thread alee amin
lukasz.len...@googlemail.com wrote: 2009/1/22 alee amin mailing.list.mail...@gmail.com: Isn't it anyway that i may get the solution without using any more plugin (i.e the one is mentioned in last email) ? If you don't want to use next plugin, develop your own specific Result to produce JSON

Re: [S2] Exception : Cannot create a session after the response has been committed

2009-01-22 Thread alee amin
On Thu, Jan 22, 2009 at 5:25 PM, Lukasz Lenart lukasz.len...@googlemail.com wrote: 2009/1/22 alee amin mailing.list.mail...@gmail.com: Isn't it anyway that i may get the solution without using any more plugin (i.e the one is mentioned in last email) ? If you don't want

[S2 + YUI] Unable to send Parameters to request

2009-01-22 Thread alee amin
I am integrating struts with YUI. Things are working fine except that i am unable to send request parameters to my struts action from yui dataSource. I have asked the same question at YUI group (since i am thinking that there is some problem or i am doing wrong rleated to YUI controls) but just

Search Problem

2009-01-01 Thread Amin Mohammed-Coleman
. I get the following when I print the document: Documentstored/uncompressed,indexed,tokenizedbody:This is a test rtf document that will be indexed. Amin Mohammed-Coleman stored/ uncompressed,indexedpath:rtfDocumentToIndex.rtf stored/ uncompressed,indexedname:rtfDocumentToIndex.rtf stored

Re: Search Problem

2009-01-01 Thread Amin Mohammed-Coleman
oh man! Sorry about that...lack of sleep due to new baby in the house... On 1 Jan 2009, at 20:41, Nils-Helge Garli Hegvik wrote: Maybe you should try posting to a Lucene mailing list? Nils-H On Thu, Jan 1, 2009 at 9:28 PM, Amin Mohammed-Coleman ami...@gmail.com wrote: Hi I have

Re: Exception when using ServletActionRedirectResult with @Result

2008-12-18 Thread Amin Mohammed-Coleman
and destination actions? Nils-H On Thu, Dec 18, 2008 at 12:15 AM, Amin Mohammed-Coleman ami...@gmail.com wrote: Hi The both actions have the relevant getters and setters. It seems as though the actionName is being ignored and the action that the result thinks should go

Re: Exception when using ServletActionRedirectResult with @Result

2008-12-18 Thread Amin Mohammed-Coleman
Hi No it does not work as exception is thrown. I can't understand how it doesn't work as I have followed the example from site. Cheers Amin On 18 Dec 2008, at 19:26, Musachy Barroso musa...@gmail.com wrote: Is it working even with the exception? This result is a little bit different

Fwd: Exception when using ServletActionRedirectResult with @Result

2008-12-17 Thread Amin Mohammed-Coleman
Hi Sorry for sending this again, but I was wondering if someone might be able to help? Thanks Begin forwarded message: From: Amin Mohammed-Coleman ami...@gmail.com Date: 24 November 2008 16:50:50 GMT To: user-h...@struts-apache.org Subject: Exception when using

Re: Exception when using ServletActionRedirectResult with @Result

2008-12-17 Thread Amin Mohammed-Coleman
Hi The ServletActionRedirectResult doesn;t have a contactId setter as this is Struts class. The ViewContact action has the relevant setters. Cheers On 17 Dec 2008, at 22:16, Oscar Alvarez wrote: 2008/12/17 Amin Mohammed-Coleman ami...@gmail.com Hi Sorry for sending this again, but I

Re: Exception when using ServletActionRedirectResult with @Result

2008-12-17 Thread Amin Mohammed-Coleman
redirecting from (not to) have the relevant getters? Nils-H On Wed, Dec 17, 2008 at 11:26 PM, Amin Mohammed-Coleman ami...@gmail.com wrote: Hi The ServletActionRedirectResult doesn;t have a contactId setter as this is Struts class. The ViewContact action has the relevant setters. Cheers

Fwd: Exception when using ServletActionRedirectResult with @Result

2008-12-16 Thread Amin Mohammed-Coleman
Sent from my iPhone Begin forwarded message: From: Amin Mohammed-Coleman ami...@gmail.com Date: 28 November 2008 22:07:10 GMT To: Struts Users Mailing List user@struts.apache.org Subject: Re: Exception when using ServletActionRedirectResult with @Result Hi I do apologise, I didn't

Fwd: Exception when using ServletActionRedirectResult with @Result

2008-11-28 Thread Amin Mohammed-Coleman
Hi Sorry to be sending this again but I was wondering if some might be able to help. I added a param actionName but no luck. Is there a work around? Cheers Amin Sent from my iPhone Begin forwarded message: From: Amin Mohammed-Coleman [EMAIL PROTECTED] Date: 27 November 2008 22:40:04

Re: Exception when using ServletActionRedirectResult with @Result

2008-11-28 Thread Amin Mohammed-Coleman
Hi I do apologise, I didn't mean to send it three times. My email program was doing some funny things and I thought that the email was not sent. The exception is thrown and fails to work. Sorry again! On 28 Nov 2008, at 20:34, Dave Newton wrote: Sorry to be sending this again but I

Fwd: Exception when using ServletActionRedirectResult with @Result

2008-11-27 Thread Amin Mohammed-Coleman
to Struts 2.1.2 and am still getting the exception. Would it be possible if someone can advise me on what I am doing wrong. Thanks Amin

JCaptcha + Struts problem

2007-10-03 Thread alee amin
Hi, I am using JCaptcha for captcha features. It is working fine. I have this code in CaptchaServlet and this code save the captcha in request public void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { ImageCaptcha pixCaptcha =

How to remove the unwanted ???en_US string from ActionMessages

2005-09-27 Thread Kaizar Amin
Hello all, I am facing a wierd problem in my application. I want to add an ActionMessage in the ACTION (LoginAction) class and then display the message in the JSP page. In the JSP page, the messages are found without a problem (so my ApplicationResources.properties configuration is fine), however

Re: How to remove the unwanted ???en_US string from ActionMessages

2005-09-27 Thread Kaizar Amin
of the ActionMessges.add(...) is the property against which error is being stored or the generic global_error constant. HTH. ATTA On 9/27/05, Kaizar Amin [EMAIL PROTECTED] wrote: Hello all, I am facing a wierd problem in my application. I want to add an ActionMessage in the ACTION

RE: [OT] jsp

2005-07-28 Thread Amin Mohd Sani
Need some help. Currently using jboss, after deploying a new ear file, the jsp still reflects the old content. I suspect this has something to do with the cache, but I am not sure how to go about it. I know this is way off topic, but just need some help. TIA.

RE: struts-html.tld

2005-07-04 Thread Amin Mohd Sani
Dear All, When I use tomcat for the below line it can run perfectly. %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % Then I switch to jboss, it complains that it cannot find the file. Any idea what is wrong? TIA. - To

RE: another newbie

2005-06-17 Thread Amin Mohd Sani
at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:753) at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:443) at org.apache.jsp.submit_jsp._jspx_meth_html_form_0(submit_jsp.java:140) it looks like I'm missing something on the eclipse side. TIA, Amin

Jsp java.lang.VerifyError

2005-04-14 Thread Mohd Amin
: (class: _page, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Illegal target of jump or branch Thanks, Amin

Re: Please wait page

2005-04-07 Thread Mohd Amin
that's a good one - Original Message - From: Marsh-Bourdon, Christopher [EMAIL PROTECTED] To: 'Struts Users Mailing List' user@struts.apache.org Sent: Thursday, April 07, 2005 5:15 PM Subject: RE: Please wait page If you ask travelocity nicely, I'm sure they will help. Why not pop them

Re: Please wait page

2005-04-07 Thread Mohd Amin
is basically the page after processing. I guess that should do it. Amin - Original Message - From: Daniel Perry [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org; Shiva Narayana [EMAIL PROTECTED] Sent: Thursday, April 07, 2005 6:15 PM Subject: RE: Please wait page

Re: [ot] Need a webpage that for newsletter sign-ups without internet access?

2005-03-09 Thread amin
Check out http://javascript.internet.com/cookies/address-book.html#source Save it in a cookie, then later on read the cookie, present it as a web page for your data export needs. Amin http://www.cheblogs.com/roller/page/princeamin/ I have an issue I need help with. I currently have a Struts

Re: Preview of an Image and text

2004-12-19 Thread amin
Since we are on this topic, any ideas on how to build images from a webpage which is downloaded automatically into a database or a file system. Eg would be google desktop style, where a thumbnail appears of a html page beside a search item. Regards, Amin Just carry the path of the file

Date validation, multiple format

2004-12-03 Thread Mohd Amin
Hi, I have a requirement for the date format to be depending on the user which logs in. Showing the date formatted to the user preference is a no brainer but validation using struts validator I think is slightly tougher, anyone has any idea on how to get this implemented? Thanks Amin

RE: free struts boook

2004-11-17 Thread Amin Lalji
http://www.theserverside.com/books/sourcebeat/JakartaStrutsLive/index.tss Google is your friend :) /A -Original Message- From: Nishant [mailto:[EMAIL PROTECTED] Sent: November 17, 2004 9:51 AM To: Struts Users Mailing List Subject: free struts boook where do i get struts free book

RE: Installation Getting Started Question

2004-11-17 Thread Amin Lalji
Hey Scott, In practice, the Struts Distribution works like any other Servlet bases Web-App... Download struts and deploy the examples to tomcat (you do not necessarily require Apache, since struts is Servlet based technology)... in other words you really only need a Servlet Container... Good

RE: Hate Myself for Not Getting Drop-Down Menu Right

2004-09-20 Thread Amin Lalji
Try removing the bean:define And setting your line: html:options collection=nameList property=name labelProperty=name/ to: html:options collection=PageBeans property=name labelProperty=name/ HTH, Amin -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Monday

Indexed Properties DynaValidatorForm

2004-04-19 Thread Amin Lalji
property... instead validation errors for a single member of the indexed properties are displayed for all of the members ... Is there any way to display the error solely for the Indexed Property in question? Thanks, Amin