Migration from Struts1 to Struts2.1.6 - Plugin in Application Starup

2010-01-17 Thread Raghuveer
I need to migrate an application from struts1 to struts2.1.6. I had a plug-in configurations existing in Strut1 application related to SAP connection pool creation(CCreateSAPConnectionPlugin.java as shown below implementing org.apache.struts.action.PlugIn).This will create a SAP connection pool wi

RE: How to convert request parameters into Collection type - Set

2010-01-20 Thread Raghuveer
Try as below. Regards, Raghuveer Vellanki -Original Message- From: Mittal, Nitin (US - Mumbai) [mailto:nimit...@deloitte.com] Sent: Wednesday, January 20, 2010 10:54 PM To: Struts Users Mailing List Subject: RE: How to convert request parameters into Collection type

RE: [Struts 2] OGNL debug console not working

2010-01-20 Thread Raghuveer
That would work only when you enable it in configuration Either in struts.properties or struts.xml Example: in struts.properties set devmode to true.. struts.devMode=true -Original Message- From: Celinio Fernandes [mailto:cel...@yahoo.com] Sent: Wednesday, January 20, 2010 7:41 PM To: St

RE: validation in struts2

2010-01-20 Thread Raghuveer
Your XML file needs to be renamed as,LoginAction-validation.xml -Original Message- From: Gabriel Belingueres [mailto:belingue...@gmail.com] Sent: Wednesday, January 20, 2010 8:43 PM To: Struts Users Mailing List Subject: Re: validation in struts2 the form tag is wrong? try: 2010/1/19

RE: Hiding URL in struts1.2

2010-01-20 Thread Raghuveer
Could you elaborate your requirement? URL will be changed when you use showHome -Original Message- From: Brian Thompson [mailto:elephant...@gmail.com] Sent: Wednesday, January 20, 2010 9:13 PM To: Struts Users Mailing List Subject: Re: Hiding URL in

RE: Struts 2, Log4J and turning off WARNING messages

2010-03-05 Thread Raghuveer
1. Place log4j.properties in WEB-INF\classes 2. Set log4j.logger.org.apache.struts2=warn, struts in log4j.properties. Raghuveer -Original Message- From: carl ballantyne [mailto:carl.ballant...@cast-info.es] Sent: Wednesday, March 03, 2010 6:25 PM To: Struts Users Mailing List Subject

FW: Struts 2, Log4J and turning off WARNING messages

2010-03-05 Thread Raghuveer
1. Place log4j.properties in WEB-INF\classes 2. Set log4j.logger.org.apache.struts2=warn, struts in log4j.properties. Raghuveer -Original Message- From: carl ballantyne [mailto:carl.ballant...@cast-info.es] Sent: Wednesday, March 03, 2010 6:25 PM To: Struts Users Mailing List Subject

struts + oracle+ hibernate

2006-02-01 Thread Raghuveer
hi, Could you help me for Data insertion into Oracle daabase. I have Table item in scott/tiger database. With below coe i could retrive data. But when i save NEW data ,I could not save to my oracle database table. Experts help !! --- Oracle Database table ---

validator frame work for struts Action Errors

2006-02-19 Thread Raghuveer
Is it possaible to use Validator framework for Struts Action Errors. My requirement is to validate my JSP page with Action Errors . I have 10 fields in my JSP page. Once the user enters some fields and submit the page , My ActionForm need to validate the fields and if any errors in JSP,i need to s

JavaT Application Verification Kit (AVK) : test results

2006-03-06 Thread Raghuveer
I am new to Using AVK for my JSP web Application. My Environment: jdk1.4 Struts 1.2 hibernate3 OC4J 10g (9.0.4) SQL server2000 LDAP Plum tree portal. I am new to using AVK. I need to generate AVK test results for my Customer requirement. Where Can i get information ? Struts Experts please shar

User metrics

2006-03-09 Thread Raghuveer
How to Catch ,how much time the user spent time in each JSP Page in my JSP web Application - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Actionform validate method

2006-03-21 Thread Raghuveer
e such issue in struts1.2.8 version. --- - Raghuveer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Struts + AVK

2006-03-23 Thread Raghuveer
Can anyone give more information on AVK tests for my struts application - Raghuveer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

focus in html object

