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 character other than english doesnt get interpreted by 
my JSP code. 

Can anyone pls help ?


Thanks,
Kavita




*DISCLAIMER*

This message and/or attachment(s) contained here are confidential, proprietary 
to HUGHES SYSTIQUE and its customers. 
Contents may be privileged or otherwise protected by law. The information is 
solely intended for the entity it is 
addressed to. If you are not the intended recipient of this message, it is 
strictly prohibited to read, forward, 
print, retain, copy or disseminate this message or any part of it. If you have 
received this e-mail in error, 
please notify the sender immediately and delete the message.





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




*DISCLAIMER*

This message and/or attachment(s) contained here are confidential, proprietary 
to HUGHES SYSTIQUE and its customers. 
Contents may be privileged or otherwise protected by law. The information is 
solely intended for the entity it is 
addressed to. If you are not the intended recipient of this message, it is 
strictly prohibited to read, forward, 
print, retain, copy or disseminate this message or any part of it. If you have 
received this e-mail in error, 
please notify the sender immediately and delete the message.





s:actionerrors 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(  ) == 0 )))
{
mLog.warn( Location not 
specified. Added Error message );
addActionError( Please specify a 
Location for the message .  );
}


JSP code :

tr
td align=left valign=topps:actionerror id=err //p/td
  /tr


The error is added successfully as i can see from the logs but it is not 
getting displayed  on the JSP ..any pointers ?


Thanks,
Kavita





*DISCLAIMER*

This message and/or attachment(s) contained here are confidential, proprietary 
to HUGHES SYSTIQUE and its customers. 
Contents may be privileged or otherwise protected by law. The information is 
solely intended for the entity it is 
addressed to. If you are not the intended recipient of this message, it is 
strictly prohibited to read, forward, 
print, retain, copy or disseminate this message or any part of it. If you have 
received this e-mail in error, 
please notify the sender immediately and delete the message.





Re: s:actionerrors not displaying errors!

2009-07-09 Thread Kavita Mehta
Thanks Robert  .. Lemme check the same.



Robert Graf-Waczenski r...@lsoft.com 
07/09/2009 06:51 PM
Please respond to
Struts Users Mailing List user@struts.apache.org


To
Struts Users Mailing List user@struts.apache.org
cc

Subject
Re: s:actionerrors not displaying errors!






My first guess would be that you are not properly dispatching back to 
your 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 ) || 
getSelectedlocation().compareTo( 
  ) == 0 
  ( (getLocation() == null ) 
||( 
 getLocation().compareTo(  ) == 0 )))
 {
 mLog.warn( Location not 
 specified. Added Error message );
 addActionError( Please specify 
a 
 Location for the message .  );
 }


 JSP code :

 tr
 td align=left valign=topps:actionerror id=err //p/td
   /tr


 The error is added successfully as i can see from the logs but it is not 

 getting displayed  on the JSP ..any pointers ?


 Thanks,
 Kavita





 
*DISCLAIMER*

 This message and/or attachment(s) contained here are confidential, 
proprietary to HUGHES SYSTIQUE and its customers. 
 Contents may be privileged or otherwise protected by law. The 
information is solely intended for the entity it is 
 addressed to. If you are not the intended recipient of this message, it 
is strictly prohibited to read, forward, 
 print, retain, copy or disseminate this message or any part of it. If 
you have received this e-mail in error, 
 please notify the sender immediately and delete the message.

 



 



-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org






*DISCLAIMER*

This message and/or attachment(s) contained here are confidential, proprietary 
to HUGHES SYSTIQUE and its customers. 
Contents may be privileged or otherwise protected by law. The information is 
solely intended for the entity it is 
addressed to. If you are not the intended recipient of this message, it is 
strictly prohibited to read, forward, 
print, retain, copy or disseminate this message or any part of it. If you have 
received this e-mail in error, 
please notify the sender immediately and delete the message.





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 a href 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 application and is directed to 
the application on Tomcat 

-- when I try to authenticate the user on struts application, I can't 
access the cookie initially set by the Rails application . 


Pls help if anyone has any pointers on this .


