Re: Problem using tag

2009-11-26 Thread shekher awasthi
> On Sat, Nov 21, 2009 at 12:48 AM, shekher awasthi < > shekher.awas...@gmail.com > > wrote: > > > Hi Friends, > > > > I am using the url tag as follows: > > > > > > > > LocalInvoice > > > > > > > > Local Invoice

Problem using tag

2009-11-20 Thread shekher awasthi
Hi Friends, I am using the url tag as follows: LocalInvoice Local Invoice The problem is the parameter defined in param tag is getting appended in all others urls on the JSP page so affecting other url's implementation. Please help me / guide me in resolving this issue. Thanks, Shekhe

Re: Strange Problem With Struts2 Action

2009-11-01 Thread shekher awasthi
Thnaks Musachy, i was about to write mail for this, that was my silly mistake probably lack of sleep :) On 11/1/09, Musachy Barroso wrote: > > null pointer exception in your code. > > On Sun, Nov 1, 2009 at 8:18 AM, shekher awasthi > wrote: > > java.lang

Strange Problem With Struts2 Action

2009-11-01 Thread shekher awasthi
Hi All, i am facing a strange problem with struts2 action from a webpage i am opening up a popup window. there are some simplle input fields in the popup window and a submit button this is the action call from the popup window and in the xml configuration file /Templates/Challan/CreateJob.js

Re: Application Design(architecture)

2009-06-12 Thread shekher awasthi
Some of my questions are Is there any Use of UML How to think in terms of Design Patterns while designing the process or any tool(s) which can help me a bit in this process 2009/6/12 shekher awasthi > Thanks Pawel for quick reply regarding the application how it will look > like i hav

Re: Application Design(architecture)

2009-06-12 Thread shekher awasthi
ch things as: > - presentation layer (You have stated it will be struts)(maybe do some > wireframes) > - persistence > - bussiness logic > - comunication with outside world - maybe? > - environement to run it > > This is very wide subject, but in the end it's all about a

Application Design(architecture)

2009-06-12 Thread shekher awasthi
Hi All, I would like to say sorry if u think this question is out of list, but since my problem also have relation with struts2 so i thought to give a try here and hope to get some positive replies. We are planning so strat a new project and yes Struts will be the building block for this. I have

Re: username availability check

2009-03-06 Thread shekher awasthi
i did this using struts 2.0.11 and AJAX but for ajax i used YUI inmy case when user was putting his/her tinnumber i was checking that availability in the database before proceeding furthur. if you need any help in this regard i can help you On 3/6/09, sajidbigler wrote: > > > hi friends, > > ca

Re: Handling Browser Back/Forward Button in Struts2

2009-01-26 Thread shekher awasthi
there is ssl-plugin for s2 but i honestly don't know > what for, maybe it is targeted for checking if request is under ssl > and if not redirecting to ssl connection, but it's not turning ssl on > for sure. > > If that won't help i can make a little app and pack it up for You

Re: Handling Browser Back/Forward Button in Struts2

2009-01-24 Thread shekher awasthi
g browser back button any idea why this is going on?? or do i need to set anything apart from this? -shekher On Fri, Jan 23, 2009 at 9:06 PM, shekher awasthi wrote: > Can you guide me the way how to use SSL in struts2 i am looking in to this > > IDE i am using is MyEclispe > > and

Struts2 and SSL

2009-01-23 Thread shekher awasthi
HI All, i am trying to impliment SSL in my application using struts2-ssl-plugin i am using o interceptor for SSL implimentation which is a part of the SSL plugin a when i am testing my application browser first time providing information abt the security certificate console is giving the foll

Problem in sending mail to mailing list

2009-01-23 Thread shekher awasthi
Hi All, I am unable to send new mail in struts2 mailing list while i was able to reply to one of the post in the mailing list when i am trying to paste content of my xml file it is giving me the following error Google tried to deliver your message, but it was rejected by the recipient domain. We

Re: Handling Browser Back/Forward Button in Struts2

2009-01-23 Thread shekher awasthi
it's not working - sadly. > > Best greetings, > Paweł Wielgus. > > 2009/1/22 shekher awasthi : > > Hi Paweł, > > > > another way we can do this by using SSL > > as we are dealing in secure zone so using SSL for this might be a good > case. > > &

Re: Handling Browser Back/Forward Button in Struts2

2009-01-22 Thread shekher awasthi
results On 1/22/09, shekher awasthi wrote: > > one of the banking application site which i tested today > > when user get logged off from and try to hit the back button he will be > shown a different page > instead the one in the cache > so i am also loking in to this aspe

Re: Handling Browser Back/Forward Button in Struts2

