Java Mailing List Archive

http://www.gg3721.com/

Home » Struts Users Mailing List »

user Digest 31 Jul 2008 23:52:43 -0000 Issue 8172

user-digest-help

2008-07-31


Author LoginPost Reply

user Digest 31 Jul 2008 23:52:43 -0000 Issue 8172

Topics (messages 189534 through 189553):

Re: [S2] Testing if session variable is present
 189534 by: Piero Sartini
 189535 by: Dave Newton
 189537 by: Milan Milanovic
 189541 by: Dave Newton

Re: <s:a dojo-anchor, seems like better not to use it and realize it yourself
 189536 by: holod

[OT] new Boolean(true)? Re: [S2] Testing if session variable is present
 189538 by: Dave Newton
 189539 by: Milan Milanovic
 189542 by: Dave Newton
 189544 by: Milan Milanovic
 189545 by: Dave Newton
 189550 by: Milan Milanovic
 189553 by: Chris Pratt

Re: Struts 2 And JFreeChart
 189540 by: dynamicd

Re: Stuts 2 and Custom TextProvider
 189543 by: ayavorskiy

Re: struts.xml includes not actually loaded in order?
 189546 by: Becky.L.O'Sullivan.mhn.com

Struts2 on Websphere portal 6.1.0.0
 189547 by: Dinesh Narayanan
 189548 by: Nils-Helge Garli Hegvik
 189549 by: Dinesh Narayanan

Is there any way I can put package.properties file outside war file?
 189551 by: Pranav
 189552 by: Chris Pratt

Administrivia:

---------------------------------------------------------------------
To post to the list, e-mail: user@(protected)
To unsubscribe, e-mail: user-digest-unsubscribe@(protected)
For additional commands, e-mail: user-digest-help@(protected)

----------------------------------------------------------------------

Attachment: user_189534.ezm (zipped)
> No one have any idea how to access session variable in jsp in this kind of
> simple scenario ?

You may access your session variable just like you would do without S2. There
is no difference. Then use either the s:test tag from struts or c:if from the
standard tag library.

 Piero

Attachment: user_189535.ezm (zipped)
--- On Thu, 7/31/08, Milan Milanovic wrote:
> I think that you didn't understand what is my scenario.

I'm reasonably certain that I did.

> What is the problem ?

I still don't know, because you still didn't include the code I asked for. That would have saved at least one posting (this one).

I duplicated your scenario, except for that whole "mine works" thing. I store things in session all the time and have never seen this issue (except one time when our replication wasn't working properly, which isn't a Struts issue).

I know of no default mechanism that would remove a session variable without being told to do so. Unless you provide more information it's unlikely you will get any replies that will magically solve your problem.

Dave


Attachment: user_189537.ezm (zipped)

Hi Dave,

one question, is it possible that Acegi security remove my session variable,
because it sometimes ask to login between actions ? But, I'm not sure for
this.

--
Regards, Milan


newton.dave wrote:
>
> --- On Thu, 7/31/08, Milan Milanovic wrote:
>> I think that you didn't understand what is my scenario.
>
> I'm reasonably certain that I did.
>
>> What is the problem ?
>
> I still don't know, because you still didn't include the code I asked for.
> That would have saved at least one posting (this one).
>
> I duplicated your scenario, except for that whole "mine works" thing. I
> store things in session all the time and have never seen this issue
> (except one time when our replication wasn't working properly, which isn't
> a Struts issue).
>
> I know of no default mechanism that would remove a session variable
> without being told to do so. Unless you provide more information it's
> unlikely you will get any replies that will magically solve your problem.
>
> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
>

--
Sent from the Struts - User mailing list archive at Nabble.com.


Attachment: user_189541.ezm (zipped)
Sure it's possible.

Milan Milanovic wrote:
> Hi Dave,
> one question, is it possible that Acegi security remove my session variable,
> because it sometimes ask to login between actions ? But, I'm not sure for
> this.
> --
> Regards, Milan
> newton.dave wrote:
>>
>> --- On Thu, 7/31/08, Milan Milanovic wrote:
>>> I think that you didn't understand what is my scenario.
>>
>> I'm reasonably certain that I did.
>>
>>> What is the problem ?
>>
>> I still don't know, because you still didn't include the code I asked for.
>> That would have saved at least one posting (this one).
>>
>> I duplicated your scenario, except for that whole "mine works" thing. I
>> store things in session all the time and have never seen this issue
>> (except one time when our replication wasn't working properly, which isn't
>> a Struts issue).
>>
>> I know of no default mechanism that would remove a session variable
>> without being told to do so. Unless you provide more information it's
>> unlikely you will get any replies that will magically solve your problem.
>>
>> Dave
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>> For additional commands, e-mail: user-help@(protected)
>>
>>
>>
> --
> View this message in context: http://www.nabble.com/-S2--Testing-if-session-variable-is-present-tp18716278p18756303.html
> Sent from the Struts - User mailing list archive at Nabble.com.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)


Attachment: user_189536.ezm (zipped)

Dave thanks again for your help. I will watch these three videos.
Early I've used Google Web Toolkit for making complicated WEB UI
My brain will blow up If there would appear another version of docs for
struts2.
I've googled all around, but I didn't find fact about two invocations.



