Re: what login securityencription are good for struts...?

2007-11-13 Thread msg2ajay

hi,
 its a very nice example which u have sent but  i have a doubt that
as u are using salt(generation) adding to the encripting code that will be
fine for registeration but what ab the login time how you are going to
decript the data base code? and authenticate... and one more thing is are u
using Hibernate?

once again thanQ



msg2ajay wrote:
 
 hello friends, 
   I am developing a struts+hibernate application which 
  contains a login page. I am not sure of which tools or API's to use for
 logn 
  Authentication and encription. 
  
  Can any bady suggest me which is best for login Authentication and what
 way 
  can i proceed for secured login for WebApplication. 
  
 Ajay
 

-- 
View this message in context: 
http://www.nabble.com/what-login-security-encription-are-good-for-struts...--tf4795666.html#a13722357
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



what login securityencription are good for struts...?

2007-11-12 Thread msg2ajay

hello friends, 
  I am developing a struts+hibernate application which 
 contains a login page. I am not sure of which tools or API's to use for
logn 
 Authentication and encription. 
 
 Can any bady suggest me which is best for login Authentication and what way 
 can i proceed for secured login for WebApplication. 
 
Ajay
-- 
View this message in context: 
http://www.nabble.com/what-login-security-encription-are-good-for-struts...--tf4795666.html#a13719503
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Exadel Studio is showing Evalution version Expired why?

2007-10-02 Thread msg2ajay

Hello friends,

I just downloaded ExadelStudio 4.0.4 for Eclipse 3.2.2 .But when i tried to
do Struts project, i am geting a message as Evalution Version Expired. Why
it is showing like that.

ThanQ in Adv,
Ajay
-- 
View this message in context: 
http://www.nabble.com/Exadel-Studio-is-showing-Evalution-version-Expired-why--tf4559641.html#a13012348
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: where can i download struts-layout.tld's

2007-09-13 Thread msg2ajay

thank's a lot

Antonio Petrelli-3 wrote:
 
 2007/9/13, msg2ajay [EMAIL PROTECTED]:


 hi,

i am trying to use struts-layout for demonstration of Grid model.
 so
 Can anybady tell me from where i can download the relevent supported
 file's
 needed to me.
 i am using struts 1.2.9 and jdk1.5..
 
 
 
 1) Open Firefox or IE or whatever.
 2) Go to www.google.com
 3) type struts layout
 4) press I'm feeling lucky
 5) welcome to struts layout:
 http://struts.application-servers.com/
 
 Antonio
 
 

-- 
View this message in context: 
http://www.nabble.com/where-can-i-download-struts-layout.tld%27s-tf4433591.html#a12650178
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: where can i download struts-layout.tld's

2007-09-13 Thread msg2ajay

hi thanQ very much for reply,
 Yaa i have done mistake the form
name is different in my config file so i tried with that but then also i
am not able to get the values. I tried to print back in my Action class it
is printing in actionClass also but it is not comming to my jsp.

i tried 
-
 System.out.println(form2.getLableParam ().size ());//form2 is my object of
my formBean. place in my Jsp..for testing but not printing.
--
  
do i have any versioning problem.. 



msg2ajay wrote:
 
 thank's a lot
 
 Antonio Petrelli-3 wrote:
 
 2007/9/13, msg2ajay [EMAIL PROTECTED]:


 hi,

i am trying to use struts-layout for demonstration of Grid model.
 so
 Can anybady tell me from where i can download the relevent supported
 file's
 needed to me.
 i am using struts 1.2.9 and jdk1.5..
 
 
 
 1) Open Firefox or IE or whatever.
 2) Go to www.google.com
 3) type struts layout
 4) press I'm feeling lucky
 5) welcome to struts layout:
 http://struts.application-servers.com/
 
 Antonio
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/where-can-i-download-struts-layout.tld%27s-tf4433591.html#a12653198
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: problem with logic:iterate...

2007-09-13 Thread msg2ajay

hi,
Yaa i have done mistake. I have placed my ActionForm Name insted of
Confingfile form name. But the problem still there i am not able to get the
form (setLableParam())value to my jsp. I have created an object in my jsp
and tried to print the object, but it is returning null.
 
and one more thing is when i tried to print in the ActionClass it is
printing perfectly like below.

System.out.println (ActionForm object+form.getLableParam ());

when  setAttribute(),getAttribute is working fine.
i am giving my code.

my ActionClass:
---

 form.setLableParam (lableGenVect);
 System.out.println (ActionForm object+form.getLableParam ());// when i
tried to print it is printing

My FormBean:
--
Vector lableParam = new Vector();
 public Vector getLableParam (){
return lableParam;
}
public void setLableParam (Vector lables){
this.lableParam = lables;
System.out.println (X32 FORM __+lables); // tried to print
in form bean, its printing the vector data
}

my Jsp:
-

   tr
