Hi,
I have STRUTS 1.2.7 based web application which I want to protect the
decompilation of class files. I would like to obsfucate the code using
JShrink or other obsfucating tools.
I am wondering if anyone done this before to make the Struts 1.2.7 based web
application work with obsfucated class
On 11/18/05, Mon Cab <[EMAIL PROTECTED]> wrote:
> Thanks Atta. It is reloading the pages now.
>
> PS. Is this default behaviour for STRUTS? And if so,
> do you know why? It seems to me that the default
> should should be not to cache pages with dynamic
> content.
>
> Is there a way to configure
Sorry, my bad... I wasn't aware of the LocaleAction. Apparently my
suggestion was a good one, just late :)
Frank
Frank W. Zammetti wrote:
I just wanted to point out the 3rd question on this page:
http://husted.com/struts/FAQ/view-i18n.htm
Laurie, your a committer now... this seems to me lik
Jakub Królikowski wrote:
Hello!
I'm new in Struts.
I don't know how to write such code using Struts (version in html):
Simple Forward
You can rename the source html file and it allways will works!!!
type a text and type "Enter" :
You can put it into any .html file and n
Thanks Laurie.
--- Laurie Harper <[EMAIL PROTECTED]> wrote:
> As far as I know, Tomcat only supports fully
> reloading the whole app.
> You might want to ask on the Tomcat list to be sure,
> though.
>
> L.
>
> Mon Cab wrote:
> > Thanks Laurie.
> >
> > That helps a lot. I read about the c
Where would AJAX help? A few ways, but principly by cleaning up the flow
when you submit/close the popup; instead of the browser submitting the
form, sending a request, reading the response, pulling the required data
from it, and firing the Javascript to update the opening window, you'd
make an
Thanks Atta. It is reloading the pages now.
PS. Is this default behaviour for STRUTS? And if so,
do you know why? It seems to me that the default
should should be not to cache pages with dynamic
content.
Is there a way to configure this in Tomcat or in the
struts config?
--- atta-ur re
Rahul Akolkar wrote:
On 11/17/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
Craig McClanahan wrote:
On 11/17/05, David Whipple <[EMAIL PROTECTED]> wrote:
I would like to be able to create a custom tag which is able to use the
struts , or fields. I am not able
to find a way to create a tag
Yes. Starting with browsers :-(
Rahul Akolkar wrote:
One does wish that every UI technology had the XForms concept of
repeat [1]
-Rahul
[1] http://www.w3.org/TR/xforms/slice9.html#id2632123
On 11/16/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
This is an older simpler version: http://s
One thing jumps out right off: your form bean is a DynaActionForm. It
needs to be an instance of ValidatorActionForm for validation to occur;
either DynaValidatorActionForm form or, probably, DynaValidatorForm.
If that doesn't work, I'd suggest adding a simple String-type property
to the form
fea jabi wrote:
Have a jsp with a checkbox.
If this is checked have to make sure 2 other textfields are not empty.
I am not sure what to write in below. any help is appreciated.
from jsp how to call this javascript function?
Firstly, why are you trying to write your own valida
Yeah, no easy solution for this. The more I think about it the more it
occurs to me that what we're attempting to do is setup a common code
base for updating any N number of forms using Javascript. The plumbing
for this is easy and obvious (I listed it earlier). But making it a
single code base tha
Thanks! I went with my original setup and things are working well. A
bit more coding than I wanted but that's OK ;-)
On Nov 17, 2005, at 5:36 PM, Michael Jouravlev wrote:
On 11/17/05, Jon Wynacht <[EMAIL PROTECTED]> wrote:
Hi,
I have a question that might have already been answered but I
*Assuming* ApplicationResources.properties contains
In the ApplicationResources.properties:
errors.email=invalid e-mail
address.
If your key value isnt pointing to errors.email then it should be pointing
to a bundle specification for your ApplicationResources file which contains
that key
para
Thanks for the info. I did end up doing it this way and it worked out
well.
Thanks,
Jon
On Nov 17, 2005, at 4:46 PM, Laurie Harper wrote:
Jon Wynacht wrote:
...
You see, when I iterate through the ArrayList, I do something like
this:
value="
..
For starters, the just gives me a
I fixed the Chinese locale issue and the mistake was forgetting the encoding
option in native2ascii.
Used
native2ascii dummy.properties ApplicationResources_zh.properties
instead
native2ascii -encoding UTF-8 dummy.properties ApplicationResources_zh.properties
Thanks for all.
Have a good weekend
Hi Alex,
I've finally discovered why the jsessionid appended to the
html:rewrites, links, and images was breaking my app.
As it turns out, the apache-tomcat connectors were configured to handle
anything going to /WEB-INF, *.do, *.jsp. Unfortunately, jsessionid is
handled properly only via t
On 11/18/05, rahul <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I have got a bean in my session scope. I want to find the length of a string
> which is a member variable of that bean.
>
Try JSTL fn:length().
-Rahul
> I tried but this works only with collection.
>
> Any help?
>
>
> --RahulJoshi
On 11/17/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
> Craig McClanahan wrote:
> > On 11/17/05, David Whipple <[EMAIL PROTECTED]> wrote:
> >
> >>
> >>I would like to be able to create a custom tag which is able to use the
> >>struts , or fields. I am not able
> >>to find a way to create a tag li
Sehr geehrte Damen und Herren,
in der zeit vom 7. November 2005 bis 18. November 2005 bin ich im Urlaub. Bitte
wenden Sie sich bei allen Fragen entweder direkt an [EMAIL PROTECTED] oder
telefonisch an: 0511 / 93 62 28 22
Mit freundlichen Grüßen
Andreas Bednarz
One does wish that every UI technology had the XForms concept of
repeat [1]
-Rahul
[1] http://www.w3.org/TR/xforms/slice9.html#id2632123
On 11/16/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> This is an older simpler version: http://superinterface.com/rdapp/viewList.do
> And source code fo
On Nov 18, 2005, at 3:03 PM, Garner, Shawn wrote:
When I change <%@ include
file="header.jsp"%>
to tiles it says it can not have content in a body. I would like
to default
the header to this if they don't supply a header.
You probably need to include this in your Tiles definition. The b
My application was using struts-layout and I wanted to upgrade to 1.2.8.
I thought the tiles tags would translate 1 to 1 but they don't seem to.
When I change <%@ include
file="header.jsp"%>
to tiles it says it can not have content in a body. I would like to default
the header to this if they do
Hi,
Jason suggested some fix and I tried. Still some where it is going wrong.
Any other suggestions please,
Thanks in advance,
Bala
I attached the output html:
亲爱的
-Original Message-
From: Jason Lea [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 17, 2005 12:41 PM
To: Stru
Yeah, I do it this way:
In the ApplicationResources.properties:
errors.email=invalid e-mail address.
And in the jsp:
:
On 11/18/05, Aladin Alaily <[EMAIL PROTECTED]> wrote:
> Problem solved... must be Friday.
>
> Aladin
>
>
> > Hello,
> >
> > I am using struts 1.2.7 and am having trouble o
Have a jsp with a checkbox.
If this is checked have to make sure 2 other textfields are not empty.
I am not sure what to write in below. any help is appreciated.
from jsp how to call this javascript function?
Thanks.
_
Yes it's Friday indeed (TG). For the benefit of you out there
searching the archives, you can accomplish this by using . You can get more information here:
http://www.niallp.pwp.blueyonder.co.uk/HelpTagsErrorsAndMessages.html
Hubert
On 11/18/05, Aladin Alaily <[EMAIL PROTECTED]> wrote:
> Probl
Problem solved... must be Friday.
Aladin
> Hello,
>
> I am using struts 1.2.7 and am having trouble outputing error messages for
> specific fields.
>
> If I have the following (in a form):
>
>
>
> and in my action I do something like:
>
> messages.add("name", new ActionMessage("error.name.requi
Hello,
I am using struts 1.2.7 and am having trouble outputing error messages for
specific fields.
If I have the following (in a form):
and in my action I do something like:
messages.add("name", new ActionMessage("error.name.required"));
super.saveErrors(request.getSession(), messages);
Now
Hello!
I'm new in Struts.
I don't know how to write such code using Struts (version in html):
Simple Forward
You can rename the source html file and it allways will works!!!
type a text and type "Enter" :
You can put it into any .html file and named it as you want - it w
Thanks Laurie for the detailed explanation.
I am still not able to get the validation working .. after spending almost
a frustrating one week on it.
Can you help me by telling me what I am doing wrong here... everything
seems to be right.. just that it isnt working... :(
Bean definition and Acti
What part of this would AJAX solve? Not questioning because I know to be
smart, but honestly asking. Right now what we're doing is having the
popup submit itself to a traditional action, then refreshing to another
JSP that handles that the updating of the parent page. I'd love it if
AJAX were the s
Jesper
With the 2.3 servet API, there is a new method:
request.setCharacterEncoding(String encoding)
one must call before calling
request.getParameter("Watever")
HTH
Martin-
- Original Message -
From: "Jesper Preuss" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Fri
I have a form with multiple "rows" on it say it has columns a b c chk hid
I have javascript to set hid to Y or N based on someone clicking chk
Then in my form bean I have
String[] a;
String[] b;
String[] c;
String[] hid;
My question is how can I make my check box set the correct hid (if I
ha
On 11/16/05, Jesus Salvo Jr. <[EMAIL PROTECTED]> wrote:
>
> Thanks ... I sort of worked around it by using java.sql.Date instead,
> since the built-in converts in commons-beanutils does not really have a
> java.util.Date converter,
> only a java.sql.Date converter.
>
> However, I still have one pr
Iam sorry i have no idea abt DynaAction forms.
On 11/18/05, fea jabi <[EMAIL PROTECTED]> wrote:
>
> using dynaactionforms. would prefer using the the validator xml for this.
> thanks for your response.
>
>
> >From: Srinivas Jadcharla <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List"
>
I re-read it.
This looks great:
http://dojotoolkit.org/archive/dojo-2005-11-07/demos/widget/
.V
Wendy Smoak wrote:
This thread might help:
http://www.nabble.com/OT%3A-Best-AJAX-framework-t511421.html
--
Wendy
-
To uns
using dynaactionforms. would prefer using the the validator xml for this.
thanks for your response.
From: Srinivas Jadcharla <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: Struts Users Mailing List
Subject: Re: struts & javascript question
Date: Fri, 18 Nov 2005 11:05:29 -0500
Look for examples in the net or you can use validate method in the form it
is easier.
On 11/18/05, fea jabi <[EMAIL PROTECTED]> wrote:
>
> >write your own Validator
>
> do you mean in Validator.xml right?
>
> can I right a javascript in there that does this?
> where can I find an example that does
write your own Validator
do you mean in Validator.xml right?
can I right a javascript in there that does this?
where can I find an example that does such stuff?
Thanks.
From: Srinivas Jadcharla <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: Struts Users Mailing List
Subject
Use Validate method in the Action Form or write your own Validator.
On 11/18/05, fea jabi <[EMAIL PROTECTED]> wrote:
>
> In my JSP
> have a checkbox. When it is checked by user have to make sure 2 of the
> entries are enteried.
>
> i.e
> chkBox1 -- checkbox --- checked
> txtfield1
In my JSP
have a checkbox. When it is checked by user have to make sure 2 of the
entries are enteried.
i.e
chkBox1 -- checkbox --- checked
txtfield1 --- Should have entered value.
txtfield2 Should have entered value.
Also, have a 2 radio buttons. When sele
On 11/18/05, netsql <[EMAIL PROTECTED]> wrote:
> (I used to make on sf.net many years ago a zip of a compleate Struts,
> jstl, w/ tomcat, etc.)
>
> It be nice to make a zip of a Struts 1.3 start.zip that includes a super
> simple master/detail(displaytag) and standard development enviroment.
...
>
We're looking at a major redesign of an application currently
implemented in ATG Dynamo 5 and their JHTML / FormHandler technology.
The decision makers here have settled on Dynamo 7, hosted inside
WebSphere.
Dynamo has discontinued support for JHTML, replacing it with a set of
JSP tags - but ha
Hi Michael!
I've just installed the new version and tryed out the new features!
Stuff works fine and having EVENT-DIALOG-SOMETHING in struts-config.xml
seems to be much more logical then having getKeyMethodMap() inside of
Action.class!
The migration took something like 10 minutes, so go on g
(I used to make on sf.net many years ago a zip of a compleate Struts,
jstl, w/ tomcat, etc.)
It be nice to make a zip of a Struts 1.3 start.zip that includes a super
simple master/detail(displaytag) and standard development enviroment.
It would include things that we normaly and regulary use
Yo may use a customized requestProcessor that check for this preview
attribute (or any other thing) and put a flag in request scope. Any
other controller/view element can then check this flag to change it's
behaviour.
Nico.
Nick Sophinos a écrit :
Given that we are talking about an MVC fr
Given that we are talking about an MVC framework, that kind of controlling
input should be processed in the controller. In other words, it would be
best to
request.getParameter("preview") in the action class.
- Nick
On 11/18/05, Jesper Preuss <[EMAIL PROTECTED]> wrote:
>
> My homepage is loaded w
I'm not sure if this is what you're looking for, but I just have a
setStrDate(String strDate) method and do the conversion yourself. Set your
form property to strDate. First test for nullness (if such a thing exists)
and set the date to something your validation rules will pickup.
Z.
>
> Thanks
hi,
you can try some technique similar to AJAX. Open the popup and do the
necessary search either directly doing a http request..with submit or
using HttpXMLRequest if your server support such request. And then use
javascript window.open.href etc to point to the form in the page and do
the necessa
try
int lenth = beanId.StringName.length();
-Original Message-
From: rahul [mailto:[EMAIL PROTECTED]
Sent: Friday, November 18, 2005 2:19 PM
To: user@struts.apache.org
Subject: How to find length of a string in a bean
Hi All,
I have got a bean in my session scope. I want to find the le
Hi All,
I have got a bean in my session scope. I want to find the length of a string
which is a member variable of that bean.
I tried but this works only with collection.
Any help?
--RahulJoshi
My homepage is loaded with struts, tiles.
Because I use the url parameter preview
(http://localhost/page/Page1.do?preview=true), this is inserted in all
the links and forms actions (links).
I use the request.getParameter("preview") in the JSP page to test if it
should load the special preview stuff
53 matches
Mail list logo