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.
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
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
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
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
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
?
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
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
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
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
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
/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
://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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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,
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
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
32 matches
Mail list logo