In answer to your question. Obfuscation is a way of compiling your source
code so that it cannot be decompiled. This is useful if you supply code to
someone of host your code on a shared server.
-Original Message-
From: netsql [mailto:[EMAIL PROTECTED]
Sent: 02 August 2005 22:40
To: user@
Hi Boris,
thank you very much for your offer. Certainly
you can send me a link or screenshots my mail is
[EMAIL PROTECTED]
Currently we are in an evalution phase...
Have a nice day
Saluti Starki
> starki78 wrote:
>
> >thanks Borislav for your answer!
> >
> >
> >
> >
>
> I can provide you some s
On 8/2/05, David Thielen <[EMAIL PROTECTED]> wrote:
> I figure a mock world always has limitations - but better a workable return
> than an exception.
>
In tonight's (20050803) nightly build, you'll find a new
setDocumentRoot(File) method on MockServletContext. This allows you
to establish the
[EMAIL PROTECTED] wrote:
I would like my web-app to read in a *.properties file at startup (not for
i18n, but the good old
java.util.Properties, for example to get the e-mail address of the admin of
the web-app). So
I wrote a ServletContextListener which will load the properties-file and
store it
Hopefully by now you've read the aforementioned JavaBeans
specification. It does say that if the method name has two
consecutive capital letters after get and set, the property name is
not de-capitalized. So, for your method getSTitle, the property name
should also be STitle. If the name of your
Hi,
I've just read this
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpatterns
/html/DesPageController.asp) MVC overview. They describe the view as
obtaining its data directly from the model. I was under the impression that
the view should obtain / update data only through th
Be careful with 1.2 as a lot of things were deprecated. Some addon labraries
like the production version of struts-layout don't work with 1.2.
/Jeremiah
Quoting "Hernandez, Mariano" <[EMAIL PROTECTED]>:
> Two quick question guys. I'm trying to type up reasons as to why we should
> upgrade from 1
> Hi;
>
>
>
> Since everyone is being so nice about this, even though it's not a shale
> problem, I figured I'd ask here.
>
>
>
> In my hibernate setup, I have a HibernateUtil class with some static
> initialization code. That code sets a static final variable with my
> SessionFactory.
Thanks. I will look into this
--- [EMAIL PROTECTED] wrote:
> I use Zelix KlassMaster. It simply rocks. Have used
> on Struts apps with success, you'll have to do work
> with it here and there because of some reflection
> but I remember it wasn't a big hassle. The
> documentation is good.
>
> Eri
Hi;
Since everyone is being so nice about this, even though it's not a shale
problem, I figured I'd ask here.
In my hibernate setup, I have a HibernateUtil class with some static
initialization code. That code sets a static final variable with my
SessionFactory.
This is a great way to d
Well, here it is anyway. Anyone have any comments?
Validation (client and server side)
*The Struts Validator now supports a ValidWhen rule, so that one
validation can be dependant on another. **
*IntRange now checks select-one and radio fields. Example: This
allows populating
Ashish Kulkarni wrote:
I know
wish i could not, but the design is that we have all
the images in a folder images which is under pages,
it sort of sucks
seems the
*.jsp
works some times and some times not
i guess it works on tomcat and not on websphere
Are you limited to that directory stru
I know
wish i could not, but the design is that we have all
the images in a folder images which is under pages,
it sort of sucks
seems the
*.jsp
works some times and some times not
i guess it works on tomcat and not on websphere
--- Wendy Smoak <[EMAIL PROTECTED]> wrote:
> From: "Ashish Kulkarn
I didn't mean to imply struts is buggy;-). But fixes seem to get a better
response from the architect than enhancements.
I'm about done with a selected list of changes/enhancements since 1.1. Would
you mind looking it over and telling me what you think?
Thanks again,
Mariano
P.S. My list came f
From: "Hernandez, Mariano" <[EMAIL PROTECTED]>
Two quick question guys. I'm trying to type up reasons as to why we should
upgrade from 1.1 to 1.2 (specifically 1.2.7). It seems to me that the bulk
of the fixes/enhancements have been in client/server side validation and
tiles. I've got some other
I figure a mock world always has limitations - but better a workable return
than an exception.
Thanks - dave
David Thielen
303-499-2544
www.windwardreports.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 02, 2005 4:40 PM
To: Struts Users
On 8/2/05, David Thielen <[EMAIL PROTECTED]> wrote:
> Hi;
>
>
>
> For those that hit the same problem - you need to call super.setUp() and
> super.tearDown() in your setUp/tearDown.
>
Yep ... if you're extending the abstract base classes you definitely
want this. We should make that clearer i
>Hi;
>For those that hit the same problem - you need to call super.setUp() and
>super.tearDown() in your setUp/tearDown.
Yeap, that's where the heavy lifting is done.
http://svn.apache.org/viewcvs.cgi/struts/shale/trunk/test-framework/src/java/org/apache/shale/test/base/AbstractJsfTestCase.java?
Jeremiah Johnson wrote:
I have an action mapping that looks like:
If I click the link to /my/path.do my action class sends out the
showForm then displays myTileDef. Then it executes the same action class
again. The second execution doesn't copy some of the information from
the first
Two quick question guys. I'm trying to type up reasons as to why we should
upgrade from 1.1 to 1.2 (specifically 1.2.7). It seems to me that the bulk
of the fixes/enhancements have been in client/server side validation and
tiles. I've got some other stuff like errorClass etc in html tags, action
me
If any of the committers are interested, here is the code I created for
getRealPath():
public String getRealPath(String path) {
try {
return new File("./", path).getCanonicalPath();
} catch (IOException e) {
return new File("./", path).getAbsolutePath();
I have an action mapping that looks like:
If I click the link to /my/path.do my action class sends out the
showForm then displays myTileDef. Then it executes the same action class
again. The second execution doesn't copy some of the information from
the first execution. My action class
You mean obfuscate? What if you distribute your server side code? Maybe Struts
Actions aren't worthy of obfuscation, but middleware often is. I just run all
jars through Zelix before I release. It has ant integration (works great), so I
just have Zelix produce my "dist" jars via ant.
Erik
---
Vic, you da man.
When I can find some time, I'll go through it and post issues.
Erik
-Original Message-
From: netsql <[EMAIL PROTECTED]>
Sent: Aug 1, 2005 8:44 PM
To: user@struts.apache.org
Subject: [OT ANN] Roomity mail lists version 1.0
I am posting this message using roomity!
Featur
Why would you want to obtusify server side?
.V
People are conversing... without posting their email or filling up their mail
box. ~~1123018783544~~
roomity.com http://roomity.com/launch.jsp No sign up to read or search this
Rich Interne
Hi;
For those that hit the same problem - you need to call super.setUp() and
super.tearDown() in your setUp/tearDown.
Also, servletContext.getRealPath() is not implemented in the mock objects.
Is there a reason why it doesn't return the default directory?
Finally, I need to determine at
I use Zelix KlassMaster. It simply rocks. Have used on Struts apps with
success, you'll have to do work with it here and there because of some
reflection but I remember it wasn't a big hassle. The documentation is good.
Erik
-Original Message-
From: "O. Oke" <[EMAIL PROTECTED]>
Sent: A
Can anyone please recommend any good software for
carrying out:
1. native compilation of Struts classes and
2. obfuscation of Struts classes
Thank you
O'Dele Oke
___
To help you stay safe and secure online, we've de
I posted a message to the dev list a few hours ago discussing what I
thought needs to be done... if you have a chance to review it, a second
opinion before I create a patch would be nice... just ot be sure I'm not
missing anything obvious or going nuts in general :)
Frank
Laurie Harper wrote:
oops, im sorry , I think I click on the wrong contact :)
And I found the answer to my problem by myserlf.
From: Laurie Harper <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: user@struts.apache.org
Subject: Re: [OT] Netbeans/TOMCAT RMI
Date: Tue, 02 Aug 2005 16:34:15 -0400
i wou
i would think that granting AllPermissions would have prevented this but
it's a long time since I messed with RMI. This isn't a Struts issue though;
you should probably ask on the Tomcat user list or, since it appears the
port in question is something Netbeans specific, maybe on the Netbeans
li
http://displaytag.sourceforge.net/
-Dennis
Laurie Harper <[EMAIL PROTECTED]>
Sent by: news <[EMAIL PROTECTED]>
08/02/2005 04:17 PM
Please respond to
"Struts Users Mailing List"
To
user@struts.apache.org
cc
Subject
Re: [OT] Sub Project - Table Renderer
Sorry, I missed the original po
Brian Kremmin wrote:
I want to get some table data from a database and output it in table
form on a webpage.
I'm planning to use an ArrayList to store the data and use the
logic:iterate tag to expose the elements of the list... however, I'm
unsure of the proper structure of all these data object
Are you sure the same action is being invoked each time? I.e. does the form
that the user submits the second time have the same 'action' attribute?
Failing that, you'll need to describe and/or post more of your code so we
can see what's going on.
L.
Vijaya S wrote:
Hi,
I have the following
Sorry, I missed the original post (perhaps due to Gmane's issues
yesterday?). How does this solution compare to Display Tag? (Hmm, which
seems to be experiencing technical difficulties; if it comes back it should
be at http://www.displaytag.org/index.jsp).
L.
Frank W. Zammetti wrote:
Hi Chr
Thanks for the correction, I didn't realize the Tiles plug-in had the
smarts to automatically fix up the configuration that way!
L.
[EMAIL PROTECTED] wrote:
Thanks for the answer, but I believe it is not fully correct.
I'm reading the docs from Cedric Dumoulin (Tiles Advanced Features)
at the
Gonzalez Aleksander wrote:
my problem is the following. I get this error in my
application:
Servlet action is currently unavailable,
That just means that the servlet failed to initialize, which could be
caused by anything. Check your server logs for exceptions when the servlet
loads.
I wo
I've been meaning to put together a patch to make modules work with URL
prefix mapping. This would fit in naturally with that. But I don't know
when I'll find time to get to that so if you have a chance to look at this
first, feel free ;-)
L.
Frank W. Zammetti wrote:
Not sure :) I personal
Likewise; I haven't made a detailed comparison of the different frameworks
out there since around the time Tapestry was migrating to Apache! Should be
interesting reading.
L.
David G. Friedman wrote:
I'm definitely interested that so don't forget to
post about it. :)
Regards,
David,
Craig
From: "Ashish Kulkarni" <[EMAIL PROTECTED]>
pages --
|
--index.jsp
--access.jsp
--logo.gif
In my web-xml file if i add
Restrict access to JSP pages
/pages/*
it blocks logo.gif also,
What is 'logo.gif' doing in the "pages" directory? It isn't a page. :) Can
Interesting, how different Struts crowd is ;) Some want to keep what
they have, but make it cleaner. Other want the revolution. What about
gradual improvement with compatibility with current code base?
I will try to explain again my ideas. As we all know, there are two
approaches for webapps: Fron
From: "Ashish Kulkarni" <[EMAIL PROTECTED]>
I have been trying to block access to jsp directly,
http://www.jguru.com/faq/view.jsp?EID=471953
HTH,
--
Wendy Smoak
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
Hi
I have been trying to block access to jsp directly,
here is my folder structure
pages --
|
--index.jsp
--access.jsp
--logo.gif
In my web-xml file if i add
Restrict access to JSP pages
/pages/*
it blocks logo.gif also,
and i cannot add
Restrict acces
Hi
I have been trying to block access to jsp directly,
here is my folder structure
pages --
|
A$HI$H
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
-
Hi everybody,
I got an RMI code which is working fine into another servlet container.
I want to port it into TOMCAT.
That's the first time Im doing it, so that's what I did :
-I added : -Djava.rmi.server.codebase=http://127.0.0.1:80/ to my JAVA_OPT
variables into the catalina.bat file.
-I chan
Hi;
Thank you - both for the answer and the ton of great code you've given to
the world.
- dave
David Thielen
303-499-2544
www.windwardreports.com
-Original Message-
From: Craig McClanahan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 02, 2005 11:44 AM
To: Struts Users Mailing List
n 8/2/05, David Thielen <[EMAIL PROTECTED]> wrote:
> Hi;
>
>
>
> Is this the right list for shale questions?
>
Yep ... this is the list for user questions, while the Struts
developer list is the right one for questions about developing Shale
itself. As a courtesy to folks who might not be int
Hi;
Is this the right list for shale questions?
If so I have three questions - both having to do with using the test
framework for my JSF code:
1. I create a class TestDemo extends AbstractJsfTestCase. In my setUp
method I want to use servletContext but all of the mock objects are set
I'm definitely interested that so don't forget to
post about it. :)
Regards,
David,
> Craig
> PS: For a slightly more in depth comparison between
> the frameworks mentioned above, watch for me to post
> the slides for my O'Reilly Open Source Conference
> session tomorrow that compares them.
On 8/2/05, Dakota Jack <[EMAIL PROTECTED]> wrote:
>
> I agree for a third time, and in fact I think that something that is
> built for Struts rather than on its own merits and is dependent on the
> present community for support is not worth working on at all. I am
> personally not willing to ass
My code is like this.
public class GraphStep1Form extends ActionForm
{
String sTitle;
boolean bTest;
Collection col;
public boolean isBTest() {
return bTest;
}
public String getSTitle() {
return sTitle;
}
public void setSTitle(String title) {
Hi !
In a wizard, I have some "required" checks with struts-validator assigned to
pages (with page=).
There is sometimes a "jump" in the wizard so that a property is null. When
validating the page after the jump, the server-side validation failed as if
validator checked all previous pages.
For e
From: "Swapnil Patil" <[EMAIL PROTECTED]>
I had tried with the variable names like
String sTitle;
boolean bTest;
and both times I got same type of exception. but supricing it works for
( col is declared as Collection in the Form)
Not surprising at all. :) The secret is in the JavaBeans sp
Carl Smith wrote:
in this RequestProcessor.process() method, there are some methods are place
holders for our specific application to over ride. Say in our application we
have a logic to be checked to see if user has access to the certain page. Which
method
(processPreprocess();processRoles(
Carl Smith wrote:
in this RequestProcessor.process() method, there are some methods are place
holders for our specific application to over ride. Say in our application we
have a logic to be checked to see if user has access to the certain page. Which
method
(processPreprocess();processRoles(
Swapnil Patil wrote:
I had tried with the variable names like
String sTitle;
boolean bTest;
and both times I got same type of exception. but supricing it works for
( col is declared as Collection in the Form)
You must follow the JavaBean naming conventions. For sTitle what does
your get
Can you post the code from your form bean?
-Original Message-
From: Swapnil Patil [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 02, 2005 11:50 AM
To: Struts Users Mailing List
Subject: Re: Can u help me...I have a problem related to struts.
I had tried with the variable names like
Stri
in this RequestProcessor.process() method, there are some methods are place
holders for our specific application to over ride. Say in our application we
have a logic to be checked to see if user has access to the certain page. Which
method
(processPreprocess();processRoles();processPopulate();
I had tried with the variable names like
String sTitle;
boolean bTest;
and both times I got same type of exception. but supricing it works for
( col is declared as Collection in the Form)
Root Cause -
javax.servlet.ServletException: No getter method for property sTitle
of bean org.ap
starki78 wrote:
thanks Borislav for your answer!
I can provide you some screenshots from 2 applications that I work on -
they are not finished, but may be can give you some ideas about the
power of struts-layout.
And I have a friend who did some "miracles" with struts-layout, but he
re
I would recommend changing the capital T to a lowercase t. This is standard. I have had problems in the past with having uppercase variable names. This is due to the reflection that Struts uses to find associated getters and setters.
">"Johnson, Kaerstin" <[EMAIL PROTECTED]>
"Johnson, K
Brian Kremmin wrote:
I'm planning to use an ArrayList to store the data and use the
logic:iterate tag to expose the elements of the list... however, I'm
unsure of the proper structure of all these data objects. I think I'm
using struts 1.1 if that makes a difference.
1) I'd tend towards usin
Sounds like you probably have a case problem.
Please make sure that you reference Title with the capital T throughout
the struts, jsp and bean.
I can see your set method references title with lower case, this is
probably the culprit.
Hope this helps.
-Original Message-
From: Swapnil
Example:
DataBean:
public class EmployeeBean(){
private String name = null;
Private String dept = null;
... Getters and setters
}
FormBean:
public class EmployeeForm extends ActionForm{
private Collection employees = new ArrayList();
... Getters and Setter
Okay. So this object which will hold a row of table data... does it
have a name or type according to Struts? i.e. Action, Form, Service,
DTO, DAO, Value Object, etc.
Or is it merely a general object like "Employee" which doesn't have a
special type?
Should this object have a naming scheme within
Ok, If I am understanding the question correctly, you should be
populating your array list in your bean with a objects of whatever
represents a table row (such as an employee object), this object should
have the attributes (name, id, address) you would like to render in the
columns.
Each object
Hello Everyone,
This is my first post. I've been watching the list for a while now and
I've hit a dead end. This is probably quite simple so any help would be
greatly appreciated.
I want to get some table data from a database and output it in table
form on a webpage.
I'm planning to u
On 8/1/05, Ted Husted <[EMAIL PROTECTED]> wrote:
> On 7/31/05, Nick Heudecker <[EMAIL PROTECTED]> wrote:
> > > I think there are a lot of people out there who feel as you do, but
> > > backwards-compatibility has always been a major theme for those
> >
> > While backwards compatibility is nice, I w
Hi everyone,
I am having difficulty getting validator to work with my module based struts
application. I have tried serval approches to no avail.
My Struts Config and module config have:
My /module/validation.xml has:
If I use client
Hope no one minds, I moved this discussion to the dev list. It suddenly
became, I think, more appropriate there :)
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
On Tue, August 2, 2005 8:58 am, Daniel Perry said:
> I don't think it's a bug,
I don't think it's a bug, as anchors should never be sent to the server, (I
believe the should never be sent in a redirect either). I remember doing
some experiments with this.
If you request a page: blah.do#someLabel, #someLabel is never sent in the
request.
If you forward on the server, then i
Not sure :) I personally would consider it a bug :)
I made a Wiki entry for this yesterday by the way, so at least there is
documentation of it now. I agree though that it shouldn't be a big
change and would be nice to "fix" it (or, alter the feature, depending
on what it is!).
Want to thr
2005/8/2, Pham Anh Tuan <[EMAIL PROTECTED]>:
> oh, I use
> org.apache.struts.action.ActionServlet too,
> everything runs okie :)
>
yes, you're right, I misunderstood Paul's mail. Now it's working for me too :)
thanks
--
TREMALNAIK
-
Hi Christopher,
I don't know how anyone feels about it as a sub-project, I'm not sure I
see it as something that rises to the level of a sub-project... while
certainly useful and something many would like to use I think, it
doesn't quite feel like it's substantial enough to be a whole
sub-pro
> -Original Message-
> From: Adam Hardy [mailto:[EMAIL PROTECTED]
====
>
>
> Pilgrim, Peter on 01/08/05 09:30, wrote:
> > Struts 2 should force an Action or ActionForm to be interface or
> > subclass of an abstract type, hence dependency injection.
> >
Oops! My wording was wrong.
> -Original Message-
> From: Ted Husted [mailto:[EMAIL PROTECTED]
====
>
> On 7/31/05, Nick Heudecker <[EMAIL PROTECTED]> wrote:
> > > I think there are a lot of people out there who feel as
> you do, but
> > > backwards-compatibility has always been a major theme for those
> >
> >
Thanks for the answer, but I believe it is not fully correct.
I'm reading the docs from Cedric Dumoulin (Tiles Advanced Features)
at the moment
Great resource about tiles btw ;)
http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf
rgds
albi
-Original Message-
From: news [mai
I found the answer myself ;
Here it is:
You do not need to specify in your struts config file(s)
that the processorClass will be TilesRequestProcessor.
This is automatically done by the plug-in. If a class is
specified in the struts configuration file(s), that
processorClass will be used ins
oh, I use
org.apache.struts.action.ActionServlet too,
everything runs okie :)
I use Tomcat 4.1 ...
Pham
- Original Message -
From: "Tremal Nailk" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, August 02, 2005 3:59 PM
Subject: Re: [HELP] How can deny access to fol
Hi,
I have the following code that works okay partially.
I want the user to select an image (html:file property) and display the
image (html:img) the user selected. This works fine for the first time when
the user selects a file. But if I click on the 'Browse' (from html:file
option)
[EMAIL PROTECTED] wrote:
I think I'm missing the point of the TilesRequestProcessor
I have a few simple tiles in a project with to
modules (default & crud). Actually the default
uses tiles and the other one doesn't.
Now, the tiles in the default module seem to
work just fine, but a fri
2005/8/2, Pham Anh Tuan <[EMAIL PROTECTED]>:
> Tremal, you said: it doesn't work for Strut's ActionServlet, what you mean ?
I mean, Paul's example is valid for Catalina DefaultServlet:
org.apache.catalina.servlets.DefaultServlet
as you can see here:
http://jakarta.apache.org/tomcat/tomcat-
Ouch, is that considered a feature or a bug? :-) It probably wouldn't be
hard to change Struts to ignore the anchor if such a change were acceptable.
L.
Frank W. Zammetti wrote:
This is probably ripe for a Wiki entry :)
As you found out, Struts can't find an Action mapping with an anchor add
From within a class loaded by the Webapp class loader you can call
InputStream is = this.getClass().getClassLoader().getResourceAsStream(
"myProps.properties" );
Properties p = new Properties();
p.load( is );
Or from within an action/jsp you can do
InputStream is = request.getSession().getServ
Tremal, you said: it doesn't work for Strut's ActionServlet, what you mean ?
- Original Message -
From: "Tremal Nailk" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, August 02, 2005 3:30 PM
Subject: Re: [HELP] How can deny access to folders at web app root
2005/8
Michael Jouravlev wrote:
On 8/1/05, Yaroslav Novytskyy <[EMAIL PROTECTED]> wrote:
Hi!
I use a pattern of PrepareAction-> view.jsp-> SubmitAction and also
combine those parts to chains like this OnePrepareAction-> oneView.jsp->
OneSubmitAction-> TwoPrepareAction-> twoView.jsp-> TwoSubmitAction.
thanks Borislav for your answer!
-- Initial Header ---
>From : "Borislav Sabev" [EMAIL PROTECTED]
To : "Struts Users Mailing List" user@struts.apache.org
Cc :
Date : Tue, 02 Aug 2005 09:01:46 +0200
Subject : Re: Opinion about Struts layout
> sta
2005/8/2, Paul Benedict <[EMAIL PROTECTED]>:
>
>listings
> --> false
>
I think it's useful, but it doesn't work for Strut's ActionServlet. Is
there an easy equivalent for it, beside using filters?
Thanks,
--
TREMALNAIK
--
Hi!
I would like my web-app to read in a *.properties file at startup (not for
i18n, but the good old
java.util.Properties, for example to get the e-mail address of the admin of
the web-app). So
I wrote a ServletContextListener which will load the properties-file and
store it into servlet
context
2005/8/1, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> Doesn't look like you are using it to me . . .
ok, I didn't use the errorPage attribute in the @page directive
because I'm using tiles and the error page would substitute only the
errored tile if an exception is thrown, resulting in a unpleasant
e
Hi!
[EMAIL PROTECTED] wrote:
Hi Yaroslav,
On my side, I'm using an other method than your. I use the
oneSubmitAction to prepare the form of the next page. So, it look like this:
OnePrepareAction->oneView.jsp->OneSubmitAction/TwoPrepareAction->twoView.jsp
. The subtility in the One
91 matches
Mail list logo