newton.dave wrote:
>
> Another option is to read the documentation, which indicates that the
> JavaScript function will be called twice (although it's better-stated in
> the 2.1 docs), once getting the id, and then again on success or error,
> with the HTML result.
>
> http://struts.apache.org/2.0.11/docs/ajax-tags.html#AjaxTags-anchorTag
>
> When you specify a handler you can use closure to include the ID of the
> widget you're creating the handler for, but that's a JS issue, not Struts.
> JS has a few major warts (yeah, thanks for binding "this" all goofy, JS)
> but it's very powerful when used with skill.
>
> If you're interested in programming JS I'd recommend the Crockford videos.
> Well worth the time, and it'll improve your programming in other languages
> as well.
>
> Dave
>
>
> --- On Thu, 7/31/08, holod <serega.sheypak@(protected):
>
>> From: holod <serega.sheypak@(protected)>
>> Subject: <s:a dojo-anchor, seems like better not to use it and realize it
>> yourself
>> To: user@(protected)
>> Date: Thursday, July 31, 2008, 4:16 AM
>> And I will explain why.
>> If I make any mistakes, please, tell me.
>> This is my struts2 tag:
>> <s:a id="AncorId"
>>     showLoadingText="false"
>>     targets="%{'linkattachedMainDocRow' +
>> #document.count}"
>>     theme="ajax"
>>     href="%{#deleteDocumentAction}"
>>     notifyTopics="/afterDeleteLaw">
>>     Click me!
>> </s:a>
>> this is my JS code:
>> dojo.event.topic.subscribe("/afterDeleteLaw",
>> _listeners, "test1");
>> var _listeners = {
>>  test1: function(sourceId){
>>            alert("sourceId");
>>      }
>> };
>>
>> Do you know what will happen? I'll tell you.
>> test(sourceId) will be invoked
>> twice.
>> The first time sourceId = id of dojo anchor widget
>> (AncorId)
>> The second time sourceId = response text (text which my
>> action returned).
>>
>> This is amazing logic:
>> The first time you get widget, that sends request, the
>> second time you get
>> response and you don't have any opportunity to
>> determine, which anchor
>> recieved this response!
>>
>> Imagine such situation:
>> Inside <s:iterator> you make several <s:a>
>> widgets, you generate unique
>> <s:url> for them and id attribute.
>> User starts to click on widgets, they all start to send
>> requests and receive
>> responses. As you know, JS in not thread safe, it means in
>> a few seconds you
>> get terrible mix of widgets and responses inside subscribed
>> topic.
>>
>> I've spent three days trying to solve it, the right
>> solution is: do not use
>> dojo anchor tag, use jQuery or your own custom ajax
>> functions.
>>
>> Please, take into consideration, it's extremely hard to
>> get on with
>> listeners, I was lucky and got an idea of using listeners
>> inside
>> google.code. I still don't understand how it works.
>>
>> As I understand, the idea of ajax tags is to simplyfy the
>> work, not to make
>> it as complicated, as possible.
>>
>> RFC.
>>
>> --
>> View this message in context:
>> http://www.nabble.com/%3Cs%3Aa-dojo-anchor%2C-seems-like-better-not-to-use-it-and-realize-it-yourself-tp18749842p18749842.html
>> Sent from the Struts - User mailing list archive at
>> Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>> For additional commands, e-mail:
>> user-help@(protected)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
>

--
Sent from the Struts - User mailing list archive at Nabble.com.


