Pretty urls without .action

2008-01-17 Thread jignesh(india)
Hi, I am having struts2 application ready with my tomcat server.Now i want to host it with apache server,but it should be looks like pretty one. I mean i want my urls without .action,.do or anything just like action name nothing more.Is this possible in struts2 e.g https://kily.myseaversite.c

Re: Struts Context problem

2007-12-18 Thread jignesh(india)
application. Here is the snippet from > application.xml > > > > myapp.war > XYZ > > > > If that's the case, then it's outside of Struts2, and it will be there in > the URL. Check if this is the case for you. > > -Omkar > &

Re: Automatic form submission using javascript in struts2

2007-12-13 Thread jignesh(india)
ation > > @Result ( > name = "secureResponseResult", > value = "http://24.practice.jad/www_new/merchantRespo.php";, > type = ServletRedirectResult.class, > params = {"serviceId", ${serviceId},"customerid", ${customerId} > ) > &g

Automatic form submission using javascript in struts2

2007-12-06 Thread jignesh(india)
Hi, I want to submit my http://24.practice.jad/www_new/merchantRespo.php"; id="frmid"> Each time page loaded it calls the script but giving javascript error message- Error:- doc

Struts Context problem

2007-11-29 Thread jignesh(india)
Hi, I want to do something with urls generated by struts2. The situation like this My project name e.g XYZ if i use struts2 tags :- e.g and generated html by struts is something like the action tag contains /XYZ prefix with any of the link,action generated by

RE: Struts Type Conversion Problem

2007-11-02 Thread jignesh(india)
ely I cannot explain why case 2 doesn't work, although I wish > it did. > > Thanks a bunch, > Andrew > > -Original Message- > From: jignesh(india) [mailto:[EMAIL PROTECTED] > Sent: Friday, November 02, 2007 3:05 AM > To: user@struts.apache.org > Subject:

Struts Type Conversion Problem

2007-11-01 Thread jignesh(india)
Hello, I have read your conversion here, I am having a strange problem in my converter. case 1:- JSP classname-conversion.properties myDate = tutorial.MyTypeConverter case 2:- JSP classname-conversion.properties user.myDate = tutorial.MyTyp

Re: conditional statement in struts2

2007-10-24 Thread jignesh(india)
t="Loading report... Please wait." >errorText="Unable to load report." >listenTopics="load_report_preview" >executeScripts="true"> > Loading report... Please wait. >

Problem while setting object directly from tag

2007-10-24 Thread jignesh(india)
Hi, I am having problem while setting my selected list object directly to my bean class. My code looks like given below:- public MyAction extends ActionSupport { ... public List getItemList() { return ("a list with itemobjects in it"); } public Us

Re: conditional statement in struts2

2007-10-23 Thread jignesh(india)
It's simple dude use s:if and s:else like mentioned below if part else part hope it will help u.! Regards, Jignesh carmi_cd wrote: > > hi i'm new in struts 2..my question is how can i get a value from a > member variable of my action class and > evaluate it in my if-else-if

How can i get Exception message and StackTrace ?

2007-10-10 Thread jignesh(india)
Hello, Thanks in advanced.! Do anyone help me,how can i get exception message,StackTrace into my user defined class ? My code is looks like this:- /AMK.fi_view/Exception.jsp xxxsome action I am able

Re: Struts 2: Unable to catch exceptions via global-exception-mappings

2007-10-10 Thread jignesh(india)
mikeh96 wrote: > > I am unable to trap an exception and it's being pushed up until it becomes > a 500 Servlet Exception. > Hello, > Thanks in advanced.! > Do anyone help me,how can i get exception message,StackTrace into my > user defined class ? > My is looks like this:- > >

Re: [S2] ExecAndWait interceptor : request.getSession() null

2007-10-10 Thread jignesh(india)
Hi, I have faced the same problem.. But i am successfully able to crop it just by adding "basicStack" interceptors exact before "execAndWait". E.g:- Best Regards, Jignesh mleneveut wrote: > > Hi, > > I try to add the execAndWait interceptor in my application