I am using google code provided struts2-ssl-plugin-1.2.1 jar file for ssl
configuration i.e switching from http to https.
But when I submit the page with method="post" form field values are not
getting submitted, I see null values are submitted to the properties of
action.
In one of the thread i
n prevent struts2 to append *[.action]* with action value for this
particular case?
Thanks
Raghu
on 'class
com.rawatsoft.write4smile.webapp.action.admin.HelpAdminAction: *Error
setting expression 'helpText' with value '[Ljava.lang.String;@1262bf4' *
Thanks
Raghu
Thanks Dave...
On Fri, Dec 19, 2008 at 4:22 PM, Dave Newton wrote:
>
> http://struts.apache.org/2.x/docs/why-wont-the-if-tag-evaluate-a-one-char-string.html
>
> --- On Fri, 12/19/08, Raghu wrote:
>
> From: Raghu
> Subject: [Struts2] String Comparison using s:if tag
> T
Hi, I am trying to do String comparison in s:if tag as below but getting
number format exceptionLooks like some problem with expression...
Any idea how to compare String values in s:if?
Male
Female
[WRITE4SMILE] WARN [2008/12/16 14:57:22] | Caught an exception while
evaluating expressi
',
Thanks...
On Fri, Dec 5, 2008 at 1:21 PM, Raghu <[EMAIL PROTECTED]> wrote:
> Thanks Dave for prompt reply.
> Yes, I have defined inputStream property in action class like below.
>
> *private InputStream inputStream;
>
> public InputStream getInputStream()
}catch(Exception exp){
LOG.error("Exception in Photo Upload:", exp);
inputStream = new StringBufferInputStream("Photo upload failed.
Please try again later.");
}
return Action.SUCCESS;
}
On Fri, Dec 5, 2008 at 12:45 PM, Dave Newton <
Hi,
I am trying to implement Ajax File Upload using JQuery's Form Plugin which
uses iframe internally. JQuery's Form Plugin doc says it support response
type of HTML or XML.
Without Ajax, my file upload works fine. I am not sure what result type to
choose for ajax response.
If I use type="stream"
Dave, I will be more than happy if I could help anyway. Struts2 is a great
framework and I love working on struts..
Please let me know how to file CLA?
Thanks
Raghu
On Wed, Nov 19, 2008 at 12:58 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> The wiki is not currently versioned in a m
://struts.apache.org/2.0.12/docs/url.html
Thanks
Raghu
On Wed, Nov 19, 2008 at 12:39 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- On Wed, 11/19/08, Raghu wrote:
> > Hi, I just upgraded from struts2.0.8 to struts2.0.12 and
> > used var attribute for s:url tag..but it is
Hi, I just upgraded from struts2.0.8 to struts2.0.12 and used var attribute
for s:url tag..but it is giving below...I verified my app's Web-inf/lib
directory and found struts2-core-2.0.12.jar is there. Am I missing
something?
Attribute var invalid for tag url according to TLD
at
org.apache.ja
prevented it
from fulfilling this request.
exception
org.apache.jasper.JasperException: File "/tags/struts-logic" not found at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.
java:105).
Regards,
Raghu
Hi,
I have setup same version of java on linux also.
JDk 1.5
Tomcat 5.5
Struts1.2.8
Even then the struts are not recognized.
Sample struts applications also not working in linux system.
struts-exercise-taglib
servlets-examples
I get similar error
-Original Message-
From: Raghu
erent java versions on linux and
windows?
Regards,
Raghu
Linux System.
Polish dialectic signs like ą,ć,ś,ó,ź,ł,ę are turn into # symbols.
Any advice to make the application work on both windows and Linux.
Regards,
Raghu
..
No Comment Found.
Thanks
Raghu
=true){
document.forms[0].status[i].value="checked";
}else{
document.forms[0].status[i].value="ignore";
}
document.forms[0].avalues.value+=document.forms[0].status[i].value+" ";
}
}
<%!Connection con=null;
Statement stmt=null;
ResultSet rs=
Hi friends
Can any one tell me how to implement ajax in struts 1.1 with simple
example.Can any one provide complete code for that.
Thanks in advance
Raghu Varma Bhupathiraju
--
View this message in context:
http://www.nabble.com/How-to-implement-ajax-in-struts-1.1-tp16024761p16024761.html
Sent
Hi
I am developing a project on struts and hibernate give me the list of best
practices to follow for reducing the execution time in struts .
thanks in Advance
Raghu Varma Bhupathiraju
--
View this message in context:
http://www.nabble.com/Best-practices-to-reduce-execution-time-in-struts
In Struts 1.2.8 we have DownloadAction
write a class that extends extends DownloadAction
implement folloing meyhod
-
import org.apache.struts.actions.DownloadAction;
public class TestDownloadAction extends DownloadAction {
protected StreamInfo getStreamInfo(A
behind.
Feel free to write for any doubt..
Raghuveer
-Original Message-
From: nagesh.kumar [mailto:[EMAIL PROTECTED]
Sent: Monday, January 29, 2007 2:57 PM
To: [EMAIL PROTECTED]
Subject: RE: Indexed Properties with nested Tags
Hi raghu,
Iam also using the same issue ..
Ho u r
below code can be used to get message from different applicatyion resource
files.
-Original Message-
From: Laurie Harper [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 03, 2007 4:03 AM
To: user@struts.apache.org
Subject: Re: Newbie having trouble with validation... doesn't seem to d
You need to set the collection to actionform every time when page loads if
there are many actionforms in request scope.
If the actionform is in session then it is required to set the collection
when page loads.
It depends on how your application is designed in terms of actionforma and
their prop
In JSP make sure you add taglib directive
<%@ taglib uri="/tags/struts-nested" prefix="nested" %>
or
<%@ taglib uri="/WEB-INF/struts-nested" prefix="nested" %>
-Original Message-
From: Raghu [mailto:[EMAIL PROTECTED]
Sent: Thu
P
is submitted you will have latest data in arlResults collection in
actionform.
Regards,
Raghu
-Original Message-
From: Adam K [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 22, 2006 10:16 PM
To: [EMAIL PROTECTED]
Cc: Struts Users Mailing List
Subject: Re: Indexed Prope
.
Regards,
Raghu
trength is its rich UI components?
Can I make struts-layout (or for that matter any other struts based
taglibs) to co-exist with webwork ? Will integrating with webwork mean
that if I replace my current struts version with the integrated new
version, my earlier taglibs will stop working?
Best Re
Am afraid you can not escape from Javascript to do that!
I am not good at javascript. So you will need to wait till someone
else comments on how to do what you are looking for.
Best,
Raghu
On 1/30/06, Shivani Sawhney <[EMAIL PROTECTED]> wrote:
>
> Thanks so much Raghu for such a
years.
I have been using their tags and they ROCK ! :-)
HTH,
Raghu
On 1/30/06, Shivani Sawhney <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
>
> Is it possible, through Struts or JavaScript, to narrow down on an
> element in a select list with every key press?
>
> I have a
on e) {
e.printStackTrace();
}
tag.release();
}
}
On 1/30/06, Kai Mai <[EMAIL PROTECTED]> wrote:
> Raghu,
> can you be more specific about your solution? how about giving some coding
> examples?
>
> Thanks.
> Kai
>
> On 1/27/06, Raghu
erficial top-most
exception. Is this possible?
Can someone throw some light on this issue? I would hate to let go
"declarative" style of handling exceptions but introducing sitemesh
messed it all up! :(
Thanks.
Regards,
Raghu
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I solved the problem by "playing the container".
I called the tag functions that the container would have called in the
same sequence. This surely is a hack, but works for me right now.
If you guys have a better way to solve this issue, I would be glad to hear it.
Regards,
Raghu
lieve JSP does only ONE pass
parsing. How do I circumvent this problem and get my tags to be
processed before they leave the server?
Thanks.
Regards,
Raghu
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks Rick!
super.validate(mapping, request); works just fine for me.
I am able to now use both the validation.xml as well as the ones coded
in my actionform's validate method. :-)
~raghu~
On 1/21/06, Rick Reumann <[EMAIL PROTECTED]> wrote:
> How are you certain the validation.x
ed.
Do I need to do something else to ensure validation.xml is called and
so is the code in validationform's validate function?
Regards,
Raghu
ps: I have not changed my action mappings from what I have last posted.
On 1/20/06, Rick Reumann <[EMAIL PROTECTED]> wrote:
> On 1/20/06, Ragh
maintain it too.
I have not worked on iBATIS but I hear that is also a very good f/w
that you may want to look at and consider.
~raghu
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
not want to disturb something that is (or may be was)
working right now... :-)
~raghu
ps: Your new website looks quite good. :-) Hope to see even more articles
than we had on strutting site.
On 1/20/06, Rick Reumann <[EMAIL PROTECTED]> wrote:
>
> What does your action mapping look like? D
But I
need to get the first step correct... that is to make sure my validate
function is being called in addition to validation.xml rules.
Could you help me with that?
Thanks.
Raghu
On 1/20/06, Rick Reumann <[EMAIL PROTECTED]> wrote:
>
> Raghu Kanchustambham wrote the followin
make this work ?
Regards,
Raghu
it to 1 at the end of your script, otherwise foreign key
constraints would not be in place when you later start "operating" on the
database.
HTH,
Raghu
On 1/20/06, Ashish Kulkarni <[EMAIL PROTECTED]> wrote:
>
> Hi
> there is a export tool, but the problem it creates DD
with out much code. However, I am
not too sure if you could do 4 dependent combo boxes. The code definitely
works for level two. You may want to extend the tag lib in case it doesnt
work beyond two levels of dependency and may be post it back to us too ! ;-)
HTH,
Raghu
On 1/20/06
Assuming you want to do "form-based" validation, can you check if your
forms.ObjectTypeForm extends from one of the valid validationform objects?
If it extends a simple "ActionForm", validation will not work.
HTH,
Raghu
On 1/11/06, Mahadevan Venkataraman <[EMAIL PR
nt and in most cases may be an overhead. But I like the concept.
Collaxa was one of the implementors of this BPEL specification. Collaxa is
now aquired by Oracle.
I have just listed a couple of options I know. You should explore a bit more
and choose the one that best suits your needs.
~ragh
And why is that ?
On 1/10/06, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I would suggest you begin with iBATIS.
>
> http://ibatis.apache.org
>
>
>
> Thanks and Regards,
> S.Ramkumar
> Associate Consultant - Investment Banking
> PrimeSourcing(tm) "Add Value Reduce Risk"
> i-flex s
formation for you - the action class
where you would be populating the "arraylist" that you are using in the JSP.
HTH,
~raghu~
On 1/10/06, Sony Thomas <[EMAIL PROTECTED]> wrote:
>
> Dear friends,
>
> I have a Add user jsp page and in my jsp page the user can select hi
the applet could make a new
connection to a new server/port and hence cutting out HTTP alltogether!
Now I agree, the same security and permissioning concerns remain but just
wondering if this is a better model though. The firewall needs to open up
for non-HTTP traffic etc.. but just curious if
he
answer is that you can miss out, then AJAX is ok. Imagine you poll every 10
seconds, but 3 events happen in those 10 seconds, you would be able to push
out only the latest change (unless the server maintains the list of all
changes). In case of push, you may not loose any event.
Hope this helps you
your getPartnerListFromDatabase function taking
request object as a parameter. This means that you are coupling your front
tier with data-tier, which may not be a good practice.
Regards,
Raghu
On 12/30/05, Thibaut <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I try to print a dropdown bu
Try Struts-Layout has some options for doing "related" dropdowns. You may
want to check it and avoid a lot of javascript coding.
HTH,
Raghu
On 12/21/05, Neil Erdwien <[EMAIL PROTECTED]> wrote:
>
> If the amount of data needed for drop down B isn't large, I'd l
Hi,
The suggest tag seems to work fine in Mozilla but not in Internet Explorer.
This code is working fine with Mozilla... It generates 4 suggest boxes in
mozilla but behaves like a simple text box (with no suggestions) on Internet
explorer.
What am I doing wrong?
Best Regards,
Raghu
na form, do the validation on these additional
attributes and on submit (if the validation passes) populate the business
object (in your action class).
You can choose your poison! :-) or wait for later releases of struts to take
care of this more elegantly! :-)
Regards,
Raghu
On 12/16/05, Rick R <
>> I'm not sure it matters much which order they're applied in, though,
since all have to pass
>> anyway.
Order does matter... That will decide which *one* of the error messages to
display to the user when one of these tests fail.
On 12/15/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
>
> Deepa
well in a straight forward
fashion!
May be the obfuscation tool need to look for string references as wellin
the same way as an advanced refactoring IDE would do... or something like
that to make our life simple! :-)
~raghu
On 12/9/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I
would be "broken" into. May be
.. you can treat your action classes like the DMZ (demilitarized zone).
Dont know if some tools support all what has been written so far. If they do
someone please let us know! :-)
Regards,
Raghu
On 11/20/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
Try struts layout tags.
They support tabbed inputs.
On 12/8/05, Sony Thomas <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Is there is any way to use tabs in struts. Is there is any html bean tag
> for this ?
>
>
>
hosen in the "mm/dd/yy" format.
I think it should be useful to do some of these by leveraging on existing
validation rules rather than re-write them.
~raghu
On 12/6/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
>
> So you're proposing a way for a 'validwhen'
nd of independent.
I want to couple them .. "enforce this rule only when that control is in
some state" kind of scenario with out using the regular expressions.
Dont you think that brings in quite a bit of value and ease to using the
validaror f/w?
~raghu
On 12/6/05, Laurie Ha
ation!
Is there something inherent in the way it is designed that this is not
possible?
Regards,
Raghu
On 12/6/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
>
> I was going to say 'yes, you can do that,' but I don't think you can
> express field length constraint
You could still do them "declaritively" ... read them off an "external"
file.. and *process* it in your setup actions...
a little more work than you would have liked though! :-)
On 12/5/05, Shivani Sawhney <[EMAIL PROTECTED]> wrote:
>
> Hi,
> Thanks for the reply. There's absolutely no reason t
work with jdk1.5.
Is there any specific reason you are asking this question? Because whatever
works on jdk1.4 should work on jdk1.5 too.
Regards,
Raghu
On 12/5/05, 安 永華 <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> I want to know if I will develop a web application with STRTUT
dation on a per form basis and also on a per action
basis in the validator framework. The second case may be useful to you.
~raghu
On 12/5/05, Sun Shine <[EMAIL PROTECTED]> wrote:
>
> Thank you!
>
> --- David Evans <[EMAIL PROTECTED]> wrote:
>
> > A few ideas th
vanila struts
! :-)
cheers,
raghu
On 12/3/05, Shivani Sawhney <[EMAIL PROTECTED]> wrote:
>
>
> So Sorry, Raghu!
> The option (a) for Query 1 actually works Thanks a ton!
>
> In set up action, I was trying to get the values through
> "request.getP
is is true in all cases where you use session scoped variables.
>Query 2:
I doubt if you could do that! The xml config files are fairly static in my
opinion. But I am just guessing.
HTH,
Raghu
On 12/3/05, Shivani Sawhney <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
>
>
> Ca
ch I think is OK if you are starting something fresh... and
as Larry pointed out may or may not be worth a re-engineering effort.
~raghu
On 11/28/05, Larry Meadors <[EMAIL PROTECTED]> wrote:
>
> Having used both iBATIS and Hibernate on large systems (100's of
> tables,
(very very
specific to your needs as Hibernate provides decent level of caching).
Hibernate has very good documentation too and is quite mature. So you should
use it unless you have a strong reason not to ! :-)
Regards,
Raghu
On 11/28/05, pc leung <[EMAIL PROTECTED]> wrote:
>
> Hell
in the JSPs to do
comparisions. I am not too sure if I can use these tags in the
validation.xml.
Thanks & Best Regards,
Raghu
On 11/27/05, Martin Gainty <[EMAIL PROTECTED]> wrote:
>
> Raghu-
> Have you looked at implementing with conditional struts-logic lessEqual
be able to say "validwhen" through some
expression followed by "floatRange" validation etc... currently I am
using regular expressions to mimic the floatRange when used on a conditional
basis. If it doesnt exist already, is it very difficult to build it?
Thanks.
Regards,
Raghu
seems to be complaining abt
the DTD mismatch when I try the "lesser than" operation. I hope I am using
the right DTD:
http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd";>
Any light ?
Thanks.
Best Regards,
Raghu
Thanks much.
Regards,
Raghu
ct either
(if it can be got through a call like "getSession()" or "getRequest()"
dont know if I am missing something somewhere... but should not this be
possible through ThreadLocal?
Regards,
Raghu
On 11/23/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
>
>
?
Regards,
Raghu
uot; in my action class?
Thanks.
Raghu
n and then sends a redirect to the home.jsppage?
Can someone throw some light on what is happening?
Thanks.
Raghu
On the first cut this looks like authentication/authorization for Spring
framework. Do I need to get struts co-exist with spring for this to work ?
And how much of an effort would that be?
But yes.. this looks quite a powerful and neat concept.
Thanks for refering it.
Regards,
Raghu
On 11/20
much.
Regards,
Raghu
You can try Jasper reports...
Havent used it a lot myself .. but looks like a decent open source tool for
generating reports with support for PDF, excel etc...
~raghu
On 11/20/05, Rivka Shisman <[EMAIL PROTECTED]> wrote:
>
> Hi friends
>
>
>
> Can you recommend me a r
nt have to hit back the database just to find the centre.
Please comment.
Thanks much.
Regards,
Raghu
If I need to find the version of jdk .. i would use something like java
--version.
How would I know which version of struts jar are there on my machine? Any
suggestions of easily & reliably finding it ?
Thanks.
Raghu
get validation of these indexed properties to
work. Can you comment on what I am doing wrong?
Thanks much.
Best Regards,
Raghu
On 11/19/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
>
> One thing jumps out right off: your form bean is a DynaActionForm. It
> needs to be an insta
ormation here... but this was my last resort!
And what makes things complicated is that another similar set of
form/action/jsp classes seem to work with validation fine. And there seems
to be no major difference in which the action mappings are defined for this
set and the one which isnt workin
sorts the list based
on Last Name. Is this a bug? Or did I miss something in my code?
Thanks in Advance.
Regards,
Raghu
of the senior users of struts.
His opinion is that Struts framework creates lot more problems than it
solves. What is your opinion on it? Atleast this thing is really taking a
lot of my effort to get it going... but may be its too early for me to
comment on the validator framework as I am new to it.
ctly to the JSP).
>
> You don't need to use session scope for anything if you don't want to,
> you just have to make sure that you always display your JSP via your
> preCreate action.
>
> If that doesn't make sense, post your action mappings from
> struts-config
Thanks.. may be i will do it as a last option.
But is my explanation correct? I am new to Validation framework .. just
started using it for the last 2 days .. and struts as such for just over a
month. So want someone's opinion on my explanation of why "state" is being
lost!
thanks
idator.
> 4) You're using the correct version of validator for your version of
> Struts.
>
> --- Raghu Kanchustambham <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> > The minute I introduced Validator framework in my application .
> > it started giving me the follo
?
Thanks much.
Regards,
Raghu
On 11/12/05, Martin Gainty <[EMAIL PROTECTED]> wrote:
>
> I didnt see the contents E.G. for your c.tld ??
> Martin-
> - Original Message -
> From: "Raghu Kanchustambham" <[EMAIL PROTECTED]>
> To: "Struts Users
y
<%= request.getParameter("nextOperation")%>
false
true
"
/>
<[EMAIL PROTECTED] file="StudentDemographics.jsp"%>
${operationVar}
cancel
On 11/12/05, Martin Gainty <[EMAIL PROTECTED]> wrote:
>
> I did
strange and i am not able to explain this behavior .. can someone
help?
Thanks much in advance.
Regards,
Raghu
javax.servlet.jsp.JspException: Cannot find bean centreList in any scope
org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:938
Try the indexed="true" property. I think that should do the trick.
On 11/3/05, Bijay Sahoo <[EMAIL PROTECTED]> wrote:
>
> Hi All,
> I am new to struts,and have a problem and want some suggestion,my problem
> is
> :
> I get some questions from database (Dont know how many) may be 10,11,20...
> an
finition of their DTD ! :(
Hope someone has solved this problem earlier and can help me.
Best Regards,
Raghu
Hi Keith,
Thanks for responding.
However, How will this solve my problem? The problem is that the control is
not entering into the loop in the first place. And you have put additional
statements in the loop body. I have anyways tried it, and it did not work.
Regards,
Raghu
On 11/1/05, Keith
being passed back anyways! :(
Can someone tell me what I am conceptually wrong. I am relatively new to
using Struts.
Thanks in Advance.
Raghu
econd
row.
What is the cutest and simplest way of achieving this. I do not like to use
scriptlets if possible.
Thanks in Advance.
Raghu
http://degree.id>"
size="${selectBoxSize}">
http://college.id>"
size="${selectBoxSize}">
x27; was a variable is request/session then it would work fine. But
what should I do if operation is a html form element (hidden). I do not want
to write scriptlets.
Thanks.
Best Regards,
Raghu
'externalize' the size of the select box so that I can configure the size of
any select box through out the application at one place. Also if someone has
a better way of solving it, please suggest.
Thanks much.
Regards,
Raghu
How do we build dynavalidator forms that have as one of their fields another
dynavalidator form?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
That was solved not an issue. thanks.
raghu yahoo.com> writes:
>
> How do you use dynavalidator forms with
>
> or
> whatever I need to specify the type as a file.
>
> I need the other fields to be validated and I dont want to create a
compilable
> ActionFor
How do you use dynavalidator forms with
or
whatever I need to specify the type as a file.
I need the other fields to be validated and I dont want to create a compilable
ActionForm or ValidatorFrom. I would like to continue using form-property
Explorer. TortoiseCVS can also be used from the "windows"
command line if you are used to working with CVS that way :).
HTH
Raghu
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 27, 2004 11:29 AM
To: Struts Users Mailing List
Subject: [OT] C
99 matches
Mail list logo