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
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
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
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
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
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
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
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
---
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
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
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]
e such issue in struts1.2.8
version.
---
-
Raghuveer
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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]
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
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
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: [
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
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
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]
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
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
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
tAbsolutePath());
s_logger.warn("Error while reading logger property "+file+"!
Using
defaults..");
PropertyConfigurator.configure(getDefaultLoggerProperties());
}
}
and use
logger = Logger.getLogger(cal.getClass());
http://a
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
Is Actionform a value Object in Struts.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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 ?
--
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,
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
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
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
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,
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
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
--
-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
-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
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]
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.
---
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
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
--
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
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
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
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
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()">
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
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
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
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
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
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
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
---
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
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]
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.
-
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
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
Is it possible to get the Localized button names for Struts
Internationalization (i18n)..?
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?
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
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?
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
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
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
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
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
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
US";
}else if(strLanguage!=null && strLanguage.equalsIgnoreCase("polish")){
strLanguage="pl";
strCountry="PL";
}else{
strLanguage="pl";
strCountry="PL";
}
Locale locale=new Locale(strLanguage,strCountry);
se
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
Could any one provide information of using commons logging for logging my
application related logs in my JSP-STRUTS application
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
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
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" %>
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
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
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
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)
>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
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
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
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 =
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
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
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
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
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
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
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
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
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]
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
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
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,
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,
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]
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 )){
--
}
eck:)
class="errhead4"
With Best Regards,
I.Hari krishna.
Franklin Templeton Investments
+91- 44 - 24407000 Extn:17123
--
-Original Message-
From: Raghuv
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
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
: 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.
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 - 100 of 183 matches
Mail list logo