OT--JBoss-Cache Usage

2005-09-22 Thread Richard Reyes
Hi Guys,

Its early Friday to me. Hehe.

I need help in using Jboss-Cache. The short tutorial doesn't give
anything i can understand. I am very new to this cache thing. I dont
think
that the bundled sample is working.

I hope somebody here can explain something on this. My goal is to run
this as a stand alone application just to basically understand how it
is used. Maybe access it using a simple java application as much as
possible.

Thanks in Advance
Richard

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



Re: [OT] How to load a csv file into java

2005-08-19 Thread Richard Reyes
Hi All,

Thanks for the response. I think I can use this...

http://ostermiller.org/utils/CSV.html

What do guys think?

On 8/20/05, Stéphane Zuckerman <[EMAIL PROTECTED]> wrote:
> Hi Richard,
> 
> 
> > I need to load exported information ( csv file ) into POJOs. How do I do 
> > this?
> 
> Well, just use the  tag (and don't forget tu use the correct
>attributes in your  tag). Then converting your CSV
> file'll only be a matter of split()ing the resulting data... Well, more
> or less ;-)
> 
> -
> 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]



[OT] How to load a csv file into java

2005-08-19 Thread Richard Reyes
Hi Guys,

I need to load exported information ( csv file ) into POJOs. How do I do this?

Thanks
Richard

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



Re: [OT] Can a simple java app access web services

2005-07-16 Thread Richard Reyes
Thanks to all.