Thanks ,
Kavita




*DISCLAIMER*

This message and/or attachment(s) contained here are confidential, proprietary 
to HUGHES SYSTIQUE and its customers. 
Contents may be privileged or otherwise protected by law. The information is 
solely intended for the entity it is 
addressed to. If you are not the intended recipient of this message, it is 
strictly prohibited to read, forward, 
print, retain, copy or disseminate this message or any part of it. If you have 
received this e-mail in error, 
please notify the sender immediately and delete the message.





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 user@struts.apache.org


To
user@struts.apache.org
cc

Subject
Question abt jsp and struts 1.3






Hi,

I am using struts 1.3. I have kept  jsp folder parallel to WEB-INF folder.
Inside jsp pages I have images folder, where I am keeping the images
referred by jsp.
In jsp I giving src of images as as : images/image-1.

So when I access  the jsp directly, then I can see  the images.. But if 
try
to access  it through action class
action name=/Welcome.do 
result =  Welcome.jsp
/action

then I can  see the the jsp contents.. but not the image inside it.


Thanks,

-P





*DISCLAIMER*

This message and/or attachment(s) contained here are confidential, proprietary 
to HUGHES SYSTIQUE and its customers. 
Contents may be privileged or otherwise protected by law. The information is 
solely intended for the entity it is 
addressed to. If you are not the intended recipient of this message, it is 
strictly prohibited to read, forward, 
print, retain, copy or disseminate this message or any part of it. If you have 
received this e-mail in error, 
please notify the sender immediately and delete the message.





Re: How to add prinr option ?

2008-02-04 Thread Kavita Mehta
how do u implement using js ..can u send me any link having more info ..




bhaarat Sharma [EMAIL PROTECTED] 
02/05/2008 11:02 AM
Please respond to
Struts Users Mailing List user@struts.apache.org


To
Struts Users Mailing List user@struts.apache.org
cc

Subject
Re: How to add prinr option ?






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 struts to do this ?


 Thanks in advance ,
 Kavita




 
*DISCLAIMER*

 This message and/or attachment(s) contained here are confidential, 
proprietary to HUGHES SYSTIQUE and its customers.
 Contents may be privileged or otherwise protected by law. The 
information is solely intended for the entity it is
 addressed to. If you are not the intended recipient of this message, it 
is strictly prohibited to read, forward,
 print, retain, copy or disseminate this message or any part of it. If 
you have received this e-mail in error,
 please notify the sender immediately and delete the message.

 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






*DISCLAIMER*

This message and/or attachment(s) contained here are confidential, proprietary 
to HUGHES SYSTIQUE and its customers. 
Contents may be privileged or otherwise protected by law. The information is 
solely intended for the entity it is 
addressed to. If you are not the intended recipient of this message, it is 
strictly prohibited to read, forward, 
print, retain, copy or disseminate this message or any part of it. If you have 
received this e-mail in error, 
please notify the sender immediately and delete the message.





validating conditional fields...

2008-01-23 Thread Kavita Mehta
Hi,
i have a JSP in which either I show x , y fieds  or y, z 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




*DISCLAIMER*

This message and/or attachment(s) contained here are confidential, proprietary 
to HUGHES SYSTIQUE and its customers. 
Contents may be privileged or otherwise protected by law. The information is 
solely intended for the entity it is 
addressed to. If you are not the intended recipient of this message, it is 
strictly prohibited to read, forward, 
print, retain, copy or disseminate this message or any part of it. If you have 
received this e-mail in error, 
please notify the sender immediately and delete the message.





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*

This message and/or attachment(s) contained here are confidential, proprietary 
to HUGHES SYSTIQUE and its customers. 
Contents may be privileged or otherwise protected by law. The information is 
solely intended for the entity it is 
addressed to. If you are not the intended recipient of this message, it is 
strictly prohibited to read, forward, 
print, retain, copy or disseminate this message or any part of it. If you have 
received this e-mail in error, 
please notify the sender immediately and delete the message.





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 b, 
value a is not in the range .
where both a and b are different properties,
Is there any way that I can do that ?

Thanks,
Kavita




