File upload in Struts 2

2009-09-03 Thread Johnson nickel
Hi all, I'm developing web applications using struts 2 framework. I have upload functionality,I'm not able to upload more than 1.5 mb file. I have defined in struts.xml file It was getting uploaded in Unix server. But not working in windows platform. Any changes is required from app

Re: Localization in struts 2

2009-06-22 Thread Johnson nickel
7;t need to do anything once the locale is set: the underlying > Java I18N mechanism handles getting the right file. > > Have you actually tried it yet? I've never had to do anything > particularly special to get I18N working--I think you're making it > harder than it rea

RE: Localization in struts 2

2009-06-22 Thread Johnson nickel
cale("en","US")); -Original Message- From: Johnson nickel [mailto:sarava...@elogic.co.in] Sent: 22 June 2009 11:28 To: user@struts.apache.org Subject: RE: Localization in struts 2 Can you explain in detail. i have ResourceBundle_hi.properties in my web-inf/classes dir

RE: Localization in struts 2

2009-06-22 Thread Johnson nickel
> > -Original Message- > From: Johnson nickel [mailto:sarava...@elogic.co.in] > Sent: 22 June 2009 09:58 > To: user@struts.apache.org > Subject: RE: Localization in struts 2 > > > > Hi, > I have tried the sample project 'Struts2i18n&#x

RE: Localization in struts 2

2009-06-21 Thread Johnson nickel
this would be a very difficult job to complete. > > Regards, > Muthu > > -Original Message- > From: Johnson nickel [mailto:sarava...@elogic.co.in] > Sent: Thursday, June 18, 2009 1:15 PM > To: user@struts.apache.org > Subject: RE: Localization in struts 2 >

RE: Localization in struts 2

2009-06-18 Thread Johnson nickel
t the server you > should be able to see the hindi text properly in browser. > > Hope this solves your problem. > > Thanks, > Muthu > > -Original Message- > From: Johnson nickel [mailto:sarava...@elogic.co.in] > Sent: Thursday, June 18, 2009 12:28 PM > To

Re: Localization in struts 2

2009-06-17 Thread Johnson nickel
; girish.n...@gmail.com > > Mitch > Hedberg<http://www.brainyquote.com/quotes/authors/m/mitch_hedberg.html> > - "I drank some boiling water because I wanted to whistle." > > On Thu, Jun 18, 2009 at 10:45 AM, Johnson nickel > wrote: > >> >> Hi all,

Localization in struts 2

2009-06-17 Thread Johnson nickel
Hi all, I have tried the Struts2i18n sample project it's working fine. But i need to implement local language in the same manner. I have created ResourceBundle_Hi.properties for hindi language. I had specified the hindi text in this file. when i try to execute the application it shows som

Re: Huge File upload in struts 2

