Help Req on Iterate Tag using HashMap

2003-11-04 Thread Shakti
Hi All,
I am keeping some table data in a HashMap .
My Table is in this form :
UID #EMP Details
   -Date of joining
   -Date of birth
   -Misc Detail

Now i am creating an EMPDetails bean and storing the bean in a hash map with UID # as 
the key.

Can anyone plz tell me how to show the data in a tabular form in jsp using iterate tag 
. I am unable to make out as how to 
iterate the EMPDetails bean which i am getting as value .

Thanks & Regards,
Shakti

Re: Help Req on Iterate Tag using HashMap

2003-11-05 Thread Shakti
Thanks for your reply boss,
 but still its doesn't solves my problem .. I know this method of iterating
thru an Array list taking out a bean from that .. but I want to USE A HASH
MAP ...
anyone who can help me out of this 
waiting 4 ur reply guyz .
chao ...
shakti

- Original Message -
From: "Sashi Ravipati" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 04, 2003 6:46 PM
Subject: Re: Help Req on Iterate Tag using HashMap


> Hi
>
> This is how we iterate in a jsp page
>
> 
>  property="assocSBList" indexId="i" >
> 
>  size="10"  />
>   maxlength="10"size="10" />
> 
> 
> 
>
> where addProviderForm is the Struts Form bean and assocSBList is the
> ArrayList defined in the form bean.
>
> Hope this helps.
>
> Thanks
>
> >>> [EMAIL PROTECTED] 11/4/2003 6:43:27 AM >>>
> Hi All,
> I am keeping some table data in a HashMap .
> My Table is in this form :
> UID #EMP Details
>-Date of joining
>-Date of birth
>-Misc Detail
>
> Now i am creating an EMPDetails bean and storing the bean in a hash map
> with UID # as the key.
>
> Can anyone plz tell me how to show the data in a tabular form in jsp
> using iterate tag . I am unable to make out as how to
> iterate the EMPDetails bean which i am getting as value .
>
> Thanks & Regards,
> Shakti
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Help Req on Iterate Tag using HashMap [PROBLEM SOLVED]

2003-11-05 Thread Shakti
Hi ,
  Thanks buddy, it was the perfect solution that i was looking for ...
:-)
chao ...
Shakti

- Original Message -
From: "Sunny" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, November 05, 2003 3:12 PM
Subject: Re: Help Req on Iterate Tag using HashMap


> 
> 
> 
> 
>  
> 
> 
>  
> 
> 
>  
> 
> 
>  
> 
> 
> 
>
> You need to have respective Getter Methods in the EMPDetails Bean.
>
>
> On Wednesday 05 November 2003 02:57 pm, you wrote:
> > Thanks for your reply boss,
> >  but still its doesn't solves my problem .. I know this method of
iterating
> > thru an Array list taking out a bean from that .. but I want to USE A
HASH
> > MAP ...
> > anyone who can help me out of this 
> > waiting 4 ur reply guyz .
> > chao ...
> > shakti
> >
> > - Original Message -
> > From: "Sashi Ravipati" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, November 04, 2003 6:46 PM
> > Subject: Re: Help Req on Iterate Tag using HashMap
> >
> > > Hi
> > >
> > > This is how we iterate in a jsp page
> > >
> > > 
> > >  > > property="assocSBList" indexId="i" >
> > > 
> > >  > > size="10"  />
> > >   > > maxlength="10"size="10" />
> > > 
> > > 
> > > 
> > >
> > > where addProviderForm is the Struts Form bean and assocSBList is the
> > > ArrayList defined in the form bean.
> > >
> > > Hope this helps.
> > >
> > > Thanks
> > >
> > > >>> [EMAIL PROTECTED] 11/4/2003 6:43:27 AM >>>
> > >
> > > Hi All,
> > > I am keeping some table data in a HashMap .
> > > My Table is in this form :
> > > UID #EMP Details
> > >-Date of joining
> > >-Date of birth
> > >-Misc Detail
> > >
> > > Now i am creating an EMPDetails bean and storing the bean in a hash
map
> > > with UID # as the key.
> > >
> > > Can anyone plz tell me how to show the data in a tabular form in jsp
> > > using iterate tag . I am unable to make out as how to
> > > iterate the EMPDetails bean which i am getting as value .
> > >
> > > Thanks & Regards,
> > > Shakti
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Problem in grouping using logic iterate & logic equal

2003-11-22 Thread Shakti
Hi,
  "MyTeamFormBean "contains an arraylist "allTeams" having MyTeamRowBean
with attributes :
  String teamName, first, middle & last

  

 
  


  
    

 


  Which produces something like this 

 Team Name 1
Firstname1 1  Midinitial1 1  Lastname 1 1
  Team Name 1
Firstname1 2  Midinitial1 2  Lastname 1 2
  Team Name 1
Firstname1 3  Midinitial1 3  Lastname 1 3
  Team Name 2
Firstname2 1  Midinitial2 1  Lastname 2 1
  Team Name 2
Firstname2 2  Midinitial2 2  Lastname 2 2
  Team Name 2
Firstname2 3  Midinitial2 3  Lastname 2 3
  Team Name 3
Firstname3 1  Midinitial3 1  Lastname 3 1
  Team Name 3
Firstname3 2  Midinitial3 2  Lastname 3 2
  Team Name 3
Firstname3 3  Midinitial3 3  Lastname 3 3
  Team Name 4
Firstname4 1  Midinitial4 1  Lastname 4 1
  Team Name 4
Firstname4 2  Midinitial4 2  Lastname 4 2
  Team Name 4
Firstname4 3  Midinitial4 3  Lastname 4 3
  Team Name 5
Firstname5 1  Midinitial5 1  Lastname 5 1
  Team Name 5
Firstname5 2  Midinitial5 2  Lastname 5 2
  Team Name 5
Firstname5 3  Midinitial5 3  Lastname 5 3


  but i want something like this. ..


  Team Name 1
Firstname1 1  Midinitial1 1  Lastname 1 1
Firstname1 2  Midinitial1 2  Lastname 1 2
Firstname1 3  Midinitial1 3  Lastname 1 3
  Team Name 2
Firstname2 1  Midinitial2 1  Lastname 2 1
Firstname2 2  Midinitial2 2  Lastname 2 2
Firstname2 3  Midinitial2 3  Lastname 2 3
  Team Name 3
Firstname3 1  Midinitial3 1  Lastname 3 1
Firstname3 2  Midinitial3 2  Lastname 3 2
Firstname3 3  Midinitial3 3  Lastname 3 3
  Team Name 4
Firstname4 1  Midinitial4 1  Lastname 4 1
Firstname4 2  Midinitial4 2  Lastname 4 2
Firstname4 3  Midinitial4 3  Lastname 4 3
  Team Name 5
