reconnecting to the Oracle database.with Hibernate 3. I

2009-04-20 Thread srinivasa_v .
Hi

I am getting Exception while reconnecting to the Oracle database.with
Hibernate 3. I was getting this problem when Data Base server restarts. its
start working when

restartig the application server.

Here is the error message I am getting in logs

JDBCException W org.hibernate.util.JDBCExceptionReporter logExceptions SQL
Error: 17002, SQLState: null
JDBCException E org.hibernate.util.JDBCExceptionReporter logExceptions Io
exception: The Network Adapter could not establish the connection


SQL Error: 17002, SQLState: null
039 JDBCException E Io exception:n reset by peer: socket


Re: reconnecting to the Oracle database.with Hibernate 3. I

2009-04-20 Thread srinivasa_v .
Hibernate list/forum is down and its a prodction issue  for me

On Mon, Apr 20, 2009 at 1:43 PM, Nils-Helge Garli Hegvik
wrote:

> Maybe you should try a Hibernate list/forum instead?
>
> Nils-H
>
> On Mon, Apr 20, 2009 at 10:11 AM, srinivasa_v . 
> wrote:
> > Hi
> >
> > I am getting Exception while reconnecting to the Oracle database.with
> > Hibernate 3. I was getting this problem when Data Base server restarts.
> its
> > start working when
> >
> > restartig the application server.
> >
> > Here is the error message I am getting in logs
> >
> > JDBCException W org.hibernate.util.JDBCExceptionReporter logExceptions
> SQL
> > Error: 17002, SQLState: null
> > JDBCException E org.hibernate.util.JDBCExceptionReporter logExceptions Io
> > exception: The Network Adapter could not establish the connection
> >
> >
> > SQL Error: 17002, SQLState: null
> > 039 JDBCException E Io exception:n reset by peer: socket
> >
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


data is not getting refreshed

2009-04-21 Thread srinivasa_v .
Hi all
I have situation

we have two modules which are in production

one is developed in old servlets and jsp

and another is in struts2 and hibernate

 we are using tomcat



in second module we are facing weird problem



when we access our site through url ,

data is not getting updated

and same when we try to access through ip address data is getting updated



and we are not facing this problem in our first module



only big difference is  when we access though our url ,its passing through
F5,
F5 is doing nothing but just a load blancing ,

 or is their any problem with struts UI tags

regards
srini.


action call getting skiped

2009-05-03 Thread srinivasa_v .
Hi ALL,
I have list of emp details,I need to click on one of emp record,it will call
an action class get the details from db display on the form,and edit the
details and when i click on
submit ,it will call an action calss where in
 based on DOB i need to redirect to  and action
say if age is <18 ,
i need to go to   page ,where in I will have Yes and no button,if user
clicks
on yes,it goes to action class ,and  call  manager class BO ,and update
detils in DB
and call return back to action and goes to sucess page.
for the first  time its working fine ,
when I try to udate the same emp details again, same record
age is <18
it will go to yes and no page ,when I click on yes now instead of  going to
action class,
it is direcly going to sucess page,


   

 

 
 
 
  
 
 
   
2,3
  
  ../common/Confirm.jsp
  ../common/Error.jsp
  ../common/success.jsp
  


This a production issue for me ,
and this is occcuring when I try to go thru www.balbal.com, and in
production iam going thru F5,
and its working fine if I direcly access my  ipaddress,
and we have another module in prodution which is based on purely on servlets
and jsp ,having  similar flow ,
and its working fine .

is any of the interceptors having  cache problem




regrads.


action call getting skiped

2009-05-04 Thread srinivasa_v .
-- Forwarded message --
From: srinivasa_v . 
Date: Mon, May 4, 2009 at 11:45 AM
Subject: action call getting skiped
To: Struts Users Mailing List 


 Hi ALL,
I have list of emp details,I need to click on one of emp record,it will call
an action class get the details from db display on the form,and edit the
details and when i click on
submit ,it will call an action calss where in
 based on DOB i need to redirect to  and action
