legend don't work under of struts2

2010-03-13 Thread red phoenix
I want to use legend tag under struts2,I set legend css like follows: form{ padding:10px; margin:0 auto; } form#form legend { border:1px solid #e8e7e1; background:#fff url(../img/form_red.gif) repeat-x center left; color:#a43708; } following code can run well: Add user information Th

Re: How to deploy struts on tomcat

2010-03-13 Thread abhishek jain
Hi Girish, Yes i am using mod_jk , why! is that not efficient, please reply, Also i am gettign the following error at times, "Cannot get a connection, pool error Timeout waiting for idle object" I need to restart tomcat to remove the error, pl. advice, thanks abhishek On Sat, Mar 13, 2010 at 9

Re: page redirecting problem

2010-03-13 Thread tesla
special thanks for your advice i found where validation fails.Now it's working fine Paweł Wielgus wrote: > > Hi, > specifying bookAdd.jsp as input is for validation framework only, > nor it is good or bad. > So when You submit form on page, struts try to fire BookAddAction, > but if validation

Re: page redirecting problem

2010-03-13 Thread Paweł Wielgus
Hi, specifying bookAdd.jsp as input is for validation framework only, nor it is good or bad. So when You submit form on page, struts try to fire BookAddAction, but if validation fails (and it looks like it is the case) it comes back to input which is bookAdd.jsp Try to change input for something el

Re: page redirecting problem

2010-03-13 Thread tesla
thanks for reply. " BookAdd.jsp is defined as input for bookAdd action." is it wrong??i think it must be like that. when i click submit button at the bookAdd.jsp i wanna forward to the data jsp but it dont there is no action i'm still at the bookAdd.jsp where i am wrong

Re: How to deploy struts on tomcat

2010-03-13 Thread Girish Naik
Number of sites that give u ant tutorials, you can also have a look @ http://ant.apache.org/manual/ ps: r u using modjk to bridge apache and tomcat? Regards, - Girish Naik Mobile:-+91-09740091638 girish.n...@gmail.com On Sat, Mar 13, 2010

Re: page redirecting problem

2010-03-13 Thread Paweł Wielgus
Hi Tesla, validation problem? BookAdd.jsp is defined as input for bookAdd action. Best greetings, Pawel Wielgus. 2010/3/13, tesla : > > Hi > > I have a basic struts project i can't redirect my jsp page to another.But i > did the similar example before that it was working but know it's not. > My p

S2 as ESB

2010-03-13 Thread Frans Thamura
hi all can the S2 using S2 plugins become ESB? i see mule concept, and if we change the M and V become services and services, i think S2 = ESB -- Frans Thamura Meruvian. Experiential Tempation of Java and Enterprise OpenSource Meruvian jTechnopreneur Program (S1) telah hadir, Dapatkan benefit

Re: Catching url for action not defined

2010-03-13 Thread abhishek jain
Hi, urlrewrite.xml did worked for me, thanks abhishek On Thu, Mar 11, 2010 at 7:17 PM, Brian Thompson wrote: > Wildcard mapping should do the trick. See [1]. > > -Brian > > [1] - > http://struts.apache.org/2.0.14/docs/action-configuration.html#ActionConfiguration-WildcardMethod > > > > On Thu, M

Re: How to deploy struts on tomcat

2010-03-13 Thread abhishek jain
Hi Girish and Pawal, Thanks for the help, the copy and paste worked, the error i am getting is that the code works on :8080 port and not via apache, Some of the code gets delivered by 80 apache though, the one which is supposed to be worked via web.xml like url rewrite. I guess some error with co

Error: Cannot get a connection, pool error Timeout waiting for idle object

2010-03-13 Thread abhishek jain
Hi friends. I am using strurts 1 with mysql and is using the datasource in struts-config.xml. I am gettting the following errors in my log file, Cannot get a connection, pool error Timeout waiting for idle object What could be the reason to this error, it seems like this is because of db which i