Firstname5 1  Midinitial5 1  Lastname 5 1
Firstname5 2  Midinitial5 2  Lastname 5 2
Firstname5 3  Midinitial5 3  Lastname 5 3



can anyone plz help me out in this ...

Thanks in advance ..
Shakti..


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Still no reply for :Problem in grouping using logic iterate & logic equal

2003-11-22 Thread Shakti

> Hi,
>   "MyTeamFormBean "contains an arraylist "allTeams" having MyTeamRowBean
> with attributes :
>   String teamName, first, middle & last
>
>   
> 
>  
>   
> 
> 
>   
>    property="Firstname"/>  property="Midinitial"/> 
> 
>  
> 
>
>   Which produces something like this 
>
>  Team Name 1
> Firstname1 1  Midinitial1 1  Lastname 1 1
>   Team Name 1
> Firstname1 2  Midinitial1 2  Lastname 1 2
>   Team Name 1
> Firstname1 3  Midinitial1 3  Lastname 1 3
>   Team Name 2
> Firstname2 1  Midinitial2 1  Lastname 2 1
>   Team Name 2
> Firstname2 2  Midinitial2 2  Lastname 2 2
>   Team Name 2
> Firstname2 3  Midinitial2 3  Lastname 2 3
>   Team Name 3
> Firstname3 1  Midinitial3 1  Lastname 3 1
>   Team Name 3
> Firstname3 2  Midinitial3 2  Lastname 3 2
>   Team Name 3
> Firstname3 3  Midinitial3 3  Lastname 3 3
>   Team Name 4
> Firstname4 1  Midinitial4 1  Lastname 4 1
>   Team Name 4
> Firstname4 2  Midinitial4 2  Lastname 4 2
>   Team Name 4
> Firstname4 3  Midinitial4 3  Lastname 4 3
>   Team Name 5
> Firstname5 1  Midinitial5 1  Lastname 5 1
>   Team Name 5
> Firstname5 2  Midinitial5 2  Lastname 5 2
>   Team Name 5
> Firstname5 3  Midinitial5 3  Lastname 5 3
>
>
>   but i want something like this. ..
>
>
>   Team Name 1
> Firstname1 1  Midinitial1 1  Lastname 1 1
> Firstname1 2  Midinitial1 2  Lastname 1 2
> Firstname1 3  Midinitial1 3  Lastname 1 3
>   Team Name 2
> Firstname2 1  Midinitial2 1  Lastname 2 1
> Firstname2 2  Midinitial2 2  Lastname 2 2
> Firstname2 3  Midinitial2 3  Lastname 2 3
>   Team Name 3
> Firstname3 1  Midinitial3 1  Lastname 3 1
> Firstname3 2  Midinitial3 2  Lastname 3 2
> Firstname3 3  Midinitial3 3  Lastname 3 3
>   Team Name 4
> Firstname4 1  Midinitial4 1  Lastname 4 1
> Firstname4 2  Midinitial4 2  Lastname 4 2
> Firstname4 3  Midinitial4 3  Lastname 4 3
>   Team Name 5
> Firstname5 1  Midinitial5 1  Lastname 5 1
> Firstname5 2  Midinitial5 2  Lastname 5 2
> Firstname5 3  Midinitial5 3  Lastname 5 3
>
>
>
> can anyone plz help me out in this ...
>
> Thanks in advance ..
> Shakti..
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Still no reply for :Problem in grouping using logic iterate & logic equal

2003-11-22 Thread Shakti
As i told u earlier ..
In MyTeamRowBean i have
TeamNameFirstName MiddleName LastName

In MyTeamFormBean i have an arraylist which contains MyTeamRowBean

Now in the jsp i have to show them according to a group that is
Team Name 1
 Firstname1 1  Midinitial1 1  Lastname 1 1
 Firstname1 2  Midinitial1 2  Lastname 1 2
  Firstname1 3  Midinitial1 3  Lastname 1 3
Team Name 2
 Firstname2 1  Midinitial2 1  Lastname 2 1
 Firstname2 2  Midinitial2 2  Lastname 2 2
 Firstname2 3  Midinitial2 3  Lastname 2 3
Team Name 3
Firstname3 1  Midinitial3 1  Lastname 3 1
Firstname3 2  Midinitial3 2  Lastname 3 2
Firstname3 3  Midinitial3 3  Lastname 3 3


1)Wht i am not getting is the exact struts logic tags so that my output
comes as shown above ???
2)How do i keep a flag in my jsp so that .. if there is a repetetion of the
team name then it should not get printed ( i am sorting the team members in
my action class so once one Team name is gone it won't come back .. uff ..
( half of problem was solved there ... ) .. now i need help on the rest of
the half ... )

Thanks & Regards,
shakti.
P.S I don't know much of jsp or struts.. so if possible plz giv me the exact
code .. :-) .. I know . i am asking t much .. ;-)




- Original Message -
From: "Joe Hertz" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Saturday, November 22, 2003 3:09 PM
Subject: RE: Still no reply for :Problem in grouping using logic iterate &
logic equal


> Your doing a bean:write of the team name inside of your iterate, so
> yeah, the team name is going to show up on every iteration.
>
> What approaches have you tried already? Which is the part your not
> getting?
>
>
> > -Original Message-
> > From: Shakti [mailto:[EMAIL PROTECTED]
> > Sent: Saturday, November 22, 2003 4:11 AM
> > To: Struts Users Mailing List
> > Subject: Still no reply for :Problem in grouping using logic
> > iterate & logic equal
> >
> >
> >
> > > Hi,
> > >   "MyTeamFormBean "contains an arraylist "allTeams" having
> > > MyTeamRowBean with attributes :
> > >   String teamName, first, middle & last
> > >
> > >> property="allTeams">
> > > 
> > >   > property="teamName" />
> > >   
> > > 
> > > 
> > >   
> > >    > > property="Firstname"/>  > > property="Midinitial"/>  > property="Lastname"/>
> > > 
> > >  
> > > 
> > >
> > >   Which produces something like this 
> > >
> > >  Team Name 1
> > > Firstname1 1  Midinitial1 1  Lastname 1 1
> > >   Team Name 1
> > > Firstname1 2  Midinitial1 2  Lastname 1 2
> > >   Team Name 1
> > > Firstname1 3  Midinitial1 3  Lastname 1 3
> > >   Team Name 2
> > > Firstname2 1  Midinitial2 1  Lastname 2 1
> > >   Team Name 2
> > > Firstname2 2  Midinitial2 2  Lastname 2 2
> > >   Team Name 2
> > > Firstname2 3  Midinitial2 3  Lastname 2 3
> > >   Team Name 3
> > > Firstname3 1  Midinitial3 1  Lastname 3 1
> > >   Team Name 3
> > > Firstname3 2  Midinitial3 2  Lastname 3 2
> > >   Team Name 3
> > > Firstname3 3  Midinitial3 3  Lastname 3 3
> > >   Team Name 4
> > > Firstname4 1  Midinitial4 1  Lastname 4 1
> > >   Team Name 4
> > > Firstname4 2  Midinitial4 2  Lastname 4 2
> > >   Team Name 4
> > > Firstname4 3  Midinitial4 3  Lastname 4 3
> > >   Team Name 5
> > > Firstname5 1  Midinitial5 1  Lastname 5 1
> > >   Team Name 5
> > > Firstname5 2  Midinitial5 2  Lastname 5 2
> > >   Team Name 5
> > > Firstname5 3  Midinitial5 3  Lastname 5 3
> > >
> > >
> > >   but i want something like this. ..
> > >
> > >
> > >   Team Name 1
> > > Firstname1 1  Midinitial1 1  Lastname 1 1
> > > Firstname1 2  Midinitial1 2  Lastname 1 2
> > > Firstname1 3  Midinitial1 3  Lastname 1 3
> > >   Team Name 2
> > > Firstname2 1  Midinitial2 1  Lastname 2 1
> > > Firstname2 2  Midinitial2 2  Lastname 2 2
> > > Firstname2 3  Midinitial2 3  Lastname 2 3
> > >   Team

Re: :Problem in grouping using logic iterate & logic equal: Somewht solved

2003-11-22 Thread Shakti
Hi,
it was really a gr8 reference for my problem ... but i am not sure whether
my Team will allow new libs to be added to the current version ...
still i will try n find out some other ( CRUDE SOLUTION .. ) for this
grouping. . but in new projects i think  we will consider these libraries as
they will be really useful in reducing the presentation probs that we face
.. :-) ..
Thanks David 
:-) ..
bye
Shakti