*DISCLAIMER*

This message and/or attachment(s) contained here are confidential, proprietary 
to HUGHES SYSTIQUE and its customers. 
Contents may be privileged or otherwise protected by law. The information is 
solely intended for the entity it is 
addressed to. If you are not the intended recipient of this message, it is 
strictly prohibited to read, forward, 
print, retain, copy or disseminate this message or any part of it. If you have 
received this e-mail in error, 
please notify the sender immediately and delete the message.





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 only find list in that 
...Anybdy has any other suggestion on how to achieve this.

Thanks,
Kavita




*DISCLAIMER*

This message and/or attachment(s) contained here are confidential, proprietary 
to HUGHES SYSTIQUE and its customers. 
Contents may be privileged or otherwise protected by law. The information is 
solely intended for the entity it is 
addressed to. If you are not the intended recipient of this message, it is 
strictly prohibited to read, forward, 
print, retain, copy or disseminate this message or any part of it. If you have 
received this e-mail in error, 
please notify the sender immediately and delete the message.





Re: How to make tabs in JSP

2007-07-24 Thread Kavita Mehta
Hi Angelo,
Do you have any idea how can I make the tabs scrollable . Actually, the 
height of one of the tabs is more which makes the other tabs look empty 

OR can the tabs be of different height ?? which I assume not cos height is 
the parameter of jsptabcontrol:tabControl and not  jsptabcontrol:tabPage

thanks




Angelo zerr [EMAIL PROTECTED] 
06/29/2007 06:13 PM
Please respond to
Struts Users Mailing List user@struts.apache.org


To
Struts Users Mailing List user@struts.apache.org
cc

Subject
Re: How to make tabs in JSP






Hi
thank you Wong dor your response. You have right.
So 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 Angelo


2007/6/29, Kavita Mehta [EMAIL PROTECTED]:

 But then that means that my tabbed JSP would have code for all the tabs
 ..How does it identify which tab code to open ??




 WongTseng [EMAIL PROTECTED]
 06/29/2007 05:28 PM
 Please respond to
 Struts Users Mailing List user@struts.apache.org


 To
 Struts Users Mailing List user@struts.apache.org
 cc

 Subject
 Re: 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 [EMAIL PROTECTED]:
 
  Hi Angelo,
  thanks for your help . I am using the JSPTagControl in my JSP as:
 
  jsptabcontrol:tabControl name=PERSONNE_TABCONTROL
width=800px
height=100%
jsptabcontrol:tabPage name=IDENTITY_TABPAGE
   title=BSSMAP Stats
   width=100px 
 BSSMAP Stats ...follows...
/jsptabcontrol:tabPage
jsptabcontrol:tabPage name=ADRESS_TABPAGE
   title=Call Control Stats
   href=/status.do 
/jsptabcontrol:tabPage
 
  /jsptabcontrol:tabControl
 
  My problem is that when I click the second tab, the page corresponding
 to
  /status.do  is displayed as a full page JSP and not as a part of 
tabbed
  JSP page. Please help.
 
  Regards,
  Kavita
 



 --
 Wong Tseng
 王曾







 
*DISCLAIMER*

 This message and/or attachment(s) contained here are confidential,
 proprietary to HUGHES SYSTIQUE and its customers.
 Contents may be privileged or otherwise protected by law. The 
information
 is solely intended for the entity it is
 addressed to. If you are not the intended recipient of this message, it 
is
 strictly prohibited to read, forward,
 print, retain, copy or disseminate this message or any part of it. If 
you
 have received this e-mail in error,
 please notify the sender immediately and delete the message.


 








*DISCLAIMER*

This message and/or attachment(s) contained here are confidential, proprietary 
to HUGHES SYSTIQUE and its customers. 
Contents may be privileged or otherwise protected by law. The information is 
solely intended for the entity it is 
addressed to. If you are not the intended recipient of this message, it is 
strictly prohibited to read, forward, 
print, retain, copy or disseminate this message or any part of it. If you have 
received this e-mail in error, 
please notify the sender immediately and delete the message.





Re: How to make tabs in JSP