On 7/16/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> On Fri, July 15, 2005 12:41 pm, Ed Griebel said:
> > Frank-
> >
> > It's an interesting idea, I don't know, I've been "lucky" enough that
> > I've had WSDL to work with. It might be possible to use the same
> > methods that wsdl2java uses, but there's probably a lot of complexity
> > in there because SOAP can be quite complex.
> 
> Ironically, my experience has been just the opposite... most of the
> services I've dealt with have been for internal use only, and I guess
> we're a bit behind in getting WSDL for it all.  Not so bad when it's
> internal-only stuff, a much bigger problem when dealing with external
> services.
> 
> > Apologies for making this even more OT, but it's Friday :-)
> 
> Nah, I referenced my StrutsWS project once (twice now!), so it's not
> especially off-topic :)  Certainly less so than some of the more recent
> threads around here!
> 
> > -ed
> 
> Frank
> 
> >
> > On 7/15/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> >> Nice, thanks Ed!  I'd absolutely agree, assuming you have WSDL, this is
> >> the way to go.
> >>
> >> Can it generate anything if it doesn't have WSDL though?  I have
> >> experiences where the services I needed to consume didn't supply any,
> >> for
> >> various reasons, but maybe it can still generate some generic stub
> >> code??
> >>
> >> --
> >> Frank W. Zammetti
> >> Founder and Chief Software Architect
> >> Omnytex Technologies
> >> http://www.omnytex.com
> >>
> >> On Fri, July 15, 2005 11:41 am, Ed Griebel said:
> >> > FYI, I've used Axis to generate client java stubs by parsing the
> >> > service's WSDL file. It will generate the stub classes to call the WS
> >> > and the POJOs to communicate with the WS.
> >> >
> >> > You don't actually need to "install" the Axis package and there's no
> >> > daemon to run to do this, you'll just need to extract the distribution
> >> > and then run wsdl2java, which is well-documented on the Axis homepage.
> >> > It's a good idea to generate the "unit test" class too as it's a good
> >> > example of how to call the stubs.
> >> >
> >> > I'm pretty sure that this will be a lot quicker than rolling your own
> >> > XML serialization and HTTP code.
> >> >
> >> > -ed
> >> >
> >> > On 7/15/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> >> >> Hi Richard,
> >> >>
> >> >> Axis is the server-side of the WS equation (although maybe it can
> >> >> perform some client duties, I'm not certain), so more than likely it
> >> >> wouldn't come into play anyway.
> >> >>
> >> >> The simple answer is yes, a simple Java app can access a web service.
> >> >>
> >> >> There are classes that will specifically help you do so, but you can
> >> >> also "fake it", at least if it is a SOAP-based service (I'm not as
> >> >> familiar with RCP-type services).  For SOAP-based services, all you
> >> >> really need to do is construct an XML message and use the usual HTTP
> >> >> methods in the standard JDK to send it.
> >> >>
> >> >> You might be interested to look at my StrutsWS project because there
> >> is
> >> >> exactly what your asking for included: a simple Java app that
> >> accesses
> >> >> the services the example project provides (in short, StrutsWS is an
> >> >> extension to Struts that allows Actions to be exposed as services).
> >> You
> >> >> can find it at http://sourceforge.net/projects/strutsws/
> >> >>
> >> >> Frank
> >> >>
> >> >> Richard Reyes wrote:
> >> >> > Hi Guys,
> >> >> >
> >> >> > Can a simple java app access a web service? Or do I need to install
> >> >> axis?
> >> >> >
> >> >> > Thanks
> >> >> > Richard
> >> >> >
> >> >> > -
> >> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> >> > For additional commands, e-

Re: Accessing Cookie information

2005-07-15 Thread Richard Reyes
thanks


On 7/15/05, ichy <[EMAIL PROTECTED]> wrote:
> Hi, Rechard.
> 
>  2005/7/15, Richard Reyes [EMAIL PROTECTED]:
> 
> >
> > The value of
> >
> > <%= pageContext.getAttribute("username") %>
> >
> > is
> >
> > [EMAIL PROTECTED]
> 
>  the value seems like a result of Object#toString().
> so, at least you can access methods of Cookie class like
>  <%= 
> ((javax.servlet.http.Cookie)pageContext.getAttribute("username")).getValue()
> %>
>  but i don't know if that's the way to use cookie, though.
> 
> regards
> ichy
> 
>

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



Re: [OT] Java as a Daemon

2005-07-15 Thread Richard Reyes
Thanks

On 7/15/05, Duncan Mills <[EMAIL PROTECTED]> wrote:
> Yes as Daniel mentioned you can access the objects in a remote database
> using a database link. Select * from [EMAIL PROTECTED] kind of thing. The
> two databases can also take part in a co-ordinated transaction if needs
> be as well.
> Duncan
> 
> Richard Reyes wrote:
> 
> >Hi Duncan,
> >
> >Will there be a way that the source DB access the target directly?
> >Because right now these DB's are accessed via web services Im thinking
> >if the source DB can directly connect to the target DB.
> >
> >Also these procedural package, can they send notification emails?
> >
> >On 7/14/05, Duncan Mills <[EMAIL PROTECTED]> wrote:
> >
> >
> >>Indeed the Oracle Database itself has a DBMS_JOB procedural package
> >>which acts just like Cron in the database - so that provides another way
> >>to tackle the problem - On the other hand  the Oracle database also has
> >>a whole set of replication features which are designed for syncing data
> >>between databases instances in realtime if necessary - have a serious
> >>look at these built-in functions of the database infrastructure before
> >>you build something new to do the same job.
> >>
> >>Duncan
> >>
> >>Jesse Alexander (KBSA 21) wrote:
> >>
> >>
> >>
> >>>Hi
> >>>
> >>>(Warning: not an Oracle insider...)
> >>>
> >>>If I remember correctly Oracle allows Java to used for PL/SQL-scripts.
> >>>Maybe you could have a Java-class that is called whenever you make an
> >>>update that needs to be "communicated". And then somehow make the update
> >>>in the second Oracle-db.
> >>>
> >>>just my 2cents
> >>>Alexander
> >>>
> >>>-Original Message-
> >>>From: Richard Reyes [mailto:[EMAIL PROTECTED]
> >>>Sent: Thursday, July 14, 2005 3:53 AM
> >>>To: Struts Users Mailing List
> >>>Subject: [OT] Java as a Daemon
> >>>
> >>>Hello Guys,
> >>>
> >>>I need your suggestions. I have a task to create an application to
> >>>sync records between 2 Oracle 10g database. Not the whole records of
> >>>the database though, just the now and then transactional updates.
> >>>Access to the db's would be both via web services. I think I have an
> >>>option to do this like
> >>>- a simple java application executed via .sh file
> >>>- a java application running as a daemon on a unix box
> >>>
> >>>But I really am not sure which better path I should take. Any
> >>>suggestions would be very much appreciated.
> >>>
> >>>Thanks
> >>>Richard
> >>>
> >>>-
> >>>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]
> >>>
> >>>
> >>>
> >>>
> >>>
> >>--
> >>
> >>Regards
> >>
> >>Duncan Mills
> >>Senior Principal Product Manager
> >>Oracle Application Development Tools
> >>
> >>[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]



Re: [OT] Can a simple java app access web services

2005-07-15 Thread Richard Reyes
Thanks guys.

On 7/15/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> I don't mind at all... I didn't have a good answer for Richard anyway, so
> I'm glad you did :)
> 
> --
> Frank W. Zammetti
> Founder and Chief Software Architect
> Omnytex Technologies
> http://www.omnytex.com
> 
> On Fri, July 15, 2005 6:56 am, John Henry Xu said:
> > Hi Richard,
> >
> > I hope Frank doesn't mind if I point to a java class tutorial using web
> > services with Java.
> >
> > http://www.cppunit.org/article/Article/159.html
> >
> > Jack H. Xu
> > Technology columnist and editor
> >
> > http://www.usanalyst.com
> >
> > Chief Architect and manager
> >
> > http://www.getusjobs.com (The largest free job portal in North America)
> >
> >
> >
> >   - Original Message -
> >   From: "Richard Reyes"
> >   To: "Struts Users Mailing List" , [EMAIL PROTECTED]
> >   Subject: Re: [OT] Can a simple java app access web services
> >   Date: Fri, 15 Jul 2005 16:54:21 +0800
> >
> >   >
> >   > Hi Frank,
> >   >
> >   > Thanks for the info. I hope you wouldn't mind.. can you point me to
> >   a
> >   > tutorial of those classes that can make a simple class access a web
> >   > service?
> >   >
> >   > Thanks
> >   > Richard
> >   >
> >   >
> >   > On 7/15/05, Frank W. Zammetti wrote:
> >   > > Hi Richard,
> >   > >
> >   > > Axis is the server-side of the WS equation (although maybe it can
> >   > > perform some client duties, I'm not certain), so more than likely
> >   it
> >   > > wouldn't come into play anyway.
> >   > >
> >   > > The simple answer is yes, a simple Java app can access a web
> >   service.
> >   > >
> >   > > There are classes that will specifically help you do so, but you
> >   can
> >   > > also "fake it", at least if it is a SOAP-based service (I'm not
> >   as
> >   > > familiar with RCP-type services). For SOAP-based services, all
> >   you
> >   > > really need to do is construct an XML message and use the usual
> >   HTTP
> >   > > methods in the standard JDK to send it.
> >   > >
> >   > > You might be interested to look at my StrutsWS project because
> >   there is
> >   > > exactly what your asking for included: a simple Java app that
> >   accesses
> >   > > the services the example project provides (in short, StrutsWS is
> >   an
> >   > > extension to Struts that allows Actions to be exposed as
> >   services). You
> >   > > can find it at http://sourceforge.net/projects/strutsws/
> >   > >
> >   > > Frank
> >   > >
> >   > > Richard Reyes wrote:
> >   > > > Hi Guys,
> >   > > >
> >   > > > Can a simple java app access a web service? Or do I need to
> >   install axis?
> >   > > >
> >   > > > Thanks
> >   > > > Richard
> >   > > >
> >   > > >
> >   -
> >   > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >   > > > For additional commands, e-mail: [EMAIL PROTECTED]
> >   > > >
> >   > > >
> >   > > >
> >   > > >
> >   > > > .
> >   > > >
> >   > >
> >   > > --
> >   > > Frank W. Zammetti
> >   > > Founder and Chief Software Architect
> >   > > Omnytex Technologies
> >   > > http://www.omnytex.com
> >   > >
> >   > >
> >   > >
> >   -
> >   > > 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]
> >
> >
> >
> >
> >
> >
> > Jack H. Xu
> > Technology columnist and editor
> >
> > http://www.usanalyst.com
> >
> > http://www.getusjobs.com (The largest free job portal in North America)
> >
> > --
> > ___
> > Sign-up for Ads Free at Mail.com
> > http://promo.mail.com/adsfreejump.htm
> >
> >
> 
> 
> -
> 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: [OT] Can a simple java app access web services

2005-07-15 Thread Richard Reyes
Hi Frank,

Thanks for the info. I hope you wouldn't mind.. can you point me to a
tutorial of those classes that can make a simple class access a web
service?

Thanks
Richard


On 7/15/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Hi Richard,
> 
> Axis is the server-side of the WS equation (although maybe it can
> perform some client duties, I'm not certain), so more than likely it
> wouldn't come into play anyway.
> 
> The simple answer is yes, a simple Java app can access a web service.
> 
> There are classes that will specifically help you do so, but you can
> also "fake it", at least if it is a SOAP-based service (I'm not as
> familiar with RCP-type services).  For SOAP-based services, all you
> really need to do is construct an XML message and use the usual HTTP
> methods in the standard JDK to send it.
> 
> You might be interested to look at my StrutsWS project because there is
> exactly what your asking for included: a simple Java app that accesses
> the services the example project provides (in short, StrutsWS is an
> extension to Struts that allows Actions to be exposed as services).  You
> can find it at http://sourceforge.net/projects/strutsws/
> 
> Frank
> 
> Richard Reyes wrote:
> > Hi Guys,
> >
> > Can a simple java app access a web service? Or do I need to install axis?
> >
> > Thanks
> > Richard
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> > .
> >
> 
> --
> Frank W. Zammetti
> Founder and Chief Software Architect
> Omnytex Technologies
> http://www.omnytex.com
> 
> 
> -
> 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: Accessing Cookie information

2005-07-14 Thread Richard Reyes
Hi Wendy,

Sorry I wasn't able to attend to this earlier.

The value of 

<%= pageContext.getAttribute("username") %>

is 

[EMAIL PROTECTED]

What do you think I should do?

Thanks

Richard

On 7/7/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> From: "Richard Reyes" <[EMAIL PROTECTED]>
> > I have this code...
> > 
> > down the line i need to access the bean and set it to an input field.
> > 
> >
> > previously i was using EL but the webapp was deployed in an older
> > version of tomcat where EL is not working .
> 
> What version are you on now?  I assume you've gone from Tomcat 5 back to
> Tomcat 4.1.  If so, then JSTL and Struts-EL will get you close to what you
> had.
> 
> You can also read the cookie and set the form property in the Action, before
> forwarding to the JSP.
> 
> Without testing it, I don't see anything wrong with the code you posted,
> though.  What does it print? Does it give error messages?
> 
> --
> Wendy Smoak
> 
> 
> -
> 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]



[OT] Can a simple java app access web services

2005-07-14 Thread Richard Reyes
Hi Guys,

Can a simple java app access a web service? Or do I need to install axis?

Thanks
Richard

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



Re: [OT] Java as a Daemon

2005-07-14 Thread Richard Reyes
Hi Duncan,

Will there be a way that the source DB access the target directly?
Because right now these DB's are accessed via web services Im thinking
if the source DB can directly connect to the target DB.

Also these procedural package, can they send notification emails?

On 7/14/05, Duncan Mills <[EMAIL PROTECTED]> wrote:
> Indeed the Oracle Database itself has a DBMS_JOB procedural package
> which acts just like Cron in the database - so that provides another way
> to tackle the problem - On the other hand  the Oracle database also has
> a whole set of replication features which are designed for syncing data
> between databases instances in realtime if necessary - have a serious
> look at these built-in functions of the database infrastructure before
> you build something new to do the same job.
> 
> Duncan
> 
> Jesse Alexander (KBSA 21) wrote:
> 
> >Hi
> >
> >(Warning: not an Oracle insider...)
> >
> >If I remember correctly Oracle allows Java to used for PL/SQL-scripts.
> >Maybe you could have a Java-class that is called whenever you make an
> >update that needs to be "communicated". And then somehow make the update
> >in the second Oracle-db.
> >
> >just my 2cents
> >Alexander
> >
> >-Original Message-
> >From: Richard Reyes [mailto:[EMAIL PROTECTED]
> >Sent: Thursday, July 14, 2005 3:53 AM
> >To: Struts Users Mailing List
> >Subject: [OT] Java as a Daemon
> >
> >Hello Guys,
> >
> >I need your suggestions. I have a task to create an application to
> >sync records between 2 Oracle 10g database. Not the whole records of
> >the database though, just the now and then transactional updates.
> >Access to the db's would be both via web services. I think I have an
> >option to do this like
> >- a simple java application executed via .sh file
> >- a java application running as a daemon on a unix box
> >
> >But I really am not sure which better path I should take. Any
> >suggestions would be very much appreciated.
> >
> >Thanks
> >Richard
> >
> >-
> >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]
> >
> >
> >
> 
> --
> 
> Regards
> 
> Duncan Mills
> Senior Principal Product Manager
> Oracle Application Development Tools
> 
> [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: [OT] Java as a Daemon

2005-07-14 Thread Richard Reyes
Hi Guys,

Thanks for all the input. I'll suggest the oracle dbms_job approach
seems reasonable. My last option would be to create a cron job.

Richard

On 7/14/05, Martin Gainty <[EMAIL PROTECTED]> wrote:
> Jesse
> 
> For specific packages I would look at  dbms_streams_tablespace_adm
> I would look at Oracle's Moving Data Faster/Pulling Tablespaces article
> available at
> http://www.oracle.com/technology/oramag/oracle/04-sep/o54data.html
> And of course consult the folks at Oracle if you have a support contract!
> 
> In any case let us know how you make out,
> Maritn-
>  Original Message -
> From: "Duncan Mills" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" 
> Sent: Thursday, July 14, 2005 4:41 AM
> Subject: Re: [OT] Java as a Daemon
> 
> 
> > Indeed the Oracle Database itself has a DBMS_JOB procedural package which
> > acts just like Cron in the database - so that provides another way to
> > tackle the problem - On the other hand  the Oracle database also has a
> > whole set of replication features which are designed for syncing data
> > between databases instances in realtime if necessary - have a serious look
> > at these built-in functions of the database infrastructure before you
> > build something new to do the same job.
> >
> > Duncan
> >
> > Jesse Alexander (KBSA 21) wrote:
> >
> >>Hi
> >>
> >>(Warning: not an Oracle insider...)
> >>If I remember correctly Oracle allows Java to used for PL/SQL-scripts.
> >>Maybe you could have a Java-class that is called whenever you make an
> >>update that needs to be "communicated". And then somehow make the update
> >>in the second Oracle-db.
> >>
> >>just my 2cents
> >>Alexander
> >>
> >>-Original Message-
> >>From: Richard Reyes [mailto:[EMAIL PROTECTED] Sent: Thursday, July
> >>14, 2005 3:53 AM
> >>To: Struts Users Mailing List
> >>Subject: [OT] Java as a Daemon
> >>
> >>Hello Guys,
> >>
> >>I need your suggestions. I have a task to create an application to
> >>sync records between 2 Oracle 10g database. Not the whole records of
> >>the database though, just the now and then transactional updates.
> >>Access to the db's would be both via web services. I think I have an
> >>option to do this like
> >>- a simple java application executed via .sh file - a java application
> >>running as a daemon on a unix box
> >>
> >>But I really am not sure which better path I should take. Any
> >>suggestions would be very much appreciated.
> >>
> >>Thanks
> >>Richard
> >>
> >>-
> >>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]
> >>
> >>
> >
> > --
> >
> > Regards
> >
> > Duncan Mills
> > Senior Principal Product Manager
> > Oracle Application Development Tools
> >
> > [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: [OT] Java as a Daemon

2005-07-14 Thread Richard Reyes
thanks
On 7/14/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
> I'm with Larry. Cron rocks. The only problem you should have in mind: if
> your job needs more then the time between the jobs, you've lost.
> We had actually this problem, and it killed the db, because (2 years
> after initially written) the script lasted more then 24 hours, and after
> a week 5 instances of it runned, blocking each other and producing a
> load of 10 on the machine.
> 
> So simply add a check "am I already running" to your code, and it will
> be fine :-)
> 
> regards
> Leon
> 
> On Wed, 2005-07-13 at 21:49 -0600, Larry Meadors wrote:
> > I would probably go the route of the .sh file.
> >
> > At the risk of starting a big flame war, cron is solid as a rock, and
> > all of the memory used by your app will be freed up when the JVM
> > exits. Why make it more complex by adding quartz or tomcat to the mix
> > if you do not have to.
> >
> > Simple is *almost* always better.
> >
> > Larry
> >
> >
> > On 7/13/05, Richard Reyes <[EMAIL PROTECTED]> wrote:
> > > Hello Guys,
> > >
> > > I need your suggestions. I have a task to create an application to
> > > sync records between 2 Oracle 10g database. Not the whole records of
> > > the database though, just the now and then transactional updates.
> > > Access to the db's would be both via web services. I think I have an
> > > option to do this like
> > > - a simple java application executed via .sh file
> > > - a java application running as a daemon on a unix box
> > >
> > > But I really am not sure which better path I should take. Any
> > > suggestions would be very much appreciated.
> > >
> > > Thanks
> > > Richard
> > >
> > > -
> > > 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: [OT] Java as a Daemon

2005-07-13 Thread Richard Reyes
Hi David,

We are using Netsuit business suite, I am not sure If I can update any
DAO. But I think I can run it on the same or separate webserver (
Tomcat ?? ). I think Quartz can be helpful, Ill check if its okay from
the top.

Thanks
Richard

On 7/14/05, David G. Friedman <[EMAIL PROTECTED]> wrote:
> Richard,
> 
> Can you run it in your webapp container?  You could then update an object in
> application scope with the id's of what records have changed.  You could
> even change your DAO to perform that step for you.  Then you could have the
> quartz scheduler running to periodically update things without needing to
> run any additional code, crontab, atq, etc.   All of this from inside your
> Struts webapp.  FYI, Quartz is at http://www.opensymphony.com/quartz and no,
> I have no affiliation with them. LOL.
> 
> Regards,
> David
> 
> -Original Message-
> From: Richard Reyes
> Subject: [OT] Java as a Daemon
> 
> Hello Guys,
> 
> I need your suggestions. I have a task to create an application to
> sync records between 2 Oracle 10g database. Not the whole records of
> the database though, just the now and then transactional updates.
> Access to the db's would be both via web services. I think I have an
> option to do this like
> - a simple java application executed via .sh file
> - a java application running as a daemon on a unix box
> 
> But I really am not sure which better path I should take. Any
> suggestions would be very much appreciated.
> 
> Thanks
> Richard
> 
> 
> -
> 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]



[OT] Java as a Daemon

2005-07-13 Thread Richard Reyes
Hello Guys,

I need your suggestions. I have a task to create an application to
sync records between 2 Oracle 10g database. Not the whole records of
the database though, just the now and then transactional updates.
Access to the db's would be both via web services. I think I have an
option to do this like
- a simple java application executed via .sh file 
- a java application running as a daemon on a unix box

But I really am not sure which better path I should take. Any
suggestions would be very much appreciated.

Thanks
Richard

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



Accessing Cookie information

2005-07-07 Thread Richard Reyes
Hello Guys,

I have this code...


.
.

down the line i need to access the bean and set it to an input field.

.
.


previously i was using EL but the webapp was deployed in an older
version of tomcat where EL is not working .

I tried this <%= pageContext.getAttribute("username") %> but its not working.

Please help.
Thanks

Richard

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



Re: Error deploying struts webapp to sunone 6.1

2005-06-30 Thread Richard Reyes
Hi Wendy / Guys,

Sadly Im using an eval version of Sun One 6.1 and I dont think support
is available. Ill try and post at

http://swforum.sun.com/jive/forum.jspa?forumID=16

Thanks
Richard

On 6/30/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> From: "Richard Reyes" <[EMAIL PROTECTED]>
> 
> > Am I suppose to see anything on the browser if I browse this..
> >  http://struts.apache.org/tags-bean
> 
> No.  It needs to match the URI in the TLD file, (and be unique,) but it
> doesn't have to be a working URL.
> 
> > Now I got this error after implementing
> > this...http://struts.apache.org/userGuide/configuration.html#dd_config_taglib_23
> >
> >  to GET /index.jsp, service-j2ee reports: StandardWrapperValve[jsp]:
> >  WEB2792: Servlet.service() for servlet jsp threw exception
> >
> >  org.apache.jasper.JasperException: WEB4083: No such tag message
> > in
> >  the tag library imported with prefix bean
> 
> Well... at least it's a _different_ error.  But now it seems to be saying
> that there is no  tag, so I'm not sure if it *really* found
> the TLD, or not.  (... and this works on Tomcat?  You might want to see if
> there's a support group for your particular container.  Maybe it's a bug or
> there something container-specific that you need to be doing.)
> 
> --
> Wendy Smoak
> 
> 
> 
> -
> 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: Error deploying struts webapp to sunone 6.1

2005-06-30 Thread Richard Reyes
Hello Guys,

Am I suppose to see anything on the browser if I browse this.. 
 
 http://struts.apache.org/tags-bean
 
Now I got this error after implementing
this...http://struts.apache.org/userGuide/configuration.html#dd_config_taglib_23

 to GET /index.jsp, service-j2ee reports: StandardWrapperValve[jsp]:
 WEB2792: Servlet.service() for servlet jsp threw exception
 
 org.apache.jasper.JasperException: WEB4083: No such tag message in
 the tag library imported with prefix bean
 
 Thanks
 Richard
 
 
 
> 
> 
> On 6/30/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> > From: "Richard Reyes" <[EMAIL PROTECTED]>
> >
> > > On the JSP,
> > > <%@ taglib uri="/tags/struts-bean" prefix="bean" %>
> >
> > See:
> > http://struts.apache.org/userGuide/configuration.html#dd_config_taglib_23
> >
> > What version of the Servlet specification does Sun One 6.1 support?  If it's
> > 2.3 or better, try this:
> >
> > Try this:
> > <%@ taglib uri="http://struts.apache.org/tags-bean"; prefix="bean" %>
> >
> > I think that's the right URI... I don't use this particular taglib, but I
> > looked in struts.jar, found the struts-bean.tld file, and copied the URI
> > from it.
> >
> > If that works, you can delete the "loose" tld files under WEB-INF, and
> > remove the  tags from web.xml.
> >
> > --
> > Wendy Smoak
> >
> >
> >
> > -
> > 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: Error deploying struts webapp to sunone 6.1

2005-06-30 Thread Richard Reyes
Am suppose to see anything on the browser if I browse this..


http://struts.apache.org/tags-bean

to GET /index.jsp, service-j2ee reports: StandardWrapperValve[jsp]:
WEB2792: Servlet.service() for servlet jsp threw exception

org.apache.jasper.JasperException: WEB4083: No such tag message in
the tag library imported with prefix bean

Thanks
Richard





On 6/30/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> From: "Richard Reyes" <[EMAIL PROTECTED]>
> 
> > On the JSP,
> > <%@ taglib uri="/tags/struts-bean" prefix="bean" %>
> 
> See:
> http://struts.apache.org/userGuide/configuration.html#dd_config_taglib_23
> 
> What version of the Servlet specification does Sun One 6.1 support?  If it's
> 2.3 or better, try this:
> 
> Try this:
> <%@ taglib uri="http://struts.apache.org/tags-bean"; prefix="bean" %>
> 
> I think that's the right URI... I don't use this particular taglib, but I
> looked in struts.jar, found the struts-bean.tld file, and copied the URI
> from it.
> 
> If that works, you can delete the "loose" tld files under WEB-INF, and
> remove the  tags from web.xml.
> 
> --
> Wendy Smoak
> 
> 
> 
> -
> 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: Error deploying struts webapp to sunone 6.1

2005-06-29 Thread Richard Reyes
thanks ill try and let you know.

On 6/30/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> From: "Richard Reyes" <[EMAIL PROTECTED]>
> 
> > On the JSP,
> > <%@ taglib uri="/tags/struts-bean" prefix="bean" %>
> 
> See:
> http://struts.apache.org/userGuide/configuration.html#dd_config_taglib_23
> 
> What version of the Servlet specification does Sun One 6.1 support?  If it's
> 2.3 or better, try this:
> 
> Try this:
> <%@ taglib uri="http://struts.apache.org/tags-bean"; prefix="bean" %>
> 
> I think that's the right URI... I don't use this particular taglib, but I
> looked in struts.jar, found the struts-bean.tld file, and copied the URI
> from it.
> 
> If that works, you can delete the "loose" tld files under WEB-INF, and
> remove the  tags from web.xml.
> 
> --
> Wendy Smoak
> 
> 
> 
> -
> 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: Error deploying struts webapp to sunone 6.1

2005-06-29 Thread Richard Reyes
Hi Laurie,

Heres my directory structure...
/usr/iplanet/servers/devtelic.ws.telic.net/WEB-INF/web.xml

and I have a VS
/usr/iplanet/servers/https-devtelic.ws.telic.net

All JSP are in
/usr/iplanet/servers/devtelic.ws.telic.net/

Heres a sample of my tld in web.xml
 
/tags/struts-bean
/WEB-INF/struts-bean.tld
 

On the JSP,
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>

Thanks for the reply, hope you can help me
Richard


On 6/30/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
> What does your taglib directive look like? Where is the TLD file withing
> the webapp?
> 
> Richard Reyes wrote:
> 
> > Hi All,
> >
> > I have a working struts webapp ( working in tomcat 5 ), now i need to
> > deploy this app to a sunone web server 6.1.
> > Upon copying the whole webapp folder to the new instance I have
> > encountered this filenot found exception...
> >
> > Any help will be appreciated. Anybody know on a doc that properly
> > deploys webapp to this web server.
> >
> > Error:
> > ---
> > ApplicationDispatcher[] WEB2649: Servlet.service() for servlet jsp
> > threw exception
> >
> > org.apache.jasper.compiler.CompileException:
> > /netcomm/serverpages/login.jsp(1,0) WEB4059: can't find
> > /struts-bean.tld (File not found)
> >
> > at 
> > org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:831)
> >
> > at 
> > org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:125)
> >
> > at 
> > org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:255)
> >
> > at org.apache.jasper.compiler.Parser.parse(Parser.java:1157)
> >
> > at org.apache.jasper.compiler.Parser.parse(Parser.java:1115)
> >
> > at org.apache.jasper.compiler.Parser.parse(Parser.java:)
> >
> > at 
> > org.apache.jasper.compiler.ParserController.parse(ParserController.java:239)
> >
> > at org.apache.jasper.compiler.Compiler.compile(Compiler.java:227)
> >
> > at 
> > com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:764)
> >
> > at 
> > com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.access$000(JspServlet.java:624)
> >
> > at 
> > com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:401)
> >
> > at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:363)
> >
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
> >
> > at 
> > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:772)
> >
> > at 
> > org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:471)
> >
> > at 
> > org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:382)
> >
> > at 
> > org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1054)
> >
> > at 
> > org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:992)
> >
> > at 
> > org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:551)
> >
> > at 
> > org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:209)
> >
> > at 
> > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1192)
> >
> > at 
> > org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:412)
> >
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:787)
> >
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
> >
> > at 
> > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:772)
> >
> > at 
> > org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:471)
> >
> > at 
> > org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:382)
> >
> > at 
> > org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1054)
> >
> > at 
> > org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)
> 
> >
> > at 
> > org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
> >
> > at 
> > 