Attachment: user_189538.ezm (zipped)
--- On Thu, 7/31/08, Milan Milanovic wrote:
> (getSession().put("variable", new Boolean(true));

Use Boolean.TRUE rather than instantiating a new object.

Note also that the Javadocs for Boolean state in big bold letters:

"Note: It is rarely appropriate to use this constructor. Unless a new instance is required, the static factory valueOf(boolean) is generally a better choice. It is likely to yield significantly better space and time performance."

Dave


Attachment: user_189539.ezm (zipped)

Hi Dave,

no, I think that this is not an issue. I tried with Boolean.TRUE and it is
the same, but I earlier used new Boolean(true) and that worked.

--
Milan


newton.dave wrote:
>
> --- On Thu, 7/31/08, Milan Milanovic wrote:
>> (getSession().put("variable", new Boolean(true));
>
> Use Boolean.TRUE rather than instantiating a new object.
>
> Note also that the Javadocs for Boolean state in big bold letters:
>
> "Note: It is rarely appropriate to use this constructor. Unless a new
> instance is required, the static factory valueOf(boolean) is generally a
> better choice. It is likely to yield significantly better space and time
> performance."
>
> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
>

--
Sent from the Struts - User mailing list archive at Nabble.com.


Attachment: user_189542.ezm (zipped)
I didn't say it wouldn't work. I, and the Sun documentation I quoted, said it was a known bad programming practice.

Dave

Milan Milanovic wrote:
> Hi Dave,
> no, I think that this is not an issue. I tried with Boolean.TRUE and it is
> the same, but I earlier used new Boolean(true) and that worked.
> --
> Milan
> newton.dave wrote:
>>
>> --- On Thu, 7/31/08, Milan Milanovic wrote:
>>> (getSession().put("variable", new Boolean(true));
>>
>> Use Boolean.TRUE rather than instantiating a new object.
>>
>> Note also that the Javadocs for Boolean state in big bold letters:
>>
>> "Note: It is rarely appropriate to use this constructor. Unless a new
>> instance is required, the static factory valueOf(boolean) is generally a
>> better choice. It is likely to yield significantly better space and time
>> performance."
>>
>> Dave
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>> For additional commands, e-mail: user-help@(protected)
>>
>>
>>
> --
> View this message in context: http://www.nabble.com/-S2--Testing-if-session-variable-is-present-tp18716278p18756698.html
> Sent from the Struts - User mailing list archive at Nabble.com.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)


Attachment: user_189544.ezm (zipped)

Dear Dave,

O.K. But when you look at this scenario:

MyFirstActionClass -> show first.jsp -> user click on link ->
MyFirstActionClass.method where I set session variable
(getSession().put("variable", new Boolean(true)); -> show second.jsp (here I
see my variable) -> user click on some link ->
MySecondActionClass.method->third.jsp (here I don't see my variable).

I should note that in MySecondActionClass.method I don't clear session or
something similar, I just add remove some other variables and set some new.

Why my session is obviously cleared when action from another namespace is
called ?

--
Thx, Milan


newton.dave wrote:
>
> I didn't say it wouldn't work. I, and the Sun documentation I quoted, said
> it was a known bad programming practice.
>
> Dave
>
> Milan Milanovic wrote:
>> Hi Dave,
>> no, I think that this is not an issue. I tried with Boolean.TRUE and it
>> is
>> the same, but I earlier used new Boolean(true) and that worked.
>> --
>> Milan
>> newton.dave wrote:
>>>
>>> --- On Thu, 7/31/08, Milan Milanovic wrote:
>>>> (getSession().put("variable", new Boolean(true));
>>>
>>> Use Boolean.TRUE rather than instantiating a new object.
>>>
>>> Note also that the Javadocs for Boolean state in big bold letters:
>>>
>>> "Note: It is rarely appropriate to use this constructor. Unless a new
>>> instance is required, the static factory valueOf(boolean) is generally a
>>> better choice. It is likely to yield significantly better space and time
>>> performance."
>>>
>>> Dave
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>>> For additional commands, e-mail: user-help@(protected)
>>>
>>>
>>>
>> --
>> View this message in context:
>> http://www.nabble.com/-S2--Testing-if-session-variable-is-present-tp18716278p18756698.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>> For additional commands, e-mail: user-help@(protected)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
>

--
Sent from the Struts - User mailing list archive at Nabble.com.


Attachment: user_189545.ezm (zipped)
I already told you I don't know and you continue to refuse to provide the information I've asked for. You also added new information about Acegi, which I responded to by saying that yes, if you're getting logged out it's unlikely you'd keep the same session, as that would somewhat defeat the purpose of any reasonable login/logout mechanism.

I don't think I have anything further of value to offer you. I don't know of any issues with session variables; if you're having an Acegi issue then pursue the issue on a Spring forum.

Dave

Milan Milanovic wrote:
> Dear Dave,
> O.K. But when you look at this scenario:
> MyFirstActionClass -> show first.jsp -> user click on link ->
> MyFirstActionClass.method where I set session variable
> (getSession().put("variable", new Boolean(true)); -> show second.jsp (here I
> see my variable) -> user click on some link ->
> MySecondActionClass.method->third.jsp (here I don't see my variable).
> I should note that in MySecondActionClass.method I don't clear session or
> something similar, I just add remove some other variables and set some new.
> Why my session is obviously cleared when action from another namespace is
> called ?
> --
> Thx, Milan
> newton.dave wrote:
>>
>> I didn't say it wouldn't work. I, and the Sun documentation I quoted, said
>> it was a known bad programming practice.
>>
>> Dave
>>
>> Milan Milanovic wrote:
>>> Hi Dave,
>>> no, I think that this is not an issue. I tried with Boolean.TRUE and it
>>> is
>>> the same, but I earlier used new Boolean(true) and that worked.
>>> --
>>> Milan
>>> newton.dave wrote:
>>>>
>>>> --- On Thu, 7/31/08, Milan Milanovic wrote:
>>>>> (getSession().put("variable", new Boolean(true));
>>>>
>>>> Use Boolean.TRUE rather than instantiating a new object.
>>>>
>>>> Note also that the Javadocs for Boolean state in big bold letters:
>>>>
>>>> "Note: It is rarely appropriate to use this constructor. Unless a new
>>>> instance is required, the static factory valueOf(boolean) is generally a
>>>> better choice. It is likely to yield significantly better space and time
>>>> performance."
>>>>
>>>> Dave
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>>>> For additional commands, e-mail: user-help@(protected)
>>>>
>>>>
>>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/-S2--Testing-if-session-variable-is-present-tp18716278p18756698.html
>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>>> For additional commands, e-mail: user-help@(protected)
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>> For additional commands, e-mail: user-help@(protected)
>>
>>
>>
> --
> View this message in context: http://www.nabble.com/-S2--Testing-if-session-variable-is-present-tp18716278p18758095.html
> Sent from the Struts - User mailing list archive at Nabble.com.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)


Attachment: user_189550.ezm (zipped)

Hi Dave,

excuse me for disturbing this list or you personally, I asked for this in
Spring forum (
http://forum.springframework.org/showthread.php?p=194333#post194333
http://forum.springframework.org/showthread.php?p=194333#post194333 ).
I figured out what I do in those method with session which forces user to
log in again, that I don't do in other methods, I do this:

// Test if session is valid
if (session instanceof org.apache.struts2.dispatcher.SessionMap) {
try {
  ((org.apache.struts2.dispatcher.SessionMap)session ).invalidate();
 } catch (IllegalStateException e) {
    logger.error("Session is not valid!", e);
    return Action.ERROR;
  }
}

Is this possible to erase session ?

--
Thx, Milan


newton.dave wrote:
>
> I already told you I don't know and you continue to refuse to provide the
> information I've asked for. You also added new information about Acegi,
> which I responded to by saying that yes, if you're getting logged out it's
> unlikely you'd keep the same session, as that would somewhat defeat the
> purpose of any reasonable login/logout mechanism.
>
> I don't think I have anything further of value to offer you. I don't know
> of any issues with session variables; if you're having an Acegi issue then
> pursue the issue on a Spring forum.
>
> Dave
>
> Milan Milanovic wrote:
>> Dear Dave,
>> O.K. But when you look at this scenario:
>> MyFirstActionClass -> show first.jsp -> user click on link ->
>> MyFirstActionClass.method where I set session variable
>> (getSession().put("variable", new Boolean(true)); -> show second.jsp
>> (here I
>> see my variable) -> user click on some link ->
>> MySecondActionClass.method->third.jsp (here I don't see my variable).
>> I should note that in MySecondActionClass.method I don't clear session or
>> something similar, I just add remove some other variables and set some
>> new.
>> Why my session is obviously cleared when action from another namespace is
>> called ?
>> --
>> Thx, Milan
>> newton.dave wrote:
>>>
>>> I didn't say it wouldn't work. I, and the Sun documentation I quoted,
>>> said
>>> it was a known bad programming practice.
>>>
>>> Dave
>>>
>>> Milan Milanovic wrote:
>>>> Hi Dave,
>>>> no, I think that this is not an issue. I tried with Boolean.TRUE and it
>>>> is
>>>> the same, but I earlier used new Boolean(true) and that worked.
>>>> --
>>>> Milan
>>>> newton.dave wrote:
>>>>>
>>>>> --- On Thu, 7/31/08, Milan Milanovic wrote:
>>>>>> (getSession().put("variable", new Boolean(true));
>>>>>
>>>>> Use Boolean.TRUE rather than instantiating a new object.
>>>>>
>>>>> Note also that the Javadocs for Boolean state in big bold letters:
>>>>>
>>>>> "Note: It is rarely appropriate to use this constructor. Unless a new
>>>>> instance is required, the static factory valueOf(boolean) is generally
>>>>> a
>>>>> better choice. It is likely to yield significantly better space and
>>>>> time
>>>>> performance."
>>>>>
>>>>> Dave
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>>>>> For additional commands, e-mail: user-help@(protected)
>>>>>
>>>>>
>>>>>
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/-S2--Testing-if-session-variable-is-present-tp18716278p18756698.html
>>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>>>> For additional commands, e-mail: user-help@(protected)
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>>> For additional commands, e-mail: user-help@(protected)
>>>
>>>
>>>
>> --
>> View this message in context:
>> http://www.nabble.com/-S2--Testing-if-session-variable-is-present-tp18716278p18758095.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>> For additional commands, e-mail: user-help@(protected)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
>

--
Sent from the Struts - User mailing list archive at Nabble.com.


Attachment: user_189553.ezm (zipped)
Yes, that's exactly what that does. It invalidates the session and removes
all the data.
(*Chris*)

On Thu, Jul 31, 2008 at 3:27 PM, Milan Milanovic
<milanmilanovich@(protected):

>
> Hi Dave,
>
> excuse me for disturbing this list or you personally, I asked for this in
> Spring forum (
> http://forum.springframework.org/showthread.php?p=194333#post194333
> http://forum.springframework.org/showthread.php?p=194333#post194333 ).
> I figured out what I do in those method with session which forces user to
> log in again, that I don't do in other methods, I do this:
>
> // Test if session is valid
> if (session instanceof org.apache.struts2.dispatcher.SessionMap) {
> try {
>   ((org.apache.struts2.dispatcher.SessionMap)session ).invalidate();
>  } catch (IllegalStateException e) {
>     logger.error("Session is not valid!", e);
>     return Action.ERROR;
>   }
> }
>
> Is this possible to erase session ?
>
> --
> Thx, Milan
>
>
> newton.dave wrote:
> >
> > I already told you I don't know and you continue to refuse to provide the
> > information I've asked for. You also added new information about Acegi,
> > which I responded to by saying that yes, if you're getting logged out
> it's
> > unlikely you'd keep the same session, as that would somewhat defeat the
> > purpose of any reasonable login/logout mechanism.
> >
> > I don't think I have anything further of value to offer you. I don't know
> > of any issues with session variables; if you're having an Acegi issue
> then
> > pursue the issue on a Spring forum.
> >
> > Dave
> >
> > Milan Milanovic wrote:
> >> Dear Dave,
> >> O.K. But when you look at this scenario:
> >> MyFirstActionClass -> show first.jsp -> user click on link ->
> >> MyFirstActionClass.method where I set session variable
> >> (getSession().put("variable", new Boolean(true)); -> show second.jsp
> >> (here I
> >> see my variable) -> user click on some link ->
> >> MySecondActionClass.method->third.jsp (here I don't see my variable).
> >> I should note that in MySecondActionClass.method I don't clear session
> or
> >> something similar, I just add remove some other variables and set some
> >> new.
> >> Why my session is obviously cleared when action from another namespace
> is
> >> called ?
> >> --
> >> Thx, Milan
> >> newton.dave wrote:
> >>>
> >>> I didn't say it wouldn't work. I, and the Sun documentation I quoted,
> >>> said
> >>> it was a known bad programming practice.
> >>>
> >>> Dave
> >>>
> >>> Milan Milanovic wrote:
> >>>> Hi Dave,
> >>>> no, I think that this is not an issue. I tried with Boolean.TRUE and
> it
> >>>> is
> >>>> the same, but I earlier used new Boolean(true) and that worked.
> >>>> --
> >>>> Milan
> >>>> newton.dave wrote:
> >>>>>
> >>>>> --- On Thu, 7/31/08, Milan Milanovic wrote:
> >>>>>> (getSession().put("variable", new Boolean(true));
> >>>>>
> >>>>> Use Boolean.TRUE rather than instantiating a new object.
> >>>>>
> >>>>> Note also that the Javadocs for Boolean state in big bold letters:
> >>>>>
> >>>>> "Note: It is rarely appropriate to use this constructor. Unless a new
> >>>>> instance is required, the static factory valueOf(boolean) is
> generally
> >>>>> a
> >>>>> better choice. It is likely to yield significantly better space and
> >>>>> time
> >>>>> performance."
> >>>>>
> >>>>> Dave
> >>>>>
> >>>>>
> >>>>> ---------------------------------------------------------------------
> >>>>> To unsubscribe, e-mail: user-unsubscribe@(protected)
> >>>>> For additional commands, e-mail: user-help@(protected)
> >>>>>
> >>>>>
> >>>>>
> >>>> --
> >>>> View this message in context:
> >>>>
> http://www.nabble.com/-S2--Testing-if-session-variable-is-present-tp18716278p18756698.html
> >>>> Sent from the Struts - User mailing list archive at Nabble.com.
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: user-unsubscribe@(protected)
> >>>> For additional commands, e-mail: user-help@(protected)
> >>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: user-unsubscribe@(protected)
> >>> For additional commands, e-mail: user-help@(protected)
> >>>
> >>>
> >>>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/-S2--Testing-if-session-variable-is-present-tp18716278p18758095.html
> >> Sent from the Struts - User mailing list archive at Nabble.com.
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@(protected)
> >> For additional commands, e-mail: user-help@(protected)
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@(protected)
> > For additional commands, e-mail: user-help@(protected)
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/-S2--Testing-if-session-variable-is-present-tp18716278p18764848.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>

Attachment: user_189540.ezm (zipped)

I am having a similar issue. I am using Ajax and I want to update the div
with an image but
it renders it in byte code.. since the div does not know that its an image.
I am not sure how to handle this either. I am thinking one way is to use the
ChartUtils and write an image on the filesystem and have an image tag that
has the source to that image file.
Let me know how you do it .. IT will help other as well






Randy Burgess-4 wrote:
>
> I don't use the Ajax theme or any of the Dojo integration but I assumed
> that
> if theme=ajax on the submit button that it would be using Ajax.
>
> Regards,
> Randy Burgess
> Sr. Software Architect
> D5 Systems, LLC
>
>
> Regards,
> Randy Burgess
> Sr. Software Architect
> D5 Systems, LLC
>
>
>> From: Laurie Harper <laurie@(protected)>
>> Reply-To: Struts Users Mailing List <user@(protected)>
>> Date: Thu, 31 Jul 2008 02:28:41 -0400
>> To: <user@(protected)>
>> Subject: Re: Struts 2 And JFreeChart
>>
>> I don't see what Ajax has to do with this... It sounds more like an HTTP
>> caching issue. Cree, if you do a page refresh, is the image updated
>> correctly? I haven't used the JFreeChart result, but maybe it's not
>> setting the right cache control headers.
>>
>> L.
>>
>> Randy Burgess wrote:
>>> Ajax is text only so you can't use it with an image type.
>>>
>>> Regards,
>>> Randy Burgess
>>> Sr. Software Architect
>>> D5 Systems, LLC
>>>
>>>
>>>> From: cree <vint@(protected)>
>>>> Reply-To: Struts Users Mailing List <user@(protected)>
>>>> Date: Wed, 30 Jul 2008 12:14:02 -0700 (PDT)
>>>> To: <user@(protected)>
>>>> Subject: Struts 2 And JFreeChart
>>>>
>>>>
>>>> Hello Everyone,
>>>>
>>>> Got a quick question regarding the streaming of a JFreeChart (or any
>>>> image)
>>>> and how to be able to handle it on a jsp. I have create a servlet that
>>>> will
>>>> stream out an image to the jsp using a syntax similar to (in my
>>>> struts.xml):
>>>>
>>>> <action name="testChart"
>>>> class="TestBarChart">
>>>> <result name="success" type="chart">
>>>> 350
>>>> 300
>>>> </result>
>>>> </action>
>>>>
>>>> So if I, in my html, created an img tag such that >>
>>>> src="testChart.action"/ , it will correctly create the chart. My
>>>> problem
>>>> arises when I am using it under a dynamic context. For example, if
>>>> initially I submit a form button (theme="ajax" targets="divTarget")
>>>> then it
>>>> would render new data and an initial image.
>>>>
>>>> If I submit the form again with different user input the data would
>>>> change
>>>> but the image is still the same. I assume it is the same buffered image
>>>> that
>>>> it first loaded, but the action itself will never get reloaded. The
>>>> action
>>>> would not get executed at all.
>>>>
>>>> My question is whether there is a way I can manually force the img tag
>>>> to
>>>> invoke the action itself.
>>>>
>>>> Thanks for any input
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Struts-2-And-JFreeChart-tp18740589p18740589.html
>>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>>>> For additional commands, e-mail: user-help@(protected)
>>>>
>>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>> For additional commands, e-mail: user-help@(protected)
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
>

--
Sent from the Struts - User mailing list archive at Nabble.com.


Attachment: user_189543.ezm (zipped)

Yes, I tried this. Unfortunately, the minute I include below in struts.xml

<bean type="com.opensymphony.xwork2.TextProvider" name="struts"
class="...MyCustomTextProvider" />

Struts complains on startup that bean with the same name has already been
defined. Additionally, stepping through struts validation code, I can see
that it is not even using this "bean" definition, but instead, proceeds to
create a new instance of the default TextProviderSupport. It is simply
hardcoded to do so.

Thanks,
Alex
--
Sent from the Struts - User mailing list archive at Nabble.com.


Attachment: user_189546.ezm (zipped)
Hi everyone,

Our struts.xml file is getting beastly, so I attempted to break it down
into multiple files.
I read this page:
http://struts.apache.org/2.x/docs/can-we-break-up-a-large-strutsxml-file-into-smaller-pieces.html

Specifically:
"You can use <include> elements in your struts.xml interchangeably with
<package> elements. The configuration objects will be loaded in the order
of appearance. The framework reads the configuration from top to bottom and
adds objects as they are referenced."

Given that note above, I added the included file *after* my base package
(where some interceptor stacks are defined).

For example (struts.xml):
<struts>
  <package name="baseEAP" extends="struts-default" abstract="true">
    <interceptors>
       <interceptor name="DataPrep" class=
"xxx.web.interceptor.DataPreparation" />

       <interceptor-stack name="dataPrepStack">
          <interceptor-ref name="defaultStack"/>
          <interceptor-ref name="DataPrep"/>
       </interceptor-stack>
    </interceptors>
  </package>

  <include file="struts-ajax.xml" />

  ....
</struts>

Further down in struts.xml other packages extend baseEAP and have some
actions reference the dataPrepStack interceptor stack --- works great.

In struts-ajax.xml, the package also extends baseEAP and one action
references dataPrepStack:
<struts>
  <package name="ajax" extends="baseEAP,gwt-default">
    <!-- supports ajax calls in the menu management section of support
portal -->
    <action name="ajaxManageMenus" class=
"xxx.web.action.MenuManagementServiceImpl">
       <interceptor-ref name="dataPrepStack" />
       <interceptor-ref name="gwt"/>
    </action>
  </package>
</struts>


I had hoped this would work like a charm too... but alas no:

<Jul 31, 2008 9:55:49 AM PDT> <Error> <HTTP> <BEA-101165> <Could not load
user defined filter in web.xml:
org.apache.struts2.dispatcher.FilterDispatcher.
Unable to load configuration. - interceptor-ref -
file:/C:/workspace_bea10/mhnEAP/exploded/mhnEAP.ear/mhnEAP.war/WEB-INF/classes/struts-ajax.xml:10:53
    at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration (ConfigurationManager.java:58)
    at
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration (Dispatcher.java:371)
    at
org.apache.struts2.dispatcher.Dispatcher.init (Dispatcher.java:424)
    at
org.apache.struts2.dispatcher.FilterDispatcher.init (FilterDispatcher.java:213)
    at
weblogic.servlet.internal.FilterManager$FilterInitAction.run(FilterManager.java:320)
    Truncated. see log file for complete stacktrace
Unable to find interceptor class referenced by ref-name dataPrepStack -
interceptor-ref -
file:/C:/workspace_bea10/mhnEAP/exploded/mhnEAP.ear/mhnEAP.war/WEB-INF/classes/struts-ajax.xml:10:53
    at
com.opensymphony.xwork2.config.providers.InterceptorBuilder.constructInterceptorReference (InterceptorBuilder.java:46)
    at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.lookupInterceptorReference (XmlConfigurationProvider.java:1081)
    at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.buildInterceptorList (XmlConfigurationProvider.java:536)
    at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addAction (XmlConfigurationProvider.java:374)
    at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage (XmlConfigurationProvider.java:465)
    Truncated. see log file for complete stacktrace


Thoughts?
Thanks,
-B





---------------------------------------------------------------------
This message, together with any attachments, is
intended only for the use of the individual or entity
to which it is addressed. It may contain information
that is confidential and prohibited from disclosure.
If you are not the intended recipient, you are hereby
notified that any dissemination or copying of this
message or any attachment is strictly prohibited. If
you have received this message in error, please notify
the original sender immediately by telephone or by
return e-mail and delete this message, along with any
attachments, from your computer. Thank you.

---------------------------------------------------------------------

Attachment: user_189547.ezm (zipped)
Has Anybody tried Struts2 (Struts-2.0.11.2) on Websphere portal 6.1.0.0? I
am running into issues when I tried a very simple JSR168 example. Any help
would be appreciated. Is there some example of struts2 sample in websphere
portal 6.1?

A) My portlet.xml contains the following entries
<init-param>
       <name>viewNamespace</name>
       <value>/view</value>
    </init-param>

 <!-- The default action to invoke in view mode. -->
 <init-param>
       <name>defaultViewAction</name>
       <value>index</value>
 </init-param>


B) My struts.xml is
<struts>
<package name="view" extends="struts-portlet-default" namespace="/view">
  <action name="index" class="com.myCompany.proj1.ExampleAction">
    <result name="success">/WEB-INF/view/index.jsp</result>
  </action>
</package>
</struts>

And I get the following exception.
[7/30/08 23:48:05:386 PDT] 0000002a XmlConfigurat E
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider
reloadRequiredPackages Unable to find parent packages struts-portlet-default
[7/30/08 23:48:05:401 PDT] 0000002a ObjectTypeDet I
com.opensymphony.xwork2.util.ObjectTypeDeterminerFactory <clinit> Setting
DefaultObjectTypeDeterminer as default ...
[7/30/08 23:48:05:448 PDT] 0000002a Jsr168Dispatc E
org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher serviceAction Could
not find action
[7/30/08 15:15:05:782 PDT] 0000003f Jsr168Dispatc E
org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher serviceAction Could
not find action
                     There is no Action mapped for namespace
/view and action name index. - [unknown location]
  at
com.opensymphony.xwork2.DefaultActionProxy.prepare (DefaultActionProxy.java:186)
  at
org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy (StrutsActionProxyFactory.java:41)
  at
org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy (StrutsActionProxyFactory.java:34)
  at
org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher.serviceAction (Jsr168Dispatcher.java:415)
  at
org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher.render (Jsr168Dispatcher.java:299)
  at
com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:128)
  at
com.ibm.wps.propertybroker.standard.filter.C2APortletFilter.doFilter(C2APortletFilter.java:185)
  at
com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:120)
  at
com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.doDispatch(PortletServlet.java:573)
  at
com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:114)
  at
com.ibm.isclite.container.collaborator.PortletServletCollaborator.doRender(PortletServletCollaborator.java:68)
  at
com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:105)
  at
com.ibm.ws.portletcontainer.rrd.RRDServerPortletServletCollaborator.doRender(RRDServerPortletServletCollaborator.java:123)
  at
com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:105)
  at
com.ibm.ws.portletcontainer.cache.CacheCollaborator.doRender(CacheCollaborator.java:92)

I have made sure that class loader loads one ones included in webApp first.
What else could I be possibly missing? Pls let me know if you need more info

Thanks
Dinesh

Attachment: user_189548.ezm (zipped)
Did you <include file="struts-portlet-default.xml"/> in your struts.xml?

On Thu, Jul 31, 2008 at 9:26 PM, Dinesh Narayanan <ndchandar@(protected):
> Has Anybody tried Struts2 (Struts-2.0.11.2) on Websphere portal 6.1.0.0? I
> am running into issues when I tried a very simple JSR168 example. Any help
> would be appreciated. Is there some example of struts2 sample in websphere
> portal 6.1?
>
> A) My portlet.xml contains the following entries
> <init-param>
>        <name>viewNamespace</name>
>        <value>/view</value>
>     </init-param>
>
>  <!-- The default action to invoke in view mode. -->
>  <init-param>
>        <name>defaultViewAction</name>
>        <value>index</value>
>  </init-param>
>
>
> B) My struts.xml is
> <struts>
> <package name="view" extends="struts-portlet-default" namespace="/view">
>   <action name="index" class="com.myCompany.proj1.ExampleAction">
>     <result name="success">/WEB-INF/view/index.jsp</result>
>   </action>
> </package>
> </struts>
>
> And I get the following exception.
> [7/30/08 23:48:05:386 PDT] 0000002a XmlConfigurat E
> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider
> reloadRequiredPackages Unable to find parent packages struts-portlet-default
> [7/30/08 23:48:05:401 PDT] 0000002a ObjectTypeDet I
> com.opensymphony.xwork2.util.ObjectTypeDeterminerFactory <clinit> Setting
> DefaultObjectTypeDeterminer as default ...
> [7/30/08 23:48:05:448 PDT] 0000002a Jsr168Dispatc E
> org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher serviceAction Could
> not find action
> [7/30/08 15:15:05:782 PDT] 0000003f Jsr168Dispatc E
> org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher serviceAction Could
> not find action
>                      There is no Action mapped for namespace
> /view and action name index. - [unknown location]
>   at
> com.opensymphony.xwork2.DefaultActionProxy.prepare (DefaultActionProxy.java:186)
>   at
> org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy (StrutsActionProxyFactory.java:41)
>   at
> org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy (StrutsActionProxyFactory.java:34)
>   at
> org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher.serviceAction (Jsr168Dispatcher.java:415)
>   at
> org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher.render (Jsr168Dispatcher.java:299)
>   at
> com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:128)
>   at
> com.ibm.wps.propertybroker.standard.filter.C2APortletFilter.doFilter(C2APortletFilter.java:185)
>   at
> com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:120)
>   at
> com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.doDispatch(PortletServlet.java:573)
>   at
> com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:114)
>   at
> com.ibm.isclite.container.collaborator.PortletServletCollaborator.doRender(PortletServletCollaborator.java:68)
>   at
> com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:105)
>   at
> com.ibm.ws.portletcontainer.rrd.RRDServerPortletServletCollaborator.doRender(RRDServerPortletServletCollaborator.java:123)
>   at
> com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:105)
>   at
> com.ibm.ws.portletcontainer.cache.CacheCollaborator.doRender(CacheCollaborator.java:92)
>
> I have made sure that class loader loads one ones included in webApp first.
> What else could I be possibly missing? Pls let me know if you need more info
>
> Thanks
> Dinesh
>

Attachment: user_189549.ezm (zipped)
That was the issue. I did not include *struts-portlet-default.xml* in
struts.xml. Thanks a lot for your help.

Dinesh

On Thu, Jul 31, 2008 at 12:55 PM, Nils-Helge Garli Hegvik
<nilsga@(protected):

> Did you <include file="struts-portlet-default.xml"/> in your struts.xml?
>
> On Thu, Jul 31, 2008 at 9:26 PM, Dinesh Narayanan <ndchandar@(protected)>
> wrote:
> > Has Anybody tried Struts2 (Struts-2.0.11.2) on Websphere portal 6.1.0.0?
> I
> > am running into issues when I tried a very simple JSR168 example. Any
> help
> > would be appreciated. Is there some example of struts2 sample in
> websphere
> > portal 6.1?
> >
> > A) My portlet.xml contains the following entries
> > <init-param>
> >        <name>viewNamespace</name>
> >        <value>/view</value>
> >     </init-param>
> >
> >  <!-- The default action to invoke in view mode. -->
> >  <init-param>
> >        <name>defaultViewAction</name>
> >        <value>index</value>
> >  </init-param>
> >
> >
> > B) My struts.xml is
> > <struts>
> > <package name="view" extends="struts-portlet-default" namespace="/view">
> >   <action name="index" class="com.myCompany.proj1.ExampleAction">
> >     <result name="success">/WEB-INF/view/index.jsp</result>
> >   </action>
> > </package>
> > </struts>
> >
> > And I get the following exception.
> > [7/30/08 23:48:05:386 PDT] 0000002a XmlConfigurat E
> > com.opensymphony.xwork2.config.providers.XmlConfigurationProvider
> > reloadRequiredPackages Unable to find parent packages
> struts-portlet-default
> > [7/30/08 23:48:05:401 PDT] 0000002a ObjectTypeDet I
> > com.opensymphony.xwork2.util.ObjectTypeDeterminerFactory <clinit> Setting
> > DefaultObjectTypeDeterminer as default ...
> > [7/30/08 23:48:05:448 PDT] 0000002a Jsr168Dispatc E
> > org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher serviceAction
> Could
> > not find action
> > [7/30/08 15:15:05:782 PDT] 0000003f Jsr168Dispatc E
> > org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher serviceAction
> Could
> > not find action
> >                      There is no Action mapped for namespace
> > /view and action name index. - [unknown location]
> >   at
> >
> com.opensymphony.xwork2.DefaultActionProxy.prepare (DefaultActionProxy.java:186)
> >   at
> >
> org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy (StrutsActionProxyFactory.java:41)
> >   at
> >
> org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy (StrutsActionProxyFactory.java:34)
> >   at
> >
> org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher.serviceAction (Jsr168Dispatcher.java:415)
> >   at
> >
> org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher.render (Jsr168Dispatcher.java:299)
> >   at
> >
> com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:128)
> >   at
> >
> com.ibm.wps.propertybroker.standard.filter.C2APortletFilter.doFilter(C2APortletFilter.java:185)
> >   at
> >
> com.ibm.ws.portletcontainer.invoker.impl.PortletFilterChainImpl.doFilter(PortletFilterChainImpl.java:120)
> >   at
> >
> com.ibm.ws.portletcontainer.invoker.impl.PortletServlet.doDispatch(PortletServlet.java:573)
> >   at
> >
> com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:114)
> >   at
> >
> com.ibm.isclite.container.collaborator.PortletServletCollaborator.doRender(PortletServletCollaborator.java:68)
> >   at
> >
> com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:105)
> >   at
> >
> com.ibm.ws.portletcontainer.rrd.RRDServerPortletServletCollaborator.doRender(RRDServerPortletServletCollaborator.java:123)
> >   at
> >
> com.ibm.ws.portletcontainer.invoker.impl.PortletServletCollaboratorChainImpl.doCollaborator(PortletServletCollaboratorChainImpl.java:105)
> >   at
> >
> com.ibm.ws.portletcontainer.cache.CacheCollaborator.doRender(CacheCollaborator.java:92)
> >
> > I have made sure that class loader loads one ones included in webApp
> first.
> > What else could I be possibly missing? Pls let me know if you need more
> info
> >
> > Thanks
> > Dinesh
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>

Attachment: user_189551.ezm (zipped)
Hi,

In our application, currently package.properties is packaged inside the war file at \web-inf\classes directory. But we would like to move it out to a directory like /server/default/conf inside the jboss. Is there anyway this can be done? If yes, can someone please guide me with step-by-step instructions. It will be a great help.

Thanks
Pranav



   

Attachment: user_189552.ezm (zipped)
Basically Struts just loads the properties from the classpath, so anywhere
on the classpath should work.
(*Chris*)

On Thu, Jul 31, 2008 at 4:18 PM, Pranav <mehta_pranav@(protected):

> Hi,
>
> In our application, currently package.properties is packaged inside the war
> file at \web-inf\classes directory. But we would like to move it out to a
> directory like /server/default/conf inside the jboss. Is there anyway this
> can be done? If yes, can someone please guide me with step-by-step
> instructions. It will be a great help.
>
> Thanks
> Pranav
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
©2008 gg3721.com - Jax Systems, LLC, U.S.A.