2006-03-24 Thread Raghuveer
In my log screen i have 2 text boxes to input user login user id and password. Initiall when page loads i am focusing on username by focus attribute in form tag. If there is an error in password , i display Struts Action Error as "password is required." What i need to do to focus the cursor on

RE: focus in html object with style change

2006-03-27 Thread Raghuveer
Mailing List; [EMAIL PROTECTED] Subject: Re: focus in html object On 3/24/06, Raghuveer <[EMAIL PROTECTED]> wrote: > > In my log screen i have 2 text boxes to input user login user id and > password. > Initiall when page loads i am focusing on username by focus attribute in > fo

Struts tiles layout performance

2006-04-06 Thread Raghuveer
In our Web application we are using struts,JSP for plumtree web application. Does there will be any performance issue using Tiles if i migrate from present normal layout to struts tiles layout . - To unsubscribe, e-mail: [

RE: Struts tiles layout performance

2006-04-07 Thread Raghuveer
07, 2006 12:45 PM To: Struts Users Mailing List Subject: Re: Struts tiles layout performance Raghuveer ha scritto: > In our Web application we are using struts,JSP for plumtree web application. > > Does there will be any performance issue using Tiles if i migrate from > present no

Struts tiles layout by tiles-config

2006-04-10 Thread Raghuveer
Is there facility to restrict some tile in my base configration. Example In "page.error" how to use only header part of my base configration. - tiles-config xml file

variable in one tile to another

2006-04-10 Thread Raghuveer
Is there a facility to get a variable in one tile from another tile in Struts Tiles - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: variable in one tile to another

2006-04-11 Thread Raghuveer
ne tile to another On Apr 11, 2006, at 1:43 AM, Raghuveer wrote: > Is there a facility to get a variable in one tile from another tile in > Struts Tiles Sorry, I'm strapped for time, but I'll try to answer. If you mean an attribute that is part of a Tiles definition then the only

RE: jsp:include or tile

2006-04-11 Thread Raghuveer
hi Greg, How about performance issue if we go for tiles for application that has 50 jsp's and that works 24 X 7 with minimum 4 users hitting site at same time ? -Original Message- From: Greg Reddin [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 11, 2006 9:20 PM To: Struts Users Mailing Li

log 4 j error in struts 1.2.8

2006-04-19 Thread Raghuveer
I am using struts1.2.8 with hibernate 3. I am getting below error. Is there any solution for this problem ? private DailyRollingFileAppender cAeroAppender; java.util.Calendar cal=java.util.Calendar.getInstance(); // getting calendar inst

RE: log 4 j error in struts 1.2.8

2006-04-19 Thread Raghuveer
tAbsolutePath()); s_logger.warn("Error while reading logger property "+file+"! Using defaults.."); PropertyConfigurator.configure(getDefaultLoggerProperties()); } } and use logger = Logger.getLogger(cal.getClass()); http://a

Validations from Nested Tags Data

2006-04-24 Thread Raghuveer
What are the possiable ways to Validate the data in Actionform/DynaValidatorForm. In below example. txtCompany is the property in javabean(cBean). In a collection(arlCollectionBeans) each row is a javabean(cBean). Data is displayed by Nested Tags as below. Example: I want to validate for "manda

Actionform Vs Value Object

2006-04-25 Thread Raghuveer
Is Actionform a value Object in Struts. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tiles and .inc file

2006-04-25 Thread Raghuveer
In my web application.I have struts tiles layout which include header,body,footer. In my hader.jsp i have a <[EMAIL PROTECTED] file="test.inc"%> In test.inc file i have variable strUserLoginID. How to make variable value available to all jsp's in Tiles Layout ? --

Role based Tiles

2006-04-25 Thread Raghuveer
In my web application i have 2 roles. For each role there should be different header and footer. How to implement this in struts tiles ? I am using struts 1.2.8 - Raghu - To unsubscribe,

RE: Role based Tiles