2007-06-29 Thread Kavita Mehta
Hi Angelo,
thanks for your help . I am using the JSPTagControl in my JSP as:

 jsptabcontrol:tabControl name=PERSONNE_TABCONTROL 
  width=800px
  height=100% 
  jsptabcontrol:tabPage name=IDENTITY_TABPAGE 
 title=BSSMAP Stats 
 width=100px 
   BSSMAP Stats ...follows...
  /jsptabcontrol:tabPage
  jsptabcontrol:tabPage name=ADRESS_TABPAGE 
 title=Call Control Stats 
 href=/status.do  
  /jsptabcontrol:tabPage
 
/jsptabcontrol:tabControl

My problem is that when I click the second tab, the page corresponding to 
/status.do  is displayed as a full page JSP and not as a part of tabbed 
JSP page. Please help.

Regards,
Kavita





Angelo zerr [EMAIL PROTECTED] 
06/27/2007 01:22 PM
Please respond to
Struts Users Mailing List user@struts.apache.org


To
Struts Users Mailing List user@struts.apache.org
cc

Subject
Re: How to make tabs in JSP






Hello,
if you have questions about JSPTabControl don't hesitate to ask me.

Regards Angelo

2007/6/27, Yoge [EMAIL PROTECTED]:

 I have used http://webfx.eae.net/dhtml/tabpane/tabpane.html in our site
 http://site24x7.com

 May be u can try that also

 --
 Yoge,
 AdventNet, Inc.
 925-965-6528
 [EMAIL PROTECTED]
 site24x7.com



 On 6/27/07, Kavita Mehta [EMAIL PROTECTED] wrote:
 
  I'm using Struts 1.2 ...
  wd search more on JSPTabControl as you previously suggested.
 
  thanks
 
 
 
  Angelo zerr [EMAIL PROTECTED]
  06/26/2007 06:17 PM
  Please respond to
  Struts Users Mailing List user@struts.apache.org
 
 
  To
  Struts Users Mailing List user@struts.apache.org
  cc
 
  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]:
  
   Angelo zerr schrieb:
Hi,
perhaps you could be interest with JSPTabControl
http://jsptabcontrol.sourceforge.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
doing the same.
Any link to the related resource would be helpful ...I have
 searched
  on
Struts-Layout ...any other option ?
   
Thanks
Kavita
   
   
   
   
   
   
  
 
 
 
*DISCLAIMER*
   
   
This message and/or attachment(s) contained here are 
confidential,
proprietary to HUGHES SYSTIQUE and its customers.
Contents may be privileged or otherwise protected by law. The
information
is solely intended for the entity it is
addressed to. If you are not the intended recipient of this
 message,
it is
strictly prohibited to read, forward,
print, retain, copy or disseminate this message or any part of 
it.
 If
you
have received this e-mail in error,
please notify the sender immediately and delete the message.
   
   
   
  
 
 
 

   
   
   
   
   or u just go for the struts 2 tag tabbedpanel ... pretty easy to
   customize with new template.
   http://struts.apache.org/2.x/docs/tabbedpanel.html
   greets adi
  
  
   --
   Adrian Ost
  
   MindMatics AG
   Marcel-Breuer-Str. 18
   D-80807 München
  
   E-Mail: [EMAIL PROTECTED]
   Web:   www.MindMatics.de
  
 
   Der Inhalt dieser E-Mail ist vertraulich. Sollte Ihnen die E-Mail
   irrtümlich zugesandt worden sein, bitten wir Sie, uns unverzüglich
   zu benachrichtigen und die E-Mail zu löschen.
  
   Ust-IdNr. DE211603599
   Registergericht München: HRB 131369
   Vorstand: Ingo Lippert, Christian Hinrichs, Oliver Beckmann, Armin
   Barbalata
   Aufsichtsrat: Martin Weber (Vorsitzender), Dr. Dirk Brückner
  (stellvertr.
   Vorsitzender)
  
   The contents of this e-mail are confidential. If you received this
   e-mail in error, please notify us immediately and delete the e-mail.
  
 
  
  
   
