Re: Any Struts + mysql example ?

2009-11-29 Thread Saeed Iqbal
Martin: I am not sure of the correct terminology. My being a non native
English speaker has cost me jobs already :(

On Sun, Nov 29, 2009 at 10:01 AM, Martin Gainty mgai...@hotmail.com wrote:


 the Spring 2.5 distro has a Hibernate example
 org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter

 did you say Struts is the view ..perhaps you meant Struts-taglib is used in
 the jsp???
 Martin Gainty
 __
 Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
 Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
 Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
 dient lediglich dem Austausch von Informationen und entfaltet keine
 rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
 E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
 Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
 destinataire prévu, nous te demandons avec bonté que pour satisfaire
 informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
 de ceci est interdite. Ce message sert à l'information seulement et n'aura
 pas n'importe quel effet légalement obligatoire. Étant donné que les email
 peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
 aucune responsabilité pour le contenu fourni.




  Date: Sun, 29 Nov 2009 02:55:47 +
  From: larryr...@comcast.net
  To: user@struts.apache.org
  Subject: Re: Any Struts + mysql example ?
 
  Another example using JPA/Hibernate would be the Struts2InAction example
 from the book of that name.
 
  - Original Message -
  From: Saeed Iqbal saee...@gmail.com
  To: Struts Users Mailing List user@struts.apache.org
  Sent: Saturday, November 28, 2009 6:52:29 PM GMT -08:00 US/Canada Pacific
  Subject: Re: Any Struts + mysql example ?
 
  I wouldnt have a JDBC example but i have a MVC example where Model ORM is
  Hibernate, Controller is Spring and View is Struts
 
  Search for startsoft in google code
 
  On Sat, Nov 28, 2009 at 9:50 PM, A. Lotfi majidna...@yahoo.com wrote:
 
   with jdbc,
  
   thanks
  
   --- On Sat, 11/28/09, Saeed Iqbal saee...@gmail.com wrote:
  
  
   From: Saeed Iqbal saee...@gmail.com
   Subject: Re: Any Struts + mysql example ?
   To: Struts Users Mailing List user@struts.apache.org
   Date: Saturday, November 28, 2009, 11:41 AM
  
  
   Struts with JDBC? or JPA/Hibernate
  
   On Sat, Nov 28, 2009 at 9:39 PM, A. Lotfi majidna...@yahoo.com
 wrote:
  
Hi,
   
I Please if you know about a nice example or a small proj using
 struts
   and
mysql I would appreciate.
   
thanks
   
   
   
  
  
  
  
   --
   Saeed Iqbal
   http://www.iqbalconsulting.com
   Struts - J2EE - Application Architect / Developer
  
  
  
  
  
 
 
 
  --
  Saeed Iqbal
  http://www.iqbalconsulting.com
  Struts - J2EE - Application Architect / Developer

 _
 Bing brings you maps, menus, and reviews organized in one place.

 http://www.bing.com/search?q=restaurantsform=MFESRPpubl=WLHMTAGcrea=TEXT_MFESRP_Local_MapsMenu_Resturants_1x1




-- 
Saeed Iqbal
Independant Consultant (Freelance)
Struts - J2EE - Application Architect / Developer


Re: Alert Box issue in Struts

2009-11-29 Thread deepakl_2000

Hi pawel,
im not talking about struts validation,im talking abt javascript
validation for my requirement.
please dont confuse it with struts validation framework.

my requirement is different and is no way linked to Struts validation
framework


Paweł Wielgus wrote:
 
 Hi Deepak,
 as far as i know validation framework will generate your validation
 javascript automaticly if client side validation is turn on (somewhere
 in configuration maybe). But i haven't used client side validation at
 all so i'm not a good help here.
 
 Best greetings,
 Pawel Wielgus.
 
 2009/11/28, deepakl_2000 deepakl_2...@yahoo.com:

 Hi Pawel,
 i need to implement a Javascript function for this in
 jsp.(not
 server side validation),how to mix javascript with jsp code please
 help
 with snippet of code...

 Deepak

 Paweł Wielgus wrote:

 Hi Deepak,
 read about validation framework in struts2 and about action messages
 which should solve your problem.

 Best greetings,
 Pawel Wielgus.

 2009/11/28, deepakl_2000 deepakl_2...@yahoo.com:

 Hi Struts Experts,

 I'm using Struts for Controller,i.e presentation tier.
 IBatis as a Persistence Framework .

 Action class -- Service class -- Ibatis .xml file -- Database(SQL
 Sever
 2000)

 I have implemented a Save operation In Service class which inserts a
 record
 in database.
 When the record is successfully inserted into database.

 I want to show a Dialog box i.e an alert box saying
 Records are Saved Successfully else an alert box Save Operation
 Unsuccessful,in case records are not saved.

 How do i implement this feature in Struts along with Ibatis Framework
 Integration
 Please help



 1 Requirement 
 ---
 Save.jsp
 --
 //do some logical operation and click on Save button
 html:submitSave/html:submit  //call to SaveAction.java depending on
 struts-config.xml (setting/declaration)


 
 SaveAction.java
 

 myService.insertData(XYZPOJO1,XYZPOJO2); //call insertData method in
 myService class
 mapping.findforward(); // i want to redirect to Save.jsp and display an
 alert button indicating records are saved or not??please help

 ---
 myService class
 ---

 insertData(...){
 sqlMap.insert(saveData1,XYZPOJO1);
 sqlMap.insert(saveData2,XYZPOJO2);
 }



 after insert operation i want to return a value determining whether
 save
 is
 successful or not?? how to proceed.


 how should this part be implemented in jsp i.e displaying an alert box
 depending on some condition.please help me (in my case return
 value)
 ???




 2 Requirement  Once i get an alert Box and i click on ok button of
 that
 alert box,i want to be re-directed to another jsp page (example:
 MainMenu.jsp)

  i.e   from SaveAction.java -- goto Save.jsp - display an alert
 accordingly and click on ok button of alert box -- re-direct to
 MainMenu.jsp


 Deepak
 --
 View this message in context:
 http://old.nabble.com/Alert-Box-issue-in-Struts-tp26545846p26545846.html
 Sent from the Struts - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org



 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org



 :confused:
 --
 View this message in context:
 http://old.nabble.com/Alert-Box-issue-in-Struts-tp26545846p26554622.html
 Sent from the Struts - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org


 
 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org
 
 
 

-- 
View this message in context: 
http://old.nabble.com/Alert-Box-issue-in-Struts-tp26545846p26560421.html
Sent from the Struts - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



validation xml file

2009-11-29 Thread Nguyen Xuan Son
Dear all
I have these in the LoginAction-validation.xml file
validators
field name=txtName
field-validator type=requiredstring
param name=trimfalse/param
messageerror/message
/field-validator
/field
 field name=txtPass
field-validator type=requiredstring
param name=trimfalse/param
messageerror/message
/field-validator
/field
/validators

but it seems that even there is a error it still continue to implement the
LoginAction.java file
what should i do if i want it stop implementing the LoginAction.java
whenever there is any error appear
thank you very much

-- 
===
Ritsumeikan University, Asia JinZai Project
Master of Information Science
Nguyen Xuan Son

Add   : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18 ShiteiHaimu
Rien, Room 103
Tel/Fax  : 81-(0)90-3976 2246
Email: nr000...@ed.ritsumei.ac.jp
Mobile   : 81-(0)90-3976 2246  URL  : http://www.ritsumei.jp
===


Re: validation xml file

2009-11-29 Thread Denis Cabasson

Do you have a result named input tied to your LoginAction? What is it?

Denis.

Nguyen Xuan Son a écrit :

Dear all
I have these in the LoginAction-validation.xml file
validators
field name=txtName
field-validator type=requiredstring
param name=trimfalse/param
messageerror/message
/field-validator
/field
 field name=txtPass
field-validator type=requiredstring
param name=trimfalse/param
messageerror/message
/field-validator
/field
/validators

but it seems that even there is a error it still continue to implement the
LoginAction.java file
what should i do if i want it stop implementing the LoginAction.java
whenever there is any error appear
thank you very much

  



-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



[Struts 2.1.8] Message properties on SUBMIT tag not working

2009-11-29 Thread Celinio Fernandes
Hi, 
I have a message properties file in my web application.
I use it for many tags such as textfield, text ...
For instance : s:textfield name=client.name  key=inscription.name 
required=true/
It works well except with the SUBMIT tag :
  s:submit name=inscription.button align=center/
  s:submit key=inscription.button align=center/

I get this error, whether i use name or key :

20:33:21,198 INFO  [BeanSelectionProvider] Loading global messages from messages
20:57:09,451 WARN  [OgnlValueStack] Error setting expression 
'inscription.button' with value '[Ljava.lang.String;@7c0c01'
ognl.OgnlException: target is null for setProperty(null, button, 
[Ljava.lang.String;@7c0c01)
    at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:2219)
    at ognl.ASTProperty.setValueBody(ASTProperty.java:127)
    at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:220)
    at ognl.SimpleNode.setValue(SimpleNode.java:301)
    at ognl.ASTChain.setValueBody(ASTChain.java:227)
    at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:220)
    at ognl.SimpleNode.setValue(SimpleNode.java:301)
    at ognl.Ognl.setValue(Ognl.java:737)
    at com.opensymphony.xwork2.ognl.OgnlUtil.setValue(OgnlUtil.java:198)
    at 
