Re: Introducing Spring in Struts2 Project

2009-06-05 Thread alee amin
dpress.com On Thu, Jun 4, 2009 at 6:46 PM, Wes Wannemacher wrote: > On Thu, Jun 4, 2009 at 7:52 AM, alee amin > wrote: > [...] > > > > > > > *One question that

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 class="mop.page.authenticated.

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 th

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 P

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 ge

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 wrote: > > +1 Spring Security. Everything else is for wimps. > > > > Wes Wannemacher wrote: > > > > On Wednesday 04 February 2009 05:56:24 alee amin wrote: > >> I browse

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

2009-02-04 Thread alee amin
configured so it's not started? > > Nils-H > > On Wed, Feb 4, 2009 at 11:20 AM, alee amin > wrote: > > This is the entry that i made in web.xml for the servlet > > > >> > >> > > > >> > > > >> > >

[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
This is the entry that i made in web.xml for the servlet > > > > rawData rawData > com.e2e.servlet.rawData > > rawData > /data/rawData > even if i try to call the servlet directly (direct writing the url in the address bar) there is no call going to servlet, rather the struts action is b

[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 created

[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 RESPONS

[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 f

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

2009-01-22 Thread alee amin
; easy to configure and working with it > > Thanks again > > ..alee > > http://techboard.wordpress.com > > > > > > > > On Thu, Jan 22, 2009 at 5:25 PM, Lukasz Lenart < > lukasz.len...@googlemail.com > > > wrote: > > > > > 2009/1/22

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

2009-01-22 Thread alee amin
art wrote: > 2009/1/22 alee amin : > > 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 strea

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

2009-01-22 Thread alee amin
indow","Duration":0}, > {"User":"PKDEV168","Title":"Conversation","App":"IMWindow","Duration":0} > ] > } Isn't it anyway that i may get the solution without using any more plugin (i.e the one i

[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 org.apache.catalina.connect

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 > wrote: Hi I have created a RTFHand

Search Problem

2009-01-01 Thread Amin Mohammed-Coleman
. I get the following when I print the document: Documentdocument that will be indexed. Amin Mohammed-Coleman> stored/ uncompressed,indexed stored/ uncompressed,indexed stored/ uncompressed,indexed stored/ uncompressed,indexed> The problem is when I use the following to search I

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" wrote: Is it working even with the exception? This result is a little bit diff

Re: Exception when using ServletActionRedirectResult with @Result

2008-12-18 Thread Amin Mohammed-Coleman
wrote: OGNL tries all elements on the stack until it finds a match, so it would probably try the result as well. Could you show the code of your source and destination actions? Nils-H On Thu, Dec 18, 2008 at 12:15 AM, Amin Mohammed-Coleman wrote: Hi The both actions have the relevant g

Re: Exception when using ServletActionRedirectResult with @Result

2008-12-17 Thread Amin Mohammed-Coleman
27;re redirecting from (not to) have the relevant getters? Nils-H On Wed, Dec 17, 2008 at 11:26 PM, Amin Mohammed-Coleman wrote: 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 200

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 Hi Sorry for sending this again, but I was wondering

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 Date: 24 November 2008 16:50:50 GMT To: user-h...@struts-apache.org Subject: Exception when using ServletActionRedirectResult with @Result

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 Date: 28 November 2008 22:07:10 GMT To: "Struts Users Mailing List" Subject: Re: Exception when using ServletActionRedirectResult with @Result Hi I do apologise, I didn't mean to send it three t

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 wa

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

Fwd: Exception when using ServletActionRedirectResult with @Result

2008-11-27 Thread Amin Mohammed-Coleman
.opensymphony.xwork2.ognl.OgnlUtil.internalSetProperty(OgnlUtil.java: 393) I have looked around and upgraded 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 = factory

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

2005-09-27 Thread Kaizar Amin
s a key from the > resource file which I assumed "credentails.empty" is. The first parameter > of > the ActionMessges.add(...) is the property against which error is being > stored or the generic global_error constant. > > HTH. > > ATTA > > > > > On

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: [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. ---

RE: another newbie

2005-06-16 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.

Jsp java.lang.VerifyError

2005-04-14 Thread Mohd Amin
: _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
ch 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" ; "Shiva Narayana" <[EMAIL PROTECTED]> Sent: Thursday, April 07, 2005 6:15 PM S

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'" 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 an email? Chri

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

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: 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 Luc

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 exc

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: to: HTH, Amin -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Monday, September 20, 2004 12:26 PM To: [EMAIL PROTECTED] Subject: Hate Myself for Not Getting Drop-Down Menu Right There is no problem with the

Updating select list...

2004-09-09 Thread Amin Lalji
Hey All, I have a slightly complex problem: I have a dynaform which creates a set of input boxes (address information etc.) to be filled in based upon a number the user specifies at runtime: E.G Choose how many addresses you would like to add? (assume user chooses 3) Three sets of input box

RE: Theoretical debate

2004-06-17 Thread Amin Lalji
I recently downloaded IBATIS in order to use it for some object persistence... interestingly, their JPetStore implementation used a similar idea, although it was all struts based: Essentially, each "method" you want to call is actually mapped within the Action Mapping... so if you wanted to "sea

Pluggable User Security Framework

2004-06-10 Thread Amin Lalji
Hello All, Just wondering if anybody has come across an Open Source Pluggable User Authentication Frameworks that integrates well with struts... nothing fancy... just user login/password, tombstone information, group levels etc... Thanks

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 - To

RE: DynaAction or Map Backed Form?

2004-04-08 Thread Amin Lalji
essors getDocuments ( ) and getId ( ) Assume document is a bean wit accessors getId ( ) and getName ( ) -Original Message- From: Amin Lalji [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 1:26 PM To: 'Struts Users Mailing List' Subject: RE: Dy

RE: DynaAction or Map Backed Form?

2004-04-07 Thread Amin Lalji
explain the data structure better, it would be easier to help. -Original Message- From: Amin Lalji [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 12:39 PM To: 'Struts Users Mailing List' Subject: RE: DynaAction or Map Backed Form? Sorry... to add... Each Service may ha

RE: DynaAction or Map Backed Form?

2004-04-07 Thread Amin Lalji
Sorry... to add... Each Service may have a unknown set of documents... E.g. Services: 001 Catering 002 Party Documents: 001 Contract 002 Deposit Should yield: Contract Deposit Contract Deposit Thanks, /A -Original Message- From: Amin Lalji

DynaAction or Map Backed Form?

2004-04-07 Thread Amin Lalji
checkboxes for each service such that I achieve: documentName Any ideas? Thanks, Amin