Error deploying struts webapp to sunone 6.1

2005-06-28 Thread Richard Reyes
Hi All,

I have a working struts webapp ( working in tomcat 5 ), now i need to
deploy this app to a sunone web server 6.1.
Upon copying the whole webapp folder to the new instance I have
encountered this filenot found exception...

Any help will be appreciated. Anybody know on a doc that properly
deploys webapp to this web server.

Error:
---
ApplicationDispatcher[] WEB2649: Servlet.service() for servlet jsp
threw exception

org.apache.jasper.compiler.CompileException:
/netcomm/serverpages/login.jsp(1,0) WEB4059: can't find
/struts-bean.tld (File not found)

at 
org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:831)

at 
org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:125)

at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:255) 

at org.apache.jasper.compiler.Parser.parse(Parser.java:1157) 

at org.apache.jasper.compiler.Parser.parse(Parser.java:1115) 

at org.apache.jasper.compiler.Parser.parse(Parser.java:) 

at 
org.apache.jasper.compiler.ParserController.parse(ParserController.java:239)

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:227) 

at 
com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.loadJSP(JspServlet.java:764)

at 
com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.access$000(JspServlet.java:624)

at 
com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:401)

at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:363) 

at javax.servlet.http.HttpServlet.service(HttpServlet.java:908) 