2009-06-04 Thread Johnson nickel
Hi, I have problem with this readInputStream method. I have checked in (postgresql)database, which i used column data type is bytea its default column size 1gb data. I will explain my problem clearly, Step1 : I checked in java file itself, public static void main(Strin

Huge File upload in struts 2

2009-06-04 Thread Johnson nickel
ten back to your > database/filesystem. There's no other built-in approach in Struts2 but > you'll find ajax fileuploaders on the web that handle massive files > better than this. Jeromy Evans - Blue Sky Minds wrote: > > > > Johnson nickel wrote: >> Hi

Struts2 localization

2009-04-23 Thread Johnson nickel
Hi all, I want to know about struts 2 localization. I have seen the struts 2 documentation i'm not getting clear idea. Can anybody provide the basic steps for implementing this localization concept. -- View this message in context: http://www.nabble.com/Struts2-localization-tp2

Re: Struts 2 using Quartz

2009-04-20 Thread Johnson nickel
Spring plugin is incredibly easy. > > On 4/20/09, Johnson nickel wrote: >> >> Hi all, >> >> I'm using struts 2.0.6. I have requirement to write an logic in >> action file. Where that >> action should be schedule in (daily or weekly). For that ,

Struts 2 using Quartz

2009-04-20 Thread Johnson nickel
Hi all, I'm using struts 2.0.6. I have requirement to write an logic in action file. Where that action should be schedule in (daily or weekly). For that , i have used Quartz in struts 1. It was working fine as per this site details. http://demo.jgsullivan.com/struts/ I want

User changing theme in Struts 2

2009-03-25 Thread Johnson nickel
Hi all, Is there any default settings in struts2. where user can select their own theme. My requirement is we have set buttons in our applications with different colors. For,ex in orkut and gmail change theme options the same way i want to implement in my

Tree view component in struts 2

2008-12-29 Thread Johnson nickel
Hi all, I'm using struts 2.0.6, Is it possible to implement tree view structure. I have gone thro' struts 2 website. Documentation is not clear. Moreover static tree example , i want the sample documentation ,tutorial for dynamic tree data are getting from database. -- View this

using disabled attributes in tag

2008-02-08 Thread Johnson nickel
Hi all, How to use enable and disable attributes in but it's not working. what wrong with this, i tried onclick event using html drop down . // Javascript function function enable() { formname.savebutton.disabled="true" } Give me a suggestion for this problem. Reg

Multiple submit buttons in a single JSP

2008-02-07 Thread Johnson nickel
Hi all, In my JSP, i have three submit buttons, i want to know which button user has clicked. I tried from this site, http://struts.apache.org/2.x/docs/html-form-buttons-howto.html http://struts.apache.org/2.x/docs/html-form-buttons-howto.html It's not working. Give me s

RE: Struts 2 onchange event to get values from databases

2008-01-30 Thread Johnson nickel
%> > > > > > > > > >headerKey="-1" /> > > > > > > > > > > This is just touching what you need to do and know. Most important is to > understand. Go through th

RE: Struts 2 onchange event to get values from databases

2008-01-30 Thread Johnson nickel
mple to follow if you're new to AJAX) > > http://www.planetstruts.org/struts2-showcase/showcase.action > (showcase examples) > > Hope this helps > > Jo > > > > -Original Message- > From: Johnson nickel [mailto:[EMAIL PROTECTED] > Sent: 30 January 2008 03:26 PM &

Struts 2 onchange event to get values from databases

2008-01-30 Thread Johnson nickel
Hi All, I am using Struts 2 application, i have userdetails.jsp its contains five text fields. two buttons save and update. In my action i have written save() method and update() method. In my jsp one drop down box its contains users. At the time of onchange event to populate the

Re: Error messages is repeated Using Struts 2 Annotation validation

2008-01-29 Thread Johnson nickel
Thanks for your quick response, In my Login.jsp, Instead of using , I used html image tag . If i used it works fine. newton.dave wrote: > > --- Johnson nickel <[EMAIL PROTECTED]> wrote: >> > @RequiredFieldValidator(type=ValidatorType.SIMPL

Error messages is repeated Using Struts 2 Annotation validation

2008-01-29 Thread Johnson nickel
Hi Friends, I am using Struts 2 application for my project. Before I was used Struts 1 when compare to this Struts 2 is reduced lot of configuration problems. I have use the Annotation validation to validate the Username and password fields in my Login page. Code: @RequiredFieldValida

Re: Struts 2 File upload to store the filedata

2007-12-07 Thread Johnson nickel
Hi Evans, I digged in google examples in StreamResult. But, i can't understand. I want to display the images in browser Using StremResult. Instead of ServletOutputStream out= response.getOutputStream(); How can i use StreamResult. Can u give some examples pgm??

Re: Struts 2 File upload to store the filedata

2007-12-07 Thread Johnson nickel
Hi Evans, I want to display the images in browser from the database. I have added my code.It throws null pointer Exception. In my action, i have implements ServletRequestAware,ServletResponseAware interface. I want to know if ServletOutputStream

Re: Struts 2 File upload to store the filedata

2007-12-05 Thread Johnson nickel
Hi Jeromy Evans, Thanks for your reply. I would like to insert the images into my Databases. For that, i'm using byte[] array. In Struts 1.3, I used FormFile class. From this class i got the method getFileData(); In my db, ps.setBytes(1,fi

Struts 2 File upload to store the filedata

2007-12-05 Thread Johnson nickel
Hi everyone, I am using Struts 2 and using tag to upload a file. But I get that file as a 'File' object in my action class and using getFileName() on that File object returns me some arbitrary value (something like upload__5b41f107_1127b4befe0__8000_.tmp). I want to retrieve things like