logic:iterate name=X32 id=lableParam property=lableParam 
 tr 
 td 
 bean:write name=X32 property=lableParam/ 
 /td 
 /tr 
   /logic:iterate 
/tr



i have tired in so many way's but i did not find out the problem.!!! can
u find out and tel me where i am doing error
Ajay



-- 
View this message in context: 
http://www.nabble.com/problem-with-%3Clogic%3Aiterate...-tf4433312.html#a12667667
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



problem with logic:iterate...

2007-09-12 Thread msg2ajay

hi,
i am trying to get the collection object (Vector)  form Action Class
to my Jsp. I already set to my FormBean and i am getting an error as..

javax.servlet.jsp.JspException: Cannot find bean: X32Form in any scope
my Action class is (X32Action.java):

 Vector lableGenVect = (Vector) xParser.xmlLableGen (Comm_vect);
 form.setLableParam (lableGenVect);

my FormBean Class is (X32Form.java):

public Vector getLableParam(){
return lableParam;
}
public void setLableParam(Vector lables){
this.lableParam = lables;
System.out.println(X32 FORM __+lables); // I am able to
set ie. i can print the values of the action class.
}

my jsp:
-
 logic:iterate name=X32Form id=lableParam
tr
td
bean:write name=X32Form property=lableParam/
/td
/tr
 /logic:iterate

thanQ,
Ajay
-- 
View this message in context: 
http://www.nabble.com/problem-with-%3Clogic%3Aiterate...-tf4433312.html#a12647969
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



where can i download struts-layout.tld's

2007-09-12 Thread msg2ajay

hi,

   i am trying to use struts-layout for demonstration of Grid model. so
Can anybady tell me from where i can download the relevent supported file's
needed to me.
i am using struts 1.2.9 and jdk1.5..

thanQ for anyKind of help.
Ajay
-- 
View this message in context: 
http://www.nabble.com/where-can-i-download-struts-layout.tld%27s-tf4433591.html#a12648680
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: how do i get the ActionClass's Vector to my JSP page for display

2007-09-07 Thread msg2ajay

very much thankQ for reply,
i am able to get values to my ActionClass but while retreiving it is
showing inconvertable types error . Actually i have used type casting. But
it is showing the error. Is there some thing to change my approch in
converting Vector while getParameter();
thx