-
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
 
 
 
 
 
 
*DISCLAIMER*
 
  This message and/or attachment(s) contained here are confidential,
  proprietary to HUGHES SYSTIQUE and its customers.
  Contents may be privileged or otherwise protected by law. The
 information
  is solely intended for the entity it is
  addressed to. If you are not the intended recipient of this message

Re: How to make tabs in JSP

2007-06-29 Thread Kavita Mehta
But then that means that my tabbed JSP would have code for all the tabs 
..How does it identify which tab code to open ??




WongTseng [EMAIL PROTECTED] 
06/29/2007 05:28 PM
Please respond to
Struts Users Mailing List user@struts.apache.org


To
Struts Users Mailing List user@struts.apache.org
cc

Subject
Re: 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 [EMAIL PROTECTED]:

 Hi Angelo,
 thanks for your help . I am using the JSPTagControl in my JSP as:

 jsptabcontrol:tabControl name=PERSONNE_TABCONTROL
   width=800px
   height=100%
   jsptabcontrol:tabPage name=IDENTITY_TABPAGE
  title=BSSMAP Stats
  width=100px 
BSSMAP Stats ...follows...
   /jsptabcontrol:tabPage
   jsptabcontrol:tabPage name=ADRESS_TABPAGE
  title=Call Control Stats
  href=/status.do 
   /jsptabcontrol:tabPage

 /jsptabcontrol:tabControl

 My problem is that when I click the second tab, the page corresponding 
to
 /status.do  is displayed as a full page JSP and not as a part of tabbed
 JSP page. Please help.

 Regards,
 Kavita




-- 
Wong Tseng
王曾






*DISCLAIMER*

This message and/or attachment(s) contained here are confidential, proprietary 
to HUGHES SYSTIQUE and its customers. 
Contents may be privileged or otherwise protected by law. The information is 
solely intended for the entity it is 
addressed to. If you are not the intended recipient of this message, it is 
strictly prohibited to read, forward, 
print, retain, copy or disseminate this message or any part of it. If you have 
received this e-mail in error, 
please notify the sender immediately and delete the message.





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*

This message and/or attachment(s) contained here are confidential, proprietary 
to HUGHES SYSTIQUE and its customers. 
Contents may be privileged or otherwise protected by law. The information is 
solely intended for the entity it is 
addressed to. If you are not the intended recipient of this message, it is 
strictly prohibited to read, forward, 
print, retain, copy or disseminate this message or any part of it. If you have 
received this e-mail in error, 
please notify the sender immediately and delete the message.





Re: How to make tabs in JSP

2007-06-26 Thread Kavita Mehta
I'm using Struts 1.2 ...
wd search more on JSPTabControl as you previously suggested.

thanks



Angelo zerr [EMAIL PROTECTED] 
06/26/2007 06:17 PM
Please respond to
Struts Users Mailing List user@struts.apache.org


To
Struts Users Mailing List user@struts.apache.org
cc

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]:

 Angelo zerr schrieb:
  Hi,
  perhaps you could be interest with JSPTabControl
  http://jsptabcontrol.sourceforge.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
  doing the same.
  Any link to the related resource would be helpful ...I have searched 
on
  Struts-Layout ...any other option ?
 
  Thanks
  Kavita
 
 
 
 
 
 
 
*DISCLAIMER*
 
 
  This message and/or attachment(s) contained here are confidential,
  proprietary to HUGHES SYSTIQUE and its customers.
  Contents may be privileged or otherwise protected by law. The
  information
  is solely intended for the entity it is
  addressed to. If you are not the intended recipient of this message,
  it is
  strictly prohibited to read, forward,
  print, retain, copy or disseminate this message or any part of it. If
  you
  have received this e-mail in error,
  please notify the sender immediately and delete the message.
 
 
 
 

 
 
 
 
 or u just go for the struts 2 tag tabbedpanel ... pretty easy to
 customize with new template.
 http://struts.apache.org/2.x/docs/tabbedpanel.html
 greets adi


 --
 Adrian Ost

 MindMatics AG
 Marcel-Breuer-Str. 18
 D-80807 München

 E-Mail: [EMAIL PROTECTED]
 Web:   www.MindMatics.de
 
 Der Inhalt dieser E-Mail ist vertraulich. Sollte Ihnen die E-Mail
 irrtümlich zugesandt worden sein, bitten wir Sie, uns unverzüglich
 zu benachrichtigen und die E-Mail zu löschen.

 Ust-IdNr. DE211603599
 Registergericht München: HRB 131369
 Vorstand: Ingo Lippert, Christian Hinrichs, Oliver Beckmann, Armin
 Barbalata
 Aufsichtsrat: Martin Weber (Vorsitzender), Dr. Dirk Brückner 