- Original Message -
From: "David Friedman" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Saturday, November 22, 2003 3:21 PM
Subject: RE: Still no reply for :Problem in grouping using logic iterate &
logic equal


> This sounds like a job for ...  the DisplayTag Taglib.
> See this example page:
>
> http://www.displaytag.org/example-grouping.jsp
>
> Your formbean looks pretty simple:
> (Should I ask why your properties start with a capital letter?)
> myteam.teamName
> myteam.Firstname
> myteam.Midinitial
> myteam.Lastname
>
> If so it's practically build for the displaytag library, might
> even work a bit like this:
>
> 
> 
> 
> 
> 
> 
>
> If you use the displaytag library, follow their directions
> about the handful of apache commons .jar files that need
> to be updated!!
>
> Regards,
> David
>
> -Original Message-
> From: Joe Hertz [mailto:[EMAIL PROTECTED]
> Sent: Saturday, November 22, 2003 4:39 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Still no reply for :Problem in grouping using logic iterate
> & logic equal
>
>
> Your doing a bean:write of the team name inside of your iterate, so
> yeah, the team name is going to show up on every iteration.
>
> What approaches have you tried already? Which is the part your not
> getting?
>
>
> > -Original Message-
> > From: Shakti [mailto:[EMAIL PROTECTED]
> > Sent: Saturday, November 22, 2003 4:11 AM
> > To: Struts Users Mailing List
> > Subject: Still no reply for :Problem in grouping using logic
> > iterate & logic equal
> >
> >
> >
> > > Hi,
> > >   "MyTeamFormBean "contains an arraylist "allTeams" having
> > > MyTeamRowBean with attributes :
> > >   String teamName, first, middle & last
> > >
> > >> property="allTeams">
> > > 
> > >   > property="teamName" />
> > >   
> > > 
> > > 
> > >   
> > >    > > property="Firstname"/>  > > property="Midinitial"/>  > property="Lastname"/>
> > > 
> > >  
> > > 
> > >
> > >   Which produces something like this 
> > >
> > >  Team Name 1
> > > Firstname1 1  Midinitial1 1  Lastname 1 1
> > >   Team Name 1
> > > Firstname1 2  Midinitial1 2  Lastname 1 2
> > >   Team Name 1
> > > Firstname1 3  Midinitial1 3  Lastname 1 3
> > >   Team Name 2
> > > Firstname2 1  Midinitial2 1  Lastname 2 1
> > >   Team Name 2
> > > Firstname2 2  Midinitial2 2  Lastname 2 2
> > >   Team Name 2
> > > Firstname2 3  Midinitial2 3  Lastname 2 3
> > >   Team Name 3
> > > Firstname3 1  Midinitial3 1  Lastname 3 1
> > >   Team Name 3
> > > Firstname3 2  Midinitial3 2  Lastname 3 2
> > >   Team Name 3
> > > Firstname3 3  Midinitial3 3  Lastname 3 3
> > >   Team Name 4
> > > Firstname4 1  Midinitial4 1  Lastname 4 1
> > >   Team Name 4
> > > Firstname4 2  Midinitial4 2  Lastname 4 2
> > >   Team Name 4
> > > Firstname4 3  Midinitial4 3  Lastname 4 3
> > >   Team Name 5
> > > Firstname5 1  Midinitial5 1  Lastname 5 1
> > >   Team Name 5
> > > Firstname5 2  Midinitial5 2  Lastname 5 2
> > >   Team Name 5
> > > Firstname5 3  Midinitial5 3  Lastname 5 3
> > >
> > >
> > >   but i want something like this. ..
> > >
> > >
> > >   Team Name 1
> > > Firstname1 1  Midinitial1 1  Lastname 1 1
> > > Firstname1 2  Midinitial1 2  Lastname 1 2
> > > Firstname1 3  Midinitial1 3  Lastname 1 3
> > >   Team Name 2
> > > Firstname2 1  Midinitial2 1  Lastname 2 1
> > > Firstname2 2  Midinitial2 2  Lastname 2 2
> > > Firstname2 3  Midinitial2 3  Lastname 2 3
> > >   Team Name 3
> > > Fi

Re: Some doubts.

2003-11-24 Thread Shakti
hi,
   You can read
1 )  http://javaboutique.internet.com/tutorials/Struts/ article to get some
idea about struts + MVC ( just for a startup .. )
2 ) http://jakarta.apache.org/struts/resources/1st.html article to get a
better perspective .
chao ..
Shakti


- Original Message -
From: "Antony Paul" <[EMAIL PROTECTED]>
To: "struts" <[EMAIL PROTECTED]>
Sent: Monday, November 24, 2003 6:21 PM
Subject: Some doubts.


> Hi all,
> I am starting to learn Struts. On going throgh the documentation I
have
> some doubts.
> 1. Is a form bean is an ActionForm.?
> 2. It says that data is stored in JavaBeans. In the presentation layer I
> have to display several select boxes whose value is fetched from database
> eg. states,postal codes etc.. How to do it in Struts. There are other
values
> which is to be dispalyed in text boxes which can be get from a JvaBean. I
> dont see any other way than putting scriptlet in View. Custom tags or
> creating a JavaBean and executing it is another option.(Currently I am
using
> JavaBean).
> 3. Where the Business Logic is implemented. That is accessing database and
> updating data. Is it ok to do it in ActionForm.
>
> Thanks in advance
>
> Rgds
> Antony Paul.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Does Taglibs cause any performance Issues ???