com.opensymphony.xwork2.ognl.OgnlValueStack.setValue(OgnlValueStack.java:161)
    at 
com.opensymphony.xwork2.ognl.OgnlValueStack.setValue(OgnlValueStack.java:149)
    at 
com.opensymphony.xwork2.interceptor.ParametersInterceptor.setParameters(ParametersInterceptor.java:276)
    at 
com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:187)
    at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
    at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
    at 
org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75)
    at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
    at 
org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94)
    at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
    at 
com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:165)
    at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
    at 
com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:179)
    at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
    at 
com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)
    at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
    at 
org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
    at 
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488)
    at 
org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
    at 
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
    at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
    at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
    at 
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
    at 
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
    at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
    at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
    at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
    at 

Re: excute method

2009-11-29 Thread Brian Thompson
Several people have mentioned Preparable, but TBH I'm not sure why.  The OP
is really just trying to get a Hello World Struts app working ...
something for which Preparable is irrelevant.

Wes's questions are good - I'd also like to see the Action class
declaration, the contents of the log, and the .jsp contents.

-Brian



On Fri, Nov 27, 2009 at 10:42 AM, Oscar oscar.kalde...@gmail.com wrote:

 I think that you have to implement Preparable interface, and you can't
 declare prepare() throwing an exception because that's not permitted by
 methods implementation rules (if i'm wrong tell me please).

 Wes Wannemacher escribió:

  On Fri, Nov 27, 2009 at 4:04 AM, Nguyen Xuan Son yama...@gmail.com
 wrote:


 Dear Thompson
 Here is the web.xml's content
 welcome-file-list
 welcome-fileindex.jsp/welcome-file
 /welcome-file-list
 filter
 filter-namestruts2/filter-name

 filter-classorg.apache.struts2.dispatcher.FilterDispatcher/filter-class
 /filter

 filter-mapping
 filter-namestruts2/filter-name
 url-pattern/*/url-pattern
 /filter-mapping

 I've try to use
 void prepare() throws Exception {
 System.out.println(you're now in C0002_Home page);
 }
 but it still doesnt work out
 please tell me what should i correct
 thank you very much






 Are you seeing any errors in your logs? What you have posted so far is
 technically correct... Can you also post for us the list of jars that
 you have in /WEB-INF/lib ?

 Another thing I would try is to take the 'throws Exception' off of
 your execute method declaration. I can't remember off the top of my
 head, but I don't normally declare that and it makes me wonder if it's
 taking your method out of the inheritance hierarchy... Also, can you
 post your class declaration, are you extending ActionSupport or
 implementing Action?

 -Wes




 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org




Re: validation xml file

2009-11-29 Thread Nguyen Xuan Son
I think i have it. here is the detail
action name=login class=com.baibai.action.LoginAction
result name=successC0002_Home.jsp/result
result name=inputlogin.jsp/result
/action

Here is the HTML tag for the submit button
input type=image alt=Login border=0 src=images/login_btn_arr.gif
width=26 height=26 style=cursor:hand

Please tell me what should i correct?
thank you very much

2009/11/30 Denis Cabasson denis.cabas...@gmail.com

 Do you have a result named input tied to your LoginAction? What is it?

 Denis.

 Nguyen Xuan Son a écrit :

  Dear all
 I have these in the LoginAction-validation.xml file
 validators
 field name=txtName
 field-validator type=requiredstring
 param name=trimfalse/param
 messageerror/message
 /field-validator
 /field
  field name=txtPass
 field-validator type=requiredstring
 param name=trimfalse/param
 messageerror/message
 /field-validator
 /field
 /validators

 but it seems that even there is a error it still continue to implement the
 LoginAction.java file
 what should i do if i want it stop implementing the LoginAction.java
 whenever there is any error appear
 thank you very much





 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org




-- 
===
Ritsumeikan University, Asia JinZai Project
Master of Information Science
Nguyen Xuan Son

Add   : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18 ShiteiHaimu
Rien, Room 103
Tel/Fax  : 81-(0)90-3976 2246
Email: nr000...@ed.ritsumei.ac.jp
Mobile   : 81-(0)90-3976 2246  URL  : http://www.ritsumei.jp
===


unstatable implement

2009-11-29 Thread Nguyen Xuan Son
dear all
I have the C0002_Home.jsp and sessionChk.jsp files. The C0002_Home.jsp's
source code is
s:action name=SessionCheck/s:action

the meaning of this source code is to check users session whenever they
enter the webpage
the struts.xml is structured as:
action name=SessionCheck class=com.baibai.action.SessionCheckAction
result name=inputsessionChk.jsp/result
/action
 action name=C0002_Home class=com.baibai.action.C0002_HomeAction
result name=inputC0002_Home.jsp/result
/action

the detail of the SessionCheckAction.java file is
public class SessionCheckAction extends ActionSupport{
public String execute() throws Exception {
Map ses = ActionContext.getContext().getSession();
if((ses.get(context).toString()!=)(ses.get(role).toString()==admin)){
// the user is loginned as an administrator
System.out.println(you have session);
} else {
System.out.println(you dont have session);
}
return SUCCESS;
}
}

however when i tried to enter the C0002_Home.jsp without Login
the error appears
2009/11/30 10:40:07
com.opensymphony.xwork2.util.logging.commons.CommonsLogger error
致命的: Could not execute action: /SessionCheck
java.lang.NullPointerException
at com.baibai.action.SessionCheckAction.execute(SessionCheckAction.java:10)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)

this doesnt happen if I login into the system
could you tell me where did I went wrong

-- 
===
Ritsumeikan University, Asia JinZai Project
Master of Information Science
Nguyen Xuan Son

Add   : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18 ShiteiHaimu
Rien, Room 103
Tel/Fax  : 81-(0)90-3976 2246
Email: nr000...@ed.ritsumei.ac.jp
Mobile   : 81-(0)90-3976 2246  URL  : http://www.ritsumei.jp
===


unstatable implement

2009-11-29 Thread Nguyen Xuan Son
dear all
I have the C0002_Home.jsp and sessionChk.jsp files. The C0002_Home.jsp's
source code is
s:action name=SessionCheck/s:action

the meaning of this source code is to check users session whenever they
enter the webpage
the struts.xml is structured as:
action name=SessionCheck class=com.baibai.action.SessionCheckAction
result name=inputsessionChk.jsp/result
/action
 action name=C0002_Home class=com.baibai.action.C0002_HomeAction
result name=inputC0002_Home.jsp/result
/action

the detail of the SessionCheckAction.java file is
public class SessionCheckAction extends ActionSupport{
public String execute() throws Exception {
Map ses = ActionContext.getContext().getSession();
if((ses.get(context).toString()!=)(ses.get(role).toString()==admin)){
// the user is loginned as an administrator
System.out.println(you have session);
} else {
System.out.println(you dont have session);
}
return SUCCESS;
}
}

however when i tried to enter the C0002_Home.jsp without Login
the error appears
2009/11/30 10:40:07
com.opensymphony.xwork2.util.logging.commons.CommonsLogger error
致命的: Could not execute action: /SessionCheck
java.lang.NullPointerException
at com.baibai.action.SessionCheckAction.execute(SessionCheckAction.java:10)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)

this doesnt happen if I login into the system
could you tell me where did I went wrong

-- 
===
Ritsumeikan University, Asia JinZai Project
Master of Information Science
Nguyen Xuan Son

Add   : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18 ShiteiHaimu
Rien, Room 103
Tel/Fax  : 81-(0)90-3976 2246
Email: nr000...@ed.ritsumei.ac.jp
Mobile   : 81-(0)90-3976 2246  URL  : http://www.ritsumei.jp
===


Re: unstatable implement

2009-11-29 Thread Saeed Iqbal
Whats on line 10

On Monday, November 30, 2009, Nguyen Xuan Son
nr000...@ed.ritsumei.ac.jp wrote:
 dear all
 I have the C0002_Home.jsp and sessionChk.jsp files. The C0002_Home.jsp's
 source code is
 s:action name=SessionCheck/s:action

 the meaning of this source code is to check users session whenever they
 enter the webpage
 the struts.xml is structured as:
 action name=SessionCheck class=com.baibai.action.SessionCheckAction
 result name=inputsessionChk.jsp/result
 /action
  action name=C0002_Home class=com.baibai.action.C0002_HomeAction
 result name=inputC0002_Home.jsp/result
 /action

 the detail of the SessionCheckAction.java file is
 public class SessionCheckAction extends ActionSupport{
 public String execute() throws Exception {
 Map ses = ActionContext.getContext().getSession();
 if((ses.get(context).toString()!=)(ses.get(role).toString()==admin)){
 // the user is loginned as an administrator
 System.out.println(you have session);
 } else {
 System.out.println(you dont have session);
 }
 return SUCCESS;
 }
 }

 however when i tried to enter the C0002_Home.jsp without Login
 the error appears
 2009/11/30 10:40:07
 com.opensymphony.xwork2.util.logging.commons.CommonsLogger error
 致命的: Could not execute action: /SessionCheck
 java.lang.NullPointerException
 at com.baibai.action.SessionCheckAction.execute(SessionCheckAction.java:10)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)

 this doesnt happen if I login into the system
 could you tell me where did I went wrong

 --
 ===
 Ritsumeikan University, Asia JinZai Project
 Master of Information Science
 Nguyen Xuan Son

 Add       : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18 ShiteiHaimu
 Rien, Room 103
 Tel/Fax  : 81-(0)90-3976 2246
 Email    : nr000...@ed.ritsumei.ac.jp
 Mobile   : 81-(0)90-3976 2246          URL  : http://www.ritsumei.jp
 ===


-- 
Saeed Iqbal
Independant Consultant (Freelance)
Struts - J2EE - Application Architect / Developer

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: [Struts 2.1.8] Message properties on SUBMIT tag not working

2009-11-29 Thread Denis Cabasson
You should use key to change the text outputted on the screen. You 
should use name as well to avoid the error you are seeing: the name is 
being used as the property to set on your action.


This error is actually a warning, that is not preventing anything from 
working fine in your application. It you are really worried about this 
warning, you can configure the params interceptor to ignore that 
property : see 
http://struts.apache.org/2.x/docs/parameters-interceptor.html or 
http://struts.apache.org/2.0.6/struts2-core/apidocs/com/opensymphony/xwork2/interceptor/ParametersInterceptor.html#excludeParams 



What is the generated HTML code in your second case (the one using key)?

Denis.

Celinio Fernandes a écrit :
Hi, 
I have a message properties file in my web application.

I use it for many tags such as textfield, text ...
For instance : s:textfield name=client.name  key=inscription.name 
required=true/
It works well except with the SUBMIT tag :
  s:submit name=inscription.button align=center/
  s:submit key=inscription.button align=center/

I get this error, whether i use name or key :

20:33:21,198 INFO  [BeanSelectionProvider] Loading global messages from messages
20:57:09,451 WARN  [OgnlValueStack] Error setting expression 
'inscription.button' with value '[Ljava.lang.String;@7c0c01'
ognl.OgnlException: target is null for setProperty(null, button, 
[Ljava.lang.String;@7c0c01)
at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:2219)
at ognl.ASTProperty.setValueBody(ASTProperty.java:127)
at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:220)
at ognl.SimpleNode.setValue(SimpleNode.java:301)
at ognl.ASTChain.setValueBody(ASTChain.java:227)
at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:220)
at ognl.SimpleNode.setValue(SimpleNode.java:301)
at ognl.Ognl.setValue(Ognl.java:737)
at com.opensymphony.xwork2.ognl.OgnlUtil.setValue(OgnlUtil.java:198)
at 
com.opensymphony.xwork2.ognl.OgnlValueStack.setValue(OgnlValueStack.java:161)
at 
com.opensymphony.xwork2.ognl.OgnlValueStack.setValue(OgnlValueStack.java:149)
at 
com.opensymphony.xwork2.interceptor.ParametersInterceptor.setParameters(ParametersInterceptor.java:276)
at 
com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:187)
at 
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
at 
org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
at 
org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
at 
com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:165)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
at 
com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:179)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
at 
com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)
at 
com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
at 
org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
at 
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488)
at 
org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
at 
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
at 
org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
at 

Re: unstatable implement

2009-11-29 Thread Chris Pratt
Isn't ses.get(context) going to always return null the first time thru?
  (*Chris*)

P.S.  You should look at using an Interceptor for this check. This type of
situation is exactly what they were invented for.

On Sun, Nov 29, 2009 at 5:54 PM, Nguyen Xuan Son nr000...@ed.ritsumei.ac.jp
 wrote:

 dear all
 I have the C0002_Home.jsp and sessionChk.jsp files. The C0002_Home.jsp's
 source code is
 s:action name=SessionCheck/s:action

 the meaning of this source code is to check users session whenever they
 enter the webpage
 the struts.xml is structured as:
 action name=SessionCheck class=com.baibai.action.SessionCheckAction
 result name=inputsessionChk.jsp/result
 /action
  action name=C0002_Home class=com.baibai.action.C0002_HomeAction
 result name=inputC0002_Home.jsp/result
 /action

 the detail of the SessionCheckAction.java file is
 public class SessionCheckAction extends ActionSupport{
 public String execute() throws Exception {
 Map ses = ActionContext.getContext().getSession();

 if((ses.get(context).toString()!=)(ses.get(role).toString()==admin)){
 // the user is loginned as an administrator
 System.out.println(you have session);
 } else {
 System.out.println(you dont have session);
 }
 return SUCCESS;
 }
 }

 however when i tried to enter the C0002_Home.jsp without Login
 the error appears
 2009/11/30 10:40:07
 com.opensymphony.xwork2.util.logging.commons.CommonsLogger error
 致命的: Could not execute action: /SessionCheck
 java.lang.NullPointerException
 at com.baibai.action.SessionCheckAction.execute(SessionCheckAction.java:10)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)

 this doesnt happen if I login into the system
 could you tell me where did I went wrong

 --
 ===
 Ritsumeikan University, Asia JinZai Project
 Master of Information Science
 Nguyen Xuan Son

 Add   : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18
 ShiteiHaimu
 Rien, Room 103
 Tel/Fax  : 81-(0)90-3976 2246
 Email: nr000...@ed.ritsumei.ac.jp
 Mobile   : 81-(0)90-3976 2246  URL  : http://www.ritsumei.jp
 ===



Re: unstatable implement

2009-11-29 Thread Nguyen Xuan Son
on line 10 I have
if(!ses.get(context).equals(null)!ses.get(role).equals(null)){
if(!ses.get(context).toString().isEmpty()!ses.get(role).toString().isEmpty()){

thanks for your considering

2009/11/30 Saeed Iqbal saee...@gmail.com

 Whats on line 10

 On Monday, November 30, 2009, Nguyen Xuan Son
 nr000...@ed.ritsumei.ac.jp wrote:
  dear all
  I have the C0002_Home.jsp and sessionChk.jsp files. The C0002_Home.jsp's
  source code is
  s:action name=SessionCheck/s:action
 
  the meaning of this source code is to check users session whenever they
  enter the webpage
  the struts.xml is structured as:
  action name=SessionCheck class=com.baibai.action.SessionCheckAction
  result name=inputsessionChk.jsp/result
  /action
   action name=C0002_Home class=com.baibai.action.C0002_HomeAction
  result name=inputC0002_Home.jsp/result
  /action
 
  the detail of the SessionCheckAction.java file is
  public class SessionCheckAction extends ActionSupport{
  public String execute() throws Exception {
  Map ses = ActionContext.getContext().getSession();
 
 if((ses.get(context).toString()!=)(ses.get(role).toString()==admin)){
  // the user is loginned as an administrator
  System.out.println(you have session);
  } else {
  System.out.println(you dont have session);
  }
  return SUCCESS;
  }
  }
 
  however when i tried to enter the C0002_Home.jsp without Login
  the error appears
  2009/11/30 10:40:07
  com.opensymphony.xwork2.util.logging.commons.CommonsLogger error
  致命的: Could not execute action: /SessionCheck
  java.lang.NullPointerException
  at
 com.baibai.action.SessionCheckAction.execute(SessionCheckAction.java:10)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
 
  this doesnt happen if I login into the system
  could you tell me where did I went wrong
 
  --
  ===
  Ritsumeikan University, Asia JinZai Project
  Master of Information Science
  Nguyen Xuan Son
 
  Add   : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18
 ShiteiHaimu
  Rien, Room 103
  Tel/Fax  : 81-(0)90-3976 2246
  Email: nr000...@ed.ritsumei.ac.jp
  Mobile   : 81-(0)90-3976 2246  URL  : http://www.ritsumei.jp
  ===
 

 --
 Saeed Iqbal
 Independant Consultant (Freelance)
 Struts - J2EE - Application Architect / Developer

 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org




-- 
===
Ritsumeikan University, Asia JinZai Project
Master of Information Science
Nguyen Xuan Son

Add   : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18 ShiteiHaimu
Rien, Room 103
Tel/Fax  : 81-(0)90-3976 2246
Email: nr000...@ed.ritsumei.ac.jp
Mobile   : 81-(0)90-3976 2246  URL  : http://www.ritsumei.jp
===


Re: validation xml file

2009-11-29 Thread Denis Cabasson

Everything seems to be looking good.

Is your validation xml file in the same package as your action? Are you 
using the defaultStack interceptor stack?


If you leave txtName or txtPass empty, are you still proceeding to 
C0002_Home.jsp?


Something must not be in place, because your example seems simple enough 
and definitely should be working. I tried at my place, and everything's 
working fine, so you must have some misconfiguration somewhere.


Can you share more of your code? What is your complete struts.xml?

Good luck!
Denis.

Nguyen Xuan Son a écrit :

I think i have it. here is the detail
action name=login class=com.baibai.action.LoginAction
result name=successC0002_Home.jsp/result
result name=inputlogin.jsp/result
/action

Here is the HTML tag for the submit button
input type=image alt=Login border=0 
src=images/login_btn_arr.gif width=26 height=26 style=cursor:hand


Please tell me what should i correct?
thank you very much

2009/11/30 Denis Cabasson denis.cabas...@gmail.com 
mailto:denis.cabas...@gmail.com


Do you have a result named input tied to your LoginAction? What
is it?

Denis.

Nguyen Xuan Son a écrit :

Dear all
I have these in the LoginAction-validation.xml file
validators
field name=txtName
field-validator type=requiredstring
param name=trimfalse/param
messageerror/message
/field-validator
/field
 field name=txtPass
field-validator type=requiredstring
param name=trimfalse/param
messageerror/message
/field-validator
/field
/validators

but it seems that even there is a error it still continue to
implement the
LoginAction.java file
what should i do if i want it stop implementing the
LoginAction.java
whenever there is any error appear
thank you very much

 




-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
mailto:user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
mailto:user-h...@struts.apache.org




--
===
Ritsumeikan University, Asia JinZai Project
Master of Information Science
Nguyen Xuan Son

Add   : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18 
ShiteiHaimu Rien, Room 103

Tel/Fax  : 81-(0)90-3976 2246
Email: nr000...@ed.ritsumei.ac.jp mailto:nr000...@ed.ritsumei.ac.jp
Mobile   : 81-(0)90-3976 2246  URL  : http://www.ritsumei.jp
===



-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: unstatable implement

2009-11-29 Thread Saeed Iqbal
Yes the toString of null is whats causing your error

On Monday, November 30, 2009, Nguyen Xuan Son yama...@gmail.com wrote:
 on line 10 I have
 if(!ses.get(context).equals(null)!ses.get(role).equals(null)){
 if(!ses.get(context).toString().isEmpty()!ses.get(role).toString().isEmpty()){

 thanks for your considering

 2009/11/30 Saeed Iqbal saee...@gmail.com

 Whats on line 10

 On Monday, November 30, 2009, Nguyen Xuan Son
 nr000...@ed.ritsumei.ac.jp wrote:
  dear all
  I have the C0002_Home.jsp and sessionChk.jsp files. The C0002_Home.jsp's
  source code is
  s:action name=SessionCheck/s:action
 
  the meaning of this source code is to check users session whenever they
  enter the webpage
  the struts.xml is structured as:
  action name=SessionCheck class=com.baibai.action.SessionCheckAction
  result name=inputsessionChk.jsp/result
  /action
   action name=C0002_Home class=com.baibai.action.C0002_HomeAction
  result name=inputC0002_Home.jsp/result
  /action
 
  the detail of the SessionCheckAction.java file is
  public class SessionCheckAction extends ActionSupport{
  public String execute() throws Exception {
  Map ses = ActionContext.getContext().getSession();
 
 if((ses.get(context).toString()!=)(ses.get(role).toString()==admin)){
  // the user is loginned as an administrator
  System.out.println(you have session);
  } else {
  System.out.println(you dont have session);
  }
  return SUCCESS;
  }
  }
 
  however when i tried to enter the C0002_Home.jsp without Login
  the error appears
  2009/11/30 10:40:07
  com.opensymphony.xwork2.util.logging.commons.CommonsLogger error
  致命的: Could not execute action: /SessionCheck
  java.lang.NullPointerException
  at
 com.baibai.action.SessionCheckAction.execute(SessionCheckAction.java:10)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
 
  this doesnt happen if I login into the system
  could you tell me where did I went wrong
 
  --
  ===
  Ritsumeikan University, Asia JinZai Project
  Master of Information Science
  Nguyen Xuan Son
 
  Add       : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18
 ShiteiHaimu
  Rien, Room 103
  Tel/Fax  : 81-(0)90-3976 2246
  Email    : nr000...@ed.ritsumei.ac.jp
  Mobile   : 81-(0)90-3976 2246          URL  : http://www.ritsumei.jp
  ===
 

 --
 Saeed Iqbal
 Independant Consultant (Freelance)
 Struts - J2EE - Application Architect / Developer

 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org




 --
 ===
 Ritsumeikan University, Asia JinZai Project
 Master of Information Science
 Nguyen Xuan Son

 Add       : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18 ShiteiHaimu
 Rien, Room 103
 Tel/Fax  : 81-(0)90-3976 2246
 Email    : nr000...@ed.ritsumei.ac.jp
 Mobile   : 81-(0)90-3976 2246          URL  : http://www.ritsumei.jp
 ===


-- 
Saeed Iqbal
Independant Consultant (Freelance)
Struts - J2EE - Application Architect / Developer

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: unstatable implement

2009-11-29 Thread Denis Cabasson

Obviously, if you don't have a session,

ses.get(context) will return null.

And null.toString() that's a nice NPE.

I usually use StringUtils.isNotEmpty for commons-lang : 
http://commons.apache.org/lang/api-release/org/apache/commons/lang/StringUtils.html#isNotEmpty(java.lang.String) http://commons.apache.org/lang/api-release/org/apache/commons/lang/StringUtils.html#isNotEmpty%28java.lang.String%29


Denis.


Nguyen Xuan Son a écrit :

dear all
I have the C0002_Home.jsp and sessionChk.jsp files. The C0002_Home.jsp's
source code is
s:action name=SessionCheck/s:action

the meaning of this source code is to check users session whenever they
enter the webpage
the struts.xml is structured as:
action name=SessionCheck class=com.baibai.action.SessionCheckAction
result name=inputsessionChk.jsp/result
/action
 action name=C0002_Home class=com.baibai.action.C0002_HomeAction
result name=inputC0002_Home.jsp/result
/action

the detail of the SessionCheckAction.java file is
public class SessionCheckAction extends ActionSupport{
public String execute() throws Exception {
Map ses = ActionContext.getContext().getSession();
if((ses.get(context).toString()!=)(ses.get(role).toString()==admin)){
// the user is loginned as an administrator
System.out.println(you have session);
} else {
System.out.println(you dont have session);
}
return SUCCESS;
}
}

however when i tried to enter the C0002_Home.jsp without Login
the error appears
2009/11/30 10:40:07
com.opensymphony.xwork2.util.logging.commons.CommonsLogger error
致命的: Could not execute action: /SessionCheck
java.lang.NullPointerException
at com.baibai.action.SessionCheckAction.execute(SessionCheckAction.java:10)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)

this doesnt happen if I login into the system
could you tell me where did I went wrong

  



-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: unstatable implement

2009-11-29 Thread KamHon Eng
to able to retrieve session object in Action class, there are 2 ways,
1st way is using ServletActionContext.getRequest().getSession()
it will giving u a HttpSession object.

2nd way is, your Action class implements
org.apache.struts2.interceptor.SessionAware. Please refer to JavaDoc.

For your information, Action class should not call the ActionContext.
The ActionContext normally used / called by Struts Interceptor.




On Mon, Nov 30, 2009 at 9:57 AM, Nguyen Xuan Son yama...@gmail.com wrote:
 dear all
 I have the C0002_Home.jsp and sessionChk.jsp files. The C0002_Home.jsp's
 source code is
 s:action name=SessionCheck/s:action

 the meaning of this source code is to check users session whenever they
 enter the webpage
 the struts.xml is structured as:
 action name=SessionCheck class=com.baibai.action.SessionCheckAction
 result name=inputsessionChk.jsp/result
 /action
  action name=C0002_Home class=com.baibai.action.C0002_HomeAction
 result name=inputC0002_Home.jsp/result
 /action

 the detail of the SessionCheckAction.java file is
 public class SessionCheckAction extends ActionSupport{
 public String execute() throws Exception {
 Map ses = ActionContext.getContext().getSession();
 if((ses.get(context).toString()!=)(ses.get(role).toString()==admin)){
 // the user is loginned as an administrator
 System.out.println(you have session);
 } else {
 System.out.println(you dont have session);
 }
 return SUCCESS;
 }
 }

 however when i tried to enter the C0002_Home.jsp without Login
 the error appears
 2009/11/30 10:40:07
 com.opensymphony.xwork2.util.logging.commons.CommonsLogger error
 致命的: Could not execute action: /SessionCheck
 java.lang.NullPointerException
 at com.baibai.action.SessionCheckAction.execute(SessionCheckAction.java:10)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)

 this doesnt happen if I login into the system
 could you tell me where did I went wrong

 --
 ===
 Ritsumeikan University, Asia JinZai Project
 Master of Information Science
 Nguyen Xuan Son

 Add       : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18 ShiteiHaimu
 Rien, Room 103
 Tel/Fax  : 81-(0)90-3976 2246
 Email    : nr000...@ed.ritsumei.ac.jp
 Mobile   : 81-(0)90-3976 2246          URL  : http://www.ritsumei.jp
 ===




-- 
Best Regard,

Kam Hon

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: unstatable implement

2009-11-29 Thread Chris Pratt
While you're absolutely correct that the preferred method of getting to the
session attribute map is by implementing the SessionAware interface, calling
ServletActionContext.getContext().getSession() (as Nguyen did) will give you
the Map.

And you are also correct that if you actually need to get hold of the
HttpSession object, you can call
ServletActionContext.getRequest().getSession().
  (*Chris*)

On Sun, Nov 29, 2009 at 6:48 PM, KamHon Eng kam...@gmail.com wrote:

 to able to retrieve session object in Action class, there are 2 ways,
 1st way is using ServletActionContext.getRequest().getSession()
 it will giving u a HttpSession object.

 2nd way is, your Action class implements
 org.apache.struts2.interceptor.SessionAware. Please refer to JavaDoc.

 For your information, Action class should not call the ActionContext.
 The ActionContext normally used / called by Struts Interceptor.




 On Mon, Nov 30, 2009 at 9:57 AM, Nguyen Xuan Son yama...@gmail.com
 wrote:
  dear all
  I have the C0002_Home.jsp and sessionChk.jsp files. The C0002_Home.jsp's
  source code is
  s:action name=SessionCheck/s:action
 
  the meaning of this source code is to check users session whenever they
  enter the webpage
  the struts.xml is structured as:
  action name=SessionCheck class=com.baibai.action.SessionCheckAction
  result name=inputsessionChk.jsp/result
  /action
   action name=C0002_Home class=com.baibai.action.C0002_HomeAction
  result name=inputC0002_Home.jsp/result
  /action
 
  the detail of the SessionCheckAction.java file is
  public class SessionCheckAction extends ActionSupport{
  public String execute() throws Exception {
  Map ses = ActionContext.getContext().getSession();
 
 if((ses.get(context).toString()!=)(ses.get(role).toString()==admin)){
  // the user is loginned as an administrator
  System.out.println(you have session);
  } else {
  System.out.println(you dont have session);
  }
  return SUCCESS;
  }
  }
 
  however when i tried to enter the C0002_Home.jsp without Login
  the error appears
  2009/11/30 10:40:07
  com.opensymphony.xwork2.util.logging.commons.CommonsLogger error
  致命的: Could not execute action: /SessionCheck
  java.lang.NullPointerException
  at
 com.baibai.action.SessionCheckAction.execute(SessionCheckAction.java:10)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
 
  this doesnt happen if I login into the system
  could you tell me where did I went wrong
 
  --
  ===
  Ritsumeikan University, Asia JinZai Project
  Master of Information Science
  Nguyen Xuan Son
 
  Add   : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18
 ShiteiHaimu
  Rien, Room 103
  Tel/Fax  : 81-(0)90-3976 2246
  Email: nr000...@ed.ritsumei.ac.jp
  Mobile   : 81-(0)90-3976 2246  URL  : http://www.ritsumei.jp
  ===
 



 --
 Best Regard,

 Kam Hon

 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org




Re: validation xml file

2009-11-29 Thread Nguyen Xuan Son
Dear denis
i've attached the struts.xml file with this email
the problem is when i dont input any information
the system doesnt stop immediatly at LoginAction-validation.xml file but
also implement LoginAction.java file
thus the system check everything even it is not necessary
it might make the system slower

thank you very much

2009/11/30 Denis Cabasson denis.cabas...@gmail.com

 Everything seems to be looking good.

 Is your validation xml file in the same package as your action? Are you
 using the defaultStack interceptor stack?

 If you leave txtName or txtPass empty, are you still proceeding to
 C0002_Home.jsp?

 Something must not be in place, because your example seems simple enough
 and definitely should be working. I tried at my place, and everything's
 working fine, so you must have some misconfiguration somewhere.

 Can you share more of your code? What is your complete struts.xml?

 Good luck!

 Denis.

 Nguyen Xuan Son a écrit :

 I think i have it. here is the detail

 action name=login class=com.baibai.action.LoginAction
 result name=successC0002_Home.jsp/result
 result name=inputlogin.jsp/result
 /action

 Here is the HTML tag for the submit button
 input type=image alt=Login border=0 src=images/login_btn_arr.gif
 width=26 height=26 style=cursor:hand

 Please tell me what should i correct?
 thank you very much

 2009/11/30 Denis Cabasson denis.cabas...@gmail.com mailto:
 denis.cabas...@gmail.com


Do you have a result named input tied to your LoginAction? What
is it?

Denis.

Nguyen Xuan Son a écrit :

Dear all
I have these in the LoginAction-validation.xml file
validators
field name=txtName
field-validator type=requiredstring
param name=trimfalse/param
messageerror/message
/field-validator
/field
 field name=txtPass
field-validator type=requiredstring
param name=trimfalse/param
messageerror/message
/field-validator
/field
/validators

but it seems that even there is a error it still continue to
implement the
LoginAction.java file
what should i do if i want it stop implementing the
LoginAction.java
whenever there is any error appear
thank you very much




-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
mailto:user-unsubscr...@struts.apache.org

For additional commands, e-mail: user-h...@struts.apache.org
mailto:user-h...@struts.apache.org





 --
 ===
 Ritsumeikan University, Asia JinZai Project
 Master of Information Science
 Nguyen Xuan Son

 Add   : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18
 ShiteiHaimu Rien, Room 103
 Tel/Fax  : 81-(0)90-3976 2246
 Email: nr000...@ed.ritsumei.ac.jp mailto:nr000...@ed.ritsumei.ac.jp

 Mobile   : 81-(0)90-3976 2246  URL  : http://www.ritsumei.jp
 ===



 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org




-- 
===
Ritsumeikan University, Asia JinZai Project
Master of Information Science
Nguyen Xuan Son

Add   : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18 ShiteiHaimu
Rien, Room 103
Tel/Fax  : 81-(0)90-3976 2246
Email: nr000...@ed.ritsumei.ac.jp
Mobile   : 81-(0)90-3976 2246  URL  : http://www.ritsumei.jp
===
?xml version=1.0 encoding=UTF-8 ?
!DOCTYPE struts PUBLIC
-//Apache Software Foundation//DTD Struts Configuration 2.0//EN
http://struts.apache.org/dtds/struts-2.0.dtd;
struts
	package name=struts2 extends=struts-default
		action name=login class=com.baibai.action.LoginAction
			result name=successC0002_Home.jsp/result
			result name=inputlogin.jsp/result
		/action
		
		action name=logout class=com.baibai.action.LogoutAction
			result name=successlogin.jsp/result
			result name=inputlogout.jsp/result
		/action
		
		action name=SessionCheck class=com.baibai.action.SessionCheckAction
			result name=inputsessionChk.jsp/result
		/action
		
		action name=C0002_Home class=com.baibai.action.C0002_HomeAction
			result name=inputC0002_Home.jsp/result
		/action
		
		action name=C0003_ChangePassword class=com.baibai.action.C0003_ChangePasswordAction
			result name=successC0002_Home.jsp/result
			result name=inputC0003_ChangePassword.jsp/result
		/action
	/package

/struts
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

password encrypted

2009-11-29 Thread Nguyen Xuan Son
Dear all
i would like to encrypted the password into sha1 code
although I tried to search whether is there any class that I can simply use
as i did in PHP (just simply use the method sha1(string)) but failed
do you have any suggestion?

thank you very much

-- 
===
Ritsumeikan University, Asia JinZai Project
Master of Information Science
Nguyen Xuan Son

Add   : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18 ShiteiHaimu
Rien, Room 103
Tel/Fax  : 81-(0)90-3976 2246
Email: nr000...@ed.ritsumei.ac.jp
Mobile   : 81-(0)90-3976 2246  URL  : http://www.ritsumei.jp
===


Re: password encrypted

2009-11-29 Thread Saeed Iqbal
Are you using Spring Security? Its very simple then.

On Mon, Nov 30, 2009 at 9:34 AM, Nguyen Xuan Son yama...@gmail.com wrote:

 Dear all
 i would like to encrypted the password into sha1 code
 although I tried to search whether is there any class that I can simply use
 as i did in PHP (just simply use the method sha1(string)) but failed
 do you have any suggestion?

 thank you very much

 --
 ===
 Ritsumeikan University, Asia JinZai Project
 Master of Information Science
 Nguyen Xuan Son

 Add   : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18
 ShiteiHaimu
 Rien, Room 103
 Tel/Fax  : 81-(0)90-3976 2246
 Email: nr000...@ed.ritsumei.ac.jp
 Mobile   : 81-(0)90-3976 2246  URL  : http://www.ritsumei.jp
 ===




-- 
Saeed Iqbal
Independant Consultant (Freelance)
Struts - J2EE - Application Architect / Developer


Re: password encrypted

2009-11-29 Thread Chris Pratt
java.security.MessageDigest
  (*Chris*)

On Sun, Nov 29, 2009 at 8:34 PM, Nguyen Xuan Son yama...@gmail.com wrote:

 Dear all
 i would like to encrypted the password into sha1 code
 although I tried to search whether is there any class that I can simply use
 as i did in PHP (just simply use the method sha1(string)) but failed
 do you have any suggestion?

 thank you very much

 --
 ===
 Ritsumeikan University, Asia JinZai Project
 Master of Information Science
 Nguyen Xuan Son

 Add   : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18
 ShiteiHaimu
 Rien, Room 103
 Tel/Fax  : 81-(0)90-3976 2246
 Email: nr000...@ed.ritsumei.ac.jp
 Mobile   : 81-(0)90-3976 2246  URL  : http://www.ritsumei.jp
 ===



Re: password encrypted

2009-11-29 Thread Nguyen Xuan Son
Dear Chris
after I encrypted the password into sha1 code
with the string 123456 i got the
result: 124-74-141-9-202-55-98-175-97-229-149-32-148-61-194-100-148-248-148-27
but it looks different from what i've made by using PHP method:
?2S?j?k?-Jo?=????A??J??v!??3?Hm?F?????^???y~???Td
is there any problem

2009/11/30 Chris Pratt thechrispr...@gmail.com

 java.security.MessageDigest
   (*Chris*)

 On Sun, Nov 29, 2009 at 8:34 PM, Nguyen Xuan Son yama...@gmail.com
 wrote:

  Dear all
  i would like to encrypted the password into sha1 code
  although I tried to search whether is there any class that I can simply
 use
  as i did in PHP (just simply use the method sha1(string)) but failed
  do you have any suggestion?
 
  thank you very much
 
  --
  ===
  Ritsumeikan University, Asia JinZai Project
  Master of Information Science
  Nguyen Xuan Son
 
  Add   : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18
  ShiteiHaimu
  Rien, Room 103
  Tel/Fax  : 81-(0)90-3976 2246
  Email: nr000...@ed.ritsumei.ac.jp
  Mobile   : 81-(0)90-3976 2246  URL  : http://www.ritsumei.jp
  ===
 




-- 
===
Ritsumeikan University, Asia JinZai Project
Master of Information Science
Nguyen Xuan Son

Add   : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18 ShiteiHaimu
Rien, Room 103
Tel/Fax  : 81-(0)90-3976 2246
Email: nr000...@ed.ritsumei.ac.jp
Mobile   : 81-(0)90-3976 2246  URL  : http://www.ritsumei.jp
===


Re: password encrypted

2009-11-29 Thread Chris Pratt
The PHP appears to be encoded somehow, whereas the Java is a pure number.
Looks like you have a bit of research ahead.
  (*Chris*)

On Sun, Nov 29, 2009 at 9:01 PM, Nguyen Xuan Son yama...@gmail.com wrote:

 Dear Chris
 after I encrypted the password into sha1 code
 with the string 123456 i got the
 result:
 124-74-141-9-202-55-98-175-97-229-149-32-148-61-194-100-148-248-148-27
 but it looks different from what i've made by using PHP method:
 ?2S?j?k?-Jo?=? ???A?? J??v!??3?Hm?F?? ?? ?^??? y~??? Td
 is there any problem

 2009/11/30 Chris Pratt thechrispr...@gmail.com

  java.security.MessageDigest
(*Chris*)
 
  On Sun, Nov 29, 2009 at 8:34 PM, Nguyen Xuan Son yama...@gmail.com
  wrote:
 
   Dear all
   i would like to encrypted the password into sha1 code
   although I tried to search whether is there any class that I can simply
  use
   as i did in PHP (just simply use the method sha1(string)) but failed
   do you have any suggestion?
  
   thank you very much
  
   --
   ===
   Ritsumeikan University, Asia JinZai Project
   Master of Information Science
   Nguyen Xuan Son
  
   Add   : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18
   ShiteiHaimu
   Rien, Room 103
   Tel/Fax  : 81-(0)90-3976 2246
   Email: nr000...@ed.ritsumei.ac.jp
   Mobile   : 81-(0)90-3976 2246  URL  : http://www.ritsumei.jp
   ===
  
 



 --
 ===
 Ritsumeikan University, Asia JinZai Project
 Master of Information Science
 Nguyen Xuan Son

 Add   : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18
 ShiteiHaimu
 Rien, Room 103
 Tel/Fax  : 81-(0)90-3976 2246
 Email: nr000...@ed.ritsumei.ac.jp
 Mobile   : 81-(0)90-3976 2246  URL  : http://www.ritsumei.jp
 ===



redirect command

2009-11-29 Thread Nguyen Xuan Son
dear all
here i've the detail of struts file
action name=SessionCheck class=com.baibai.action.SessionCheckAction
result name=inputsessionChk.jsp/result
/action

and in the SessionCheckAction.java file i have
public class SessionCheckAction extends ActionSupport{
public String execute() throws Exception {
Map ses = ActionContext.getContext().getSession();
 // check where the the session is null or empty string
if(StringUtils.isNotEmpty((String)
ses.get(context))StringUtils.isNotEmpty((String) ses.get(role))){
if(ses.get(context).toString().isEmpty()||!ses.get(role).toString().equals(admin)){
// the user is loginned as an administrator
 }
} else {
// the user have not been loggined in or user's role is not an administrator
 }
 return SUCCESS;
}
}
in both case, i want to redirect to login.jsp page
i've tried with the struts.xml file but failed
do you have any suggestion,
thank you very much

-- 
===
Ritsumeikan University, Asia JinZai Project
Master of Information Science
Nguyen Xuan Son

Add   : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18 ShiteiHaimu
Rien, Room 103
Tel/Fax  : 81-(0)90-3976 2246
Email: nr000...@ed.ritsumei.ac.jp
Mobile   : 81-(0)90-3976 2246  URL  : http://www.ritsumei.jp
===


Re: redirect command

2009-11-29 Thread Saeed Iqbal
Just have redirect near result name=

On Monday, November 30, 2009, Nguyen Xuan Son yama...@gmail.com wrote:
 dear all
 here i've the detail of struts file
 action name=SessionCheck class=com.baibai.action.SessionCheckAction
 result name=inputsessionChk.jsp/result
 /action

 and in the SessionCheckAction.java file i have
 public class SessionCheckAction extends ActionSupport{
 public String execute() throws Exception {
 Map ses = ActionContext.getContext().getSession();
  // check where the the session is null or empty string
 if(StringUtils.isNotEmpty((String)
 ses.get(context))StringUtils.isNotEmpty((String) ses.get(role))){
 if(ses.get(context).toString().isEmpty()||!ses.get(role).toString().equals(admin)){
 // the user is loginned as an administrator
  }
 } else {
 // the user have not been loggined in or user's role is not an administrator
  }
  return SUCCESS;
 }
 }
 in both case, i want to redirect to login.jsp page
 i've tried with the struts.xml file but failed
 do you have any suggestion,
 thank you very much

 --
 ===
 Ritsumeikan University, Asia JinZai Project
 Master of Information Science
 Nguyen Xuan Son

 Add       : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18 ShiteiHaimu
 Rien, Room 103
 Tel/Fax  : 81-(0)90-3976 2246
 Email    : nr000...@ed.ritsumei.ac.jp
 Mobile   : 81-(0)90-3976 2246          URL  : http://www.ritsumei.jp
 ===


-- 
Saeed Iqbal
Independant Consultant (Freelance)
Struts - J2EE - Application Architect / Developer

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: redirect command

2009-11-29 Thread Saeed Iqbal
type=redirect

On Monday, November 30, 2009, Saeed Iqbal saee...@gmail.com wrote:
 Just have redirect near result name=

 On Monday, November 30, 2009, Nguyen Xuan Son yama...@gmail.com wrote:
 dear all
 here i've the detail of struts file
 action name=SessionCheck class=com.baibai.action.SessionCheckAction
 result name=inputsessionChk.jsp/result
 /action

 and in the SessionCheckAction.java file i have
 public class SessionCheckAction extends ActionSupport{
 public String execute() throws Exception {
 Map ses = ActionContext.getContext().getSession();
  // check where the the session is null or empty string
 if(StringUtils.isNotEmpty((String)
 ses.get(context))StringUtils.isNotEmpty((String) ses.get(role))){
 if(ses.get(context).toString().isEmpty()||!ses.get(role).toString().equals(admin)){
 // the user is loginned as an administrator
  }
 } else {
 // the user have not been loggined in or user's role is not an administrator
  }
  return SUCCESS;
 }
 }
 in both case, i want to redirect to login.jsp page
 i've tried with the struts.xml file but failed
 do you have any suggestion,
 thank you very much

 --
 ===
 Ritsumeikan University, Asia JinZai Project
 Master of Information Science
 Nguyen Xuan Son

 Add       : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18 ShiteiHaimu
 Rien, Room 103
 Tel/Fax  : 81-(0)90-3976 2246
 Email    : nr000...@ed.ritsumei.ac.jp
 Mobile   : 81-(0)90-3976 2246          URL  : http://www.ritsumei.jp
 ===


 --
 Saeed Iqbal
 Independant Consultant (Freelance)
 Struts - J2EE - Application Architect / Developer


-- 
Saeed Iqbal
Independant Consultant (Freelance)
Struts - J2EE - Application Architect / Developer

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: redirect command

2009-11-29 Thread Nguyen Xuan Son
Dear
I've tried
action name=SessionCheck class=com.baibai.action.SessionCheckAction
result type=redirect name=inputlogin.jsp/result
/action

but nothing happen, it seems that even if i fall into the irrelevant
situation
it doesnt not redirect to the login.jsp page
thank you very much

2009/11/30 Saeed Iqbal saee...@gmail.com

 type=redirect

 On Monday, November 30, 2009, Saeed Iqbal saee...@gmail.com wrote:
  Just have redirect near result name=
 
  On Monday, November 30, 2009, Nguyen Xuan Son yama...@gmail.com wrote:
  dear all
  here i've the detail of struts file
  action name=SessionCheck
 class=com.baibai.action.SessionCheckAction
  result name=inputsessionChk.jsp/result
  /action
 
  and in the SessionCheckAction.java file i have
  public class SessionCheckAction extends ActionSupport{
  public String execute() throws Exception {
  Map ses = ActionContext.getContext().getSession();
   // check where the the session is null or empty string
  if(StringUtils.isNotEmpty((String)
  ses.get(context))StringUtils.isNotEmpty((String) ses.get(role))){
 
 if(ses.get(context).toString().isEmpty()||!ses.get(role).toString().equals(admin)){
  // the user is loginned as an administrator
   }
  } else {
  // the user have not been loggined in or user's role is not an
 administrator
   }
   return SUCCESS;
  }
  }
  in both case, i want to redirect to login.jsp page
  i've tried with the struts.xml file but failed
  do you have any suggestion,
  thank you very much
 
  --
  ===
  Ritsumeikan University, Asia JinZai Project
  Master of Information Science
  Nguyen Xuan Son
 
  Add   : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18
 ShiteiHaimu
  Rien, Room 103
  Tel/Fax  : 81-(0)90-3976 2246
  Email: nr000...@ed.ritsumei.ac.jp
  Mobile   : 81-(0)90-3976 2246  URL  : http://www.ritsumei.jp
  ===
 
 
  --
  Saeed Iqbal
  Independant Consultant (Freelance)
  Struts - J2EE - Application Architect / Developer
 

 --
 Saeed Iqbal
 Independant Consultant (Freelance)
 Struts - J2EE - Application Architect / Developer

 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org




-- 
===
Ritsumeikan University, Asia JinZai Project
Master of Information Science
Nguyen Xuan Son

Add   : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18 ShiteiHaimu
Rien, Room 103
Tel/Fax  : 81-(0)90-3976 2246
Email: nr000...@ed.ritsumei.ac.jp
Mobile   : 81-(0)90-3976 2246  URL  : http://www.ritsumei.jp
===


Re: redirect command

2009-11-29 Thread Chris Pratt
if you are returning success (or SUCCESS), then you need to define result
type=redirect name=successlogin.jsp/result (or, since it's the
default you could just define result type=redirectlogin.jsp/result).
What you defined will only work if you return input (or INPUT) from your
execute or if you action is returning from the input() method.
  (*Chris*)

On Sun, Nov 29, 2009 at 11:05 PM, Nguyen Xuan Son yama...@gmail.com wrote:

 Dear
 I've tried
 action name=SessionCheck class=com.baibai.action.SessionCheckAction
 result type=redirect name=inputlogin.jsp/result
 /action

 but nothing happen, it seems that even if i fall into the irrelevant
 situation
 it doesnt not redirect to the login.jsp page
 thank you very much

 2009/11/30 Saeed Iqbal saee...@gmail.com

  type=redirect
 
  On Monday, November 30, 2009, Saeed Iqbal saee...@gmail.com wrote:
   Just have redirect near result name=
  
   On Monday, November 30, 2009, Nguyen Xuan Son yama...@gmail.com
 wrote:
   dear all
   here i've the detail of struts file
   action name=SessionCheck
  class=com.baibai.action.SessionCheckAction
   result name=inputsessionChk.jsp/result
   /action
  
   and in the SessionCheckAction.java file i have
   public class SessionCheckAction extends ActionSupport{
   public String execute() throws Exception {
   Map ses = ActionContext.getContext().getSession();
// check where the the session is null or empty string
   if(StringUtils.isNotEmpty((String)
   ses.get(context))StringUtils.isNotEmpty((String)
 ses.get(role))){
  
 
 if(ses.get(context).toString().isEmpty()||!ses.get(role).toString().equals(admin)){
   // the user is loginned as an administrator
}
   } else {
   // the user have not been loggined in or user's role is not an
  administrator
}
return SUCCESS;
   }
   }
   in both case, i want to redirect to login.jsp page
   i've tried with the struts.xml file but failed
   do you have any suggestion,
   thank you very much
  
   --
  
 ===
   Ritsumeikan University, Asia JinZai Project
   Master of Information Science
   Nguyen Xuan Son
  
   Add   : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18
  ShiteiHaimu
   Rien, Room 103
   Tel/Fax  : 81-(0)90-3976 2246
   Email: nr000...@ed.ritsumei.ac.jp
   Mobile   : 81-(0)90-3976 2246  URL  : http://www.ritsumei.jp
  
 ===
  
  
   --
   Saeed Iqbal
   Independant Consultant (Freelance)
   Struts - J2EE - Application Architect / Developer
  
 
  --
  Saeed Iqbal
  Independant Consultant (Freelance)
  Struts - J2EE - Application Architect / Developer
 
  -
  To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
  For additional commands, e-mail: user-h...@struts.apache.org
 
 


 --
 ===
 Ritsumeikan University, Asia JinZai Project
 Master of Information Science
 Nguyen Xuan Son

 Add   : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18
 ShiteiHaimu
 Rien, Room 103
 Tel/Fax  : 81-(0)90-3976 2246
 Email: nr000...@ed.ritsumei.ac.jp
 Mobile   : 81-(0)90-3976 2246  URL  : http://www.ritsumei.jp
 ===