Struts - optiontransferselect - Triple

2010-11-02 Thread Raghuveer Vellanki
Is it possible to customize / Build optiontransferselect for three dropdown boxes With Triple List (3 List boxes with Left and Right buttons)? s:optiontransferselect tooltip=Select Your Favourite Cartoon Characters label=Favourite Cartoons Characters

Struts1 Plugin to Struts2

2010-10-01 Thread Raghuveer V
I have scenarios of few activities during application startup and shutdown in struts1 application which need to be used in struts2 application. Example: Below struts2 plug-in needs to be used in struts2. plug-in className=com.test.util.TestListener set-property property=devlFile

RE: Struts1 Plugin to Struts2

2010-10-01 Thread Raghuveer V
List; raghuve...@infotechsw.com Subject: Re: Struts1 Plugin to Struts2 An application context listener--that way it's not S2-specific. Dave On Fri, Oct 1, 2010 at 5:03 AM, Raghuveer V raghuve...@infotechsw.com wrote: I have scenarios of few activities during application startup

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

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

2010-01-20 Thread Raghuveer
Try as below. s:iterator value=addresses status=row s:textfield name=addresses[%{#row.index}].city name=%{city} / s:textfield name=addresses[%{#row.index}].state name=%{state} / /s:iterator Regards, Raghuveer Vellanki -Original Message- From: Mittal, Nitin (US - Mumbai

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:

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: s:form

RE: Hiding URL in struts1.2

2010-01-20 Thread Raghuveer
Could you elaborate your requirement? URL will be changed when you use action name= loginv class=com.test.actions.LoginAction !-- Home -- result name=app_home_action type=redirectAction showHome /result /action action name= showHome

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

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

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... Encoding

RE: InternetExplorer View... Encoding

2008-06-26 Thread Raghuveer
: 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 to work in UTF-8 Encoding Yes, check the Accept

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

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 from

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 read the application resource file

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

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

Action servlet becomes null in UNIX environment

2008-05-07 Thread Raghuveer Rawat
Hi, I have a problem with my application where actionServlet becomes null in UNIX environment and works fine in windows XP system. While saving data on test environment (UNIX) I am getting action servlet as null in My Action class. The jsp is built dynamically in as below *JSP code:* if

Re: Action servlet becomes null in UNIX environment

2008-05-07 Thread Raghuveer Rawat
a deprecated framework. -Original Message- From: Raghuveer Rawat [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 07, 2008 1:18 PM To: Struts Users Mailing List Subject: Action servlet becomes null in UNIX environment Hi, I have a problem with my application where actionServlet

Request scoped data in Struts2

2008-04-08 Thread Raghuveer Kumarakrishnan
This doc seems to suggest that even request scoped data needs to explicitly set using s:set to be used by tag libraries like jsp taglib or displaytag http://struts.apache.org/2.x/docs/exposing-framework-objects-to-jstl-with-a-jstl-and-displaytag-example.html But for

Re: Request scoped data in Struts2

2008-04-08 Thread Raghuveer Kumarakrishnan
*) On Tue, Apr 8, 2008 at 3:12 PM, Raghuveer Kumarakrishnan wrote: This doc seems to suggest that even request scoped data needs to explicitly set using to be used by tag libraries like jsp taglib or displaytag http://struts.apache.org/2.x/docs/exposing-framework-objects-to-jstl-with-a-jstl

application folder name in webapps folder in tomcat.

2008-04-02 Thread Raghuveer
I have HelloServlet ,HelloServletContextListener in 3 different applications in tomcat tomcat_homewebapps\AppHello1 tomcat_homewebapps\AppHello2 tomcat_homewebapps\AppHello3 How to identify in my listner class what is the folder/context name in my server. public void

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

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

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)

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

RE: i18N jsp application on linux and windows

2008-02-18 Thread Raghuveer
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@struts.apache.org

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: validation for s:select tag

2008-02-11 Thread Raghuveer Rawat
so the expression (user.country == '-1') must be valid for its type. Raghuveer Rawat wrote: Hi, I need help for mandatory field validation for s:select. I am trying to do client side xml validation. jsp code for country list: s:select name=user.country headerKey=-1 headerValue=Select

validation for s:select tag

2008-02-09 Thread Raghuveer Rawat
Hi, I need help for mandatory field validation for s:select. I am trying to do client side xml validation. jsp code for country list: s:select name=user.country headerKey=-1 headerValue=Select Country list=countryList listKey=code listValue=name required=true / I

How to Default a value in dynamic list (s:select)

2008-02-09 Thread Raghuveer Rawat
Hi, How to make a value as default value in a dynamic list s:select? Below code display a List of Countries sorted by Country Name so country name with letter a comes first but I want USA as default country. How to do that? s:select name=user.country headerKey=-1 headerValue=Select Country

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

s:property for s:textarea value

2008-02-05 Thread Raghuveer Rawat
Hi, I want to user to preview s:textarea value before sending to db. but when I am displaying s:textarea value using s:property it is not formatting it correctly and wrapping it. Is there anyone who faced this problem? Is this correct way to display Text Area value? s:textarea name=articleDesc

Re: s:property for s:textarea value

2008-02-05 Thread Raghuveer Rawat
Thanks Dave, i am sorry, I didn't explain it properly. Yes, you understood it correctly. I am submitting form and then displaying form values in new page. pre is working for me. Thanks once again. On Feb 5, 2008 10:08 PM, Dave Newton [EMAIL PROTECTED] wrote: --- Raghuveer Rawat [EMAIL PROTECTED

Re: [Struts2] Ajax anchor tag problem

2008-01-22 Thread Raghuveer Rawat
the js redirect the browser. script window.location='xxx'; /script 2008/1/21, Raghuveer Rawat [EMAIL PROTECTED]: Thanks Robi, I think you are right but how to come out of this ajax call if something goes wrong.sometimes I am getting some technical error and error page is also opening

[Struts2] Ajax anchor tag problem

2008-01-21 Thread Raghuveer Rawat
Hi, I have a requirement where only logged in users are allowed to put their comment. I have implemented that form with struts2 ajax theme...anchor has theme=ajax If logged in user puts his comment then everything works fine perfectly..I am able to see text message returned from action in

Re: [Struts2] Ajax anchor tag problem

2008-01-21 Thread Raghuveer Rawat
, as it was instructed.. but as I'm not an ajax guru, I could be wrong. Best regards. -- Robi Roberto Nunnari wrote: try this: result name=login type=redirect-actionlogin/result Best regards. -- Robi Raghuveer Rawat wrote: Hi, I have a requirement where only logged in users

RE: setting locale manually

2008-01-10 Thread Raghuveer
)){ strLanguage=pl; strCountry=PL; }else{ strLanguage=pl; strCountry=PL; } Locale locale=new Locale(strLanguage,strCountry); setLocale(request,locale); -Original Message- From: Raghuveer [mailto:[EMAIL PROTECTED] Sent: Friday, January 04, 2008 8:21 PM To: 'Martin Gainty

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 as

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 Commons

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: TabbedPanel question

2008-01-08 Thread Raghuveer Rawat
far, I only could paint all tabs with the same color (a different one from the original tabbedpanel). Thanks. Raghuveer Rawat escribió: You need to customize CSS for tabbbed panel... Have a look on below link.. http://svn.apache.org/viewvc/struts/struts2/branches/STRUTS_2_0_X/core

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

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

Re: TabbedPanel question

2007-12-31 Thread Raghuveer Rawat
You need to customize CSS for tabbbed panel... Have a look on below link.. http://svn.apache.org/viewvc/struts/struts2/branches/STRUTS_2_0_X/core/src/main/resources/org/apache/struts2/static/dojo/src/widget/templates/TabContainer.css?view=markup There is tabbed panel attribute for loading this

Re: Display tag and target div

2007-12-31 Thread Raghuveer Rawat
that... Thanks for help... On Dec 29, 2007 7:01 PM, Raghuveer Rawat [EMAIL PROTECTED] wrote: Hi, Looks like this issue can be resolve with s:div tags listenTopics like below.. s:div href=%{recMessages} theme=ajax label=Received Messages id=1 listenTopics=/recMessagesNext /s:div

Re: problem in tab layout

2007-12-31 Thread Raghuveer Rawat
Probably a bug in tabbed panel... you can go though previous messages on tabbed panel... Some replied that this bug will be fixed in struts 2.1 What version are you using? On Dec 31, 2007 8:56 AM, Vidhyakar Kadarkarai [EMAIL PROTECTED] wrote: hi, i have a problem while using tabs. There two

Re: problem in tab layout

2007-12-31 Thread Raghuveer Rawat
-td12223500.html#a12223500 Thanks Raghu On Dec 31, 2007 9:01 AM, Raghuveer Rawat [EMAIL PROTECTED] wrote: Probably a bug in tabbed panel... you can go though previous messages on tabbed panel... Some replied that this bug will be fixed in struts 2.1 What version are you using? On Dec 31, 2007

Re: problem in tab layout

2007-12-31 Thread Raghuveer Rawat
information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system. Raghuveer Rawat [EMAIL PROTECTED] 12/31/2007 07:45 PM Please respond to Struts Users Mailing List user

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

Re: Display tag and target div

2007-12-29 Thread Raghuveer Rawat
this issue then please let me know..how? Thanks Raghu On 12/27/07, Raghuveer Rawat [EMAIL PROTECTED] wrote: Hello quinquin2209, Is this issue resolved for you? What was the solution? I am facing same issue as you have raised. I can see display table being populated correctly on page load

Re: Display tag and target div

2007-12-28 Thread Raghuveer Rawat
Looks like this is open issue... found something interesting in webwork forum http://forums.opensymphony.com/thread.jspa?messageID=116863#116863 On 12/27/07, Raghuveer Rawat [EMAIL PROTECTED] wrote: Hello quinquin2209, Is this issue resolved for you? What was the solution? I am facing

Re: Display tag and target div

2007-12-27 Thread Raghuveer Rawat
Hello quinquin2209, Is this issue resolved for you? What was the solution? I am facing same issue as you have raised. I can see display table being populated correctly on page load but when I click on any sortable column or click on next page, its result is getting opened in new window. How to

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 log

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?

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?

Re: [Struts2] problem with s:select tag

2007-12-15 Thread Raghuveer Rawat
or if it's not in application or session scope it won't get automatically re-populated when you re-visit the page. d. --- Raghuveer Rawat [EMAIL PROTECTED] wrote: Hi, I have a getting problem in using s:select tag. Need some help if anyone used s:select before. This dropdown is populated

Re: Struts 2, file tag, accept attribute not working?

2007-12-12 Thread Raghuveer Rawat
I am facing same problem and was about to post this question. How to validate file content type in struts2? Thanks in Advance.. Raghu On Dec 12, 2007 5:48 AM, Amit Rana [EMAIL PROTECTED] wrote: Hi Anton, Were you able to finally get it to work? I am using 2.0.9 and accept just doens't

Re: [S2] Help for Ajax Tabbed Panel

2007-11-14 Thread Raghuveer Rawat
label=Shayaries/Ghazal theme=ajax href=%{shayariAction} loadingText=Loading My Shayaries /s:div /s:tabbedPanel On 11/13/07, Raghuveer Rawat [EMAIL PROTECTED] wrote: I can see below message after execution in tabble panel.. *Couldn't load content:Unknown runtime error

Re: [S2] Help for Ajax Tabbed Panel

2007-11-13 Thread Raghuveer Rawat
, basti Raghuveer Rawat wrote: Hi, I am using Struts2, Tile2, Spring2, Display Tag. I am implementing tabbed panel and all the tabs make remote calls. Each Tab will contain a table which are implemented using DisplayTag. I am implementing this table in a separagte JSP and want its

Re: [S2] Help for Ajax Tabbed Panel

2007-11-13 Thread Raghuveer Rawat
configuration in struts.xml package name=article namespace=/article extends=struts-default action name=myArticles_* method={1} class= com.rawatsoft.write4smile.webapp.action.ArticleAction result name=success type=dispatcher /WEB-INF/jsp/MyArticlesDetail.jsp /result /action On 11/13/07, Raghuveer Rawat

[S2] Help for Ajax Tabbed Panel

2007-11-12 Thread Raghuveer Rawat
Hi, I am using Struts2, Tile2, Spring2, Display Tag. I am implementing tabbed panel and all the tabs make remote calls. Each Tab will contain a table which are implemented using DisplayTag. I am implementing this table in a separagte JSP and want its content to be added to tab in the main jsp

[Tile2] Help in Page Layout

2007-11-11 Thread Raghuveer Rawat
Hi, I have newbie in GUI design (Tiles/Menuing) etc. I need some urgent help in Page Layout Design using Tile2/Struts Menu. I am using below template for my page. Menu is very simple one so I have just anchor tags in Header.jsp definition name=.layout template=/WEB-INF/common/Layout.jsp

Re: Problem with Tiles decoration and struts2

2007-11-07 Thread Raghuveer Rawat
Amit, looks like problem is with your struts.xml. You have set Tiles Result but your result is jsp page. I think you need to change it to tile definition. Try below... struts.xml struts package name=default extends=struts-default result-types

Re: Need Help Struts 2.0.8

2007-11-01 Thread Raghuveer Rawat
Hi, still looking for help. On 10/31/07, Raghuveer Rawat [EMAIL PROTECTED] wrote: Hi, I have form which allows user to invite other users. A user can invite a max of 10 users at a time. A row contain First Name, Last Name, and Email Address. How should I name these textfields (OGNL

Re: Need Help Struts 2.0.8

2007-11-01 Thread Raghuveer Rawat
automatically using reflection. On 11/1/07, Raghuveer Rawat [EMAIL PROTECTED] wrote: Hi, still looking for help. On 10/31/07, Raghuveer Rawat [EMAIL PROTECTED] wrote: Hi, I have form which allows user to invite other users. A user can invite a max of 10 users at a time. A row contain

Re: Need Help Struts 2.0.8

2007-11-01 Thread Raghuveer Rawat
Oh, Didn't notice that. Can this message be deleted? On 11/1/07, Dave Newton [EMAIL PROTECTED] wrote: --- Raghuveer Rawat wrote: I found an Article on this in Ian Roughley's book. Posting here if someone is implementing Tabular Data Entry support in their apps. You know it's

Re: Need Help Struts 2.0.8

2007-11-01 Thread Raghuveer Rawat
=firstName2 size=25 maxlength =20/ s:textfield name=firstName3 size=25 maxlength =20/ ... s:textfield name=firstName10 size=25 maxlength =20/ Struts fills action variables values automatically using reflection. On 11/1/07, Raghuveer Rawat [EMAIL PROTECTED] wrote: Hi, still looking

Need Help Struts 2.0.8

2007-10-31 Thread Raghuveer Rawat
Hi, I have form which allows user to invite other users. A user can invite a max of 10 users at a time. A row contain First Name, Last Name, and Email Address. How should I name these textfields (OGNL expression) and how should I retrieve these values in Action Class? table tr tdFirst Name/td

Re: File Upload using Struts2

2007-10-16 Thread Raghuveer Rawat
. Regards, Rajagopal Y HCU-Consulting Enterprise Solutions. Phone: (C) +91-9886876114 / (W) 6658 3685. -Original Message- From: Raghuveer Rawat [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 16, 2007 10:31 AM To: Struts Users Mailing List Subject: Re: File Upload using

File Upload using Struts2

2007-10-15 Thread Raghuveer Rawat
Hi, I am trying to upload a jpg image using Struts2 but no luck till now. It will be great if someone could help me in moving further. I am using Struts 2.0.8 and i have commons-fileupload-1.2.jar and commons-io-1.3.2.jar in classpath My code looks like below. MyPhoto.jsp s:form method=post

Fwd: File Upload using Struts2

2007-10-15 Thread Raghuveer Rawat
Hi, I am new to sturts2. I am trying to upload a jpg image using Struts2 but no luck till now. It will be great if someone could help me in moving further. I am using Struts 2.0.8 and i have commons-fileupload-1.2.jar and commons-io-1.3.2.jar in classpath I put debug statement in setter methods.

Re: File Upload using Struts2

2007-10-15 Thread Raghuveer Rawat
: In general it's a good idea to include things like what is actually happening: what symptoms (besides the file isn't uploading :) are there? Is there anything in the logs? Are you including the context cleanup filter in your web.xml? d. --- Raghuveer Rawat [EMAIL PROTECTED] wrote: Hi, I am

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

RE: Indexed Properties

2006-11-21 Thread Raghuveer
hi Adam, I understand description,numProducts are properties in User defined Object/java bean in results(getResults(),setResults(..)) Collection in your actionForm. For this kind of requirments there will not be any change in actionform even though ,complixety increases in nesting.. Solution is

RE: Indexed Properties with nested Tags

2006-11-21 Thread Raghuveer
of the tags involved is that I can get a single textfield to work perfectly, with all the requirements (other than it being an object with multiple properties). On 11/21/06, Raghuveer [EMAIL PROTECTED] wrote: hi Adam, I understand description,numProducts are properties in User defined

ActionForm to DAO

2006-10-14 Thread Raghuveer
Can we send ActionForm as argument to a method in DAO class from Action Class. What is Best Practice ? Thanks and Regards, Raghuveer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Java mail

2006-10-14 Thread Raghuveer
What jar file i need to use for implementing mailing for my struts application. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Java mail

2006-10-14 Thread Raghuveer
mail api) and activation.jar (java activation framework). -Original Message- From: Raghuveer [mailto:[EMAIL PROTECTED] Sent: 14 October 2006 14:26 To: user@struts.apache.org Subject: Java mail What jar file i need to use for implementing mailing for my struts application

RE: Html:file - urgent

2006-09-20 Thread Raghuveer
/*** *** * Function name : checkFile * Description : This function is to stop the user from entering a file name * Input : * Output:

Struts Project + Logging

2006-09-14 Thread Raghuveer
Since for struts framework commons-logging.jar is used How can I use Commons logging so that logs related to my application are sent to separate log file. How to configure my logger by log.properties realted to application alone.

Struts for locale

2006-09-14 Thread Raghuveer
What precautions i need to take for my struts project to be accessed in Canada(French language) and Other Countries(English) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: FormFile arrays

2006-09-13 Thread Raghuveer
try nested tags for file object in jsp and array of formfile for getter and setters nested:file -Original Message- From: Jeremiah Johnson [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 13, 2006 6:23 AM To: Struts Users Mailing List Subject: Re: FormFile arrays David Grundberg

RE: Validation and Form Collections

2006-09-12 Thread Raghuveer
put the actionform scope in session in your action mapping in struts-config.xml -Original Message- From: John De Lello [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 12, 2006 4:44 PM To: user@struts.apache.org Subject: Validation and Form Collections Hello Everyone, I have a

RE: Submitting forms with javascript in struts

2006-09-12 Thread Raghuveer
for document.formname.value to be worked you need to use html:hidden name=... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 12, 2006 4:50 PM To: user@struts.apache.org Subject: Submitting forms with javascript in struts Hello, I do

response.setContentType(text/html; charset=utf-8)

2006-09-08 Thread Raghuveer
From the source examples jakarta-struts-1.1-src\jakarta-struts-1.1-src\src\upload\org\apache\struts\w ebapp\upload What does the use of response.setContentType(text/html; charset=utf-8); --- /this line is here for when the input page is upload-utf8.jsp,

Upload huge file size: The page cannot be displayed browser er

2006-08-31 Thread Raghuveer
have an upload file operation in the web application. The web server is OC4J. //UploadForm.jsp FORM NAME=InputForm ACTION=UploadAction.jsp METHOD=POST enctype=multipart/form-data input type=file name=fileName //etc ... /FORM After I deploy the application to the web server, if I upload a

RE: Upload huge file size: The page cannot be displayed browser er

2006-08-31 Thread Raghuveer
/StrutsFileUpload Thanks, Nuwan. On 8/31/06, Raghuveer [EMAIL PROTECTED] wrote: have an upload file operation in the web application. The web server is OC4J. //UploadForm.jsp FORM NAME=InputForm ACTION=UploadAction.jsp METHOD=POST enctype=multipart/form-data input type

RE: Upload huge file size: The page cannot be displayed browser er

2006-08-31 Thread Raghuveer
: The page cannot be displayed browser er Ok, is it something to do with session timeout?, On 8/31/06, Raghuveer [EMAIL PROTECTED] wrote: I am perfectly following the below link. I have done almost 10 time the same code in different projects. It is working fine when i have upto 55

RE: Upload huge file size: The page cannot be displayed browser er

2006-08-31 Thread Raghuveer
PM To: [EMAIL PROTECTED] Cc: Struts Users Mailing List Subject: Re: Upload huge file size: The page cannot be displayed browser er Ok, is it something to do with session timeout?, On 8/31/06, Raghuveer [EMAIL PROTECTED] wrote: I am perfectly following the below link. I have done

problem with processValidate in RequestProcessor.java

2006-08-31 Thread Raghuveer
I am getting Rolling back multipart request is logged after executing Multipart request. What i need to do to resolve this issue. // Special handling for multipart request if (form.getMultipartRequestHandler() != null) { if (log.isTraceEnabled()) {

File Upload Causing page expire

2006-08-30 Thread Raghuveer
I have useed struts1.2 file upload in many projects for many times.It worked well perfectly. But in my current project struts1.2.8 After uploading file ,I am showing data in jsp by nested tags. When clicked any of the action in JSP latest data is not set to ACTIONFORM. to be simple, Data

FormFile

2006-08-30 Thread Raghuveer
What is minimum requirement for file upload configuration in struts. My ActionForm is in session scope in actionmapping. What are precautions to configuring declaritively in struts-config.xml or in action in order to avoid unwanted thread/IO stream hanging or some other problems. After file

Multipart request

2006-08-30 Thread Raghuveer
What are best practices in using Multipart request for file uploads using struts - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

  1   2   >