at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:772)

at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:471)

at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:382)

at 
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1054)

at 
org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:992)

at 
org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:551)

at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:209)

at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1192)

at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:412) 

at javax.servlet.http.HttpServlet.service(HttpServlet.java:787) 

at javax.servlet.http.HttpServlet.service(HttpServlet.java:908) 

at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:772)

at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:471)

at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:382)

at 
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1054)

at 
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)

at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)

at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1192)

at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:412) 

at javax.servlet.http.HttpServlet.service(HttpServlet.java:787) 

at javax.servlet.http.HttpServlet.service(HttpServlet.java:908) 

at 
org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:771)

at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:322)

at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)

at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)

at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)

at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)

at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)

at 
com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)

at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)

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



OT -- JSF + Tomcat Tutorial

2005-06-24 Thread Richard Reyes
Hi Guys,

Can you guys remember any JSF Tutorial under tomcat that I can download?


Thanks
Richard


Re: [OT] Validating email addresses

2005-06-15 Thread Richard Reyes
Unfortunately guys all will be done on javascript. Any suggestion on
proven downloadble javascript components would be very much
appreciated. I might just code for the domain name validations.

Can I get the valid list from whois.org?

Thanks All
Richard

On 6/15/05, Martin Gainty <[EMAIL PROTECTED]> wrote:
> Richard-
> Can you run basic DNS nslookup utilities and or have access to
> BIND a.root-servers.net - m.root-servers.net?
> -OR-
> 
> You may want to use a combination of parsing the URL such as
> http://java.sun.com/docs/books/tutorial/networking/urls/urlInfo.html
> 
> import java.net.*;
> import java.io.*;
> 
> public class ParseURL {
>public static void main(String[] args) throws Exception {
>URL aURL = new URL("http://java.sun.com:80/docs/books/";
>   + "tutorial/index.html#DOWNLOADING");
>System.out.println("protocol = " + aURL.getProtocol());
>System.out.println("host = " + aURL.getHost());
>System.out.println("filename = " + aURL.getFile());
>System.out.println("port = " + aURL.getPort());
>System.out.println("ref = " + aURL.getRef());
>}
> }
> 
> and then attempting to access the URL
> http://java.sun.com/docs/books/tutorial/networking/urls/connecting.html
> try {
>URL yahoo = new URL("http://www.yahoo.com/";);
>URLConnection yahooConnection = yahoo.openConnection();
> 
> } catch (MalformedURLException e) { // new URL() failed
>. . .
> } catch (IOException e) {   // openConnection() failed
>. . .
> }
> 
> Martin-
> - Original Message -
> From: "Richard Reyes" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" 
> Sent: Wednesday, June 15, 2005 6:02 AM
> Subject: [OT] Validating email addresses
> 
> 
> Hi Guys,
> 
> I plan to validate email addresses and Domain names entered by users
> via those downloadable
> javascripts. Any suggestions?
> 
> Also if I am to validate these fields do I need to know the valid .com
> or .net domains?
> 
> Please advise
> TIA!
> 
> Richard
> 
> -
> 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]