2006-04-25 Thread Raghuveer
lement. Another way of controlling what appears is using the role attribute on tiles:put tag. -Original Message- From: Raghuveer [mailto:[EMAIL PROTECTED] Sent: terça-feira, 25 de Abril de 2006 11:44 To: user@struts.apache.org Subject: Role based Tiles In my web application i have 2 roles

validator error for struts1.2.8

2006-04-26 Thread Raghuveer
I am getting below error when started implementing validaor framework Servlet error: Cannot load a validator resource from '/WEB-INF/validator-rules.xml I'm running Struts Version 1.2.8. I am using ValidatorForm public class CLoginVO extends ValidatorForm{ - http://jakarta.apache.or

RE: validator error for struts1.2.8

2006-04-26 Thread Raghuveer
and using that. Harsh. -Original Message- From: Raghuveer [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 26, 2006 10:11 AM To: user@struts.apache.org Subject: validator error for struts1.2.8 I am getting below error when started implementing validaor framework Servlet error: Cannot load

RE: validator error for struts1.2.8

2006-04-26 Thread Raghuveer
r J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableRe sourcePooledExecutor.java:186) at java.lang.Thread.run(Unknown Source) -Original Message----- From: Raghuveer [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 26, 2006 8:55 PM To: 'Chaudhary,

RE: validator error for struts1.2.8

2006-04-26 Thread Raghuveer
It is working for validator_1_0.dtd http://jakarta.apache.org/commons/dtds/validator_1_0.dtd";> But struts-1.2.8-bin.zip suggests to use validator_1_1_3.dtd Experts please suggest to move further ! -Original Message- From: Raghuveer [mailto:[EMAIL PROTECTED] Sent: W

validator framework - With Nested tags

2006-05-01 Thread Raghuveer
Is it possiable to validate my form which is generated by Nested tags. Example: I have 10 records(beans) in Vector in my struts actionform. Each bean has employee ID and Name. Is it possiable to use the validator framework against employee ID and Name to test for required,maxlength..etc --

FW: Session Id for the HTTP Session in Struts application

2006-05-01 Thread Raghuveer
-Original Message- From: Raghuveer [mailto:[EMAIL PROTECTED] Sent: Monday, May 01, 2006 12:40 PM To: 'Struts Users Mailing List' Subject: Session Id for the HTTP Session in Struts application In my web application when accessing few pages i need to get session id. I need to

FW: validator framework - With Nested tags

2006-05-01 Thread Raghuveer
-Original Message- From: Raghuveer [mailto:[EMAIL PROTECTED] Sent: Monday, May 01, 2006 12:45 PM To: 'Struts Users Mailing List' Subject: validator framework - With Nested tags Is it possiable to validate my form which is generated by Nested tags. Example: I have 10 records

html:text attributes

2006-05-05 Thread Raghuveer
Could any one give info how the below attributes can be used in - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Marking fields with background colour having errors

2006-05-05 Thread Raghuveer
Hi, Does struts has any facility to show fields having validation error in red color or mark it in some way? Not the error messages Could any one suggest using 'errorKey' 'errorStyle' 'errorStyleClass' and 'errorStyleId' attributes. ---

RE: html:text attributes for nested tags

2006-05-05 Thread Raghuveer
It is working like this for scalar properties but doesn't work for nested tags -Original Message- From: Raghuveer [mailto:[EMAIL PROTECTED] Sent: Friday, May 05, 2006 6:10 PM To: 'user@struts.apache.org' Subject: html:text attributes Could any one give info how the b

Marking fields with background colour having errors for nested tags

2006-05-08 Thread Raghuveer
Is it possiable in struts to show a label in different colours. I.e Identfying label and showing in different color if the related html object is having any errors In below example i need to show label User Name in red color if there is any data error in Nested tag --

RE: Marking fields with background colour having errors for nested tags

2006-05-08 Thread Raghuveer
Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Marking fields with background colour having errors for nested tags On 5/8/06, Raghuveer <[EMAIL PROTECTED]> wrote: > > Is it possiable in struts to show a label in different colours. > I.e Identfying label and showing in d

RE: Marking fields with background colour having errors for nested tags

2006-05-08 Thread Raghuveer
Niall Thanks for support I got by using " * * -Original Message- From: Raghuveer [mailto:[EMAIL PROTECTED] Sent: Monday, May 08, 2006 6:13 PM To: 'Niall Pemberton'; 'Struts Users Mailing List' Subject: RE: Marking fields with background colour having errors

object modify in collection index

2006-05-18 Thread Raghuveer
I have 5 objects(java beans) in Collection. I need retrive object from index 3 in collection modify it and add to same index. What is best collection for this requirement. At present i tried this with arraylist. But in addition to object with 3 rd index modified i am getting one more object adde

RE: object modify in collection index

2006-05-18 Thread Raghuveer
Yes, i have modified like this.It is working and giving me the result properly. ((TestObject)arlCollection .get(3)).setPart(strPart); Is this correct ? -Original Message- From: Pradyumna kumar, Jena (J.) [mailto:[EMAIL PROTECTED] Sent: Thursday, May 18, 2006 2:57 PM To: Struts Users Mai

Disabling Other buttons

2006-05-18 Thread Raghuveer
In my struts application I have 10 buttons(html:link with images) in each screen. In some scenerios 2 more buttons(NEXT,PREVIOUS) are visiable. In this situation how can this be done in struts ? Example if(){ } . . . a href="javascript:fnTest10()">

Nested tags Error handling

2006-05-22 Thread Raghuveer
I am using nested tags in in my JSP web application. When session expired my application is navigated to login page with message "session expired" . This is working perfectly for all modules that used logic iterate and html tags. But for modules that were used nested tags , i am getting below erro

user@struts.apache.org

2006-05-22 Thread Raghuveer
Is it possiable to have the image instead of "Browse" button in file object ? Example : src../images/b_upload.gif" rendered code in jsp - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

More then 1 Action Forms in JSP

2006-05-24 Thread Raghuveer
I have 10 JSP's and used 10 Action forms,10 action classes(dispatch action and action) with 10 Action Mappings in Struts-config.xml. I have 1 common functionality where if user clicks HELP button in any screen i need to get documennt stored in database and show to user. Question1) Is it possiab

RE: More then 1 Action Forms in JSP

2006-05-25 Thread Raghuveer
ferent actions. You just need 2 different forms pointing to different actions. I would implement an action like DispatchAction and determine programatically which action to forward the user to. This also helps if I need to change the design in the future. Harsh. -Original Message- From: Rag

RE: More then 1 Action Forms in JSP

2006-05-25 Thread Raghuveer
t request parameter (likely on the querystring). On 5/25/06, Raghuveer <[EMAIL PROTECTED]> wrote: I have 10 JSP's and used 10 Action forms,10 action classes(dispatch action and action) with 10 Action Mappings in Struts-config.xml. I have 1 common functionality where

paging in struts

2005-11-29 Thread Raghuveer
Could any one give me information of how to implement paging in my struts application that display records by logic:iterate tag. Is any better way of implementing pagination by struts tags.? - To unsubscribe, e-mail: [EMAI

Action Config in Struts for Forward Action

2005-12-07 Thread Raghuveer
How to reset the form bean,If form bean is used in action mapping for ForwardAction. As per below code when ever i click "partDataSearch.do" i want the formbean to be reset. --- JSP -- StrutsConfig.xml ---

Nested Properties

2005-12-09 Thread Raghuveer
In My web application I have one ActionForm and in that I have one getter setter method for other java bean. In my JSP i want to access the Java bean for display .Display is working fine as text box value and display with bean:write. But whene ever i submit the JSP page ..How to the value is set

Data Grid in Web Application

2006-01-03 Thread Raghuveer
Is there Any possiability of implementing Data Grid in Web Application . Can Any One Give Some information on this. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

struts tags in JSP's

2006-01-05 Thread Raghuveer
Does there will be any performance issue if i use struts tags like logic tags, when comapred to "if " condion in scriplet in JSP. Does there will be any impact on request/responce time of use only struts tags in JSP's. -

formatting messages in different colours

2006-01-09 Thread Raghuveer
Can Any one provide me information regarding display of Messages from Application Resources in different colours and FONTS. Example: I need to display messages based on Sucess or failure of Database Operations. I need to display messages in JSP Page as follows 1) Successful database opera

RE: formatting messages in different colours from Message Resources

2006-01-09 Thread Raghuveer
Dear AGary and Alexandre I changed my Message KEY " msg.insert.failed" as below > msg.insert.failed = Insert failed. In my JSP PAGE message is displayed with FONT tags. HTML tags are not being executed with message . Insert failed. so from above when HTML font tag could not be executed ,how com

i18n - button names

2007-12-24 Thread Raghuveer
Is it possible to get the Localized button names for Struts Internationalization (i18n)..?

Setting Session time out

2007-12-24 Thread Raghuveer
Is there possibility of setting session time out of application for 15 minutes? If session of login user expires or left unused for 15 minutes application should fire session expire page automatically. Any idea of how to handle this in my struts application?

Using Log4j in struts for application logs

2007-12-26 Thread Raghuveer
Hello, Question 1 I have placed "log4j.properties" in WEB-INF of my struts application. With this application logs "test.log" is created in the directory. I found in all the logs were created for java files in package "com.testapp.test" to "test.log" In addition to this there is one more

Application logs

2007-12-26 Thread Raghuveer
Is there way in struts to use logging configuration by declaratively.? What is the role of commons logging.. How to use this directly in code ..in java files and jsp files?

Internationalization - identification of client request by request header - accept-language ??

2007-12-29 Thread Raghuveer
How the struts framework does identifies the client language and there by uses the Message Resources for Internationalization.. request.getHeader("accept-language") is giving the string as below accept-language-pl,en-us;q=0.7,de;q=0.3 I need to identify if my request is from polish /E

Load a particular resource bundle

2008-01-04 Thread Raghuveer
How to set locale for my struts application. My application will have 2 languages. There will be 2 buttons in jsp page. One button is polish and other is English. on clicking of Polish button all the labels and button names and messages are to be changed into polis language. Any suggesti

RE: setting locale manually

2008-01-04 Thread Raghuveer
So you mean if I addrequest_locale=en_US in all forward this will work OR if I add in first forward it is sufficient? _ From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Friday, January 04, 2008 8:10 PM To: [EMAIL PROTECTED] Subject: RE: setting locale manually Czes Raghu

setting locale manually

2008-01-04 Thread Raghuveer
How to set locale for my struts application. My application will have 2 languages. There will be 2 buttons in jsp page. One button is polish and other is English. on clicking of Polish button all the labels and button names and messages are to be changed into polis language. Any suggesti

ApplicationResources polish

2008-01-08 Thread Raghuveer
On saving the polish word quantity in polish language in Application resource files "ApplicationResources_pl" is changed. Actual word is changed on saving the property file. Special characters were lost on saving the file. Modified Word - Ilosc Actual Word - Ilość Is there any

RE: ApplicationResources polish

2008-01-08 Thread Raghuveer
To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: ApplicationResources polish Hello Raghuveer, Ilość is in unicode format. the ApplicationResources_pl file is not save with unicode format file, so when you save it will lost the right code. we use native2ascii.exe (in C:\Program

RE: setting locale manually

2008-01-10 Thread Raghuveer
US"; }else if(strLanguage!=null && strLanguage.equalsIgnoreCase("polish")){ strLanguage="pl"; strCountry="PL"; }else{ strLanguage="pl"; strCountry="PL"; } Locale locale=new Locale(strLanguage,strCountry); se

Message resources - Application Resource - Polish

2008-01-10 Thread Raghuveer
Hello, Since I have only to languages ,I have provided a button in screen and passing url parameter "english" and "polish". In Action file taking this language and forming locale object and setting to ACTION method "setLocale" Wprowadź - Enter Above polish word is not coming exactly

Commons logging in struts

2008-01-10 Thread Raghuveer
Could any one provide information of using commons logging for logging my application related logs in my JSP-STRUTS application

RE: Commons logging in struts

2008-01-10 Thread Raghuveer
PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Commons logging in struts On Jan 10, 2008 1:25 AM, Raghuveer <[EMAIL PROTECTED]> wrote: > Could any one provide information of using commons logging for logging my > application related logs in my JSP-STRUTS application

struts polish application

2008-02-06 Thread Raghuveer
I have an application that needs to show messages coming from SAP in polish language. What would be the changes in need to do for my web.xml,struts config.xml and jsp pages.. Certain polish fonts were corrupted and shown question marks.. Please advice

i18N jsp application on linux and windows

2008-02-13 Thread Raghuveer
This is regarding the damage of polish messages from struts application deployed on Tomcat on Linux and Windows XP . I get polish messages from SAP that to be displayed in JSP page. I have set ISO8859_2 in JSP page for charset. <%@ page contentType="text/html;charset=ISO8859_2" %>

Re: i18N jsp application on linux and windows

2008-02-18 Thread Raghuveer
I need an help related to i18n (internationalization),… http://www.mail-archive.com/user@struts.apache.org/msg72581.html I am developing an application an struts application to be used in poland for English,polish language on tomcat. There is scenario to extract SAP messages and show to

RE: i18N jsp application on linux and windows

2008-02-18 Thread Raghuveer
ist if you need further help, to keep the discussion where everyone can see it. L. On 18-Feb-08, at 8:50 AM, Raghuveer wrote: I need an help related to i18n (internationalization),… <http://www.mail-archive.com/user@struts.apache.org/msg72581.html> http://www.mail-archive.com/user@s

encoding - web.xml,struts-config.xml

2008-03-03 Thread Raghuveer
I am working on i18n application that needs to be worked in English and Polish language. This application is working on Tomcat Servers on windows system In India, But getting Question Marks Polish language in Poland Windows System. Is there anything that needs to be handled in "web.xml" and

Struts App - Tomcat on Windows in India and Poland

2008-03-03 Thread Raghuveer
I have deployed a struts web application on Windows 2003 Server in Poland and India. Application needs to display Polish language coming from SAP. This is working in India on Windows 2003 Servers. But Messages are coming Question marks from Similar Configuration Server(language is polish)

FW: get the Locale from Action[S2]

2008-03-05 Thread Raghuveer
>From browser settings request.getLocale() request.getAttribute("org.apache.struts.action.LOCALE") request.getSession().getAttribute(Globals.LOCALE_KEY) -Original Message- From: slideharmony [mailto:[EMAIL PROTECTED] Sent: Monday, March 03, 2008 2:45 PM To: user@struts.apache.org Sub

Struts 1.2.9 +Ajax Error -- java.lang.IllegalStateException

2008-09-12 Thread Raghuveer
Hello, I am using Ajax in my struts application. >From JavaScript in JSP page I call "employee.do?method=employee" I get following error java.lang.IllegalStateException: Cannot forward after response has been committed For Ajax calls I am using struts execute method. But Action

MVC1 -Frame Based JSP Application to Tiles

2007-05-24 Thread Raghuveer
I Have a JSP web application using MVC1 framework. It uses Farmes(one left for navigational links and other right with tabs on top.) >From tiles documentation i understand i can use tiles with out struts ? So i was thinking the possibility and feasibilty of using tiles for my current applicatio

application folder name in webapps folder in tomcat.

2008-04-02 Thread Raghuveer
I have HelloServlet ,HelloServletContextListener in 3 different applications in tomcat webapps\AppHello1 webapps\AppHello2 webapps\AppHello3 How to identify in my listner class what is the folder/context name in my server. public void contextInitialized(ServletContextEvent ce) { contextName =

application folder name in webapps folder in tomcat through struts plugin

2008-04-02 Thread Raghuveer
I have done this this requirement in org.apache.struts.action.PlugIn. Here also I am getting public void init(ActionServlet actionServlet, ModuleConfig config) throws ServletException { Properties _ini_config = new Properties(); try { String

i18n Struts Jco Code in Windows English and Polish System

2008-05-23 Thread Raghuveer
I am working on Struts ,SAP-JCO . This is i18n application running on Tomcat. I have designed my application in UTF8 charset. When Saving the polish characters from application they are saved into SAP Database properly. Before Saving i am doing following String modifications. The same

Reading Application Resource saved as UTF8 file and showing polish characters in browser

2008-06-09 Thread Raghuveer
Is it possible in struts to configure the controller to read the application resource file which is saved as UTF8 format? It is possible to save the notepad file in UTF8 instead of ANSII. I am able to save a similar file and read by input stream reader in UTF8 and show the Polish characters in

RE: Reading Application Resource saved as UTF8 file and showing polish characters in browser

2008-06-10 Thread Raghuveer
AM To: user@struts.apache.org Subject: Re: Reading Application Resource saved as UTF8 file and showing polish characters in browser Lukasz Lenart wrote: > Hi, > > 2008/6/9 Raghuveer <[EMAIL PROTECTED]>: > >> Is it possible in struts to configure the controller to

retriving polish characters from URL Query string

2008-06-18 Thread Raghuveer
Polish characters from other web application. I had requirement of retrieving the login details like user_id,name from parent web application. At present I am retrieving by . request.getParameter("user_id") request.getParameter("name") Some times names can be in Polish language fro

Character encoding for http request - Configuration for complete application

2008-06-24 Thread Raghuveer
I am working on I18N application. To handle Http request and response in utf8 I have added following code in my Actionform. Is there way in struts to configure this for my complete application in struts? If it is normal servlet we can do this in init() method. public void reset(A

InternetExplorer > View... > Encoding

2008-06-26 Thread Raghuveer
I have designed a web multiannual web application in "UTF-8". JSP Code: <%@ page contentType="text/html;charset=utf-8" %> <% request.setCharacterEncoding("utf-8"); // this can be added in Servlet Filter or in Action Form %> When JSP page is rendered it is found in IE > View... > Enco

RE: InternetExplorer > View... > Encoding

2008-06-26 Thread Raghuveer
D] Subject: Re: InternetExplorer > View... > Encoding 2008/6/26 Raghuveer <[EMAIL PROTECTED]>: > Is there a way to identify in JSP or in Action File if the encoding has been > modified at client side by user and show a message that > > "This application has been design

Format USDollars

2006-06-06 Thread Raghuveer
How to format Money Data type(SQL server )by below format for USD. $x,xxx,xxx,xxx.xx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Struts + Commons 500 error

2006-07-07 Thread Raghuveer
When session expires in my JSP i am getting following error. I am using Struts Nested tags and validator framework. I am always using the collection in my actionform with Present,Empty tags always in my JSP. Experts,please share your comments..!! 06/07/08 11:55:24 test: Servlet error jav

Operating System identification

2006-07-08 Thread Raghuveer
How to identify Operating System of my Application server. I have property file in my web application for Windows and Linus. I need to identify th Operating System and read specific configuration file in my Struts Application .? Example: My Web application can be run on OC4J server,JBOSS on Win

Struts and commons logging

2006-07-10 Thread Raghuveer
We use struts applications and loggging by log 4j. We are configuring loggers like normal MVS application. But, What is that i need to do if i want my struts application to use commons-logging for logging. - To unsubscribe,

DownloadAction in Struts 1.2.8

2006-07-11 Thread Raghuveer
When using download Action 2 Dialogue Windows are opening. Is it wrong in adding response.setHeader("Content-Disposition. --- protected StreamInfo getStreamInfo(ActionMapping mapping, ActionForm form, HttpServletRequest request,

Compare two strings in Validator frame work

2006-07-14 Thread Raghuveer
How to Compare two strings in validator framework? What i need to do in validation.xml. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

logic tags for "" and null check

2006-07-17 Thread Raghuveer
How to check below code for "" and not null checking using logic tags below code doesn't work if there is no value in database column.   String strTemp =null; strTemp =""; if(strTemp!=null && !"".equalsIgnoreCase(strTemp )){ -- }

RE: logic tags for "" and null check

2006-07-18 Thread Raghuveer
eck:) class="errhead4" With Best Regards, I.Hari krishna. Franklin Templeton Investments +91- 44 - 24407000 Extn:17123 -- -Original Message- From: Raghuv

RE: logic tags for "" and null check

2006-07-19 Thread Raghuveer
gs for "" and null check If it is submitted as action form, you can do it in your action form validate method, or you can use two logic tag do me On 7/19/06, Raghuveer <[EMAIL PROTECTED] > wrote: Hi, Code below is to check for for Action m

tag for checking session and forward to login page

2006-07-21 Thread Raghuveer
In My Web application, i have page ot show "session_expired message" in login page. When session expires user is navigated to this page from server side. I am checking this in all execute methods of my action. Once the session expired user is navigated to login page. If user clicks logout button

RE: tag for checking session and forward to login page

2006-07-24 Thread Raghuveer
: tag for checking session and forward to login page Raghuveer ha scritto: > In log page once the session expired if user clicks BROWSER BACK > button ,user should be in login page only when session expires. > Can you elaborate this? I don't understand what you need.

Removing page from browser history

2006-08-02 Thread Raghuveer
I am able restrict the user going back to previous page from current page by browser "BACK" button. window.history.forward(1); How to restrict the user going to previous page by removing the Previous page accessed by user from BROWSER HISTORY(Cntrl+H in IE). I am using Struts Tiles Web applicat

  1   2   >