(stellvertr.
 Vorsitzender)

 The contents of this e-mail are confidential. If you received this
 e-mail in error, please notify us immediately and delete the e-mail.
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]







*DISCLAIMER*

This message and/or attachment(s) contained here are confidential, proprietary 
to HUGHES SYSTIQUE and its customers. 
Contents may be privileged or otherwise protected by law. The information is 
solely intended for the entity it is 
addressed to. If you are not the intended recipient of this message, it is 
strictly prohibited to read, forward, 
print, retain, copy or disseminate this message or any part of it. If you have 
received this e-mail in error, 
please notify the sender immediately and delete the message.





Re: AJAX query

2007-05-18 Thread Kavita Mehta
thanks ..it was the previous case only .




Frank W. Zammetti [EMAIL PROTECTED] 
05/16/2007 07:11 PM
Please respond to
Struts Users Mailing List user@struts.apache.org


To
Struts Users Mailing List user@struts.apache.org
cc

Subject
Re: AJAX query






When you say your updating it using AJAX, do you mean you are making 
an AJAX request and putting the results into oamHeaderDateTimeInfo?  Or 
do you mean you are making an AJAX request who's response is generated 
by this JSP?  If the former, then it makes perfect sense: userData() is 
a server-side function and would absolutely not be executed again... if 
the later, we may need further details to know because it certainly 
appears that it should be working as you expect.

Frank

--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
Author 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 have to reinvent it!

Kavita Mehta wrote:
 I have a code in JSP file 
 span id=oamHeaderDateTimeInfo%= userDate() %/span
 
 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
 
 
 
 
 
*DISCLAIMER*
 
 This message and/or attachment(s) contained here are confidential, 
proprietary to HUGHES SYSTIQUE and its customers. 
 Contents may be privileged or otherwise protected by law. The 
information is solely intended for the entity it is 
 addressed to. If you are not the intended recipient of this message, it 
is strictly prohibited to read, forward, 
 print, retain, copy or disseminate this message or any part of it. If 
you have received this e-mail in error, 
 please notify the sender immediately and delete the message.
 
 

 
 
 
 
 
 
 No virus found in this incoming message.
 Checked by AVG Free Edition. 
 Version: 7.5.467 / Virus Database: 269.7.1/805 - Release Date: 5/15/2007 
10:47 AM

-- 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





*DISCLAIMER*

This message and/or attachment(s) contained here are confidential, proprietary 
to HUGHES SYSTIQUE and its customers. 
Contents may be privileged or otherwise protected by law. The information is 
solely intended for the entity it is 
addressed to. If you are not the intended recipient of this message, it is 
strictly prohibited to read, forward, 
print, retain, copy or disseminate this message or any part of it. If you have 
received this e-mail in error, 
please notify the sender immediately and delete the message.





AJAX query

2007-05-16 Thread Kavita Mehta
I have a code in JSP file 
span id=oamHeaderDateTimeInfo%= userDate() %/span

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




*DISCLAIMER*

This message and/or attachment(s) contained here are confidential, proprietary 
to HUGHES SYSTIQUE and its customers. 
Contents may be privileged or otherwise protected by law. The information is 
solely intended for the entity it is 
addressed to. If you are not the intended recipient of this message, it is 
strictly prohibited to read, forward, 
print, retain, copy or disseminate this message or any part of it. If you have 
received this e-mail in error, 
please notify the sender immediately and delete the message.





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


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



CSS style to html:link

2006-08-18 Thread Kavita Mehta