[OT] Validating email addresses

2005-06-15 Thread Richard Reyes
Hi Guys,

I plan to validate email addresses and Domain names entered by users
via those downloadable
javascripts. Any suggestions?

Also if I am to validate these fields do I need to know the valid .com
or .net domains?

Please advise
TIA!

Richard

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



Re: Help Please...... ( Struts on Iplanet )

2005-05-25 Thread Richard Reyes
Hi Santosh,

I tried both html's and they all worked. Now I tried the second one with 
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
on top and it generated the same error as above.

Thank you for helping me I have no idea whats going on in this iplanet server

Richard

On 5/25/05, Santosh K Rath <[EMAIL PROTECTED]> wrote:
>  
> Richard, 
>To start with the step by step debugging , I would like you start with a
> simple jsp page , something like below. Let's see , what happeans. 
>  
>  
>  
> My Title 
>  
>  
>  
>  
>  
>Welcome to Web Debit Services-Agents Portal. Please contact  href="www.telic.net" target="_blank">Telic.net and get your correct
> URL. 
>  
>  
>  
>  
>  
>  
>  
> After that , let's try  with something like this . 
>  
>  
>  
>  
>  
>  
>  
>  
>  
>Welcome to Web Debit Services-Agents Portal. Please contact  href="www.telic.net" target="_blank">Telic.net and get your correct
> URL. 
>  
>  
>  
>  
>  
>  
>  
> After you tested with the above, mail me the results.All those things
> can be easily debugged , if you are using any IDE. Otherwise please do those
> step by step and reply. Thanks 
>  
> Santosh 
>  
>  
>  
>  
>  Richard Reyes <[EMAIL PROTECTED]> 
> 
> 05/25/2005 12:52 PM 
>  
> Please respond to
>  Richard Reyes 
>  
>  
> To Santosh K Rath/India/[EMAIL PROTECTED] 
>  
> cc Struts Users Mailing List  
>  
> Subject Re: Help Please.. ( Struts on Iplanet ) 
>  
>  
>  
>  
>  
> Hi Santosh,
>  
>  Here are my JSPs and the converted java code
>  
>  On 5/25/05, Santosh K Rath <[EMAIL PROTECTED]> wrote:
>  >  
>  > Hi Richard, 
>  >  Can you please check _index_jsp.java(Line no 123)? It's the java
> file
>  > created from your jsp page(index.jsp). It might help you. Or else you can
>  > paste the java code as well as jsp code here for better analysis.Thanks. 
>  > Santosh 
>  >  
>  >  
>  >  
>  >  Richard Reyes <[EMAIL PROTECTED]> 
>  > 
>  > 05/25/2005 12:10 PM 
>  >  
>  > Please respond to
>  >  "Struts Users Mailing List" 
>  >  
>  >  
>  > To Struts Users Mailing List  
>  >  
>  > cc 
>  >  
>  > Subject Help Please.. ( Struts on Iplanet ) 
>  >  
>  >  
>  >  
>  >  
>  >  
>  > Hello Guys,
>  >  
>  >  I am trying to deploy my struts webapp on an iPlanet 6 server with
>  >  SP5. I have this error eight now
>  >  
>  >  12] failure (19732):  Internal error: servlet service
>  > function had
>  >  thrown ServletException (uri=/index.jsp):
>  >  javax.servlet.ServletException, stack: javax.servlet.ServletException
>  >  
>  >   at
>  >
> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:453)
>  >  
>  >   at
>  > _jsps._index_jsp._jspService(_index_jsp.java:123) 
>  >  
>  >   at
>  >
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
>  >  
>  >   at
>  >
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  >  
>  >   at
>  >
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:248)
>  >  
>  >   at
>  >
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.java:238)
>  >  
>  >   at
>  >
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:519)
>  >  
>  >   at
>  >
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:588)
>  >  
>  >   at
>  >
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  >  
>  >   at
>  >
> com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:919)
>  >  
>  >   at
>  >
> com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1061)
>  >  
>  >   at
>  >
> com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:981)
>  >  
&g

Re: Help Please...... ( Struts on Iplanet )

2005-05-25 Thread Richard Reyes
Hi Santosh,

Here are my JSPs and the converted java code

