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)? DISCLAIMER: This email may contain confidential information and is intended only for the use of the specific ind

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 wrote: I have scenarios of few activities during application startup and shutdown in struts1 applic

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. Any best thoughts of implementing this. Regards, Raghu

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: 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: 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: 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: [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: 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

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

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

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

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

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

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

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

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

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

Re: Action servlet becomes null in UNIX environment

2008-05-07 Thread Raghuveer Rawat
#x27;s the last release's tag documents. If this is a new app, may I > humbly suggest you use Struts2 instead? No sense in starting a project > using a deprecated framework. > > > -Original Message- > From: Raghuveer Rawat [mailto:[EMAIL PROTECTED] > Sent: Wednesda

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 (newGuide

Re: Request scoped data in Struts2

2008-04-08 Thread Raghuveer Kumarakrishnan
the action) for DisplayTag to see it. (*Chris*) 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

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 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 request scoped

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

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 =

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 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)

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

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

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

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 tag

2008-02-11 Thread Raghuveer Rawat
tor > > > 0 > > > > http://struts.apache.org/2.x/docs/int-validator.html > > Otherwise I'd try some variations of the expression. It's operating on > the getUser().getCountry() property of your action so the expression > (user.country == '-1') must be valid

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? Thanks...

validation for 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: I tried with below validation code but it is not working.. Not sure what will be other approach.. Thanks

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

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. is working for me. Thanks once again. On Feb 5, 2008 10:08 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- Raghuveer

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 value using 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? Thanks in advance..

Re: [Struts2] Ajax anchor tag problem

2008-01-22 Thread Raghuveer Rawat
d back a piece of js, let the js redirect the browser. > > window.location='xxx'; > > > 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.some

Re: [Struts2] Ajax anchor tag problem

2008-01-21 Thread Raghuveer Rawat
puts the login form in the div, as it was instructed.. but as I'm > not an ajax guru, I could be wrong. > > Best regards. > > -- > Robi > > > Roberto Nunnari wrote: > > try this: > > > > login > > > > Best regards. > > > >

[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 tar

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

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

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

Re: TabbedPanel question

2008-01-08 Thread Raghuveer Rawat
*different* color. > > So 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

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

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

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

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

Re: problem in tab layout

2007-12-31 Thread Raghuveer Rawat
Infotech Confidential L&T Infotech > Internal Use Only L&T Infotech General Business > > This Email may contain confidential or privileged information for the > intended recipient (s) If you are not the intended recipient, please do > not use or disseminate the infor

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

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

Re: Display tag and target div

2007-12-31 Thread Raghuveer Rawat
nting 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.. > > id="1" listenTopics="/recMessagesNext"> > > >

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 cs

Re: Display tag and target div

2007-12-29 Thread Raghuveer Rawat
Hi, Looks like this issue can be resolve with s:div tags listenTopics like below.. But how should I publish this topic for my DisplayTag Table... Any thought..If someone has resolve this issue then please let me know..how? Thanks Raghu On 12/27/07, Raghuveer Rawat <[EM

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

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𜡿 On 12/27/07, Raghuveer Rawat <[EMAIL PROTECTED]> wrote: > Hello quinquin2209, > Is this issue resolved for you? What was the solution? &

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 keep

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?

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

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?

i18n - button names

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

Re: [Struts2] problem with tag

2007-12-15 Thread Raghuveer Rawat
other automatic way > 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 us

[Struts2] problem with tag

2007-12-14 Thread Raghuveer Rawat
Hi, I have a getting problem in using s:select tag. Need some help if anyone used s:select before. This dropdown is populated dynamically. When form is loaded initially dropdown is getting populated perfectly. No issue here. But when we submit the form and some of the validations fail then page is

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'

Re: [S2] Help for Ajax Tabbed Panel

2007-11-14 Thread Raghuveer Rawat
look like below.. other details i have already given.. On 11/13/07, Raghuveer Rawat <[EMAIL PROTECTED]> wrote: > > I can see below message after execution in tabble panel.. > &

Re: [S2] Help for Ajax Tabbed Panel

2007-11-13 Thread Raghuveer Rawat
below configuration in struts.xml /WEB-INF/jsp/MyArticlesDetail.jsp> On 11/13/07, Raghuveer Rawat <[EMAIL PROTECTED]> wrote: > Thanks Basti, > I made this change for s:url > Now I can see from log that DisplayTag is getting populated with correct > data but table is not get

Re: [S2] Help for Ajax Tabbed Panel

2007-11-13 Thread Raghuveer Rawat
what to do now. Thanks Raghu On 11/13/07, lbastil <[EMAIL PROTECTED]> wrote: > > > I think you have to use when using ajaxed remote divs. > > Try something like: > > > > ... > href="%{yourId}" > labelposition="top" > > &g

[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 after

[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 Now my other pages are extending this tile layout like

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

Re: Need Help Struts 2.0.8

2007-11-01 Thread Raghuveer Rawat
rstName2; > > private String firstName3; > > ... > > private String firstName10; > > > > in the action class and : > > > > > > > > > > ... > > > > > > Struts fills action variables values automatically using reflection. > > > > On 11/1/07, Raghu

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

Re: Need Help Struts 2.0.8

2007-11-01 Thread Raghuveer Rawat
tring firstName2; > private String firstName3; > ... > private String firstName10; > > in the action class and : > > > > > ... > > > Struts fills action variables values automatically using reflection. > > On 11/1/07, Raghuveer Rawat <[EMAIL PROTECT

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 t

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? First Name Last Name E

Re: File Upload using Struts2

2007-10-16 Thread Raghuveer Rawat
FileUtils.copyFile(getMyFile(), f); > > > > > > Find out where is the problem in your code, if not able to please post > the code. > > > > Regards, > > Rajagopal Y > > HCU-Consulting & Enterprise Solutions. > > Phone: (C) +91-9886876114 / (W) 6658 3685

Re: File Upload using Struts2

2007-10-15 Thread Raghuveer Rawat
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 <[EM

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.

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 Action class: MyP

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

RE: Indexed Properties with nested Tags

2006-11-21 Thread Raghuveer
ly, 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 Object/java bean in results(getResults(),setResults(..)) Collecti

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: Java mail

2006-10-14 Thread Raghuveer
ail.jar (java 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 strut

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]

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

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 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]

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

RE: FormFile arrays

2006-09-13 Thread Raghuveer
try nested tags for file object in jsp and array of formfile for getter and setters mailto:[EMAIL PROTECTED] Sent: Wednesday, September 13, 2006 6:23 AM To: Struts Users Mailing List Subject: Re: FormFile arrays David Grundberg wrote: > You are right about the jakarta commons fileupload and stru

RE: Submitting forms with javascript in struts

2006-09-12 Thread Raghuveer
for "document.formname.value" to be worked you need to use 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 have a problem, because I don't know how to submit a form with javascript in s

RE: Validation and Form Collections

2006-09-12 Thread Raghuveer
put the actionform scope in session in your 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 question regarding validation. I have JSP that uses the Html:Options tag to populate a DDLB

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

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()) { log.tra

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

2006-08-31 Thread Raghuveer
2006 1:24 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

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

2006-08-31 Thread Raghuveer
t;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 whe

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

2006-08-31 Thread Raghuveer
ki.apache.org/struts/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 //etc ... After I deploy the application to the web s

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 //etc ... After I deploy the application to the web server, if I upload a small file size, it is fine. But if i upload huge data ,data is uploading but if any action button is clicked After 30 s

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]

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

  1   2   >