say if age is <18 ,
i need to go to   page ,where in I will have Yes and no button,if user
clicks
on yes,it goes to action class ,and  call  manager class BO ,and update
detils in DB
and call return back to action and goes to sucess page.
for the first  time its working fine ,
when I try to udate the same emp details again, same record
age is <18
it will go to yes and no page ,when I click on yes now instead of  going to
action class,
it is direcly going to sucess page,


   

 

 
 
 
  
 
 
   
2,3
  
  ../common/Confirm.jsp
  ../common/Error.jsp
  ../common/success.jsp
  


This a production issue for me ,
and this is occcuring when I try to go thru www.balbal.com, and in
production iam going thru F5,
and its working fine if I direcly access my  ipaddress,
and we have another module in prodution which is based on purely on servlets
and jsp ,having  similar flow ,
and its working fine .

is any of the interceptors having  cache problem




regrads.


Re: action call getting skiped

2009-05-11 Thread srinivasa_v .
My problem got resolved its network issue ,DNS IP cache .
and thx JK

On Tue, May 5, 2009 at 2:28 AM, Martin Gainty  wrote:

>
> have the admin of the prod box display for us the following details:
> all jsp
> source code for all ActionClasses
> web.xml
> all .tld configurations located in WEB-INF
> ./WEB-INF/classes/struts.xml
> all of the included files included within struts.xml
> WEB-INF/applicationContext.xml
>
> Martin
> __
> Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note
> de déni et de confidentialité
> This message is confidential. If you should not be the intended receiver,
> then we ask politely to report. Each unauthorized forwarding or
> manufacturing of a copy is inadmissible. This message serves only for the
> exchange of information and has no legal binding effect. Due to the easy
> manipulation of emails we cannot take responsibility over the the contents.
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
> dient lediglich dem Austausch von Informationen und entfaltet keine
> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
> destinataire prévu, nous te demandons avec bonté que pour satisfaire
> informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
> de ceci est interdite. Ce message sert à l'information seulement et n'aura
> pas n'importe quel effet légalement obligatoire. Étant donné que les email
> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
> aucune responsabilité pour le contenu fourni.
>
>
>
>
>
>
> > From: jhki...@summa-tech.com
> > Date: Mon, 4 May 2009 16:32:09 -0400
> > Subject: Re: action call getting skiped
> > To: user@struts.apache.org
>  >
> > Just re-forwarding your message to the list won't necessarily improve the
> > chances of its being responded to.  Your message is hard to read and
> > understand.  That is probably why no one responded to it in the first
> place.
> > It seems likely that the problem does not lie in your interceptor stack
> but
> > rather in your action code or in your JSP.  Can you please confirm that
> the
> > unit tests you wrote for your action code validate that your action code
> > functions as designed?
> >
> > jk
> >
> > On Mon, May 4, 2009 at 4:26 PM, srinivasa_v . 
> wrote:
> >
> > > -- Forwarded message --
> > > From: srinivasa_v . 
> > > Date: Mon, May 4, 2009 at 11:45 AM
> > > Subject: action call getting skiped
> > > To: Struts Users Mailing List 
> > >
> > >
> > >  Hi ALL,
> > > I have list of emp details,I need to click on one of emp record,it will
> > > call
> > > an action class get the details from db display on the form,and edit
> the
> > > details and when i click on
> > > submit ,it will call an action calss where in
> > >  based on DOB i need to redirect to  and action
> > > say if age is <18 ,
> > > i need to go to   page ,where in I will have Yes and no button,if user
> > > clicks
> > > on yes,it goes to action class ,and  call  manager class BO ,and update
> > > detils in DB
> > > and call return back to action and goes to sucess page.
> > > for the first  time its working fine ,
> > > when I try to udate the same emp details again, same record
> > > age is <18
> > > it will go to yes and no page ,when I click on yes now instead of
>  going to
> > > action class,
> > > it is direcly going to sucess page,
> > >
> > >  > > class="com.dh.action.client.EMPCRUDAction">
> > >   
> > >
> > > 
> > >
> > >  
> > >  
> > >  
> > >  
> > > 
> > > 
> > >   
> > >2,3
> > >  
> > >  ../common/Confirm.jsp
> > >  ../common/Error.jsp
> > >  ../common/success.jsp
> > >  
> > >
> > >
> > > This a production issue for me ,
> > > and this is occcuring when I try to go thru www.balbal.com, and in
> > > production iam going thru F5,
> > > and its working fine if I direcly access my  ipaddress,
> > > and we have another module in prodution which is based on purely on
> > > servlets
> > > and jsp ,having  similar flow ,
> > > and its working fine .
> > >
> > > is any of the interceptors having  cache problem
> > >
> > >
> > >
> > >
> > > regrads.
> > >
> >
> >
> >
> > --
> > Jim Kiley
> > Senior Technical Consultant | Summa
> > [p] 412.258.3346
> > http://www.summa-tech.com
>
> _
> Windows Live™: Keep your life in sync.
> http://windowslive.com/explore?ocid=TXT_TAGLM_BR_life_in_synch_052009