On 5/25/05, Santosh K Rath <[EMAIL PROTECTED]> wrote:
>  
> Hi Richard, 
>  Can you please check _index_jsp.java(Line no 123)? It's the java file
> created from your jsp page(index.jsp). It might help you. Or else you can
> paste the java code as well as jsp code here for better analysis.Thanks. 
> Santosh 
>  
>  
>  
>  Richard Reyes <[EMAIL PROTECTED]> 
> 
> 05/25/2005 12:10 PM 
>  
> Please respond to
>  "Struts Users Mailing List" 
>  
>  
> To Struts Users Mailing List  
>  
> cc 
>  
> Subject Help Please.. ( Struts on Iplanet ) 
>  
>  
>  
>  
>  
> Hello Guys,
>  
>  I am trying to deploy my struts webapp on an iPlanet 6 server with
>  SP5. I have this error eight now
>  
>  12] failure (19732):  Internal error: servlet service
> function had
>  thrown ServletException (uri=/index.jsp):
>  javax.servlet.ServletException, stack: javax.servlet.ServletException
>  
>   at
> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:453)
>  
>   at
> _jsps._index_jsp._jspService(_index_jsp.java:123) 
>  
>   at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
>  
>   at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  
>   at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:248)
>  
>   at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.java:238)
>  
>   at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:519)
>  
>   at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:588)
>  
>   at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  
>   at
> com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:919)
>  
>   at
> com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1061)
>  
>   at
> com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:981)
>  
>  , root cause: javax.servlet.jsp.JspException 
>  
>   at
> org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:233)
>  
>   at
> _jsps._index_jsp._jspService(_index_jsp.java:95) 
>  
>   at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
>  
>   at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  
>   at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:248)
>  
>   at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.java:238)
>  
>   at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:519)
>  
>   at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:588)
>  
>   at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  
>   at
> com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:919)
>  
>   at
> com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1061)
>  
>   at
> com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:981)
>  
> -
>  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 Please...... ( Struts on Iplanet )

2005-05-25 Thread Richard Reyes
Hi Santosh,

Heres line 123...

if (pageContext != null) pageContext.handlePageException(ex);

On 5/25/05, Santosh K Rath <[EMAIL PROTECTED]> wrote:
>  
> Hi Richard, 
>  Can you please check _index_jsp.java(Line no 123)? It's the java file
> created from your jsp page(index.jsp). It might help you. Or else you can
> paste the java code as well as jsp code here for better analysis.Thanks. 
> Santosh 
>  
>  
>  
>  Richard Reyes <[EMAIL PROTECTED]> 
> 
> 05/25/2005 12:10 PM 
>  
> Please respond to
>  "Struts Users Mailing List" 
>  
>  
> To Struts Users Mailing List  
>  
> cc 
>  
> Subject Help Please.. ( Struts on Iplanet ) 
>  
>  
>  
>  
>  
> Hello Guys,
>  
>  I am trying to deploy my struts webapp on an iPlanet 6 server with
>  SP5. I have this error eight now
>  
>  12] failure (19732):  Internal error: servlet service
> function had
>  thrown ServletException (uri=/index.jsp):
>  javax.servlet.ServletException, stack: javax.servlet.ServletException
>  
>   at
> org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:453)
>  
>   at
> _jsps._index_jsp._jspService(_index_jsp.java:123) 
>  
>   at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
>  
>   at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  
>   at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:248)
>  
>   at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.java:238)
>  
>   at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:519)
>  
>   at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:588)
>  
>   at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  
>   at
> com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:919)
>  
>   at
> com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1061)
>  
>   at
> com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:981)
>  
>  , root cause: javax.servlet.jsp.JspException 
>  
>   at
> org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:233)
>  
>   at
> _jsps._index_jsp._jspService(_index_jsp.java:95) 
>  
>   at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
>  
>   at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  
>   at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:248)
>  
>   at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.java:238)
>  
>   at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:519)
>  
>   at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:588)
>  
>   at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>  
>   at
> com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:919)
>  
>   at
> com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1061)
>  
>   at
> com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:981)
>  
> -
>  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 Please...... ( Struts on Iplanet )

2005-05-24 Thread Richard Reyes
Hello Guys,

I am trying to deploy my struts webapp on an iPlanet 6 server with
SP5. I have this error eight now

12] failure (19732):Internal error: servlet service function had
thrown ServletException (uri=/index.jsp):
javax.servlet.ServletException, stack: javax.servlet.ServletException

at 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:453)

at _jsps._index_jsp._jspService(_index_jsp.java:123) 

at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) 

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 

at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:248)

at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.java:238)

at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:519) 

at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:588) 

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 

at 
com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:919)

at 
com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1061)

at 
com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:981)

, root cause: javax.servlet.jsp.JspException 

at 
org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:233) 

at _jsps._index_jsp._jspService(_index_jsp.java:95) 

at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) 

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 

at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:248)

at 
org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.java:238)

at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:519) 

at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:588) 

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 

at 
com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:919)

at 
com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1061)

at 
com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:981)

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



wildcard action mapping

2005-05-23 Thread Richard Reyes
Hello Guys,

I got this action mapping...


   
   
   
   


Is it possible to access the exact "*" wildcard value inside
LoadCustomPropertiesAction?

Regards and TIA!
Richard

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



help loading struts webapp on iplanet

2005-05-17 Thread Richard Reyes
hello guys,

I seem to have a newbie error here please help.