2009-01-22 Thread shekher awasthi
one of the banking application site which i tested today when user get logged off from and try to hit the back button he will be shown a different page instead the one in the cache so i am also loking in to this aspect. On 1/22/09, shekher awasthi wrote: > > using javascript is not

Re: Handling Browser Back/Forward Button in Struts2

2009-01-22 Thread shekher awasthi
g List" > > Date: Thursday, January 22, 2009, 12:34 AM > > > > Hi Shekher, > > it was very interesting subject, so i dig a little more. > > Here [1] is what i found, with some tests. > > Basicly it turns out that You should add headers in page and to response.

Re: Handling Browser Back/Forward Button in Struts2

2009-01-21 Thread shekher awasthi
("Pragma", "no-cache"); response.setHeader("Cache-Control", "no-cache"); response.setHeader("Expires", "0"); or can we create a interceptor which can do this for all the request wheer we want this feature?? 2

Re: Handling Browser Back/Forward Button in Struts2

2009-01-21 Thread shekher awasthi
ere because i haven't > done it before. > > Best greetings, > Paweł Wielgus. > > > 2009/1/21 shekher awasthi : > > Hi Paweł, > > > > thats true it only send request to server if i will refresh the page and > > for that i have already custom int

Re: Handling Browser Back/Forward Button in Struts2

2009-01-21 Thread shekher awasthi
rd(); > > > > > > I'm not aware of any feature in Struts2 that deals with the browser back > > button. > > > > Robert > > > > > > shekher awasthi wrote: > >> > >> Hi All, > >> > >> in the process of developing

Re: Handling Browser Back/Forward Button in Struts2

2009-01-20 Thread shekher awasthi
: > > Did you invalidate the session? Are you setting no cache headers on > the response? > > Nils-H > > On Tue, Jan 20, 2009 at 12:46 PM, shekher awasthi > wrote: > > Hi All, > > > > in the process of developing application using struts 2.0.11, i came &g

Re: Handling Browser Back/Forward Button in Struts2

2009-01-20 Thread shekher awasthi
any feature in Struts2 that deals with the browser back > button. > > Robert > > > > shekher awasthi wrote: > >> Hi All, >> >> in the process of developing application using struts 2.0.11, i came >> across >> the problem of handling browser

Handling Browser Back/Forward Button in Struts2

2009-01-20 Thread shekher awasthi
Hi All, in the process of developing application using struts 2.0.11, i came across the problem of handling browser back/forward button. This problem is occurring when we will logout the user.On Clicking the logout button we are currently removing the user from the session and it worked fine for

Re: Application based Security

2008-12-15 Thread shekher awasthi
I am planing to use interceptor for this but not sure how to plan this as using interceptor can not gurantee a robust authenticate mechanism what i planned is as below if user provide the valid information store the user object in the session scoped map and for all incoming request to secure regi

Re: Application based Security

2008-12-15 Thread shekher awasthi
UserAwareBaseAction { > > /** > * Since user is a session variable simply clear out the pertinent info > and > * the filter will force a new login. > */ > public String executeAction() throws Exception { >try { > this.getUser().setUsername(null); >}

Application based Security

2008-12-15 Thread shekher awasthi
Hi All, We are developing an application based on Struts2 framework. We are on way to develop application based security so that the unauthorized user can not access the secure area,it needs the request to be from the authorized person.We can have the Below mentioed approach 1) For Secure area th

Re: Creating struts2 form elements dynamically

2008-12-04 Thread shekher awasthi
, 2008 at 10:03 AM, shekher awasthi <[EMAIL PROTECTED]>wrote: > Hi Dave, > > Can you just describe what you mean by this may be i am unable to graspe > what you have suggested > > a little description can help me a lot... > > thanks > -s > > > > > On T

Re: Creating struts2 form elements dynamically

2008-12-04 Thread shekher awasthi
nk that'd be the easiest. > > Dave > > > --- On Thu, 12/4/08, shekher awasthi <[EMAIL PROTECTED]> wrote: > > > From: shekher awasthi <[EMAIL PROTECTED]> > > Subject: Creating struts2 form elements dynamically > > To: user@struts.apache.org > &g

Creating struts2 form elements dynamically

2008-12-04 Thread shekher awasthi
Hi All, I need to create rows of struts2 form elements in my jsp on onclick event of a button. Whenever user clicks on the button, a new row of input types struts2 form elements should be created dynamically. I know creating simple html form elements using javascript but dont know how to do same

Struts2+YUI

2008-10-16 Thread shekher awasthi
Hi All, I am trying to integrate struts2 with YUI ,but facing some problems with this. I want that when my action get called by YUI it must return a arrayList of string which i must be able to handle using the YUI. For this i took the help of example from YUI site and able to hit the action but m