s:radio

2008-11-21 Thread srinivasa_v .
Hi All,
Is there any way to customise or our own lable in

s:radio

2008-11-22 Thread srinivasa_v .
Hi All,
Is there any way to customise or our own lable in

Re: s:radio

2008-11-22 Thread srinivasa_v .
Thx boss,if u  have any links or example for creation UI using struts UI
tags ,It will be helpful for me
regards
srini..



On 11/22/08, Martin Gainty <[EMAIL PROTECTED]> wrote:
>
>
> assuming stylesheet.css contains these FontSizes and FontColors
> h1 { font-size: 145% }
> .MyFontColor { background: #FF } /* Dark mauve */
>
>  name="yesornoList" cssClass="h1.MyFontColor"/>
>
> HTH
> Martin
> __
> Disclaimer and confidentiality note
> Everything in this e-mail and any attachments relates to the official
> business of Sender. This transmission is of a confidential nature and Sender
> does not endorse distribution to any party other than intended recipient.
> Sender does not necessarily endorse content contained within this
> transmission.
>
>
>
>
> > Date: Sat, 22 Nov 2008 13:32:52 +0530
> > From: [EMAIL PROTECTED]
> > To: user@struts.apache.org
> > Subject: s:radio
> >
> > Hi All,
> > Is there any way to customise or our own lable in
> >  name="yesornoList/>
> > when I use  in my jsp
> > Its dispalyed as
> >
> > Do You Wantt to Proceed : Yes No( Radio Button)
> >
> > If you observer there is colon after Do you want to Proceed ,I want to
> have
> > question mark (?) inseted of colon(:)
> > is there any way  to do this.
> > we have tool tip ,Is there way to chnage the color of  tool tip
> >
> > regards
> > srini..
>
> _
> Color coding for safety: Windows Live Hotmail alerts you to suspicious
> email.
>
> http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_safety_112008


upload a file,

2008-11-29 Thread srinivasa_v .
Hi All ,
I am trying to upload a file,but I am getting a exception  can anyone  help
me

*

java.lang.RuntimeException*: Unable to load bean
org.apache.struts2.dispatcher.multipart.MultiPartRequest (jakarta) -
[unknown location]

at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(*
ContainerBuilder.java:136*)

at com.opensymphony.xwork2.inject.ContainerImpl.getInstance(*
ContainerImpl.java:476*)

at com.opensymphony.xwork2.inject.ContainerImpl.getInstance(*
ContainerImpl.java:486*)

at com.opensymphony.xwork2.inject.ContainerImpl$9.call(*
ContainerImpl.java:517*)

at com.opensymphony.xwork2.inject.ContainerImpl.callInContext(*
ContainerImpl.java:542*)

at com.opensymphony.xwork2.inject.ContainerImpl.getInstance(*
ContainerImpl.java:515*)

at org.apache.struts2.dispatcher.Dispatcher.wrapRequest(*Dispatcher.java:700
*)

at
org.apache.struts2.dispatcher.FilterDispatcher.prepareDispatcherAndWrapRequest(
*FilterDispatcher.java:327*)

at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(*
FilterDispatcher.java:390*)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(*
ApplicationFilterChain.java:235*)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(*
ApplicationFilterChain.java:206*)

at org.apache.catalina.core.StandardWrapperValve.invoke(*
StandardWrapperValve.java:233*)

at org.apache.catalina.core.StandardContextValve.invoke(*
StandardContextValve.java:175*)

at org.apache.catalina.core.StandardHostValve.invoke(*
StandardHostValve.java:128*)

at org.apache.catalina.valves.ErrorReportValve.invoke(*
ErrorReportValve.java:102*)

at org.apache.catalina.core.StandardEngineValve.invoke(*
StandardEngineValve.java:109*)

at org.apache.catalina.connector.CoyoteAdapter.service(*
CoyoteAdapter.java:263*)

at org.apache.coyote.http11.Http11Processor.process(*
Http11Processor.java:844*)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(*
Http11Protocol.java:584*)

at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(*JIoEndpoint.java:447*)

at java.lang.Thread.run(*Thread.java:595*)

Caused by: Unable to load bean
org.apache.struts2.dispatcher.multipart.MultiPartRequest (jakarta) -
[unknown location]

at
org.apache.struts2.config.BeanSelectionProvider$ObjectFactoryDelegateFactory.create(
*BeanSelectionProvider.java:247*)

at com.opensymphony.xwork2.inject.ContainerBuilder$4.create(*
ContainerBuilder.java:134*)

... 20 more





regards

srini..


user@struts.apache.org

2008-12-04 Thread srinivasa_v .
 Hi All,
I am using a radio tag ,I want default value of it to  be yes I tried using
value="yes" but stiill the same
can any one help me .





regards
srinivas


Re: radio

2008-12-04 Thread srinivasa_v .
Thx Boss

On Thu, Dec 4, 2008 at 5:36 PM, Seshagiri V <[EMAIL PROTECTED]> wrote:

> I  am sending  a radio tag. Please  use ...
>
> list="#{'true':'Yes','false':'No'}"  instead of
> list="#{'Yes':'Yes','No':'No'}"/>.
> 
> list="#{'true':'Yes','false':'No'}"
>value="%{popDTO.isPublished}" />
>
>
> This is  working fine in my project.
>
>
> Thank you,
> Seshagiri V
> [EMAIL PROTECTED]
>
> US Main: 877 KENSIUM (536.7486)
> US Fax:   312.242.3029
>
> Kensium
> 200 S Wacker Dr, Suite 3100
> Chicago, IL 60606
>
> Confidentiality Note:
> -
> The information contained in this e-mail is strictly confidential and for
> the intended use of the addressee only. Any disclosure, use or copying of
> the information by anyone other than the intended recipient is prohibited.
> If you have received this message in error, please notify the sender
> immediately by return e-mail and securely discard this message.
>
>
> -Original Message-
> From: srinivasa_v . [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 04, 2008 5:14 PM
> To: Struts Users Mailing List
> Subject: 
>  Hi All,
> I am using a radio tag ,I want default value of it to  be yes I tried using
> value="yes" but stiill the same
> can any one help me .
>
>
>   name="medicalCheckup" theme="simple" list="#{'Yes':'Yes','No':'No'}"/>
>
>
> regards
> srinivas
>
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com
> Version: 8.0.176 / Virus Database: 270.9.13/1827 - Release Date: 12/3/2008
> 5:41 PM
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


file name as null in model driven

2008-12-12 Thread srinivasa_v .
Hi All
I have werid problem,
I am using file upload in struts and I have mentioned encrypt in form
and also using modeldriven.

when I try to upload files
I am able to get the file,but the bean from modeldriven  Iam getting as
null.

but when I try to remove encrypt from "form" ,I am able to get the bean
values
and but  file name as null

can any one help me
regards
srinivas


Re: file name as null in model driven

2008-12-12 Thread srinivasa_v .


   
   

in action class

private ReleaseTransferRequestBean releaseTransfer = new
ReleaseTransferRequestBean();
   ArrayList attachPassport = null;
 public Object getModel() {
  return releaseTransfer;
 }
 public String execute() throws Exception
 {

  
System.out.println("---getTransferValue--"+releaseTransfer.getTransferValue());
  
System.out.println("---getSponsorDetailsFileName-"+releaseTransfer.getSponsorDetailsFileName())

On Fri, Dec 12, 2008 at 2:16 PM, Robert Graf-Waczenski wrote:

> Hi,
>
> your problem description is a bit vague. Please post the source code of
> your upload page, the source code of your action class and the relevant
> parts of your struts.xml. I'm sure that then someone can help.
>
> Robert
>
>
> srinivasa_v . wrote:
>
>> Hi All
>> I have werid problem,
>> I am using file upload in struts and I have mentioned encrypt in form
>> and also using modeldriven.
>>
>> when I try to upload files
>> I am able to get the file,but the bean from modeldriven  Iam getting as
>> null.
>>
>> but when I try to remove encrypt from "form" ,I am able to get the bean
>> values
>> and but  file name as null
>>
>> can any one help me
>> regards
>> srinivas
>>
>>
>>
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


user@struts.apache.org

2008-12-13 Thread srinivasa_v .
HI All,
I want to dispay value in text box tht i get from session, is this the right
way to do






regards
srinivas


<%= %> in

2008-12-13 Thread srinivasa_v .
Hi
I am unable to use <%= %> in  
regards
srinivas


*

org.apache.jasper.JasperException*:
/releaseTransfer/EmpReleaseTransApprovalRequestForm.jsp(385,5) According to
TLD or attribute directive in tag file, attribute value does not accept any
expressions

at org.apache.jasper.compiler.DefaultErrorHandler.jspError(*
DefaultErrorHandler.java:39*)

at org.apache.jasper.compiler.ErrorDispatcher.dispatch(*
ErrorDispatcher.java:405*)

at org.apache.jasper.compiler.ErrorDispatcher.jspError(*
ErrorDispatcher.java:146*)

at org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(*
Validator.java:955*)

at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(*
Validator.java:710*)

at org.apache.jasper.compiler.Node$CustomTag.accept(*Node.java:1441*)

at org.apache.jasper.compiler.Node$Nodes.visit(*Node.java:2163*)

at org.apache.jasper.compiler.Node$Visitor.visitBody(*Node.java:2213*)

at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(*
Validator.java:730*)

at org.apache.jasper.compiler.Node$CustomTag.accept(*Node.java:1441*)


Re: file name as null in model driven

2008-12-14 Thread srinivasa_v .
pls find the page that i have created and pls help me

On Fri, Dec 12, 2008 at 6:02 PM, Dave Newton  wrote:

> --- On Fri, 12/12/08, srinivasa_v wrote:
> >  > method="post" enctype="multipart/form-data" >
>
> Oh, did you mean "enctype"?
>
> >
> >
> >
> > in action class [...]
>
> It might be beneficial to include the portions of the form and model that
> include all aspects of the problem you're having.
>
> I've never used a file upload with modelDriven before, but I guess I'd
> assume it'd work.
>
> Dave
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Re: file name as null in model driven

2008-12-15 Thread srinivasa_v .
I have problem  in uploading files,
I have created a class with modle driven.and  in jsp i mentioned form as
encyrpt

when i  submit form  I am getting form values as null from bean,  and file
name as correct  or sometimes viceversa

jar i am using is 2.0.6

On Mon, Dec 15, 2008 at 5:23 PM, srinivasa_v .  wrote:

>  Hi alll,
> Did any one had any idea for file upload in ModelDriven case.
> when I try to use multi part with modledriven,my form values  i am getting
> as null
>
> regards
> srinivas
>
>   On Sun, Dec 14, 2008 at 9:40 PM, srinivasa_v . wrote:
>
>> pls find the page that i have created and pls help me
>>
>> On Fri, Dec 12, 2008 at 6:02 PM, Dave Newton wrote:
>>
>>> --- On Fri, 12/12/08, srinivasa_v wrote:
>>> > >> > method="post" enctype="multipart/form-data" >
>>>
>>> Oh, did you mean "enctype"?
>>>
>>> >
>>> >
>>> >
>>> > in action class [...]
>>>
>>> It might be beneficial to include the portions of the form and model that
>>> include all aspects of the problem you're having.
>>>
>>> I've never used a file upload with modelDriven before, but I guess I'd
>>> assume it'd work.
>>>
>>> Dave
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>>> For additional commands, e-mail: user-h...@struts.apache.org
>>>
>>>
>>
>


user@struts.apache.org

2008-12-15 Thread srinivasa_v .
Hi All,
I am using


regards
srinivas


Re: file name as null in model driven

2008-12-15 Thread srinivasa_v .
Hi alll,
Did any one had any idea for file upload in ModelDriven case.
when I try to use multi part with modledriven,my form values  i am getting
as null

regards
srinivas

On Sun, Dec 14, 2008 at 9:40 PM, srinivasa_v .  wrote:

> pls find the page that i have created and pls help me
>
> On Fri, Dec 12, 2008 at 6:02 PM, Dave Newton wrote:
>
>> --- On Fri, 12/12/08, srinivasa_v wrote:
>> > > > method="post" enctype="multipart/form-data" >
>>
>> Oh, did you mean "enctype"?
>>
>> >
>> >
>> >
>> > in action class [...]
>>
>> It might be beneficial to include the portions of the form and model that
>> include all aspects of the problem you're having.
>>
>> I've never used a file upload with modelDriven before, but I guess I'd
>> assume it'd work.
>>
>> Dave
>>
>>
>> -
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>
>


Re: select with multiple="true"

2008-12-15 Thread srinivasa_v .
I got the problem solved,even I had an issue with file upload,I have update
my jar to 2.0.14
now its working fine.

regards
srini.

On Mon, Dec 15, 2008 at 11:57 PM, Richa Pandharikar <
richa.pandhari...@tdktech.com> wrote:

> Can you please send the  tag entry you have in your JSP?
>
> -Original Message-
> From: srinivasa_v . [mailto:srinivas...@sify.com]
> Sent: Monday, December 15, 2008 5:51 AM
> To: Struts Users Mailing List
> Subject: 
> Hi All,
> I am using while filling the form I am able to select the multiple lanaguges.
>
> But while editing the form,I need to pre poulate the selected data .
> but I am unable to do it dynamicaly.
>
> But when I hardcode those values ,I am able to prepoulate the data .is
> there
> any way to do it dynamically
>
> String name="{'ab','fr'}";
>  multiple="true" size="3" />
>
>
> regards
> srinivas
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


preparable inceptor and validation

2008-12-15 Thread srinivasa_v .
Hi All,
I have sistutation  where I need to return to entryForm, if there any
validation errors,but before going to entryform for second time,
I need to get some prepopulated data , for this I am  using preparable
inceptor,

I am able to get my prepopulated data fine,
but the I am not able to see my action errors,

If I  try to remove preparable inceptor , it working fine,and no
prepopulated data

can any one help me

regards
srini..


Re: file name as null in model driven

2008-12-15 Thread srinivasa_v .
got solved the problem ,I update my jar to 2..0.14

On Tue, Dec 16, 2008 at 12:34 AM, Oscar Alvarez
wrote:

> What interceptor stack are you using?
>
> The names you are using in form is present in your action???
>
> 2008/12/15 srinivasa_v . 
>
> > I have problem  in uploading files,
> > I have created a class with modle driven.and  in jsp i mentioned form as
> > encyrpt
> >
> > when i  submit form  I am getting form values as null from bean,  and
> file
> > name as correct  or sometimes viceversa
> >
> > jar i am using is 2.0.6
> >
> > On Mon, Dec 15, 2008 at 5:23 PM, srinivasa_v . 
> > wrote:
> >
> > >  Hi alll,
> > > Did any one had any idea for file upload in ModelDriven case.
> > > when I try to use multi part with modledriven,my form values  i am
> > getting
> > > as null
> > >
> > > regards
> > > srinivas
> > >
> > >   On Sun, Dec 14, 2008 at 9:40 PM, srinivasa_v .  > >wrote:
> > >
> > >> pls find the page that i have created and pls help me
> > >>
> > >> On Fri, Dec 12, 2008 at 6:02 PM, Dave Newton  > >wrote:
> > >>
> > >>> --- On Fri, 12/12/08, srinivasa_v wrote:
> > >>> >  > name="EmpReleaseTransferForm"
> > >>> > method="post" enctype="multipart/form-data" >
> > >>>
> > >>> Oh, did you mean "enctype"?
> > >>>
> > >>> > > id="sponsorDetails"/>
> > >>> >
> > >>> >
> > >>> > in action class [...]
> > >>>
> > >>> It might be beneficial to include the portions of the form and model
> > that
> > >>> include all aspects of the problem you're having.
> > >>>
> > >>> I've never used a file upload with modelDriven before, but I guess
> I'd
> > >>> assume it'd work.
> > >>>
> > >>> Dave
> > >>>
> > >>>
> > >>> -
> > >>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > >>> For additional commands, e-mail: user-h...@struts.apache.org
> > >>>
> > >>>
> > >>
> > >
> >
>


Re: preparable inceptor and validation

2008-12-16 Thread srinivasa_v .
Hi,
Can u explain me in more detail.



On Tue, Dec 16, 2008 at 7:37 PM, Andy Sykes  wrote:

> Hi,
>
> My simple solution to the same problem was to check if any validation
> errors had occurred at the end of the validation method [with
> hasFieldErrors()], then call my prepareXXX method from there.
>
>
>
> On 16 Dec 2008, at 05:39, srinivasa_v . wrote:
>
> Hi All,
>> I have sistutation  where I need to return to entryForm, if there any
>> validation errors,but before going to entryform for second time,
>> I need to get some prepopulated data , for this I am  using preparable
>> inceptor,
>>
>> I am able to get my prepopulated data fine,
>> but the I am not able to see my action errors,
>>
>> If I  try to remove preparable inceptor , it working fine,and no
>> prepopulated data
>>
>> can any one help me
>>
>> regards
>> srini..
>>
>
>
>  -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


unable to upload a txt file using fileupload ,

2009-01-06 Thread srinivasa_v .
Hi All,
Iam unable to upload a txt file using fileupload ,



image/jpeg,image/gif,image/pjpeg,image/bmp,text/html,text/plain,text/css,text/txt


regards


Re: unable to upload a txt file using fileupload ,

2009-01-07 Thread srinivasa_v .
when i try upload a file of 0 bytes its giving an exception, where can
i define minSize for file

regards
srinivas

On Tue, Jan 6, 2009 at 8:14 PM, Dave Newton  wrote:

>  srinivasa_v . wrote:
>
>> Iam unable to upload a txt file using fileupload ,
>>
>> 
>>
>> image/jpeg,image/gif,image/pjpeg,image/bmp,text/html,text/plain,text/css,text/txt
>> 
>>
>
>
> That's not much information to go on.
>
> Dave
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


404 error in struts 2

2008-06-16 Thread srinivasa_v

 Hi
I have  werid problem, I have downloaded a sample application of struts 2 from 
net and when i try to run it it gives me 404 error ,I have chked all the jars 
ever thing is fine and 
when I comment filter part in web.xml 
I am able to dispay welcome page ,and if i uncomment it same 404 error,

and also I have enclsoed my application pls find the attcahment 
I am using tomcat 5.5.23
and java 1.5

even I tried in tomcat 6 but same 404 , I feel Iam missing out some thing 


Thanks In advance 
regards
srinivas