not displaying errors!

2009-07-09 Thread Kavita Mehta
Hi, I am using Struts 2.0 and I am not able to display the action errors in my JSP. Action class code : if( ( getSelectedlocation() == null ) || getSelectedlocation().compareTo( "" ) == 0 && ( (getLocation() == null ) ||( getLocation().compareTo( "" )

Re: not displaying errors!

2009-07-09 Thread Kavita Mehta
input page. A closer look at your struts.xml would clarify this, though. Robert Kavita Mehta schrieb: > Hi, > I am using Struts 2.0 and I am not able to display the action errors in > my JSP. > > Action class code : > > if( ( getSelectedlocation() == null ) ||

Redirecting to servlet

2009-07-21 Thread Kavita Mehta
Hi, I have an application in struts2.0 . I want a servlet in it to cater to a specific HTTP request. How can I make sure that the request to servlet does not go through struts.xml as it searches for the action class with the same name. thanks, Kavita **

JSP not loading

2009-08-10 Thread Kavita Mehta
Hi , I am facing a strange problem. I am using struts2.0 and my server side code executes well and sends the response ..but my ethereal shows empty response and hence my JSPs are not loading on the browser . This happens when user has mentioned his details in lets say chinese language . i.e. any

Customizing error message in validator framework

2008-01-08 Thread Kavita Mehta
Hi, I want to access value of property "a" while giving an error message for value of property "b". e.g. my error message should be " For value , value is not in the range ". where both and are different properties, Is there any way that I can do that ? Thanks, Kavita

fly-out cross frame menu

2008-01-21 Thread Kavita Mehta
Hi, I have to build a fly out cross frame menu . ...I have come across many paid products / trial versions but I want to know if struts supports such development ..and has any tag lib for this . Thanks in advance, Kavita *DISCLAIMER***

validating conditional fields...

2008-01-23 Thread Kavita Mehta
Hi, i have a JSP in which either I show , fieds or , field based on some condition . Now, i have to validate all x, y,z fields in such a way that if these fields are present, they should be validated else not . can somebdy pls suggest how to do this ... Regards, Kavita ***

How to add prinr option ?

2008-02-04 Thread Kavita Mehta
Hi , I have a web page implemented using Struts and I want to add a Printer button to it so that user can take print out of the same. Is there any option supported by struts to do this ? Thanks in advance , Kavita *DISCLAIMER**

Re: How to add prinr option ?

2008-02-04 Thread Kavita Mehta
CSS and JS are best for this On Feb 5, 2008 12:21 AM, Kavita Mehta <[EMAIL PROTECTED]> wrote: > Hi , > I have a web page implemented using Struts and I want to add a Printer > button to it so that user can take print out of the same. Is there any > option supported by

Re: Question abt jsp and struts 1.3

2008-09-24 Thread Kavita Mehta
Hi Pankaj, If you open firefox and see the page info-->Media ,you can see the image path being picked up by the JSP . That might help . Regards, Kavita "Pankaj Gupta" <[EMAIL PROTECTED]> 09/25/2008 09:56 AM Please respond to "Struts Users Mailing List" To user@struts.apache.org cc S

Authentication from Apache -> tomcat

2008-10-24 Thread Kavita Mehta
Hi, I have a struts application on Tomcat which is linked by a Ruby on Rails application on Apache through tag . My problem is that -- when the user logs in to Rails application (on Apache server), he gets authenticated and a cookie is stored . -- The user clicks on the link to struts applicat

Re: AJAX query

2007-05-18 Thread Kavita Mehta
hor of "Practical Ajax Projects With Java Technology" (2006, Apress, ISBN 1-59059-695-1) and "JavaScript, DOM Scripting and Ajax Projects" (2007, Apress, ISBN 1-59059-816-4) Java Web Parts - http://javawebparts.sourceforge.net Supplying the wheel, so you don't hav

How to make tabs in JSP

2007-06-26 Thread Kavita Mehta
Hi, I want to code a JSP page with tabs . Does struts support an easy way of doing the same. Any link to the related resource would be helpful ...I have searched on Struts-Layout ...any other option ? Thanks Kavita *DISCLAIMER**

Re: How to make tabs in JSP

2007-06-26 Thread Kavita Mehta
urceforge.net/ > > which generate tabs with ul/li HTML. > > > > Regards Angelo > > > > 2007/6/26, Kavita Mehta <[EMAIL PROTECTED]>: > >> > >> Hi, > >> I want to code a JSP page with tabs . Does struts support an easy way > of

Re: How to make tabs in JSP

2007-06-29 Thread Kavita Mehta
t; Subject > > Re: How to make tabs in JSP > > > > > > > > > > > > > > If you are using Struts2.x, you should use tabbedpanel as Adrian have > you > > suggested. > > > > 2007/6/26, Adrian Ost <[EMAIL PROTECTED]>: > > > >

Re: How to make tabs in JSP

2007-06-29 Thread Kavita Mehta
e: How to make tabs in JSP The action which is mapped to the url status.do should forward to the jsp in which you have used the JSPTagControl. In this way several actions can share a single tabbed jsp. So don't put the content of the a tab in a separate jsp. 2007/6/29, Kavita Mehta <

Re: How to make tabs in JSP

2007-07-24 Thread Kavita Mehta
o in your url you must add parameter tabPageInputHiddenName into url like this : /status.do.do?tabPageInputHiddenName_PERSONNE_TABCONTROL=ADRESS_TABPAGE I have explain it at http://jsptabcontrol.sourceforge.net/user-guide.html#How%20manage%20tab%20page%20with%20runat%20server? Regards Ange

Darg n Drop in struts

2007-09-11 Thread Kavita Mehta
Hi, I have a requiremenet where i have to create draggable components in my JSP . Rather, draggable rectangle which can fit into a piece just like jigsaw puzzle and then I have to submit the page conveying the position of each draggable component. I have seen JS Controls Tags taglib but could on

AJAX query

2007-05-16 Thread Kavita Mehta
I have a code in JSP file <%= userDate() %> and I'm updating it using AJAX . but surprisingly, the control doesnt go to this userDate() function again ..due to which my date time is not gettingupdated . Pls help. Thanks Kavita *DISCLAIME

pop up using

2006-06-16 Thread Kavita Mehta
Hi, I need to open a pop up using ..The code I am using is <% String tempStr = "javascript:popUpWindow('/readLogEntry','" + tmpStr + "',100,100,100,100)"; %> action="/LogFileSelectPage">Detail where tmpstr is a variable containing a String . My problem is that i dont want any action on th

how to catch unchecked checkbox values

2006-06-21 Thread Kavita Mehta
hi, i am trying to recieve the status of all checkboxes in my JSP file using form bean . I am using tag in my JSP . Can anybdy suggest me how to get the status of all checkboxes . presently, the form bean just returns me the selected checkbox's value array .. Thanks Kavita

Struts Design question

2006-06-21 Thread Kavita Mehta
Hi, I have a form which has 3 submit buttons . which is a gud ides ... 1) having seperate 3 action classes for each 2) having a single action class which manages the submit action based on the button which has called this action class. Thanks, Kavita ---

breaking a string using ?

2006-06-22 Thread Kavita Mehta
Hi,i have a requirement where i need to display just the first two lines of a multi line string (e.g. exception stack trace) . currently, i am displaying the whole string using a collection & name="logEntriesCollection"/> . Is it possible in struts to display just the first few characters/lines

how to download a file

2006-06-22 Thread Kavita Mehta
my requirement is to save some lines on the server in a file and then download it to the client's PC . can anybdy suggest how to go abt it thanks Kavita - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Pop up menu ??

2006-07-21 Thread Kavita Mehta
Hi, My requirement for a piece of code is that onmouseover on a piece of text in a table column , a pop up menu (the ones which disappear as soon as u take the mouse away) should be displayed which can be clicked to fwd to other action classes. Does anybody have any idea if struts supports this

form in application context`

2006-07-28 Thread Kavita Mehta
Hi, can we keep a form bean in application context ?? My requirement is that every operator that opens my screen should see the same values corresponding to a field ..i.e. i dont want to reset my form bean for each session/operator/window ... Any ideas ?? Thanks Kavita --

Re: form in application context`

2006-07-28 Thread Kavita Mehta
but why not form bean in application context ... Antonio Petrelli wrote: Kavita Mehta ha scritto: Hi, can we keep a form bean in application context ?? My requirement is that every operator that opens my screen should see the same values corresponding to a field ..i.e. i dont want to reset

Re: form in application context`

2006-07-28 Thread Kavita Mehta
hat value is changed to "Done " in form bean by my action class. Antonio Petrelli wrote: Kavita Mehta ha scritto: but why not form bean in application context ... For two reasons: * Struts 1 supports form beans only in request and session scopes (correct me if I am wrong). * Form bea

Re: form in application context`

2006-07-28 Thread Kavita Mehta
can you please exlpain it furthur as i am new to struts n i have never used a DTO . Patil, Sheetal wrote: Its better that u put an normal DTO in application scope and change values as per condition -Original Message- From: Kavita Mehta [mailto:[EMAIL PROTECTED] Sent: Friday, July

Re: form in application context`

2006-07-28 Thread Kavita Mehta
want to store "In Progress".. So just put "In Progress" into an object and save it to application scope Even if you want to change just change t o"Done" and agin store to application -----Original Message- From: Kavita Mehta [mailto:[EMAIL PROTECTED] Sent: Fri

Re: form in application context`

2006-07-28 Thread Kavita Mehta
thanks ... Antonio Petrelli wrote: Kavita Mehta ha scritto: It supports application support too .. http://www.javaworld.com/javaworld/jw-09-2004/jw-0913-struts-p3.html ..the last point is about scope . It is wrong: http://struts.apache.org/1.x/struts-core/apidocs/org/apache/struts/config

Re: form in application context`

2006-07-30 Thread Kavita Mehta
Thanks Chris .. Christopher Goldman wrote: On Fri, 2006-07-28 at 16:36 +0530, Kavita Mehta wrote: hmm ..thanks n how gud is an idea to access this value from outside action class ..i.e. i call a method in action class from outside struts framework which changes its value on recieving

CSS style to

2006-08-18 Thread Kavita Mehta
Hi, I want to remove the underline from the hyperlink which i am creating using in case of CSS style of A:link {text-decoration: none} can be used . but i am not able to find the same for please help. Thanks , Kavita - To

Re: CSS style to

2006-08-18 Thread Kavita Mehta
On 8/18/06, Kavita Mehta <[EMAIL PROTECTED]> wrote: Hi, I want to remove the underline from the hyperlink which i am creating using in case of CSS style of A:link {text-decoration: none} can be used . but i am not able to find the same for please help.

Re: CSS style to

2006-08-18 Thread Kavita Mehta
Okk ..now it did ...when i replaced A:link{ } with just A{} thanks... Li wrote: hi, is so in your css, you can still use a { text-decorartion:none } and in your jsp, just use which will use the css style defined for "a". On 8/18/06, Kavita Mehta <[EMAIL PROTECTED]> wro

rotating text

2006-08-21 Thread Kavita Mehta
Is it possible with HTML or CSS to rotate text as its displayed in the browser? Or is this something better done with a graphic? Id like to rotate a specifc line of text 90 degrees counter clockwise so that the first letter of the first word is at the 'bottom' of a table cell. Thanks Kavita --