Hi,
I want to remove the underline from the hyperlink which i am creating 
using html:link
in case of a href ..  CSS style of A:link {text-decoration: none} can 
be used .

but i am not able to find the same for html:link
please help.

Thanks ,
Kavita

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: CSS style to html:link

2006-08-18 Thread Kavita Mehta
i tried that but its not working . In the JSP that is finally displayed, 
the a href tag is not including the style tag in it .


Li wrote:

hi, html:link is a/a
so in your css, you can still use
a {
text-decorartion:none
}

and in your jsp, just use html:link which will use the css style 
defined

for a.


On 8/18/06, Kavita Mehta [EMAIL PROTECTED] wrote:


Hi,
I want to remove the underline from the hyperlink which i am creating
using html:link
in case of a href ..  CSS style of A:link {text-decoration: none} can
be used .
but i am not able to find the same for html:link
please help.

Thanks ,
Kavita

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: CSS style to html:link

2006-08-18 Thread Kavita Mehta

Okk ..now it did ...when i replaced
A:link{ }
with just A{}

thanks...

Li wrote:

hi, html:link is a/a
so in your css, you can still use
a {
text-decorartion:none
}

and in your jsp, just use html:link which will use the css style 
defined

for a.


On 8/18/06, Kavita Mehta [EMAIL PROTECTED] wrote:


Hi,
I want to remove the underline from the hyperlink which i am creating
using html:link
in case of a href ..  CSS style of A:link {text-decoration: none} can
be used .
but i am not able to find the same for html:link
please help.

Thanks ,
Kavita

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 an alarm/trap.


Patil, Sheetal wrote:


DTO means normal object which contains the data
In your case you 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 oDone and agin store to
application 
  


It's not only a good idea.  That is exactly what the DTO (Data Transfer
Object [1]) is for.  It's not a Struts-specific object at all.

[1] http://en.wikipedia.org/wiki/Data_Transfer_Object

Chris

  


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 
my form bean for each session/operator/window ...


Any ideas ??


Don't use a form bean but a normal bean as a data source for the 
HTML form, that will be connected to a request-based form.


Ciao
Antonio

P.S. Don't hijack threads or you will not get visibility

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: form in application context`

2006-07-28 Thread Kavita Mehta

It supports application support too ..
http://www.javaworld.com/javaworld/jw-09-2004/jw-0913-struts-p3.html 
..the last point is about scope .


I am new to struts..n as far as my understanding goes, the form bean is 
reinitialized each time i visit the JSP page again ..am i correct ? if 
not, then when is the form bean reinitialized in case of its default 
scope (request) .
what i want is that if i have set the status of a field as In Progess 
(for example) everybdy who visits my page should be able to see the 
status of that field as In Progress only until that 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 beans are connected to HTML forms. Do you imagine a form that 
changes an object for the application?


Ciao
Antonio

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 28, 2006 4:02 PM

To: Struts Users Mailing List
Subject: Re: form in application context`

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 
my form bean for each session/operator/window ...


Any ideas ??
  
Don't use a form bean but a normal bean as a data source for the 
HTML form, that will be connected to a request-based form.


Ciao
Antonio

P.S. Don't hijack threads or you will not get visibility

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


  


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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 ?? I know , that this 
can be done using DHTML but we are not using it ...


Thanks,
Kavita


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



breaking a string using bean:write?

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  bean:write 
name=logEntriesCollection/ .
Is it possible in struts to display just the first few characters/lines 
of this string instead of the whole one..



Thanks
  


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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, e-mail: [EMAIL PROTECTED]



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




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



pop up using html:link

2006-06-16 Thread Kavita Mehta

Hi,
I need to open a pop up using html:link ..The code I am using is

%  String tempStr = javascript:popUpWindow('/readLogEntry',' + tmpStr 
+ ',100,100,100,100); %
  html:link  onclick= %=tempStr% 
action=/LogFileSelectPageDetail/html:link


where tmpstr is a variable containing a String . My problem is that i 
dont want any action on the parent page but if i remove the action tag 
from html:link, this stops working .

Any help would be appreciated.

Thanks,
Kavita

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]