convention plugin 2.1.8.1 and JBoss 5.1

2010-07-09 Thread Scott Miller
I have been unable to get the struts convention plugin to work on JBoss 5.1. If I set value="true" /> as per the convention plugin documentation, and debug through the setup code, I notice that the WEB-INF/classes directory in my war (which is deployed in an ear) gets removed from the se

hi please help me struts2 with hibernate

2010-07-09 Thread Salish S
hi hello i had done the project as described in this site example http://www.vaannila.com/struts-2/struts-2-example/struts-2-crud-example-1.html its working fine just the change is that the Db i used is mysql thatall But how can i do the clientside validtion by xml file and how can i do the same

There is no Action mapped for namespace / and action name SERVICOS/.

2010-07-09 Thread Gustavo Felisberto
Hello List, I have a somewhat strange setup where my Struts 2 application is a proxy for some other system. In struts.xml I have: This action does not have any result because it implements ServletResponseAware and ServletRequestAware. In my code I will analyze the requested url

Re: Struts2 or Struts1?

2010-07-09 Thread Salish S
struts2 On Fri, Jul 9, 2010 at 6:28 PM, Dale Newfield wrote: > On 7/9/10 6:42 AM, Alvarito wrote: > >> Does anyone knows what is the support and existing online documentation >> to work with Struts2 and Hibernate together? >> > > Matt Raible has put together quite useful documentation that goes

Re: Struts2 or Struts1?

2010-07-09 Thread Dale Newfield
On 7/9/10 6:42 AM, Alvarito wrote: Does anyone knows what is the support and existing online documentation to work with Struts2 and Hibernate together? Matt Raible has put together quite useful documentation that goes along with his "AppFuse" tool that basically helps you kick start an applic

Re: hi please help me struts2

2010-07-09 Thread Brian Thompson
For client-side validation: Just write a javascript function and have it run for either the onclick event of the form submit button or the onsubmit event for the form itself. For "Hibernate by property file", I'm not sure what you mean. I've always used either hibernate.cfg.xml files or annotati

Re: OutOfMemoryError: PermGen space!!!! Dont know why?

2010-07-09 Thread Brian Thompson
Oh, I misunderstood. I thought you were seeing this during development, not when running the app on a remote server. In this case, you will need to update the Catalina startup script. These pages have more info: http://www.gria.org/documentation/5.2/faq/tomcat-outofmemory-error-permgen-space htt

Fwd: hi please help me struts2

2010-07-09 Thread Salish S
-- Forwarded message -- From: Salish S Date: Fri, Jul 9, 2010 at 6:07 PM Subject: hi please help me struts2 To: "es...@vaannila.com" Hi i had gone through the struts2 crud in the http://www.vaannila.com/struts-2/struts-2-example/struts-2-crud-example-1.html its fine and goog pg

Re: Struts2 or Struts1?

2010-07-09 Thread Alvarito
Thanks Am Am, I have found the eBook on the web with that title. Looks good. Cheers Anyone else? am am wrote: In struts 2 you can use any POJO as action class. But normally one extends ActionSupport for convenience Check Manning struts 2 in action From: Al

Re: Struts2 or Struts1?

2010-07-09 Thread am am
In struts 2 you can use any POJO as action class. But normally one extends ActionSupport for convenience Check Manning struts 2 in action From: Alvarito To: user@struts.apache.org Sent: Fri, July 9, 2010 1:42:34 PM Subject: Struts2 or Struts1? Hi there, I w

Struts2 or Struts1?

2010-07-09 Thread Alvarito
Hi there, I would like to use Struts2 for a personal project in J2EE I have in mind. Does anyone knows what is the support and existing online documentation to work with Struts2 and Hibernate together? I have been following a tutorial online here, and I can see Struts2 does not make use any

RE: OutOfMemoryError: PermGen space!!!! Dont know why?

2010-07-09 Thread vikram.g.byali
-XX:PermSize=64M -XX:MaxPermSize=128M, these parameters define "PermGenSpace", this is where all class files are loaded. Check out your Heap memory size. The PermGenSpace should be 1/4th of your allocated Heap memory. Best Regards, Vikram -Original Message- From: Brian Thompso

Re: OutOfMemoryError: PermGen space!!!! Dont know why?

2010-07-09 Thread abhishek jain
On Fri, Jul 9, 2010 at 1:13 PM, Brian Thompson wrote: > You could also adjust your eclipse.ini to give more memory to the JVM: > > -XX:PermSize=64M -XX:MaxPermSize=128M > > Add it to the --vmargs section of the file. > > -Brian > > thanks Brian, Where will i find eclipse.ini file, i want to twea

Re: OutOfMemoryError: PermGen space!!!! Dont know why?

2010-07-09 Thread Brian Thompson
You could also adjust your eclipse.ini to give more memory to the JVM: -XX:PermSize=64M -XX:MaxPermSize=128M Add it to the --vmargs section of the file. -Brian - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For a

Re: OutOfMemoryError: PermGen space!!!! Dont know why?

2010-07-09 Thread Lukasz Lenart
Try to build just a war file and deploy it without MyEclipse help. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe, e-mail: user-unsubscr...@struts.apa

OutOfMemoryError: PermGen space!!!! Dont know why?

2010-07-09 Thread abhishek jain
Hi friends, I need urgent help, i have developed an application but when i run that on server i get the following error, I am using Tomcat 5.5 and Struts 1.1 , i develpoed application using Myeclipse, do i need to optimize application by removing some libraries before deploying or so. Pl. help B