Jennie Moeller wrote:
 
 Hi,
 
 Since you've put it on your form you can pull it off your form. So in
 your jsp you can do something like:
 
 
 This will look through all your items in the vector...its like a for
 loop (assuming you are using jstl tags)
 c:foreach var=I items=${form.lable_temp} 
 
 Or in your case perhaps you just want to toString it in which case:
 
 c:out value=${form.lable_temp}/
 
 (why not use a ListString instead? Less overhead) and also underscores
 in variable names are not java standard (although perhaps those are the
 standards at your company so ignore me!).
 
 If you aren't using jstl you could use bean:write or various other
 methods to write out the variables
 
 Jennie
 -Original Message-
 From: msg2ajay [mailto:[EMAIL PROTECTED] 
 Sent: 07 September 2007 03:50
 To: user@struts.apache.org
 Subject: how do i get the ActionClass's Vector to my JSP page for
 display
 
 
 hi,
 I am trying to get a ActionClass's vector object my forntEnd(jsp). I
 have tried to set to my form bean and get the values to my jsp. But it
 is showing error as .
 
 [code]
 [javac]
 /usr/java/SUNWappserver/domains/domain2/generated/jsp/j2ee-modules/ILICT
 reasury/org/apache/jsp/banker_002dweb/jsp/XS/X32Iframe_jsp.java:212:
 incompatible types
 [javac] found   : java.lang.String
 [javac] required: java.util.Vector
 [javac] labels_demo = request.getParameter(Lable_temp);
^ 
 
 my actionClass is:   (HERE MY VECTOR WILL BE POPULATED WITH SOME STRING
 VALUES)
 --
 VectorString lableGenVect = new VectorString();
 lableGenVect = (VectorString) xParser.xmlLableGen (Comm_vect); //
 i am
 using jdk1.5
 form.setLable_temp (lableGenVect);
 
 my FormBean is:
 
  public VectorString getLable_temp(){
 return lable_temp;
 }
 public void setLable_temp(VectorString lables){
 this.lable_temp = lables;
 }
 
 my jsp page is:
 ---
 
VectorString lables_demo = new VectorString();
 lables_demo = request.getParameter(lable_temp);
 out.println(LABELS :+lables_demo); [/code]
 
 Is the approach is wrong or is there any other way to access Vector
 values to my jsp.
 thx in adv.
 Ajay.
 
 --
 View this message in context:
 http://www.nabble.com/how-do-i-get-the-ActionClass%27s-Vector-to-my-JSP-
 page-for-display-tf4395762.html#a12535038
 Sent from the Struts - User mailing list archive at Nabble.com.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 This e-mail (and any attachments) is confidential and may contain
 personal views which are not the views of the BBC unless specifically
 stated.
 If you have received it in error, please delete it from your system. 
 Do not use, copy or disclose the information in any way nor act in
 reliance on it and notify the sender immediately. Please note that the
 BBC monitors e-mails sent or received. 
 Further communication will signify your consent to this.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/how-do-i-get-the-ActionClass%27s-Vector-to-my-JSP-page-for-display-tf4395762.html#a12552544
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



how do i get the ActionClass's Vector to my JSP page for display

2007-09-06 Thread msg2ajay

hi,
I am trying to get a ActionClass's vector object my forntEnd(jsp). I
have tried to set to my form bean and get the values to my jsp. But it is
showing error as .

[code]
[javac]
/usr/java/SUNWappserver/domains/domain2/generated/jsp/j2ee-modules/ILICTreasury/org/apache/jsp/banker_002dweb/jsp/XS/X32Iframe_jsp.java:212:
incompatible types
[javac] found   : java.lang.String
[javac] required: java.util.Vector
[javac] labels_demo = request.getParameter(Lable_temp);
   ^ 

my actionClass is:   (HERE MY VECTOR WILL BE POPULATED WITH SOME STRING
VALUES)
--
VectorString lableGenVect = new VectorString();
lableGenVect = (VectorString) xParser.xmlLableGen (Comm_vect); // i am
using jdk1.5 
form.setLable_temp (lableGenVect);

my FormBean is:

 public VectorString getLable_temp(){
return lable_temp;
}
public void setLable_temp(VectorString lables){
this.lable_temp = lables;
}

my jsp page is:
---

   VectorString lables_demo = new VectorString();
lables_demo = request.getParameter(lable_temp);
out.println(LABELS :+lables_demo);
[/code]

Is the approach is wrong or is there any other way to access Vector values
to my jsp.
thx in adv.
Ajay.

-- 
View this message in context: 
http://www.nabble.com/how-do-i-get-the-ActionClass%27s-Vector-to-my-JSP-page-for-display-tf4395762.html#a12535038
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: how to forward some action from javascritp

2007-08-08 Thread msg2ajay



  hi,
  I have used that it is working, but the problem is I need to
 re-load the page freame newly. In my present case, Iam getting data from
 database. All the values will be displayed on the textbox's. 
  When i used the code which u have given it is reloading but
 the values are not getting lost, I mean the page is getting reloaded but
 not getting the textboxes blank. It is carrying previous data. can u help
 me rgds this.
 


Rajam T. wrote:
 
 
 Hi,
 
 You can use the below given statements in javascripts to forward the
 control to the action.
 
 document.forms[0].action='myAction.do';
 document.forms[0].submit();
 
 Thanks  Regards
 
 Rajam Thirunavukkarasu
 
 -Original Message-
 From: msg2ajay [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, August 08, 2007 8:47 AM
 To: user@struts.apache.org
 Subject: how to forward some action from javascritp
 
 
 hi i have to forward to controller with javascritp my script is as below.
 
 html
 head
  function fwd(field){
  var val=field.value;
  if(val == 1){
 [b]mypage.do[/b] //--- this is how i needed
  }
 }
 /head
 body
 html:select property=myPage onchange=fwd(this)
 html:option value=1one/html:option
 html:option value=2one/html:option
 html:option value=3one/html:option
 /body
 /html
 
 
 thx in Adv
 Ajay
 --
 View this message in context:
 http://www.nabble.com/how-to-forward-some-action-from-javascritp-tf4234069.html#a12046424
 Sent from the Struts - User mailing list archive at Nabble.com.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
  CAUTION - Disclaimer *
 This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
 solely for the use of the addressee(s). If you are not the intended
 recipient, please notify the sender by e-mail and delete the original
 message. Further, you are not to copy, disclose, or distribute this e-mail
 or its contents to any other person and any such actions are unlawful.
 This e-mail may contain viruses. Infosys has taken every reasonable
 precaution to minimize this risk, but is not liable for any damage you may
 sustain as a result of any virus in this e-mail. You should carry out your
 own virus checks before opening the e-mail or attachment. Infosys reserves
 the right to monitor and review the content of all messages sent to or
 from this e-mail address. Messages sent to or from this e-mail address may
 be stored on the Infosys e-mail system.
 ***INFOSYS End of Disclaimer INFOSYS***
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/how-to-forward-some-action-from-javascritp-tf4234069.html#a12065110
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



how to forward some action from javascritp

2007-08-07 Thread msg2ajay

hi i have to forward to controller with javascritp my script is as below.

html
head
 function fwd(field){
 var val=field.value;
 if(val == 1){
[b]mypage.do[/b] //--- this is how i needed
 }  
}
/head
body
html:select property=myPage onchange=fwd(this)
html:option value=1one/html:option
html:option value=2one/html:option
html:option value=3one/html:option
/body
/html


thx in Adv
Ajay
-- 
View this message in context: 
http://www.nabble.com/how-to-forward-some-action-from-javascritp-tf4234069.html#a12046424
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]