2003-11-25 Thread Shakti
Hi All,
  I want to know whether use of taglibs in jsp cause any kind of performance 
issues. Someone told me that i should avoid using taglibs becuz they r being loaded 
into memory and in many cases during stress testing applications have failed because 
of excess use of taglibs . I want to know your views regarding this !

Cheers..
Shakti



Is it required to restart weblogic everytime after compiling ???

2003-11-27 Thread Shakti
Hi,
 I am using Struts & weblogic , My Question is each time i do some changes in my 
.java files the changes dont' get reflected immediately. Each time after compiling i 
have to restart weblogic :-( .. which is taking a hell lot of my time .. Can anyone 
suggest some weblogic setting thru which i dont' have to restart the sever again & 
again to reflect my changes made on an already deployed application on weblogic .

Thanks & Regards,
Shakti.



Is it required to restart weblogic everytime after compiling ??? Need help Desperately .. :-(

2003-12-01 Thread Shakti

Hi,
 I am using Struts & weblogic , My Question is each time i do some changes in my 
.java files the changes dont' get reflected immediately. Each time after compiling i 
have to restart weblogic :-( .. which is taking a hell lot of my time .. Can anyone 
suggest some weblogic setting thru which i dont' have to restart the sever again & 
again to reflect my changes made on an already deployed application on weblogic .

Thanks & Regards,
Shakti.
P.S : I am getting frustrated while debugging my code after each and every minute 
change i have to restart it which is taking most of my development time :-(
I am using weblogic 72


Re: Is it required to restart weblogic everytime after compiling ??? Need help Desperately .. :-(

2003-12-02 Thread Shakti
Hi,
   i changed it to false but still :-( in order for my changes t get
reflected in the application i have to restart weblogic :-( .. Any other
solution for this FRUSTRATING PROBLEM :-(
desperately waiting for a reply ...
Thanks & Regards,
Shakti

- Original Message -
From: "Nick Faiz" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, December 02, 2003 12:31 PM
Subject: RE: Is it required to restart weblogic everytime after compiling
??? Need help Desperately .. :-(


> Check this out:
> http://e-docs.bea.com/wls/docs70/programming/deploying.html#1125125
>
> Also see,
> http://e-docs.bea.com/wls/docs70/faq/deploy.html#740987
>
> Hunt down the mode var. in your startWebLogic.cmd script that specifies
> production mode and set it to false.
>
> Regards,
> Nick Faiz
> B2B e-Commerce Developer
> Corporate Express Australia Ltd.
>
> Phone: +61-2-9335-0495, Fax: 9335-0753, Email: [EMAIL PROTECTED]
>
>
> -Original Message-
> From: Shakti [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 2 December 2003 4:00 PM
> To: Struts Users Mailing List
> Subject: Is it required to restart weblogic everytime after compiling ???
> Need help Desperately .. :-(
>
>
> Hi,
>  I am using Struts & weblogic , My Question is each time i do some
> changes in my .java files the changes dont' get reflected immediately.
Each
> time after compiling i have to restart weblogic :-( .. which is taking a
> hell lot of my time .. Can anyone suggest some weblogic setting thru which
i
> dont' have to restart the sever again & again to reflect my changes made
on
> an already deployed application on weblogic .
>
> Thanks & Regards,
> Shakti.
> P.S : I am getting frustrated while debugging my code after each and every
> minute change i have to restart it which is taking most of my development
> time :-(
> I am using weblogic 72
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(

2003-12-02 Thread Shakti
Hey Nick,
I read thru all the docs and all the links that u gave me ..
i cudn't find anything more that changing the boolean param , while i start
the weblogic i am getting
"-Dweblogic.ProductionModeEnabled=false" it means it is in development mode
. wht are the other changes that i will have to make so that my java file
changes are reflelected in the application after recompiling , without
restarting the weblogic server .
waiting for ur reply boss ...
Thanks in advance ..
shakti

- Original Message -
From: "Nick Faiz" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Wednesday, December 03, 2003 4:02 AM
Subject: RE: Is it required to restart weblogic everytime after compiling ??
? Need help Desperately .. :-(


> Sure, but that isn't the same as redeploying a war or ear without
> restarting.
>
> Nick
>
> -Original Message-
> From: Kalra, Ashwani [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 2 December 2003 6:14 PM
> To: Struts Users Mailing List
> Subject: RE: Is it required to restart weblogic everytime after compiling
??
> ? Need help Desperately .. :-(
>
> IMO Reloading is not possible for the classes in server classpath. eg
beans
> and other utility classes used by servlets or ejbs.
>
>
>
>
> >-Original Message-
> >From: Nick Faiz [mailto:[EMAIL PROTECTED]
> >Sent: Tuesday, December 02, 2003 12:31 PM
> >To: 'Struts Users Mailing List'
> >Subject: RE: Is it required to restart weblogic everytime after
> >compiling ?? ? Need help Desperately .. :-(
> >
> >
> >Check this out:
> >http://e-docs.bea.com/wls/docs70/programming/deploying.html#1125125
> >
> >Also see,
> >http://e-docs.bea.com/wls/docs70/faq/deploy.html#740987
> >
> >Hunt down the mode var. in your startWebLogic.cmd script that specifies
> >production mode and set it to false.
> >
> >Regards,
> >Nick Faiz
> >B2B e-Commerce Developer
> >Corporate Express Australia Ltd.
> >
> >Phone: +61-2-9335-0495, Fax: 9335-0753, Email: [EMAIL PROTECTED]
> >
> >
> >-Original Message-
> >From: Shakti [mailto:[EMAIL PROTECTED]
> >Sent: Tuesday, 2 December 2003 4:00 PM
> >To: Struts Users Mailing List
> >Subject: Is it required to restart weblogic everytime after
> >compiling ???
> >Need help Desperately .. :-(
> >
> >
> >Hi,
> > I am using Struts & weblogic , My Question is each time i do some
> >changes in my .java files the changes dont' get reflected
> >immediately. Each
> >time after compiling i have to restart weblogic :-( .. which
> >is taking a
> >hell lot of my time .. Can anyone suggest some weblogic
> >setting thru which i
> >dont' have to restart the sever again & again to reflect my
> >changes made on
> >an already deployed application on weblogic .
> >
> >Thanks & Regards,
> >Shakti.
> >P.S : I am getting frustrated while debugging my code after
> >each and every
> >minute change i have to restart it which is taking most of my
> >development
> >time :-(
> >I am using weblogic 72
> >
> >-
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> 
> This message contains information that may be privileged or confidential
and
> is the property of the Cap Gemini Ernst & Young Group. It is intended only
> for the person to whom it is addressed. If you are not the intended
> recipient, you are not authorised to read, print, retain, copy,
disseminate,
> distribute, or use this message or any part thereof. If you receive this
> message in error, please notify the sender immediately and delete all
copies
> of this message.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(

2003-12-03 Thread Shakti
RE: Is it required to restart weblogic everytime after compiling ?? ? Need help 
Desperately .. :-(Nick i checked well my process is somewht differnt from yours..
1) I am not copying a new WAR file .. instead i am just recompiling my java files and 
the the app dir ( which i think is one and the same thing . )
2 ) but in the web.xml I have 2 it is 2 intead of 
three i dont' know wht it means is it something related to this 

waiting for ur reply ..
Shakti

  - Original Message - 
  From: Nick Faiz 
  To: 'Shakti' ; Struts Users Mailing List ; [EMAIL PROTECTED] 
  Sent: Wednesday, December 03, 2003 1:12 PM
  Subject: RE: Is it required to restart weblogic everytime after compiling ?? ? Need 
help Desperately .. :-(


  Shakti,

  Ok. Find, in attachment, a log of my starting WebLogic 7.2 up with a 
cepts.war file present within my applications directory. A servlet called 
ProjectStartUp runs and queries a database, following the directions of my web.xml:

  

  projectStartUp

  au.com.ce.cepts.project.ProjectStartUp

  3

  

  Glance at the log, look for bold, and see the statement:

  :
: 

  <3/12/2003 18:35:37>   <149033> 

  <3/12/2003 18:35:37>   <149074> 

  <3/12/2003 18:35:38>   <149404> 

  The above can is because I set the server in dev. mode.

  What problems are you having? Are you not seeing a new activation take place 
when you drop the new .war in?

  Nick

  P.S. Ignore the error relating to the Action servlet. It doesn't like being included 
in a .war, under my test configuration, and I've not had time to work out why yet. 
<> 




  -Original Message-
  From: Shakti [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, 3 December 2003 4:39 PM
  To: Struts Users Mailing List; [EMAIL PROTECTED]
  Subject: Re: Is it required to restart weblogic everytime after compiling ?? ? Need 
help Desperately .. :-(

  Hey Nick,

  I read thru all the docs and all the links that u gave me ..

  i cudn't find anything more that changing the boolean param , while i start

  the weblogic i am getting

  "-Dweblogic.ProductionModeEnabled=false" it means it is in development mode

  . wht are the other changes that i will have to make so that my java file

  changes are reflelected in the application after recompiling , without

  restarting the weblogic server .

  waiting for ur reply boss ...

  Thanks in advance ..

  shakti

  - Original Message -

  From: "Nick Faiz" <[EMAIL PROTECTED]>

  To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>

  Sent: Wednesday, December 03, 2003 4:02 AM

  Subject: RE: Is it required to restart weblogic everytime after compiling ??

  ? Need help Desperately .. :-(



  > Sure, but that isn't the same as redeploying a war or ear without

  > restarting.

  >

  > Nick

  >

  > -Original Message-

  > From: Kalra, Ashwani [mailto:[EMAIL PROTECTED]

  > Sent: Tuesday, 2 December 2003 6:14 PM

  > To: Struts Users Mailing List

  > Subject: RE: Is it required to restart weblogic everytime after compiling

  ??

  > ? Need help Desperately .. :-(

  >

  > IMO Reloading is not possible for the classes in server classpath. eg

  beans

  > and other utility classes used by servlets or ejbs.

  >

  >

  >

  >

  > >-Original Message-

  > >From: Nick Faiz [mailto:[EMAIL PROTECTED]

  > >Sent: Tuesday, December 02, 2003 12:31 PM

  > >To: 'Struts Users Mailing List'

  > >Subject: RE: Is it required to restart weblogic everytime after

  > >compiling ?? ? Need help Desperately .. :-(

  > >

  > >

  > >Check this out:

  > >http://e-docs.bea.com/wls/docs70/programming/deploying.html#1125125

  > >

  > >Also see,

  > >http://e-docs.bea.com/wls/docs70/faq/deploy.html#740987

  > >

  > >Hunt down the mode var. in your startWebLogic.cmd script that specifies

  > >production mode and set it to false.

  > >

  > >Regards,

  > >Nick Faiz

  > >B2B e-Commerce Developer

  > >Corporate Express Australia Ltd.

  > >

  > >Phone: +61-2-9335-0495, Fax: 9335-0753, Email: [EMAIL PROTECTED]

  > >

  > >

  > >-Original Message-

  > >From: Shakti [mailto:[EMAIL PROTECTED]

  > >Sent: Tuesday, 2 December 2003 4:00 PM

  > >To: Struts Users Mailing List

  > >Subject: Is it required to restart weblogic everytime after

  > >compiling ???

  > >Need help Desperately .. :-(

  > >

  > >

  > >Hi,

  > > I am using Struts & weblogic , My Question is each time i do some

  > >changes in my .java files the changes dont' get refl

Wht does tag in web.xml means ??

2003-12-03 Thread Shakti
Hi,
Wht does  tag in web.xml means ?? I am using struts framework 
with weblogic and i am not able to find out wht is does this tag implies ? Is this the 
cause due to which my weblogic is not picking up new compiled classes without 
restarting ..???
waiting for a reply 
Thanks & Regards,
Shakti.



Re: Variable value in logic:equal tag Help Req

2003-12-03 Thread Shakti
Hi ,
I am still not able to make out as how can i compare values from two
arraylists using logic iterate and logic equal , as none of them is a
constant and i am still getting the same error.
1) I want to know how do i get the value of the variable created using
bean:define ??? I am using <%= var %> but i am not getting it .. plz help ..

Plz help me out of this .
Thanks
Shakti
- Original Message -
From: "Fullam, Jonathan" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Wednesday, December 03, 2003 9:30 PM
Subject: RE: Variable value in logic:equal tag Help Req


> You can use a variable for the value attribute just as you did:  <%=
> refValue %> as long as refValue is a variable in some scope on your page.
> Note that refValue must point to a String object because the equal tag
> requires this (it converts the value of the bean pointed to by the name
> attribute to a String for comparisons).  If refValue is not a String you
can
> try the following <%= refValue.toString() %>.
>
> -Jonathan
>
> -Original Message-
> From: Shakti [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 03, 2003 10:27 AM
> To: Struts Developers List; Struts Users Mailing List
> Subject: Variable value in logic:equal tag Help Req
>
>
> With reference this mail :
> I trid this code but i am getting the error :can not resolve symbol
refValue
>
:\bea\user_projects\mydomain\myserver\.wlnotdelete\mcc_mcc_4346456\jsp_servl
> et\__reassignta.java:376: cannot resolve symbol
> probably occurred due to an error in /reassignta.jsp line 118:
> 
>
> I want to compare values from one arraylist with another using logic equal
> tag but in the value="" tag how i can give a variable ??
> Plz Help !!!
> Thanks & Regards,
> Shakti
>
>
>
> - Original Message -
> From: "Nicolas De Loof" <[EMAIL PROTECTED]>
> To: "Struts Developers List" <[EMAIL PROTECTED]>
> Sent: Monday, November 24, 2003 4:38 PM
> Subject: Re: variable value in logic notEqual tag
>
>
> > Use this :
> >
> > 
> > 
> > ...
> > 
> >
> >
> > Nico.
> >
> > - Original Message -
> > From: "Baljinder Singh" <[EMAIL PROTECTED]>
> > To: "Struts Developers List" <[EMAIL PROTECTED]>
> > Sent: Monday, November 24, 2003 12:03 PM
> > Subject: variable value in logic notEqual tag
> >
> >
> > > Hi All,
> > >
> > > I want to compare the variable in notEqual tag to value of another
> variable
> > > instead of comparing it to a fixed value. How can I do that ?
> > >
> > > Thanks
> > > BS
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Variable value in logic:equal tag Help Req [SOLVED]

2003-12-03 Thread Shakti
Hey that <% refVar.toString %> worked man .. :-) ... at last. . now i won't
have to sit for the whole nite .. :-) ..
chao ..
Shakti

- Original Message -----
From: "Shakti" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, December 03, 2003 9:52 PM
Subject: Re: Variable value in logic:equal tag Help Req


> Hi ,
> I am still not able to make out as how can i compare values from two
> arraylists using logic iterate and logic equal , as none of them is a
> constant and i am still getting the same error.
> 1) I want to know how do i get the value of the variable created using
> bean:define ??? I am using <%= var %> but i am not getting it .. plz help
.
>
> Plz help me out of this .
> Thanks
> Shakti
> - Original Message -
> From: "Fullam, Jonathan" <[EMAIL PROTECTED]>
> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> Sent: Wednesday, December 03, 2003 9:30 PM
> Subject: RE: Variable value in logic:equal tag Help Req
>
>
> > You can use a variable for the value attribute just as you did:  <%=
> > refValue %> as long as refValue is a variable in some scope on your
page.
> > Note that refValue must point to a String object because the equal tag
> > requires this (it converts the value of the bean pointed to by the name
> > attribute to a String for comparisons).  If refValue is not a String you
> can
> > try the following <%= refValue.toString() %>.
> >
> > -Jonathan
> >
> > -Original Message-
> > From: Shakti [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, December 03, 2003 10:27 AM
> > To: Struts Developers List; Struts Users Mailing List
> > Subject: Variable value in logic:equal tag Help Req
> >
> >
> > With reference this mail :
> > I trid this code but i am getting the error :can not resolve symbol
> refValue
> >
> :\bea\user_projects\mydomain\myserver\.wlnotdelete\mcc_mcc_4346456\jsp_ser
vl
> > et\__reassignta.java:376: cannot resolve symbol
> > probably occurred due to an error in /reassignta.jsp line 118:
> > 
> >
> > I want to compare values from one arraylist with another using logic
equal
> > tag but in the value="" tag how i can give a variable ??
> > Plz Help !!!
> > Thanks & Regards,
> > Shakti
> >
> >
> >
> > - Original Message -
> > From: "Nicolas De Loof" <[EMAIL PROTECTED]>
> > To: "Struts Developers List" <[EMAIL PROTECTED]>
> > Sent: Monday, November 24, 2003 4:38 PM
> > Subject: Re: variable value in logic notEqual tag
> >
> >
> > > Use this :
> > >
> > > 
> > >  >
> > > ...
> > > 
> > >
> > >
> > > Nico.
> > >
> > > - Original Message -
> > > From: "Baljinder Singh" <[EMAIL PROTECTED]>
> > > To: "Struts Developers List" <[EMAIL PROTECTED]>
> > > Sent: Monday, November 24, 2003 12:03 PM
> > > Subject: variable value in logic notEqual tag
> > >
> > >
> > > > Hi All,
> > > >
> > > > I want to compare the variable in notEqual tag to value of another
> > variable
> > > > instead of comparing it to a fixed value. How can I do that ?
> > > >
> > > > Thanks
> > > > BS
> > > >
> > > >
> > >
> -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Variable value in logic:equal tag Help Req

2003-12-03 Thread Shakti
With reference this mail :
I trid this code but i am getting the error :can not resolve symbol refValue
:\bea\user_projects\mydomain\myserver\.wlnotdelete\mcc_mcc_4346456\jsp_servl
et\__reassignta.java:376: cannot resolve symbol
probably occurred due to an error in /reassignta.jsp line 118:


I want to compare values from one arraylist with another using logic equal
tag but in the value="" tag how i can give a variable ??
Plz Help !!!
Thanks & Regards,
Shakti



- Original Message -
From: "Nicolas De Loof" <[EMAIL PROTECTED]>
To: "Struts Developers List" <[EMAIL PROTECTED]>
Sent: Monday, November 24, 2003 4:38 PM
Subject: Re: variable value in logic notEqual tag


> Use this :
>
> 
> 
> ...
> 
>
>
> Nico.
>
> - Original Message -
> From: "Baljinder Singh" <[EMAIL PROTECTED]>
> To: "Struts Developers List" <[EMAIL PROTECTED]>
> Sent: Monday, November 24, 2003 12:03 PM
> Subject: variable value in logic notEqual tag
>
>
> > Hi All,
> >
> > I want to compare the variable in notEqual tag to value of another
variable
> > instead of comparing it to a fixed value. How can I do that ?
> >
> > Thanks
> > BS
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(

2003-12-05 Thread Shakti
RE: Is it required to restart weblogic everytime after compiling ?? ? Need help 
Desperately .. :-(Hi Nick,
Sorry buddy i was busy with other stuff so cudn't reply to ur mails ... 
boss i am still facing the same problem .. i checked the logs even its showing that my 
new application is being activated .. but stil i can't see the changes getting 
reflected .. ?? but once i retstart i can see the changes .. :-(
My Questions are :
1 ) Is there any sort of cache that Weblogic maintains .. .. becuz of which new 
changed are not reflected .. 
2) if u can just mail me ur startweblogic.cmd file ... 

thanks buddy ..
Shakti

  - Original Message - 
  From: Nick Faiz 
  To: 'Shakti' ; Struts Users Mailing List ; [EMAIL PROTECTED] 
  Sent: Wednesday, December 03, 2003 1:12 PM
  Subject: RE: Is it required to restart weblogic everytime after compiling ?? ? Need 
help Desperately .. :-(


  Shakti,

  Ok. Find, in attachment, a log of my starting WebLogic 7.2 up with a 
cepts.war file present within my applications directory. A servlet called 
ProjectStartUp runs and queries a database, following the directions of my web.xml:

  

  projectStartUp

  au.com.ce.cepts.project.ProjectStartUp

  3

  

  Glance at the log, look for bold, and see the statement:

  :
: 

  <3/12/2003 18:35:37>   <149033> 

  <3/12/2003 18:35:37>   <149074> 

  <3/12/2003 18:35:38>   <149404> 

  The above can is because I set the server in dev. mode.

  What problems are you having? Are you not seeing a new activation take place 
when you drop the new .war in?

  Nick

  P.S. Ignore the error relating to the Action servlet. It doesn't like being included 
in a .war, under my test configuration, and I've not had time to work out why yet. 
<> 




  -Original Message-
  From: Shakti [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, 3 December 2003 4:39 PM
  To: Struts Users Mailing List; [EMAIL PROTECTED]
  Subject: Re: Is it required to restart weblogic everytime after compiling ?? ? Need 
help Desperately .. :-(

  Hey Nick,

  I read thru all the docs and all the links that u gave me ..

  i cudn't find anything more that changing the boolean param , while i start

  the weblogic i am getting

  "-Dweblogic.ProductionModeEnabled=false" it means it is in development mode

  . wht are the other changes that i will have to make so that my java file

  changes are reflelected in the application after recompiling , without

  restarting the weblogic server .

  waiting for ur reply boss ...

  Thanks in advance ..

  shakti

  - Original Message -

  From: "Nick Faiz" <[EMAIL PROTECTED]>

  To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>

  Sent: Wednesday, December 03, 2003 4:02 AM

  Subject: RE: Is it required to restart weblogic everytime after compiling ??

  ? Need help Desperately .. :-(



  > Sure, but that isn't the same as redeploying a war or ear without

  > restarting.

  >

  > Nick

  >

  > -Original Message-

  > From: Kalra, Ashwani [mailto:[EMAIL PROTECTED]

  > Sent: Tuesday, 2 December 2003 6:14 PM

  > To: Struts Users Mailing List

  > Subject: RE: Is it required to restart weblogic everytime after compiling

  ??

  > ? Need help Desperately .. :-(

  >

  > IMO Reloading is not possible for the classes in server classpath. eg

  beans

  > and other utility classes used by servlets or ejbs.

  >

  >

  >

  >

  > >-Original Message-

  > >From: Nick Faiz [mailto:[EMAIL PROTECTED]

  > >Sent: Tuesday, December 02, 2003 12:31 PM

  > >To: 'Struts Users Mailing List'

  > >Subject: RE: Is it required to restart weblogic everytime after

  > >compiling ?? ? Need help Desperately .. :-(

  > >

  > >

  > >Check this out:

  > >http://e-docs.bea.com/wls/docs70/programming/deploying.html#1125125

  > >

  > >Also see,

  > >http://e-docs.bea.com/wls/docs70/faq/deploy.html#740987

  > >

  > >Hunt down the mode var. in your startWebLogic.cmd script that specifies

  > >production mode and set it to false.

  > >

  > >Regards,

  > >Nick Faiz

  > >B2B e-Commerce Developer

  > >Corporate Express Australia Ltd.

  > >

  > >Phone: +61-2-9335-0495, Fax: 9335-0753, Email: [EMAIL PROTECTED]

  > >

  > >

  > >-Original Message-

  > >From: Shakti [mailto:[EMAIL PROTECTED]

  > >Sent: Tuesday, 2 December 2003 4:00 PM

  > >To: Struts Users Mailing List

  > >Subject: Is it required to restart weblogic everytime after

  > >compiling ???

  > >Need help Desperately .. :-(

  > >

  > >

Re: [OT] RE: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(

2003-12-06 Thread Shakti
Hey there are some class files which are in the classpath weblogic.jar is
this the cause of the problem ??
is there a solution for this .. i mean if i can move them to my lib or some
other dir is this going to cause any problems ??

- Original Message -
From: "Vic Cekvenich" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 06, 2003 1:04 AM
Subject: Re: [OT] RE: Is it required to restart weblogic everytime after
compiling ?? ? Need help Desperately .. :-(


>
>
> Wendy Smoak wrote:
> >>and restarting this weblogic again and again
> >>each time i debug .. :-( ...
> >>stil waiting for a solution ...
> >
> >
> > Trim your posts!  Not only was it off topic, it was 400 lines long.  How
> > about doing your development work on Tomcat, then deploying to Weblogic?
> > This has the added advantage of forcing you to write code that'll run on
> > any container.
> >
> + 1.
>
> Or Resin, the both have a plug in to run w/ Eclipse so you set in even.
> In general, propriatory code is inferior.
>
> .V
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Clearing all fields or resetting the form to original state

2003-12-08 Thread Shakti
For resetting to the original value u can use reset() method
and for clearing the fields I think  javascript is the best option ..
cheers ..
Shakti

- Original Message -
From: "vasudevrao gupta" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, December 09, 2003 11:57 AM
Subject: Clearing all fields or resetting the form to original state


>
>
> Is there any option in struts to reset the screen to the initial state
> on click of a button and also
> clearing all the fields on the screen on click of button?
>
> Regards
> vasudevRao Gupta
>
>
> Confidentiality Notice
>
> The information contained in this electronic message and any attachments
to this message are intended
> for the exclusive use of the addressee(s) and may contain confidential or
privileged information. If
> you are not the intended recipient, please notify the sender at Wipro or
[EMAIL PROTECTED] immediately
> and destroy all copies of this message and any attachments.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Help Req : Loading init params

2003-12-12 Thread Shakti
Hi All,
We are using weblogic7.1 struts 1.0 version.We are storing all application specific 
parameters in web.xml file.Hence in order to get that value we use following code in 
each action class :
getServlet().getInitParameter("INIT_PARAM")

Instead of this what I thought is we can have a common Parent action class which would 
load all this paramters and store them as it's attributes.
eg.

public class ParentAction extends DispatchAction
{
protected String INIT_PARAM = "";
public ParentAction ()
{
 INIT_PARAM = 
getServlet().getInitParameter("INIT_PARAM");
}
}

Other action classes would extend this class instead of extending DispathAction class 
directly.
But when I try to get the value of init param in subclasses of parent action class it 
gives me an error.

public class LoginAction extends ParentAction 
{
 public ActionForward log(ActionMapping mapping, ActionForm form, 
HttpServletRequest request, HttpServletResponse response) throws Exception, 
IOException, ServletException {
  System.out.println(INIT_PARAM);  //gives NullPointerException

}

}
I would like to know whether above logic is valid if no is there any other workaround?

Regards,
Shakti


How to expand a record from MAP in jsp

2003-10-22 Thread Shakti Dalabehera
Hi ,
   I need some help as how to expand my String array in in jsp For example
Test   Action Class:
String username =   regform.getUsername();
String voicemail=   regform.getVoicemail() ;
String details  =   regform.getDetails();
String [] record=   new String [2] ;
record[0]   =voicemail ;
record[1]   =   details   ;

// Forward this data to database & return back to index.jsp to login again
// Use MyUtils to update a table
// Store the temp date in that table
// Fwd the table to the view and display in the view ..

map.put(username,record);
request.setAttribute("map",map);

return (mapping.findForward("success"));

TestJSP 
   



   
 
 




Now in JSP i want to exapnd that record String array ... plz suggest any other DS as i 
am completely new to struts .. started only 3 dayz back ...
so doing some ^c  ^v work ...
Thanks ...
Shakti


Help Req !! How to use iterate tag to get a number of fields on jsp

2003-10-22 Thread Shakti Dalabehera
Hi All Tech Gurus,
   I am newbie struts so asking this silly question . I am keeping some 
records in a HashMap like
record[0]   = voicemail ;
record[1]   =   details   ;

...
Like this N number of records i have to put... for the key username
map.put(username,record);

now in the jsp i have to show all the records in a table  ...
need help as how to exapand the record in the jsp .. currently i am using ..



   
 
 

now i want to know how to get the records ?? individually in the jsp ..so that i can 
print them in the format ..
USERNAMEVOICEMAIL   DETAILS EMAIL   STATUS

Waiting for an early reply ...
Thanks & Regards,
Shakti 


Need Help : Iterate Tag

2003-10-23 Thread Shakti . Dalabehera

Hi All,
  I am keeping some user info in a hashmap where "uid" is the key &
the value is a vector which contains the rest of the user details .
can anyone tel me how to exapand the Vector in the jsp to fetch the
userdetails.

Using the folling code i am able to prrint the "uid" & the Vector object ..
but i am not able to make out how to expand the vector at jsp ???
Action class
 record =   new Vector();
 record.add(some user details) ;
 record.add(some more user details);
 map.put(uid ,record);
 request.setAttribute("map",map);
JSP

 
  
> here i am getting the "uid"
   ---> but i am unable to get the userdetails from this
vector
 

 

Any suggestions as how i shall proceed ...

Thanks & Regards,
Shakti



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Is it required to restart weblogic everytime after compiling ?? ? Need help Desperately .. :-(

2003-12-05 Thread Shakti Simanta
Hi Swati,
 I have already checked it .. yaar . its in development mode .. can 
anyone help me out of this damn trouble .. i am getting pissed up working .. 
day and night .. and restarting this weblogic again and again each time i 
debug .. :-( ...
stil waiting for a solution ...
chao ..
Shakti...


From: "Dalmia, Swati" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: RE: Is it required to restart weblogic everytime after compiling 
?? ? Need help Desperately .. :-(
Date: Fri, 5 Dec 2003 10:14:18 -0700

check in weblogic.cmd file if the weblogic is set in production environment 
?
I am using weblogic 8.1 and I never restart my server after compiling a 
single class file or jsp change
if changes in struts config file or web.xml then u might need to bounce 
your server

-Original Message-
From: Shakti [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 9:51 AM
To: Nick Faiz; Struts Users Mailing List
Subject: Re: Is it required to restart weblogic everytime after
compiling ?? ? Need help Desperately .. :-(
RE: Is it required to restart weblogic everytime after compiling ?? ? Need 
help Desperately .. :-(Hi Nick,
Sorry buddy i was busy with other stuff so cudn't reply to ur 
mails ... boss i am still facing the same problem .. i checked the logs 
even its showing that my new application is being activated .. but stil i 
can't see the changes getting reflected .. ?? but once i retstart i can see 
the changes .. :-(
My Questions are :
1 ) Is there any sort of cache that Weblogic maintains .. .. becuz of which 
new changed are not reflected ..
2) if u can just mail me ur startweblogic.cmd file ...

thanks buddy ..
Shakti
  ----- Original Message -
  From: Nick Faiz
  To: 'Shakti' ; Struts Users Mailing List ; [EMAIL PROTECTED]
  Sent: Wednesday, December 03, 2003 1:12 PM
  Subject: RE: Is it required to restart weblogic everytime after 
compiling ?? ? Need help Desperately .. :-(

  Shakti,

  Ok. Find, in attachment, a log of my starting WebLogic 7.2 up 
with a cepts.war file present within my applications directory. A servlet 
called ProjectStartUp runs and queries a database, following the directions 
of my web.xml:

  

  projectStartUp

  
au.com.ce.cepts.project.ProjectStartUp

  3

  

  Glance at the log, look for bold, and see the statement:

  : 

  Then, I go to my source, find the log statement at line 57 of 
the ProjectStartUp servlet and change it from:

  logger.debug("done...: " + ProjectFacade.getCache().size() + " 
\n\n\n\n");



  to:

  logger.debug("it's possible Shakti: : " + 
ProjectFacade.getCache().size() + " \n");

  Then I recompile and drop my new cepts.war into the applications 
directory. WebLogic, which is checking the app. dir each 3 seconds for a 
new deployment, notices this and takes the new binary and redeploys it 
instead of the old:

  <03/12/2003 18:35:456>   

  rojectStartUp:57>: 

  >

  <3/12/2003 18:35:37>   <149033> 

  er>

  <3/12/2003 18:35:37>   <149074> 

  plication _appsdir_cepts_war on devServer>

  <3/12/2003 18:35:38>   <149404> 

   on devServer - Completed>

  The above can is because I set the server in dev. mode.

  What problems are you having? Are you not seeing a new 
activation take place when you drop the new .war in?

  Nick

  P.S. Ignore the error relating to the Action servlet. It doesn't like 
being included in a .war, under my test configuration, and I've not had 
time to work out why yet. <>



  -Original Message-
  From: Shakti [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, 3 December 2003 4:39 PM
  To: Struts Users Mailing List; [EMAIL PROTECTED]
  Subject: Re: Is it required to restart weblogic everytime after 
compiling ?? ? Need help Desperately .. :-(

  Hey Nick,

  I read thru all the docs and all the links that u gave 
me ..

  i cudn't find anything more that changing the boolean param , while i 
start

  the weblogic i am getting

  "-Dweblogic.ProductionModeEnabled=false" it means it is in development 
mode

  . wht are the other changes that i will have to make so that my java 
file

  changes are reflelected in the application after recompiling , without

  restarting the weblogic server .

  waiting for ur reply boss ...

  Thanks in advance ..

  shakti

  - Original Message -

  From: "Nick Faiz" <[EMAIL PROTECTED]>

  To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>

  Sent: Wednesday, December 03, 2003 4:02 AM

  Subject: RE: Is it required to restart weblogic everytime after 
compiling ??

  ? Need help Desperately .