The webapp is perfectly running under tomcat, then i copied all
contents of webapps/mywebapp/* folder to
iplanet/servers/my-instance/*  . Anything else i should do?

thanks
richard

JSP11 Log:Could not load TagExtraInfo class
org.apache.struts.taglib.bean.CookieTei: Unable to load class
org.apache.struts.taglib.bean.CookieTei
[17/May/2005:11:11:31] info (20412):JSP11 Log:Could not load
TagExtraInfo class org.apache.struts.taglib.bean.DefineTei: Unable to
load class org.apache.struts.taglib.bean.DefineTei
[17/May/2005:11:11:31] info (20412):JSP11 Log:Could not load
TagExtraInfo class org.apache.struts.taglib.bean.HeaderTei: Unable to
load class org.apache.struts.taglib.bean.HeaderTei
[17/May/2005:11:11:31] info (20412):JSP11 Log:Could not load
TagExtraInfo class org.apache.struts.taglib.bean.IncludeTei: Unable to
load class org.apache.struts.taglib.bean.IncludeTei
[17/May/2005:11:11:31] info (20412):JSP11 Log:Could not load
TagExtraInfo class org.apache.struts.taglib.bean.PageTei: Unable to
load class org.apache.struts.taglib.bean.PageTei
[17/May/2005:11:11:31] info (20412):JSP11 Log:Could not load
TagExtraInfo class org.apache.struts.taglib.bean.ParameterTei: Unable
to load class org.apache.struts.taglib.bean.ParameterTei
[17/May/2005:11:11:31] info (20412):JSP11 Log:Could not load
TagExtraInfo class org.apache.struts.taglib.bean.ResourceTei: Unable
to load class org.apache.struts.taglib.bean.ResourceTei
[17/May/2005:11:11:31] info (20412):JSP11 Log:Could not load
TagExtraInfo class org.apache.struts.taglib.bean.SizeTei: Unable to
load class org.apache.struts.taglib.bean.SizeTei
[17/May/2005:11:11:31] info (20412):JSP11 Log:Could not load
TagExtraInfo class org.apache.struts.taglib.bean.StrutsTei: Unable to
load class org.apache.struts.taglib.bean.StrutsTei
[17/May/2005:11:11:31] info (20412):JSP11 Log:Could not load
TagExtraInfo class org.apache.struts.taglib.html.MessagesTei: Unable
to load class org.apache.struts.taglib.html.MessagesTei
[17/May/2005:11:11:31] info (20412):JSP11 Log:Could not load
TagExtraInfo class org.apache.struts.taglib.logic.IterateTei: Unable
to load class org.apache.struts.taglib.logic.IterateTei
[17/May/2005:11:11:31] info (20412):JSP: JSP1x compiler threw exception
org.apache.jasper.compiler.ParseException:
/usr/iplanet/servers/wds.agentportal/system-resources/serverpages/declaration.jsp(6,0)
Page directive: Invalid attribute, isELIgnored
at org.apache.jasper.compiler.JspUtil.checkAttributes(JspUtil.java:237)
at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:194)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1096)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1061)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1057)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:218)
at 
com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java:252)
at 
com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.java:173)
at 
com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:427)


[17/May/2005:11:11:31] warning (20412): Internal error: Failed to get
GenericServlet.

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



Re: Accessing java.util.Properties in JSP

2005-05-10 Thread Richard Reyes
Okay I realized that I might use a static method. How do I call it in
a JSP that is not like this...

<%Utilities.getDisplay( "BANNER_IMAGE" ) %>


On 5/10/05, Richard Reyes <[EMAIL PROTECTED]> wrote:
> Hello Guys,
> 
> I have a properties object saved in my session and i need to access it
> in my jsp pages. can the bean tag handle this? how?
> 
> perhaps el?
> 
> thanks in advance
> richard
>

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



Accessing java.util.Properties in JSP

2005-05-10 Thread Richard Reyes
Hello Guys,

I have a properties object saved in my session and i need to access it
in my jsp pages. can the bean tag handle this? how?

perhaps el?

thanks in advance
richard

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



[OT] Help in Application Design

2005-05-04 Thread Richard Reyes
Hi Guys,

I have been task to maintain several jsp web applicatiohumonguosns.
Each application has about 15 humonguos jsp's. Their original designs
are to submit jsp pages to itself so each jsp
contains large volumes of java codes.

>From time to time a new feature request comes and there comes the need
to modify this applications. Im planning to gradually shift it to a
better design so it'll be easier for me to maintain and to improve
performance.

Any suggestions on a design template I can take Model 1 or Model 2?
Any other things I should consider in upgrading this applications?

There is a new JSF version in the making but I think it'll take a year
before it can be used on
production version so ill be stuck here for a whilel.

Regards
Richard

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



Re: help on accessing txt file

2005-04-20 Thread Richard Reyes
thanks to all. i tried using commons IO component. Unfortunately I got an error
accessing the file so I have used the java samples on the tutorial.

thanks anyway

On 4/16/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> On 4/15/05, edward griebel <[EMAIL PROTECTED]> wrote:
> > Were you intending to retrieve a file from within a WAR or just a
> > random file on the web server box? The first case is much more
> > interesting than just opening streams.
> 
> If the file in question is inside your webapp, the servlet API lets
> you *read* it quite easily.  For example, lets say you are Struts :-),
> and you want to read the web.xml file so you can figure out what
> servlet mapping is being used (typically "/do/*" or "*.do") for
> ActionServlet.
> 
> ServletContext context = ... get reference to ServletContext
> InputStream stream = context.getResourceAsStream("/WEB-INF/web.xml");
> 
> The ServletContext reference is available from a bunch of places ...
> from inside an Action, simply call:
> 
> ServletContext context = getServlet().getServletContext();
> 
> > -ed
> 
> Craig
>

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



help on accessing txt file

2005-04-14 Thread Richard Reyes
Hello Guys,

I need to access a file from inside an actions class. I will use its
content as email contents.

Regards
Richard

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



Action Mapping Forward Params

2005-03-22 Thread Richard Reyes
Hello Guys,

I have a form that is called with a dymanic param in a url. Now after
saving the form succesfully or not i need to go back to the same form.
But to load the form correctly
I need the parameter I have started with. How do I include dynamic url
parameters inside
the action mappings specifically the forward element?

TIA!

Richard

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



Re: last element of logic iterate

2005-03-21 Thread Richard Reyes
thanks


On Fri, 18 Mar 2005 09:06:38 -0500, Slattery, Tim - BLS
<[EMAIL PROTECTED]> wrote:
> > How do you determine if your on the last element of your
> > logic:iterate loop?
> 
> JSTL makes this very easy. Something like:
> 
> 
>  
> stuff to do in the last iteration
>   
> 
> 
> --
> Tim Slattery
> [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: last element of logic iterate

2005-03-21 Thread Richard Reyes
thanks


On Fri, 18 Mar 2005 03:04:24 -0500, Erik Weber <[EMAIL PROTECTED]> wrote:
> One way is to use a combination of logic:iterate's indexId attribute
> (serves as a loop counter) and the bean:size tag (can give the total
> size of a collection before you iterate). Then you could use a
> logic:equal test inside the iteration.
> 
> Erik
> 
> 
> Richard Reyes wrote:
> 
> >Hello All ,
> >
> >How do you determine if your on the last element of your logic:iterate loop?
> >
> >Thanks
> >Richard
> >
> >-
> >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]



last element of logic iterate

2005-03-17 Thread Richard Reyes
Hello All ,

How do you determine if your on the last element of your logic:iterate loop?

Thanks
Richard

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



Re: nested arraylist on nested logic:iterate help

2005-03-17 Thread Richard Reyes
Hello All,

Got this by 


 
 : 
 

Thanks
Richard

On Fri, 18 Mar 2005 13:27:16 +0800, Richard Reyes
<[EMAIL PROTECTED]> wrote:
> Hello Guys,
> 
> Please help.
> 
> I need to access an arraylist property inside the arraylist that I
> have just iterated over.
> 
> I got this code .
> 
> 
>  property="originatingHosts" id="ohosts">
> 
> Originating Hosts : 
>  property="hostname"/>
> 
> 
> Exchanges : 
> 
> 
> 
> 
> 
> 
> Please note that originatingHosts is an arraylist. Now this has a
> property of exchanges which
> is also an arraylist. I need to display the desc property of every
> exchange object in this
> exchanges arraylist.
> 
> Thanks in advance.
> 
> Richard
>

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



nested arraylist on nested logic:iterate help

2005-03-17 Thread Richard Reyes
Hello Guys,

Please help.

I need to access an arraylist property inside the arraylist that I
have just iterated over.

I got this code .




Originating Hosts : 



Exchanges : 






Please note that originatingHosts is an arraylist. Now this has a
property of exchanges which
is also an arraylist. I need to display the desc property of every
exchange object in this
exchanges arraylist.

Thanks in advance.

Richard

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



Re: Bean Taglib Help

2005-03-08 Thread Richard Reyes
Thanks.


On Tue, 08 Mar 2005 13:33:46 +0100, Nicolas De Loof
<[EMAIL PROTECTED]> wrote:
> 
> You can use the EL-enable version of display tag to do this (assuming
> Konstants.SESSION_USER_KEY = "users") :
> 
> 
> 
> Now, if you don't want to break constants usage, you may try to use
> jakarta unstandard taglib to bind the static field from your Konstants
> class to a pageContext variable :
> 
>  field="SESSION_USER_KEY"/>
> (http://jakarta.apache.org/taglibs/sandbox/doc/unstandard-doc/index.html#bind)
> 
> .. and use it in EL :
> 
> 
> 
> If you don't want to use EL, you can use struts bean:define :
> 
>  property="rusers"/>
> 
> 
> Nico.
> 
> Richard Reyes a écrit :
> 
> >Hello All,
> >
> >I have this code...
> >
> >
> ><%
> >User user = ( User ) session.getAttribute( Konstants.SESSION_USER_KEY ) ;
> >ArrayList x = user.getRusers() ;
> >request.setAttribute( "x",x ) ;
> >%>
> >
> >
> >
> >How do I use the Struts Bean Liblraries to remove the scriptlet.
> >
> >TIA.
> >Richard
> >
> >-
> >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 Capgemini Group. It is intended only for the person to 
> whom it is addressed. If you are not the intended recipient,  you are not 
> authorized 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]



Bean Taglib Help

2005-03-08 Thread Richard Reyes
Hello All,

I have this code...


<%
User user = ( User ) session.getAttribute( Konstants.SESSION_USER_KEY ) ;
ArrayList x = user.getRusers() ;
request.setAttribute( "x",x ) ;
%>



How do I use the Struts Bean Liblraries to remove the scriptlet.

TIA.
Richard

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



Re: help with bean:write

2005-02-28 Thread Richard Reyes
fyi

this http://www.jguru.com/faq/view.jsp?EID=993519 did the trick.


On Mon, 28 Feb 2005 14:59:31 +0800, Richard Reyes
<[EMAIL PROTECTED]> wrote:
> Hello Guys,
> 
> Please advise
> 
> I have this code below... and i need to add the username property to
> the javascript.
> 
> 
> 
>  
> onclick="document.location.replace('delete-ruser.rr?ruser='+ name="idRuser" property="username"/> )" />
> 
> 
> thanks
> richard
>

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



help with bean:write

2005-02-27 Thread Richard Reyes
Hello Guys,

Please advise

I have this code below... and i need to add the username property to
the javascript.

 
    
 )" />


thanks
richard

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



Re: logic iterate help

2005-02-24 Thread Richard Reyes
Its working thanks. another thing though.

I need to use a constant variable for 
   wrote:
> Hi Richards,
> 
>  id="idRuser">
> 
> 
> 
> 
> 
> Make sure that class Ruser has getter and setter methods too
> 
> Regards,
> Krishna Mohan
> 
> -Original Message-
> From: Richard Reyes [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 24, 2005 3:52 PM
> To: Struts Users Mailing List
> Subject: logic iterate help
> 
> Hello Guys,
> 
> I have a user obj at sessionScope. Now this object have an
> field/object in it of  type ArrayList named rusers. Arraylist rusers
> contains an array of object
> 
> public class RUser {
> 
> private String username = "";
> private String password = "";
> .
> .
> .
> 
> How do i display the username using logic iterate.
> 
> Please help
> Thanks
> Richard
> 
> -
> 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: logic iterate help

2005-02-24 Thread Richard Reyes
Hi  Iyanu Rajasekaran ,

Thanks for the reply. I got an error...

ception: /serverpages/main-rusers.jsp(45,33) equal symbol expected

On Thu, 24 Feb 2005 05:35:41 -0500, Iyanu, Rajasekaran
<[EMAIL PROTECTED]> wrote:
> 
>  Richard,
> 
>  U can specify it like this...
> 
> 
> 
> 
> 
>  When the iterate tag is evaluated, every element of rusers will be
> taken out, typecasted into the Ruser Object and will be passed to the
> loop..
>  bean:write tag here can process this object, and use the get method of
> the Ruser object to display the username value...
> 
>  Does this answer ur question..?
> 
>  Cheers
>  Rajasekaran Iyanu.
>  [EMAIL PROTECTED]
> 
> 
> -Original Message-
> From: Richard Reyes [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 24, 2005 3:52 PM
> To: Struts Users Mailing List
> Subject: logic iterate help
> 
> Hello Guys,
> 
> I have a user obj at sessionScope. Now this object have an
> field/object in it of  type ArrayList named rusers. Arraylist rusers
> contains an array of object
> 
> public class RUser {
> 
> private String username = "";
> private String password = "";
> .
> .
> .
> 
> How do i display the username using logic iterate.
> 
> Please help
> Thanks
> Richard
> 
> -
> 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]



logic iterate help

2005-02-24 Thread Richard Reyes
Hello Guys,

I have a user obj at sessionScope. Now this object have an
field/object in it of  type ArrayList named rusers. Arraylist rusers
contains an array of object

public class RUser {

private String username = "";
private String password = "";
.
.
.

How do i display the username using logic iterate.

Please help
Thanks
Richard

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



Re: Help with Struts-Logic Tag

2005-02-24 Thread Richard Reyes
Hi Tim/Guys,

the 2nd option is not working.

can you elaborate on the first one?

how do i declare the user? usebean?

thanks

Richard


On Tue, 22 Feb 2005 12:53:55 +, Tim Christopher
<[EMAIL PROTECTED]> wrote:
> Try using:
> 
> 
>
> 
> 
> Where user = Konstants.SESSION_USER_KEY, or maybe even:
> 
> 
> 
> 
> 
> Tim Christopher
> 
> On Tue, 22 Feb 2005 19:40:36 +0800, Richard Reyes
> <[EMAIL PROTECTED]> wrote:
> > Hello Guys,
> >
> > I have this tag ...
> >
> >  > href="routes-login.rr" />
> >
> > And I need to change hello.world to Konstants.HELLO_WORLD. Now this...
> >
> >  > href="routes-login.rr" />
> >
> > does not seem to work( of course ).
> >
> > Please help. Thanks
> >
> > Richard
> >
> > -
> > 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 with Struts-Logic Tag

2005-02-22 Thread Richard Reyes
Hello Guys,

I have this tag ...



And I need to change hello.world to Konstants.HELLO_WORLD. Now this...



does not seem to work( of course ). 

Please help. Thanks

Richard

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



Re: Struts or SpringFramework

2005-02-18 Thread Richard Reyes
Hello,

Whats the advantage of using spring for your persitence layer when you
can do it with struts?

Thanks


On Fri, 18 Feb 2005 09:36:28 -, Marco Mistroni
<[EMAIL PROTECTED]> wrote:
> HI,
> Yes I was not clear..,
> I was meaning, handle your persistence layer using Spring along
> With Hibernate/ whatever spring supports... :-)
> 
> Sorry for being so short :-)
> 
> Regards
> marco
> 
> -Original Message-
> From: Vamsee Kanakala [mailto:[EMAIL PROTECTED]
> Sent: 18 February 2005 09:23
> To: Struts Users Mailing List
> Subject: Re: Struts or SpringFramework
> 
> Marco Mistroni wrote:
> 
> >   You can use both of them at same time, for example using Struts
> >for weblayer and Spring for persistence layer (if you have one..)
> >
> >
> >
> Huh? I thought Spring didn't have it's own persistence layer (as far as
> I know, Spring persists through iBatis or Hibernate).
> 
> Vamsee.
> 
> -
> 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: Carriage Returns in MessageResources.properties

2004-12-16 Thread Richard Reyes
will try them all thanks Catalin and Bill.


On Thu, 16 Dec 2004 08:57:15 -0500, Bill Siggelkow
<[EMAIL PROTECTED]> wrote:
> Maybe try using a double slash (\\r\\n) ...
> 
> Richard Reyes wrote:
> 
> > Hello Guys,
> >
> > How can I include a carriage return inside a properties file. I tried
> > \r\n and it show as \r\n on the
> > emails being sent.
> >
> > Thanks
> > Richard
> 
> 
> -
> 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]



Carriage Returns in MessageResources.properties

2004-12-15 Thread Richard Reyes
Hello Guys,

How can I include a carriage return inside a properties file. I tried
\r\n and it show as \r\n on the
emails being sent.

Thanks
Richard

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



Re: Struts Sample / Best Practices for Database access

2004-07-15 Thread Richard Reyes
Thanks Ted. Where can i get the mailreader webapp again?
Ted Husted wrote:
This is kind of a trick question, or at least a trick subject. 

In a Struts application, the best practice for database access is for Struts to be unaware that there is even such a thing as a database. If you are using the Struts best practice, then it shouldn't matter whether the database example is in a Struts application or not. 

The Struts Mailreader demonstrates an excellent practice for database access. It 
defines an POJO interface with the methods that accept and/or return the data that the 
application needs. The Actions expect that singleton instances of these plain-old Java 
objects will be in application scope under a known name. The Actions speak only to the 
interface. A Struts PlugIn loads an implementation of the interfaces into application 
scope under the expected names, and we are ready to rock.
The POJO JavaBeans can be implemented using whatever technology you like. They should 
not know there are living in a Struts application, or even a Web application, and 
should be fully testable. You should be able to write them using stock examples for 
your chosen technology, blissfully unaware of whether they will be used by Struts or 
not.
-Ted.
On Thu, 15 Jul 2004 14:16:29 +0800, Richard Reyes wrote:
 

Hi Guys,
Newbie question, where can i get struts sample application using
database components like DAO, JDO or Hibernate samples.
Thanks
Richard
   


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

 



Struts Sample / Best Practices for Database access

2004-07-14 Thread Richard Reyes
Hi Guys,
Newbie question, where can i get struts sample application using 
database components like DAO, JDO or Hibernate samples.

Thanks
Richard