On 25/1/05 8:49 am, "Manisha Sathe" <[EMAIL PROTECTED]> wrote:
> finally i could figure it out as
>
> ActionErrors errors = super.validate(...) ( i am new to java too)
>
> With this i could get the server side validation + my own validation.
>
> The same thing i want to do it for Javascript val
Very Very Off Topic :-)
Generally the answer to this is you can't. If you use IE you can
configure it to start multiple IE processes, in which case both can have
their own JVM's but that assumes control over the User's configuration
which is not very sensible, and that the applets will be run i
Thanks Pedro, I tried it - not the exact same way - but almost same.
I created my own function named as staticValidator and from this i called
validate(form) and it worked
Thanks and regards
Manisha
Pedro Salgado <[EMAIL PROTECTED]> wrote:
On 25/1/05 8:49 am, "Manisha Sathe" wrote:
> final
hi
i try to export table datas in oracle db.i tried your solution but it did same
thing.
i googled and found something below
http://jira.codehaus.org/browse/DISPL-107
i think problem resembles.how can i try displaytag-export utility with struts ?
i need precise version of struts , displaytag
And to be perfectly honest, I didn't know for sure - I just threw it
together using Netbeans, and ASSUMED since I was array-backing it, I'd
use an indexed property.
However, I know better now - that if I intend to pass the same property
name multiple times NOT to use indexed accessor/mutators,
Kishore Senji wrote:
As I use Jakarta Velocity I cannot use static fields such as
org.apache.struts.Globals.MAPPING_KEY
Please take a look at FieldMethodizer, which allows access to static
fields from the template
http://jakarta.apache.org/velocity/api/org/apache/velocity/app/FieldMethodizer.html
The subject is prolly a poor way to say what I'm trying to say
Does anybody know of a simple way to use JSP as an INTERNAL templating
engine. For example, if I have a struts application where I'm
generating an email to send, I currently have to use Velocity on the
server side to put the val
Hi,
I couldn't find a way to do this, other than using Jelly:
http://jakarta.apache.org/commons/jelly/
Which uses JEXL which is a EL processing engine, so it looks like JSP
with EL. The Jelly tutorial has an example where you can call the
Embedded object to process a jelly script file. Jelly
Hi to All
I am using DynaActions and I came across myself with a problem. In a
JSP, I have a Loop, that it writes some times the same part of the
Form, as I must validate this? How it is in validation.xml and the
Form of struts-config?
In the example, the JSP file:
--
--
Now, a
Hi,
I have an web apllication, using several plugins that I've made, and I
want to be able to change the plugin configuration without stopping
the Tomcat. Does anyone knows if it's possible ?
Thanx,
Ovidiu
-
To unsubscribe, e-mai
Hi,
Go to the manager tomcat system and you can stop/start/restart application
by application ... but it need to stop the application.
The other possibility is to implement your own web admin system for
configuring your plugins, replacing the values inside by setters.
Hope it can help,
Cedric
Hi
I have some doubts about my implementation and am wondering if anyone
has better solutions. I have done a bit of googling and thought about
it without finding any great answers which probably means im missing
something obvious.
I am using a series of drop down lists at the top of my form. Whe
You can do this easily using the tag and the
RequestDispatcher. I've put a page up on my web site showing how:
http://www.niallp.pwp.blueyonder.co.uk/emailTemplate.html
I believe the RequestDispatcher is the "magic" JSP processor you're looking
for.
Niall
- Original Message -
From: "W
[Gianpiero]
The only think I don't like with this solution is that the JSP writer
has to know the existence of the "command" attribute into request.
Moreover if the Action writer forgot to call the "setup" method the
request attribute will not set.
[Jeff Beal]
You can use a custom RequestProcess
Firstly client side validation isn't dependant on the "validate" attribute
in the struts-config - so you won't miss client validation with the approach
you've taken.
One possible alternative approach would be to create your own custom
DynaValidatorForm class and put the logic whether to validate o
Fantastic! That's exactly what I was looking for! And since I've got
so much stuff in the form bean, I can just access the stuff directly
from the form bean. (I know it's not the RIGHT way to do it, but with
as many attributes as there are to this, it'd be nice to not have to
rewrite existin
the method did not work, i think its because the nested tags deal with beans
nested in beans but this deals with lists in a list in a bean (like a 2
dimensional array), i was hoping if i code the property like
property[row][col], if will call my getter method String getProperty(int
row, int col
At 9:14 PM -0700 1/24/05, Larry Meadors wrote:
Nope, actually, it is bean-utils that is at fault here (something all
struts developers should be accustomed to saying - IMO, bean-utils is
the single weakest component in struts).
According to the javabeans specification
(http://java.sun.com/products/
Hi,
There is a way :
Regards,
Cedric
- Original Message -
From: "Olasoji Ajayi" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" ; "Hubert Rabago"
<[EMAIL PROTECTED]>
Sent: Tuesday, January 25, 2005 3:25 PM
Subject: Re: A table
Hi everybody,
For some reason struts decides to put my form into the session scope instead
of the specified request scope. When does this happen? I am using a
DispatchAction to prepare the view and a LookupDispatch to save forms.
Regards,
Nils
--
Hi everybody,
For some reason struts decides to put my form into the session scope instead
of the specified request scope. When does this happen? I am using a
DispatchAction to prepare the view and a LookupDispatch to save forms.
Regards,
Nils
--
The thing is that the application must be running without any
interupption. I was thinking about a plugin that watches over the
other ones inspecting the struts-config file from time to time and
compare the plugin configurations with the ones alredy loaded.
Any ideas ?
Ovidiu
On Tue, 25 Jan 2005
What about, like I said, a Web Administration Page for your plugin and
change the plugins configuration with that ?
Cedric
On Tue, 25 Jan 2005 16:42:14 +0200, Ovidiu EFTIMIE <[EMAIL PROTECTED]> wrote:
> The thing is that the application must be running without any
> interupption. I was thinking a
This could be a solution if I stored the plugin configurations in the database.
Thanx.
On Tue, 25 Jan 2005 15:45:45 +0100, Cédric Levieux
<[EMAIL PROTECTED]> wrote:
> What about, like I said, a Web Administration Page for your plugin and
> change the plugins configuration with that ?
>
> Cedric
Dakota Jack wrote the following on 1/25/2005 2:11 AM:
I just have a and feed the appropriate
value to the request. State is a class as follows:
public class StateContainer
implements Map {
private Map map;
The whole problem with these suggestions to use the Request for putting
in a title
why in database ?
public class XxxPlugIn implements PlugIn
{
private static Log log = LogFactory.getLog(ForumPlugIn.class);
private static XxxPlugIn INSTANCE = null;
// Other plugin properties
public static XxxPlugIn getInstance()
{
return INSTANCE;
}
public
There are two things about BU that irritate me (and that is the level
- irritation, not a show stopper by any stretch of the imagination).
1) If I have an Integer (or any Number subclass) property, and someone
keys in "joe", BU turns it into 0 by default. That is the last thing I
want it to do. Ze
But what happens if the server dies ? I will lose the configuration ?
Will the accessors modify my struts-config.xml ? I don't think they
will .
Ovidiu
On Tue, 25 Jan 2005 15:54:44 +0100, Cedric Levieux
<[EMAIL PROTECTED]> wrote:
> why in database ?
>
> public class XxxPlugIn implements PlugIn
Hello people!
Has anybody here used DisplayTag lib?
I'm trying to use here but I'm having some problems with Locale...
115609 [http8080-Processor23] INFO properties.TableProperties - No
LocaleResolver configured.
115875 [http8080-Processor23] WARN properties.TableProperties - Unable to
instantia
Thanks Hubert,
Looks like the manual redirect works. The path would work
but I really don't know the hostname the app will be installed
on. Best to simply redirect manually.
Thanks
Jesus Rodriguez
Hubert Rabago wrote:
If you create your own ActionForward, and you redirect with a string
that start
No they won't but like anything else it's your job to keep track of your
change with a database or writing file.
In my point of view accessors are the best thing to change a value withing
asking the value in the database. But you can store the new value in view of
keeping the same configuration wh
Check out the displaytag mailing list. It has an excellent community
which is very quick to help.
--Marty
--- Flávio Maldonado <[EMAIL PROTECTED]> wrote:
> Hello people!
>
> Has anybody here used DisplayTag lib?
> I'm trying to use here but I'm having some problems with Locale...
>
> 115609
Container specific error. Sorry.
Nils
-Original Message-
From: Nils Liebelt [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 25, 2005 4:38 PM
To: user@struts.apache.org
Subject: Form in wrong scope
Hi everybody,
For some reason struts decides to put my form into the session scope in
Container specific error. Sorry.
Nils
-Original Message-
From: Nils Liebelt [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 25, 2005 4:38 PM
To: user@struts.apache.org
Subject: Form in wrong scope
Hi everybody,
For some reason struts decides to put my form into the session scope in
Rick,
I wouldn't worry too much about having a different definition just to switch
title. In essence, it is a different view and so it's deserving of a unique
entry. Besides, the amount of typing is trivial because Tiles allows
overriding of definitions, so it is simply a matter of listing out one
Thanx Cedirn for your help . I think I'll do it this way.
On Tue, 25 Jan 2005 16:06:05 +0100, Cedric Levieux
<[EMAIL PROTECTED]> wrote:
> No they won't but like anything else it's your job to keep track of your
> change with a database or writing file.
>
> In my point of view accessors are the b
Benedict, Paul C wrote the following on 1/25/2005 10:12 AM:
I wouldn't worry too much about having a different definition just to switch
title. In essence, it is a different view and so it's deserving of a unique
entry. Besides, the amount of typing is trivial because Tiles allows
overriding of def
Hi,
I'm new to struts and trying to understand all the new things, but this
is my problem right now.
I have two forms, one form used for a select-list, and another form that
will be dynamically build based on the value selected in the first list.
So, how would I go on doing this? I've come so
Hallo Robin,
you can save the values from the first form in hidden fields on the
second JSP.
With this you will only need one formBean saving all values.
I think it depends on the application which approach is better.
If you have to save the data at the end of both forms, I prefered one
form and
Rick,
When your user edits your page and validation fails, will your request-scope
title still be available? Obviously, not. How do you generally handle the
case when you require some request-scope variables to stick around -- save
them in the form as hidden inputs?
Thanks,
Paul
-Original Me
Robin Ericsson wrote the following on 1/25/2005 10:29 AM:
I'm new to struts and trying to understand all the new things, but this
is my problem right now.
I have two forms, one form used for a select-list, and another form that
will be dynamically build based on the value selected in the first
Speaking of 1.2.6, does anyone know what is holding up its release at beta
quality? Are we going to see a GA on this version or in 1.2.7+?
Thanks,
Paul
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Monday, January 24, 2005 8:46 PM
To: Struts Users Mailing List;
Benedict, Paul C wrote the following on 1/25/2005 10:38 AM:
When your user edits your page and validation fails, will your request-scope
title still be available? Obviously, not. How do you generally handle the
case when you require some request-scope variables to stick around -- save
them in the f
At 7:58 AM -0700 1/25/05, Larry Meadors wrote:
There are two things about BU that irritate me (and that is the level
- irritation, not a show stopper by any stretch of the imagination).
1) If I have an Integer (or any Number subclass) property, and someone
keys in "joe", BU turns it into 0 by defau
Sebastian Hennebrueder wrote the following on 1/25/2005 10:37 AM:
If you have to save the data at the end of both forms, I prefered one
form and hidden fields.
Yuk, just give the form bean Session scope. Much cleaner in my opinion.
Way too much of a headache to keep track of which hidden fields y
Rick Reumann wrote:
So, If the first page is to be used only to figure out how to populate
the next page based on a parameter selected from the select list, just
have the form submit to your Action (assuming a dispatch action it might
go to "setUpForm" and in that method you pull out from the Re
Robin Ericsson wrote the following on 1/25/2005 10:52 AM:
The select is only there to figure how to populate the next page,
however I would like the have the selectlist on the next page aswell so
the client may jump between different months, as it will be in this case.
For this stuff, all my acti
Hi
i know the it was a very very OFF TOPIC question
yes i have started changing my code and do some thing
like DAO in applet :-) where in the display screen
will have no knowledge of data and will use a DAO
fatory to get data object at the time of painting
Ashish
--- Duncan Mills <[EMAIL PROTECTED
Yes and No.
I think that there is a risk to fill the session with a lot of formBeans
which rest as trash.
At least you should keep it in mind, that
1)
you empty the session when the user follows the normal dialog path.
2)
when you have a large application with lots of users and long sessions,
yo
if this works, it will take care of writing the table to the jsp but i need
an html input type of field so i can also set the properties of the
ActionForm by editing the fields and submiting the form.
- Original Message -
From: "Cedric Levieux" <[EMAIL PROTECTED]>
To: "Struts Users Maili
It appears that extending LookupDispatchAction does *not* cause
validation to be bypassed when the following tag is used in a JSP:
Two Questions
1) Are we incorrect in our observation?
2) Does anyone have a better solution than the attached?
// Message for cancel button.
publi
From: "Joe Germuska" <[EMAIL PROTECTED]>
> I haven't actually looked at this in a running debugger, or with log
> output, but the code which governs this ultimately is
> PropertyUtilsbean.setIndexedProperty(...)
I found what I think is an open bug about the original issue that was
raised-- BeanUt
Hi,
I'm not sure if this question is really about struts even though it occures in
my struts application. My apologies if this is a bit off topic.
I have a jsp logon page with two input fields "userId' and "password"
I of course have a corresponding ActionForm with the same attributes.
When I op
Hi Toll,
Your observation is correct. If you use LookupDispatchAction for creating
your own action class, and if you specify validate="true" in your
struts-config.xml then Struts will always validate the input regardless
which method in your action class is invoked.
One of the solution is to set
The EL taglib had not been updated to include new attributes added to the
"standard" taglib and it was decided to leave this as "beta" quality - there
should be a 1.2.7 version with this resolved soon.
Niall
- Original Message -
From: "Benedict, Paul C" <[EMAIL PROTECTED]>
To: "'Struts U
Hi Flávio,
If you are using Tomcat 5 or any other JSTL-enabled container you don't need
displaytag. Just
use JSTL tags like
and .
And yes, you can alter locale being used.
Look for details on JSTL documentation.
It is easier imho to use and, well, it is standard-compliant :-)
Cheers,
D
And by this way ?
but the problem is that you didn't know which row is the parent of a field
- Original Message -
From: "Olasoji Ajayi" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, January 25, 2005 5:02 PM
S
For the paranoid, you probably want to be sure that the email template
("EmailTestTemplate.jsp") doesn't actually produce any output. Because you're
doing an include followed by a forward, there's a *possibility* that the
forward will throw an IllegalStateException if the include causes the respons
Well, lists of lists work, but the property to display or set itself
must be a bean with accessors. It doesn't have to be a standalone
class - it can be an inner class, or a dyna bean.
On Tue, 25 Jan 2005 17:02:11 +0100, Olasoji Ajayi <[EMAIL PROTECTED]> wrote:
> if this works, it will take care
Hi,
I solved the problem implementing a tiles controller and using the
"extend" definition attribute in tiles-defs.xml.
This solution requires two tiles definition but the jsp body is the
same. I used two tiles in order to set the correct action, formName and
some other parameter. Maybe this solut
Yeah, I wonder about that bug: we've recently been moving some
application servers from Solaris to Linux, and I think this is a JVM
level issue. Just before we started, someone had posted about this
to the Struts users' list (although I can't seem to find it in the
archives right now.) Basica
the second iterate will treat row like a bean and will try to retrieve the
value of property called list of fields and it will result in an erroe
because the row is actually a List and not a bean and it does not have a
property called listofFields. and i dont think html:text works without a
pro
Wow, i never thought of that, i will definitly give that a try, i think it
should work
- Original Message -
From: "Hubert Rabago" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, January 25, 2005 5:34 PM
Subject: Re: A table on a form from a List of Lists
Well, lists
That code is being put in because you set the focus attribute of the
html:form tag, but there is no attribute called username.
w
On Tue, 25 Jan 2005 11:20:36 -0500
"Nadia Kunkov" <[EMAIL PROTECTED]> wrote:
Hi,
I'm not sure if this question is really about struts even though it
occures in my str
Which was one thing I had already done - didn't use comments, but did
all my up-front work in one line.
w
On Tue, 25 Jan 2005 11:32:41 -0500
Kris Schneider <[EMAIL PROTECTED]> wrote:
For the paranoid, you probably want to be sure that the email
template
("EmailTestTemplate.jsp") doesn't actuall
thanks - i am coming round to the idea of dropping
lookupdispatchaction, there really isnt enough to be gained.
On Tue, 25 Jan 2005 14:03:44 -, Niall Pemberton
<[EMAIL PROTECTED]> wrote:
> Firstly client side validation isn't dependant on the "validate" attribute
> in the struts-config - so y
Thank you, you are right...
Silly of me to not have noticed that.
Appreciate your help.
NK
-Original Message-
From: Will Stranathan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 25, 2005 11:46 AM
To: Struts Users Mailing List
Subject: Re: struts and java script and jsp
That code is be
On Mon, 24 Jan 2005 23:49:47 -0800 (PST), Manisha Sathe
<[EMAIL PROTECTED]> wrote:
> finally i could figure it out as
>
> ActionErrors errors = super.validate(...) ( i am new to java too)
>
> With this i could get the server side validation + my own validation.
>
> The same thing i want to do it
So if row is a list try this
directly
- Original Message -
From: "Olasoji Ajayi" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, January 25, 2005 5:37 PM
Subject: Re: A table on a form from a List of Lists
> the sec
i thought the property attribute is required in the html:text tag.
- Original Message -
From: "Cedric Levieux" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, January 25, 2005 6:02 PM
Subject: Re: A table on a form from a List of Lists
So if row is a list try this
Rick Reumann wrote:
Robin Ericsson wrote the following on 1/25/2005 10:52 AM:
The select is only there to figure how to populate the next page,
however I would like the have the selectlist on the next page aswell
so the client may jump between different months, as it will be in this
case.
For t
Ok, the recent Tiles questions posts I had were in relation to how I can
create dynamic titles/labels. For example I might have a layout
definition that has a header.jsp and in that header I need provide a
label for the user to view that could look like...
"Welcome John Doe, we love your compan
Robin Ericsson wrote the following on 1/25/2005 12:18 PM:
Ok, sounds like a good idea, my next question would be how do I get the
data set in the first form from the execute method of my action?
Various ways. You can set all the properties individually or use
BeanUtils to copy them from some othe
Rick,
While you are at it, I suggest you may consider dynamic Forms,
DynaActionForm, or Map backed forms, they give you ways to handle form's
properties without even knowing the the property names at development time.
Its worth trying.
Hatem.
- Original Message -
From: "Rick Reumann" <[
Tim wrote the following on 1/25/2005 12:55 PM:
Rick,
While you are at it, I suggest you may consider dynamic Forms,
DynaActionForm, or Map backed forms, they give you ways to handle form's
properties without even knowing the the property names at development time.
Its worth trying.
You mean Robin
hi
i tried to signup for list.but i could not.i could review my messages but ý
could not get singup confirmation ):
sincerely
Martin Wegner <[EMAIL PROTECTED]> wrote:
Check out the displaytag mailing list. It has an excellent community
which is very quick to help.
--Marty
--- Flávio Maldo
Good points Kris,
hope you don't mind, but I added your comments to the page I set up
(although I slightly modified the whitespace *hack*).
http://www.niallp.pwp.blueyonder.co.uk/emailTemplate.html
Niall
- Original Message -
From: "Kris Schneider" <[EMAIL PROTECTED]>
To: "Struts Users
Rick, this is probably not the cleanest solution but it works for me.
tiles-def.xml:
layout.jsp:
Hi, I have a web application that is deployed fine in Websphere 5.0.2
(with FixPatch 6) on a windows XP machine. But when I try the same war
file, same version of the websphere on a windows 2000 server machine, I
will get the following error:
Cannot find message resources under key org.apache.s
Hi all,
I am having an issue with marshalling a page's collection indexes
back into the form object.
I have a BillingForm object with multiple BlllingListItem beans. Here
is an excerpt of my BillingForm object
public class BillingForm extends AnnuityForm {
private List billingList;
public
Thank you so much for your help.
I found the problem. I saw in an article how the
validatorPlugin was defined with a set-property
property="pathnames" for the validation.xml and the
validator-rules.xml.
Either that does not work or I did it wrong. I went back to
having a comma separated list.
I don't think you want to use indexed properties for this. If you used
indexed properties you need to have set/get methods to handle them. In
your case you should removed the indexed stuff and the whole list should
submit and populate for you.
Todd Nine wrote the following on 1/25/2005 2:52 PM:
Hi
Suppose i have a class, which required 3 parameters to
do some process, out of 3 parameters 2 are standard
and only one changes depending upon the process.
I dont want to hard code those 2 values since these
can be change (this is not a web application so i
cannot use session)
What i want to do
In have a Struts PlugIn that needs to determine the URL for the containing
web application (http://localhost:8080/BlahBlahBlah/). I am unable to
find a way to determine this information. Any ideas?
Thanks.
--Marty
-
To unsu
Oops,
I guess I should add that I was creating email messages during a batch
processing operation at 1am, so this was not generated by an action,
and there was no request/response object available. Otherwise the
other solution with RequestDispatcher would have worked.
Jason Lea wrote:
Hi,
Hi,
I am havnig problems with the LabelValueBean in a drop down that is suppose to
show the months. I need to display the labels as strings (ex: Jan, Feb, etc).
I need to display their respective values as ordinals. When executing the code
below, a JSP exception is thrown, tellinng me: "cann
I seem to remember trying to solve this problem myself and coming to the
conclusion that there was no way to do it independent of a request. I
wound up just sticking it in my application config file that gets read
in the plugin anyway. Can anyone prove me wrong? :)
--
Frank W. Zammetti
Founde
I'm not entirely sure, but I think Struts itself has some code that
goes through some length to get information like this. Could be in
the Struts ActionServlet object. I don't have time to check right
now, though.
On Tue, 25 Jan 2005 18:37:29 -0500, Frank W. Zammetti
<[EMAIL PROTECTED]> wrote:
>
On Tue, 25 Jan 2005 18:37:29 -0500, Frank W. Zammetti
<[EMAIL PROTECTED]> wrote:
> I seem to remember trying to solve this problem myself and coming to the
> conclusion that there was no way to do it independent of a request. I
> wound up just sticking it in my application config file that gets re
The OP was looking for a way to construct the entire path. I too got as
far as ServletContext, but I'm not sure what in it would give you that,
or even all the pieces to constuct it... Maybe getAttribute()? I'm not
sure what it will return, although you can use getAttributeNames() to
see. Th
Can someone tell me how to determine the machine name of the server from
inside the init() method of a plug-in? It looks like I have an ActionServlet
object and a ModuleConfig object at my disposal.
Thank you,
Brian Barnett
-
To
From: "Justin Moore" <[EMAIL PROTECTED]>
> I am havnig problems with the LabelValueBean in a drop down that is
suppose to show the months.
> I need to display the labels as strings (ex: Jan, Feb, etc). I need to
display their respective values
> as ordinals. When executing the code below, a JS
Not anything new, but we can also increase the buffer size
<%@ page buffer="10kb" autoFlush="false" %><%@ taglib
uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
Also, if you define your action to extend IncludeAction, then by
Thanks Kishore, also good points which I've also added to that page:
http://www.niallp.pwp.blueyonder.co.uk/emailTemplate.html
Niall
- Original Message -
From: "Kishore Senji" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Wednesday, January 26, 2005 1:07 AM
Subject: Re: OT
As far as I can tell the attributes offer no insight. I have yet to find
a way to get to the container from within a PlugIn. But I will keep
looking. Using an initParam is not an option in this application.
--Marty
--- "Frank W. Zammetti" <[EMAIL PROTECTED]> wrote:
> The OP was looking for
I tend to follow the JavaBeans conventions:
public class GetData {
private String param1;
private String param2;
public GetData() {
}
public GetData(String param1, String param2) {
setParam1(param1);
setParam2(param2);
}
public String getParam1() {
return param1;
}
Not sure what you want. Does this help?
package whatever;
import java.io.File;
import java.net.URL;
public final class Classpath {
public static final String SLASH= File.separator;
public static final String HERE =
Classpath.class.getClassLoader().getResource("whatever" + SL
That is actually useful, but I don't think it's what the OP was looking
for... I think he literally wants the complete URL to the current
webapp's root. That's what I was looking for way back when too.
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omn
Hi All,
Are there any struts tag extension available implementing the dynamic
security?
We want to drill the security access to each input element fields.
Further, the security groups are also dynamic. We are planning to use
xml for storing the mapping.
Regards,
KP
Jack,
That tells me where the JAR files are stored which is cool. But what I am
looking for a valid URL (of which there may be many) to access my given
web application. This info has to come from the container which may be
the problem. I don't see anything in the container standard which
provid
1 - 100 of 107 matches
Mail list logo