Hi,
I am trying to compare the current path of a .jsp file to the link to make
sure I display the correct button image active vs. inactive, so I would like
to do request.getServletPath() but with logicEqual something like this
It doesn't work, any ideas? Thanks
Fedor
--
Hi,
You can do something like this:
HttpSession session = request.getSession();
RechForm rechForm =(RechForm)session.getAttribute("rechForm");
Hope it helps
Fedor
-Original Message-
From: Zakaria khabot [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 12, 2002 6:39 AM
To: struts-user
Hi,
I need to access a method within an ActionForm that was used by the
Action that send a redirect to my current action.
So Action A using ActionForm A and after done processing redirects to
Action B that uses ActionForm B, question how can Action B access
ActionForm A
Thank you
Fedor
---
I am not using putList myself but if you looking to dynamically
construct complex tiles have you looked into UrlController?
http://jakarta.apache.org/struts/api/org/apache/struts/tiles/UrlControll
er.html
http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf
Hope it helps
Fedor
-Or
Ok, thats interesting. I had to specify a full path
now to the tiles for them to be imported correctly so
if before I had something like:
now I have to do:
I wonder why this was changed.
Thanks,
Fedor
--- Fedor Smirnoff <[EMAIL PROTECTED]> wrote:
> Hey guys, just
Hey guys, just wanted to check if anyone had a problem
with tiles after upgrading to rc2. All I get is a
blank page now where tiles used, regular sections work
without a problem after changing perform() to
execute()
Sincerely,
Fedor
__
Do you Yahoo!?
SBC Yahoo! DSL
Hey,
I think that global forward is the best solution for
it as Neil mentioned. However, I havent tried this yet
but would it be possible to include login check into
lets say GeneralAction that extends Action, and than
every other action will extend GeneralAction. So
basically this action being in
explain I am confused in that case why
forward wouldnt work.
=
Sincerely,
Fedor Smirnoff
Sun Certified Java Programmer
http://www.olnix.com
__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc
Thanks Troy, you right this does help. I was thinking
actually between two solutions after some research,
one utilizing DispatchAction and regular ActionForm
and another simply separating create/update/delete
into 3 actions, 3 .jsp views all using 1 formbean,
more work but full control. However, yo
Hi I have a following situation:
2 .jsp views (New and Edit) using
1 actionform (Product1)
calling 2 separate actions(1 each)
1 is editAction product
1 is newAction product
both actions will call third SaveAction at the end
However depending on which Action(new or edit) user
came from, differen
Hey,
I wanted to find out if its acceptable to access
database in the validation stage of SOMEActionForm.
Basically when a user enters email address to
subscribe, I need to check if it already exists in the
database, should I do it in SOMEAction or
SOMEActionForm?
Thank you
Fedor
___
Guys, is it just me or search have not been working
for a couple of days at
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]
Thanks,
Fedor
__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
--
roblem and I fixed it by
> synchronizing the Arraylist during
> the write(add) process.
>
> synchronized (this.myArrayList) {
> this.myArrayList.add(someElement);
> }
>
> Hope this helps.
>
> Kind regards,
>
> -Oorspronkelijk bericht-
> Van:
will get
> this
> error.
>
> If you are using EJB CMP then you need to know how
> relationships work because it is easy to run into
> this.
>
> sandeep
> --- Fedor Smirnoff <[EMAIL PROTECTED]> wrote:
> > Hi I asked similar question and yet did not
Hi I asked similar question and yet did not get an
answer, I dont know why its happening in my case,
however, I know that ConcurrentModificationException
is thrown when a thread is trying to modify a
collection while another thread is still iterating it.
Dont know if it helps you or not sorry.
Sin
Hmm, interesting, it works fine if colorOptions is
returned as array of Strings, however ArrayList still
not working and comes back with this exception, any
ideas how to make ArrayList or other Collection work?
Thanks,
Fedor
--- Fedor Smirnoff <[EMAIL PROTECTED]> wrote:
> I am get
I am getting this problem and unfortunatelly search
tool for the list is off line right now.
So, I am trying to populate the form with general
options before submitting. I am doing something like
this, right off the struts HOW TO
where colorSelected is a String with getter and
Wow, didnt know there is one. Going to certainly try
it and hey maybe its easier than with JBuilder 8 :)
Fedor
--- António Santos <[EMAIL PROTECTED]> wrote:
>
> Does anyone here use this Struts IDE?
>
> http://www.exadel.com/products_strutsstudio.htm
>
> I've been using it I'm finding it great
Hey guys,
Just read an article on JSF and it sounds pretty
interesting, one problem though, writer says its not
compatible with Struts. Have anyone tried? What do you
think of it, did anyone succeeded in making it work
with Struts.
Thanks,
Fedor
__
Do you Yahoo!?
Hey guys, I am very new to Struts and trying to write
my frist application for it. Here is my question, I am
used to using custom taglibs heavely in order to make
designers life simple. Now if I am developing on
Struts framework would the same rule apply or there is
a better alternative. For exampl
Oh this is great!! Yes, either they have no idea whats
going on or, JSF cam a long way since article was
published in April
http://www.ftponline.com/javapro/2003_04/magazine/columns/weblication/default.asp
THanks
fedor
--- Ted Husted <[EMAIL PROTECTED]> wrote:
> Fedor Smirnoff wrote:
>
Here it is, its not much, just an overview:
http://www.ftponline.com/javapro/2003_04/magazine/columns/weblication/default.asp
Fedor
--- Gene Campbell <[EMAIL PROTECTED]> wrote:
> Where's the article? Sorry, can't answer your
> questions.
>
> thanks - gene
>
Hi, weird problem I got a tile that using some custom
tags, its works fine in Tomcat 4.0, in 4.1 every other
refresh it shows ServletException in menu.jsp(which is
a name of the tile)
I know its hard to tell what the problem is, Is there
a way to get a more complete message on what is the
generated
23 matches
Mail list logo