test mail

2003-10-08 Thread rajendra . x . yadav
thanks
-raj





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



[OT] Invoking a Task.

2003-09-02 Thread rajendra . x . yadav
Hi All,
I have defined a task using Timer and TimerTask. I am running a Web
Application in Weblogic domain.
I want to invoke this Task program fom somewhere.
I don't want to use WL start up class and cannot put it in a load on
startup.
Please let me know what other options i have ?

thanks
-raj





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



RE: [OT] Invoking a Task.

2003-09-02 Thread rajendra . x . yadav

Thanks for your comments Danny.
I agree with you and i think now i know what options ( or no options) i
have.

thanks
-raj




   
 
  [EMAIL PROTECTED]

  america.com   To:   [EMAIL PROTECTED]

cc:
 
  02/09/2003 02:20  Subject:  RE: [OT] Invoking a Task.
 
  PM   
 
  Please respond to
 
  "Struts Users
 
  Mailing List"
 
   
 
   
 




Hi,

I don't think there are any options. When I last looked (a while back),
the J2EE1.4 spec didn't provide any means to set up timers through
configuration files, deployment descriptors, etc. Specifically, the
only way you could start a timer was through the API, which meant that
you needed some kind of event to fire first in order to make your code
run to set the timer, etc. A bit catch 22. The only solution as I see
it is to use a startup servlet, or else use some kind of external
scheduling approach (using Unix cron or Windows at) as detailed by other
over the last couple of days.

Rgds,

Dan.

--
Danny Yates



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 02 September 2003 06:42
To: [EMAIL PROTECTED]
Subject: [OT] Invoking a Task.


Hi All,
I have defined a task using Timer and TimerTask. I am running a Web
Application in Weblogic domain.
I want to invoke this Task program fom somewhere.
I don't want to use WL start up class and cannot put it in a load on
startup.
Please let me know what other options i have ?

thanks
-raj





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


_
Notice to recipient:
The information in this internet e-mail and any attachments is confidential
and may be privileged. It is intended solely for the addressee. If you are
not the intended addressee please notify the sender immediately by
telephone. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it,
is prohibited and may be unlawful.

When addressed to external clients any opinions or advice contained in this
internet e-mail are subject to the terms and conditions expressed in any
applicable governing terms of business or client engagement letter issued
by
the pertinent Bank of America group entity.

If this email originates from the U.K. please note that Bank of America,
N.A., London Branch, Banc of America Securities Limited and Banc of America
Futures Incorporated are regulated by the Financial Services Authority.
_



-
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] Scheduling

2003-09-01 Thread rajendra . x . yadav

Yes, I have done that. But, now i am stuck as to where to invoke it from.
I should not use Weblogic startup class.

Any inputs ?

thanks
-raj




   

  "Robert Taylor"  

  <[EMAIL PROTECTED]To:   "Struts Users Mailing List" 
<[EMAIL PROTECTED]>  
  .com>cc: 

   Subject:  RE: [OT] Scheduling   

  01/09/2003 03:46 

  PM   

  Please respond to

  "Struts Users

  Mailing List"

   

   





If you cannot use any third party tools, you can implement your own
schedular using java.util.Timer and java.util.TimerTask.

robert

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 01, 2003 1:37 AM
> To: [EMAIL PROTECTED]
> Subject: [OT] Scheduling
>
>
> Hi All,
> What would be the best implementation for scheduling a job in
> Weblogic/J2EE
> environment ?
>
>
> thanks
> -raj
>
>
>
>
> -
> 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] Scheduling

2003-09-01 Thread rajendra . x . yadav

Hi,
Can you throw some light on the Unix "cron". I have Weblogic running on
Unix. so, i guess i can use this solution.

thanks
-raj





   
 
  "Hue Holleran"   
 
  <[EMAIL PROTECTED]To:   "Struts Users Mailing List" 
<[EMAIL PROTECTED]>  
  Action.net>   cc:
 
Subject:  RE: [OT] Scheduling  
 
  01/09/2003 03:26 PM  
 
  Please respond to
 
  "Struts Users Mailing
 
  List"
 
   
 
   
 




Well, possibly not an elegant answer but...

1) Under *nix we've done this with "cron" and a "bash script" that invokes
"wget" to launch a servlet process.
2) Under Windows we've used a VBS script via "at"/"winat"/"Scheduled Tasks"
and "Microsoft.XMLHTTPRequest" to initiate a HTTP connection to launch a
servlet process.

Both have been very reliable (in fact both are in very widespread use on
several servers) - and this is nice as it does not require any 3rd party
components.

If this is along the lines of what you're trying to do let me know and I
can
post some code. As regards Weblogic, there's possibly a more elegant
solution, but sorry don't use it - so don't know.

Hue.

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 01 September 2003 06:37
> To: [EMAIL PROTECTED]
> Subject: [OT] Scheduling
>
>
> Hi All,
> What would be the best implementation for scheduling a job in
> Weblogic/J2EE
> environment ?
>
>
> thanks
> -raj
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.512 / Virus Database: 309 - Release Date: 19/08/2003
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 19/08/2003


-
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] Scheduling

2003-09-01 Thread rajendra . x . yadav

Thanks for the link Dan. I am afraid i can't use any 3rd party
tools/library.
Any other suggestion?

thanks
-raj




   

  "Dan Tran"   

  <[EMAIL PROTECTED]To:   "Struts Users Mailing List" 
<[EMAIL PROTECTED]>  
  .com>cc: 

   Subject:  Re: [OT] Scheduling   

  01/09/2003 11:29 

  AM   

  Please respond to

  "Struts Users

  Mailing List"

   

   





check out this link

http://demo.jgsullivan.com/struts/index.html

-Dan
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, August 31, 2003 10:36 PM
Subject: [OT] Scheduling


> Hi All,
> What would be the best implementation for scheduling a job in
Weblogic/J2EE
> environment ?
>
>
> thanks
> -raj
>
>
>
>
> -
> 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]



[OT] Scheduling

2003-09-01 Thread rajendra . x . yadav
Hi All,
What would be the best implementation for scheduling a job in Weblogic/J2EE
environment ?


thanks
-raj




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



[OT] Weblogic Caching

2003-08-29 Thread rajendra . x . yadav
Hi,
How to prevent Weblogic 8.1 sp1 from Caching the jar's, jsp's and other
files for a WEB APPLICATION.
It caches most of the stuff.

thanks
-raj




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



RE: J2EE IDE

2003-08-28 Thread rajendra . x . yadav

I have a HP workstation 4 CPU.. 1.7 GHz.. 512MB Ram.

thanks
-raj

VDS India
+91 44 2254-0281 ext. 1059
[EMAIL PROTECTED]



   
  
  "Paul Jackson"   
  
  <[EMAIL PROTECTED]    To:       Rajendra X. 
Yadav/EMPL/India/[EMAIL PROTECTED], "Struts Users Mailing List" 
  ianinfo.com <[EMAIL PROTECTED]>  
 
  >  cc:   
  
 Subject:  RE: J2EE IDE
  
  28/08/2003 04:55 AM  
  
  Please respond to
  
  "Struts Users
  
  Mailing List"
  
   
  
   
  




Sounds like you need to upgrade your machine. I have a standard PC (2
years old) and eclipse works fine on this...

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Sent: Wednesday, 27 August 2003 7:30 PM
To: Struts Users Mailing List
Subject: Re: J2EE IDE


OfCourse, I have tested it. Then only i can make these comments.
I was just expressing my views on Eclipse for other people who were
looking
for a IDE.
I have my own preferences for a IDE.

thanks
-raj






  "Kwok Peng Tuck"

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

   Subject:  Re: J2EE IDE

  27/08/2003 02:46

  PM

  Please respond to

  "Struts Users

  Mailing List"









Have you actually tested it ?
If  you haven't then try it and see for yourself.
Or you could try the other java based ide's around if you are not happy
with Eclipse.

[EMAIL PROTECTED] wrote:

>But eclipse has many problems at runtime.
>
>Boot up time is too high.
>Refresh time too high.
>Crashes very often.
>
>Am i  right on these points ?
>
>thanks
>-raj
>
>
>
>

>  "Firat TIRYAKI"

>  <[EMAIL PROTECTED]To:   "Struts Users
Mailing List" <[EMAIL PROTECTED]>
>  m.tr>cc:

>   Subject:  Re: J2EE IDE

>  27/08/2003 01:33

>  PM

>  Please respond to

>  "Struts Users

>  Mailing List"

>

>

>
>
>
>
>you should use eclipse, it doesn't use swing for GUI's, and it's faster
>than
>the others.
>
>F.
>
>- Original Message -
>From: <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Wednesday, August 27, 2003 9:46 AM
>Subject: J2EE IDE
>
>
>
>
>>Can someone please suggest me a free J2EE IDE suitable for development
of
>>webapps using STRUTS. I know of some IDE's like the FORTE, ECLIPSE,
>>NETBEANS. However I wanted to ckeckout if anyone has already evaluated
>>
>>
>any
>
>
>>of these since I am not sure which one is easy to use and has
reasonably
>>good features as well.
>>
>>Regards
>>Sreekant G
>>
>>
>>
>>
>>
>
>
>



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

RE: J2EE IDE

2003-08-28 Thread rajendra . x . yadav

Oh well.. :)
Gel IDE from GeExperts.. it's free.. never expires..  u can writep lugins
for that.. and it's light weight...
 i think it's a matter of what ide u get used to.. :)

thanks
-raj

VDS India
+91 44 2254-0281 ext. 1059
[EMAIL PROTECTED]



   

  "Butt, Dudley"   

  <[EMAIL PROTECTED]To:   "'Struts Users Mailing 
List'" <[EMAIL PROTECTED]>
  an.co.za>cc: 

   Subject:  RE: J2EE IDE  

  28/08/2003 11:23 

  AM   

  Please respond to

  "Struts Users

  Mailing List"

   

   





the only gel i tried is ...well, ok, come one...u know, the nice slidy
stuff?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 28, 2003 7:51 AM
To: Struts Users Mailing List
Subject: RE: J2EE IDE



Anyone tried Gel from GeExperts.

thanks
-raj

VDS India
+91 44 2254-0281 ext. 1059
[EMAIL PROTECTED]




  "Mike Duffy"

  <[EMAIL PROTECTED]To:   "Struts Users
Mailing List" <[EMAIL PROTECTED]>
  oo.com>  cc:

   Subject:  RE: J2EE IDE

  28/08/2003 10:14

  AM

  Please respond to

  "Struts Users

  Mailing List"







I agree with the points David makes below.

Eclipse Rocks.  And with the plugin framework, it is getting better all the
time.

I run Eclipse on Windows XP at work and on Linux 9.0 at home.  No problems.

Mike

--- "Hibbs, David" <[EMAIL PROTECTED]> wrote:
> a) Boot time :  I haven't met a Java-based IDE that didn't have high boot
> time.  That said, the core IDE boots pretty fast on my home machine (1GHz
> P4) -- much faster than NetBeans. Caveat--I quit using NetBeans because
a)
> it was outclassed by Eclipse and b) I felt that the releases were
becoming
> less stable.
>
> b) Refresh time : huh?  I have no problems.  Perhaps you need to disable
the
> auto-compile feature?  From the menu bar, select
> Window->Preferences->Workbench, uncheck "Perform build automatically on
> resource modification," and hit OK.
>
> c) Crashes  I've been using eclipse both at home and at work for
almost
> a year and a half, and not once has it crashed.  (Yes, this means I
started
> using it even with the 1.0 release!)  So I don't know what your problem
is
> here if you are complaining about crashes--perhaps an incompatible JRE or
OS
> (or just don't have enough memory) ? Another possibility is a bad plugin;
> have you installed any 3rd party plugins?
>
> d) No, you're not right on these points. ;^)
>
> David Hibbs
> Staff Programmer / Analyst
> American National Insurance Company
>
> > -Original Message-
> > But eclipse has many problems at runtime.
> >
> > Boot up time is too high.
> > Refresh time too high.
> > Crashes very often.
> >
> > Am i  right on these points ?
> >
> > thanks
> > -raj
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.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]


NOTICE:

This message contains privi

RE: J2EE IDE

2003-08-28 Thread rajendra . x . yadav

Anyone tried Gel from GeExperts.

thanks
-raj

VDS India
+91 44 2254-0281 ext. 1059
[EMAIL PROTECTED]



   

  "Mike Duffy" 

  <[EMAIL PROTECTED]To:   "Struts Users Mailing List" 
<[EMAIL PROTECTED]>  
  oo.com>  cc: 

   Subject:  RE: J2EE IDE  

  28/08/2003 10:14 

  AM   

  Please respond to

  "Struts Users

  Mailing List"

   

   





I agree with the points David makes below.

Eclipse Rocks.  And with the plugin framework, it is getting better all the
time.

I run Eclipse on Windows XP at work and on Linux 9.0 at home.  No problems.

Mike

--- "Hibbs, David" <[EMAIL PROTECTED]> wrote:
> a) Boot time :  I haven't met a Java-based IDE that didn't have high boot
> time.  That said, the core IDE boots pretty fast on my home machine (1GHz
> P4) -- much faster than NetBeans. Caveat--I quit using NetBeans because
a)
> it was outclassed by Eclipse and b) I felt that the releases were
becoming
> less stable.
>
> b) Refresh time : huh?  I have no problems.  Perhaps you need to disable
the
> auto-compile feature?  From the menu bar, select
> Window->Preferences->Workbench, uncheck "Perform build automatically on
> resource modification," and hit OK.
>
> c) Crashes  I've been using eclipse both at home and at work for
almost
> a year and a half, and not once has it crashed.  (Yes, this means I
started
> using it even with the 1.0 release!)  So I don't know what your problem
is
> here if you are complaining about crashes--perhaps an incompatible JRE or
OS
> (or just don't have enough memory) ? Another possibility is a bad plugin;
> have you installed any 3rd party plugins?
>
> d) No, you're not right on these points. ;^)
>
> David Hibbs
> Staff Programmer / Analyst
> American National Insurance Company
>
> > -Original Message-
> > But eclipse has many problems at runtime.
> >
> > Boot up time is too high.
> > Refresh time too high.
> > Crashes very often.
> >
> > Am i  right on these points ?
> >
> > thanks
> > -raj
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.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]



JSTL

2003-08-27 Thread rajendra . x . yadav
Hi,
Can I just download the JSTL without downloading the JWSDP ?

thanks
-raj




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



Re: J2EE IDE

2003-08-27 Thread rajendra . x . yadav

OfCourse, I have tested it. Then only i can make these comments.
I was just expressing my views on Eclipse for other people who were looking
for a IDE.
I have my own preferences for a IDE.

thanks
-raj




   

  "Kwok Peng Tuck" 

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

   Subject:  Re: J2EE IDE  

  27/08/2003 02:46 

  PM   

  Please respond to

  "Struts Users

  Mailing List"

   

   





Have you actually tested it ?
If  you haven't then try it and see for yourself.
Or you could try the other java based ide's around if you are not happy
with Eclipse.

[EMAIL PROTECTED] wrote:

>But eclipse has many problems at runtime.
>
>Boot up time is too high.
>Refresh time too high.
>Crashes very often.
>
>Am i  right on these points ?
>
>thanks
>-raj
>
>
>
>

>  "Firat TIRYAKI"

>  <[EMAIL PROTECTED]To:   "Struts Users
Mailing List" <[EMAIL PROTECTED]>
>  m.tr>cc:

>   Subject:  Re: J2EE IDE

>  27/08/2003 01:33

>  PM

>  Please respond to

>  "Struts Users

>  Mailing List"

>

>

>
>
>
>
>you should use eclipse, it doesn't use swing for GUI's, and it's faster
>than
>the others.
>
>F.
>
>- Original Message -
>From: <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Wednesday, August 27, 2003 9:46 AM
>Subject: J2EE IDE
>
>
>
>
>>Can someone please suggest me a free J2EE IDE suitable for development of
>>webapps using STRUTS. I know of some IDE's like the FORTE, ECLIPSE,
>>NETBEANS. However I wanted to ckeckout if anyone has already evaluated
>>
>>
>any
>
>
>>of these since I am not sure which one is easy to use and has reasonably
>>good features as well.
>>
>>Regards
>>Sreekant G
>>
>>
>>
>>
>>
>
>
>


>
>
>
>
>
>
>>-
>>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]



Re: J2EE IDE

2003-08-27 Thread rajendra . x . yadav

But eclipse has many problems at runtime.

Boot up time is too high.
Refresh time too high.
Crashes very often.

Am i  right on these points ?

thanks
-raj



   

  "Firat TIRYAKI"  

  <[EMAIL PROTECTED]To:   "Struts Users Mailing List" 
<[EMAIL PROTECTED]>  
  m.tr>cc: 

   Subject:  Re: J2EE IDE  

  27/08/2003 01:33 

  PM   

  Please respond to

  "Struts Users

  Mailing List"

   

   





you should use eclipse, it doesn't use swing for GUI's, and it's faster
than
the others.

F.

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 27, 2003 9:46 AM
Subject: J2EE IDE


> Can someone please suggest me a free J2EE IDE suitable for development of
> webapps using STRUTS. I know of some IDE's like the FORTE, ECLIPSE,
> NETBEANS. However I wanted to ckeckout if anyone has already evaluated
any
> of these since I am not sure which one is easy to use and has reasonably
> good features as well.
>
> Regards
> Sreekant G
>
>
>







> -
> 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]



[OT] Updating multiple textarea

2003-08-26 Thread rajendra . x . yadav
Hi,
I have multiple textboxes in one page which i display in a while loop. So,
till the while is true, textboxes will display.
Now, I have to update all of them in one shot. So, when the user hits the
Update button, how do I get the text of the textboxes to pass to the UPdate
query.

thanks
-raj




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



test only.. ignore !!!

2003-08-26 Thread rajendra . x . yadav
test onlt
thanks
-raj




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



RE: Disallow user to modify URL in browser address bar

2003-08-22 Thread rajendra . x . yadav

This looks reliable enough, but still i would suggest to do a role and user
chec on each page (only if the application requires it)

thanks
-raj



   

  sriram   

  <[EMAIL PROTECTED]To:   "'Struts Users Mailing 
List'" <[EMAIL PROTECTED]>
  h.com>       cc:   Rajendra X. 
Yadav/EMPL/India/[EMAIL PROTECTED]  
   Subject:  RE: Disallow user to modify 
URL in browser address bar
  22/08/2003 06:13 

  PM   

  Please respond to

  "Struts Users

  Mailing List"

   

   





Rajendra,

I've used the following code in my .jsp page:

<%
if ((request.getHeader("referer")=="") || (request.getHeader("referer")
==null)) {
%>
 
<%
}
%>

If the user tries to manipulate the URL in the address bar, "referer"
becomes null.

It works..but not sure how reliable is this!

Sriram

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, August 22, 2003 2:09 PM
To: Struts Users Mailing List
Subject: Re: Disallow user to modify URL in browser address bar



If the user is allowed to view the page, then no problem. If he is not..
then you should have some sessionid authentication and user role and
privilige authentication in every page.

I think that's the only way of preventing a user to go to a restricted
page.

thanks
-raj




  sriram

  <[EMAIL PROTECTED]To:   "'Struts Users
Mailing List'" <[EMAIL PROTECTED]>
  h.com>   cc:

   Subject:  Disallow user to
modify URL in browser address bar
  22/08/2003 11:45

  AM

  Please respond to

  "Struts Users

  Mailing List"







How to identify if user has manipulated the URL in Address Bar of the
browser?

For ex., the application displays a page with the following URL:

http://localhost:8080/app/str/testview_srchpost.do

Now, the user modifies the URL in the address bard. Instead of
testview_srchpost.do, user types testtwoview_srchpost.do and clicks ENTER.

I want to restrict such types of URL modification Struts application. I
should take the user to a default access denied page when ever user does
such changes.

How to identify this action of the user? Pl. give some ideas.







-
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: Struts Action or EJB session bean

2003-08-22 Thread rajendra . x . yadav

Struts Upload Action.

thanks
-raj



   

  "Erez Efrati"

  <[EMAIL PROTECTED]To:   "'Struts Users Mailing 
List'" <[EMAIL PROTECTED]>
  et.il>   cc: 

   Subject:  Struts Action or EJB session 
bean 
  22/08/2003 05:32 

  PM   

  Please respond to

  "Struts Users

  Mailing List"

   

   





My EJB/Web application lets users upload files to the system and later
serve them those files when needed. My question is:
Who should or recommended to handle the saving of the uploaded file? The
EJB session bean or the struts UploadAction?

Thanks in advance,
Erez






-
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: Disallow user to modify URL in browser address bar

2003-08-22 Thread rajendra . x . yadav

If the user is allowed to view the page, then no problem. If he is not..
then you should have some sessionid authentication and user role and
privilige authentication in every page.

I think that's the only way of preventing a user to go to a restricted
page.

thanks
-raj



   

  sriram   

  <[EMAIL PROTECTED]To:   "'Struts Users Mailing 
List'" <[EMAIL PROTECTED]>
  h.com>   cc: 

   Subject:  Disallow user to modify URL 
in browser address bar
  22/08/2003 11:45 

  AM   

  Please respond to

  "Struts Users

  Mailing List"

   

   





How to identify if user has manipulated the URL in Address Bar of the
browser?

For ex., the application displays a page with the following URL:

http://localhost:8080/app/str/testview_srchpost.do

Now, the user modifies the URL in the address bard. Instead of
testview_srchpost.do, user types testtwoview_srchpost.do and clicks ENTER.

I want to restrict such types of URL modification Struts application. I
should take the user to a default access denied page when ever user does
such changes.

How to identify this action of the user? Pl. give some ideas.







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



RE: Form Post to HTTPS

2003-08-15 Thread rajendra . x . yadav

Thanks for the prompt reply Andrew. :)
I am afraid that I will not be able to use any 3rd party libraries.
Considering, I do the POST from the servlet in the doPost() method, so it's
my assumption that I will get the response in the doGet method.. is that
correct ?

thanks
-raj



   

  "Andrew Hill"

  <[EMAIL PROTECTED]To:   "Struts Users Mailing List" 
<[EMAIL PROTECTED]>  
  idnode.com>  cc: 

   Subject:  RE: Form Post to HTTPS

  15/08/2003 01:08 PM  

  Please respond to

  "Struts Users Mailing

  List"; Please respond

  to andrew.david.hill 

   

   





Take a look at the HttpClient project. That might have what you need.
http://jakarta.apache.org/commons/httpclient/features.html

You would do the posting from the servlet or action. (Its no good setting
up
a jsp to render a pafe that is used to post the data as it would be the
users browser that actually posts, and thus receives the response).

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, 15 August 2003 15:31
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Form Post to HTTPS


Hi All,
This is a non-struts related question... sorry about that.. but seeing such
a active particiaption by so many good technical people, i am inclicned to
put my question here.

I have to a form post to a HTTPS URL. The URL after getting the request
will send a response which I have to capture.
Now, I can do a Form POST from a jsp passing in all the parameters the URL
requires, but how will I capture the response ??
So, is it a good idea to do the POST from a Servlet and if yes... then how
to do it ?

I appreciate the time...

thanks
-raj




-
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]



Form Post to HTTPS

2003-08-15 Thread rajendra . x . yadav
Hi All,
This is a non-struts related question... sorry about that.. but seeing such
a active particiaption by so many good technical people, i am inclicned to
put my question here.

I have to a form post to a HTTPS URL. The URL after getting the request
will send a response which I have to capture.
Now, I can do a Form POST from a jsp passing in all the parameters the URL
requires, but how will I capture the response ??
So, is it a good idea to do the POST from a Servlet and if yes... then how
to do it ?

I appreciate the time...

thanks
-raj




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



RE: How to configure a struts application

2003-08-14 Thread rajendra . x . yadav

First of all i get a SAX Parser exception while starting Tomcat.
Then, when i try to run a simple jsp page with struts, it says resource
test.do not found.

thanks
-raj




   

  "Kalra, Ashwani" 

  <[EMAIL PROTECTED]To:   "'Struts Users Mailing 
List'" <[EMAIL PROTECTED]>
  ey.com>  cc: 

   Subject:  RE: How to configure a struts 
application 
  07/08/2003 11:42 

  AM   

  Please respond to

  "Struts Users

  Mailing List"

   

   






> Tomcat, I am suffering and no luck yet. I hate it now.
Its easy with tomcat also. What ever you did for weblogic , its same as
that.
What problem you faced ?


Cheers
Ashwani Kalra





>
>
>
>
>
>   "Nimmagadda, Ravikumar
>
>
>   (CORP, GEITC,   To:
>   "Struts Users Mailing List"
> <[EMAIL PROTECTED]>
>   Contractor)"cc:
>
>
>   <[EMAIL PROTECTED]
> Subject:  How to configure a struts application
>
>   ind.ge.com>
>
>
>
>
>
>   07/08/2003 11:20 AM
>
>
>   Please respond to
>
>
>   "Struts Users Mailing
>
>
>   List"
>
>
>
>
>
>
>
>
>
>
>
>
> Hi *,
> I am new to Struts.
> can any one let me know how to configure a struts application
> on either
> Tomcat4.1 or weblogic.6.x
> Thanks in advance.
> Ravi
>
> -
> 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]
>


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]



Re: How to configure a struts application

2003-08-14 Thread rajendra . x . yadav

Tomcat, I am suffering and no luck yet. I hate it now.
It's very easy to do it in Weblogic.
- Do not put struts.jar in Weblogic classpath or any other classpath it
reads.
- Struts.jar should be in your Web Application's WEB-INF/lib
- Make sure you "include" struts.jar in your web application .war file
while building it.

Other then this, a Struts web application just deploys fine like any other
web application on weblogic.

thanks
-raj



   
   
  "Nimmagadda, Ravikumar   
   
  (CORP, GEITC,   To:   "Struts Users Mailing 
List" <[EMAIL PROTECTED]>  
  Contractor)"cc:  
   
  <[EMAIL PROTECTED]Subject:  How to configure a struts 
application 
  ind.ge.com>  
   
   
   
  07/08/2003 11:20 AM  
   
  Please respond to
   
  "Struts Users Mailing
   
  List"
   
   
   
   
   




Hi *,
I am new to Struts.
can any one let me know how to configure a struts application on either
Tomcat4.1 or weblogic.6.x
Thanks in advance.
Ravi

-
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 Struts with Tomcat

2003-08-14 Thread rajendra . x . yadav
Hi,
I am trying to run a one page of struts with Tomcat 4.2.27
I have my "sturtstest" application in webapps folder of Tomcat and
struts.jar is in WEB-INF/lib of strutstest.
During startup of Tomcat, it comes with a SAXParseException and when i run
the jsp page it says the "requested resource "test.do" is not available.

Please help 


thanks
-raj




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



Re: [OT] - [TOPIC] - [VOTE]

2003-08-10 Thread rajendra . x . yadav

Yes, it's a big company in India and other places also. One of the leading
services company in India.. right Puneet ?

thanks
-raj



   

  "Puneet Agarwal" 

  <[EMAIL PROTECTED]To:   "Struts Users Mailing List" 
<[EMAIL PROTECTED]>  
  s.co.in> cc: 

   Subject:  Re: [OT] - [TOPIC] - [VOTE]   

  05/08/2003 09:24 

  PM   

  Please respond to

  "Struts Users

  Mailing List"

   

   






www.tcs.com : Check-it-out guys its a billion dollar company...!!!

Regards,
Puneet Agarwal

Tata Consultancy Services,
C-56, Phase - II, NOIDA 201305 (India)
Phone: +91-120-2461001, 2, 7, 8, 9, 12, 13 (Ext. 1031)
FAX              : +91-120-246 1521

Struts ... Action ... Struts in Action ... Action in Struts ...



"Brian Lee"

<[EMAIL PROTECTED]To:
[EMAIL PROTECTED]
tmail.com> cc:

   Subject: Re: [OT] - [TOPIC]
- [VOTE]
08/05/03 06:59

PM

Please respond

to "Struts

Users Mailing

List"







Isn't "Tata Consultancy Services" an odd name for an IT biz. It sounds like
a cosmetic surgeon's office or something.

BAL

>From: "Puneet Agarwal" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: [OT] - [TOPIC]  - [VOTE]
>Date: Tue, 5 Aug 2003 10:37:44 +0530
>
>
>Regards,
>Puneet Agarwal
>
>Tata Consultancy Services,
>C-56, Phase - II, NOIDA 201305 (India)
>
>Struts ... Action ... Struts in Action ... Action in Struts ...
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus


-
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: A Relevant Observation

2003-08-09 Thread rajendra . x . yadav

OK. Thanks :)
But i did not get that how you posted the article for Europeans?

thanks
-raj



   

  "Mark Galbreath" 

  <[EMAIL PROTECTED]To:   "'Struts Users Mailing 
List'" <[EMAIL PROTECTED]>
  at.com>  cc: 

   Subject:  RE: A Relevant Observation

  06/08/2003 07:23 

  PM   

  Please respond to

  "Struts Users

  Mailing List"

   

   





I did - look below at my msg...but for the benefit of the Europeans, I
posted the article to this list.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 9:47 AM
To: Struts Users Mailing List
Subject: Re: A Relevant Observation



Can you give the URL ?

thanks
-raj





  "Mark Galbreath"

  <[EMAIL PROTECTED]To:   "'Struts Users
Mailing List'" <[EMAIL PROTECTED]>, "'Rich'"
  at.com>   <[EMAIL PROTECTED]>,
"'Antoine Chahine'" <[EMAIL PROTECTED]>
   cc:

  06/08/2003 07:13 Subject:  A Relevant
Observation
  PM

  Please respond to

  "Struts Users

  Mailing List"









Check out the June issue of "Java Developer's Journal" (vol. 8, issue 6),
page 8.  I agree 100 percent with Joseph Ottinger.  Things have gotten
entirely out of hand.

http://sys-con.com/java/ -> content:editorial -> vol. 8, issue 6


Mark



-
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]



Struts with Tomcat 4.1.27 ??

2003-08-08 Thread rajendra . x . yadav
Hi All,
Do Struts works with Tomcat 4.1.27 ?

thanks
-raj




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



Re: A Relevant Observation

2003-08-06 Thread rajendra . x . yadav

Can you give the URL ?

thanks
-raj



   

  "Mark Galbreath" 

  <[EMAIL PROTECTED]To:   "'Struts Users Mailing 
List'" <[EMAIL PROTECTED]>, "'Rich'"  
  at.com>   <[EMAIL PROTECTED]>, "'Antoine 
Chahine'" <[EMAIL PROTECTED]>  
   cc: 

  06/08/2003 07:13 Subject:  A Relevant Observation

  PM   

  Please respond to

  "Struts Users

  Mailing List"

   

   





Check out the June issue of "Java Developer's Journal" (vol. 8, issue 6),
page 8.  I agree 100 percent with Joseph Ottinger.  Things have gotten
entirely out of hand.

http://sys-con.com/java/ -> content:editorial -> vol. 8, issue 6


Mark



-
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: Database Connection

2003-07-31 Thread rajendra . x . yadav

Make sure the driver class is in classpath.

thanks
-raj



   

  "Chirag Mehta"   

  <[EMAIL PROTECTED]To:   "Struts Users Mailing List" 
<[EMAIL PROTECTED]>  
  tanley.com>  cc: 

   Subject:  Database Connection   

  31/07/2003 05:00 PM  

  Please respond to

  "Struts Users Mailing

  List"; Please respond

  to Chirag.Mehta  

   

   





Hello,

I have just started developing with Struts and was wondering if anyone
could help me connect to a Sybase Database using my webapp?

I have set up my JSP page, actionform and action. I have set the datasource
properies in my config.xml and am calling them from my action. It is giving
me a class not found exception like below.

java.sql.SQLException: open: java.lang.ClassNotFoundException:
com.sybase.jdbc2.jdbc.SybDriver
 at
org.apache.struts.legacy.GenericDataSource.open(GenericDataSource.java:735)
 at org.apache.struts.action.ActionServlet.initModuleDataSources(Unknown
Source)
 at org.apache.struts.action.ActionServlet.init(Unknown Source)
 at javax.servlet.GenericServlet.init(GenericServlet.java:256)
 at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)


Anyone got any ideas what i maybe ding wrong.

One other question. Does anyone know of any drivers that connect to a
informix DB and how to use them?

Sorry if this is a very basic question. I am only a first yr undergraduate!

Chirag

-
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 needed in Struts deployment on Weblogic 8.1

2003-07-30 Thread rajendra . x . yadav

the ear should know where the war  is.
Are you using ant ?
Where you make your web app... make sure you include struts.jat in   
  com> cc: 

   Subject:  RE: Help needed in Struts 
deployment on Weblogic 8.1  
  30/07/2003 08:46 

  PM   

  Please respond to

  "Struts Users

  Mailing List"

   

   





Hi Rajendra,

The problem is - f I only deploy the .war of my application. It works
fine. However, if I deploy the same .war within a .ear file, the error
appears.

Regards,
Sourav

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Sent: Wednesday, July 30, 2003 6:52 PM
To: Struts Users Mailing List
Subject: Re: Help needed in Struts deployment on Weblogic 8.1


This note might help:

Appservers are not meant to make everything deployed on them accessible
to
the classpath of everything else. You still need to tell it where things
lie. I'll assume that the servlet is in a WAR file, and the WAR file, in
turn, is packaged in an EAR file, like this:
 theEar.ear
 |-- theEjb.jar
 |-- theWar.war
 |-- lib/libJar.jar

theWar.war then, in order to find the EJB, needs to have a MANIFEST.MF
file
in it, with a Class-Path entry of theEjb.jar (the packaging as according
to
the relative locations in the EAR file).


If you have a class that doesn't live in either the EJB jar or the WAR
archive, then you should package that up into a jar file, and put it in
the
EAR (like lib/libJar.jar). Then, extend the Class-Path entry for
theWar.war
to include lib/libJar.jar. Likewise, if the EJB jar needs it, extend the
Class-Path entry in it's MANIFEST.MF file.


These issues are covered in the J2EE 1.3 spec, and the Java Extension
Mechanism Spec. (J2EE 1.2 was meant to use this as well, but it was only
implicit, not explicit.)

thanks
-raj





  "Navneet Saraogi"

  <[EMAIL PROTECTED]To:
[EMAIL PROTECTED]

  nfosys.com>   cc:

Subject:  Help needed in
Struts deployment on Weblogic 8.1
  30/07/2003 06:40

  PM

  Please respond to

  "Struts Users

  Mailing List"









Hi,
 We've a application that uses Struts 1.0 & Ejb's... This
application is deployed on Weblogic 8.1 on a Windows XP machine... We've
created an ear for the application and deployed it using the admin
console... The familiar classNotFound issue has been hauting us for some
time... Initially I placed the struts.jar in the WEB-INF\lib of the web
module(web.war) and deployed only the web module... It was working fine
till then... Then I added a ejb module(ejb.jar) and created a app.ear
using these files... This is when the problem started... Initially the
ActionForm class of the struts package was not getiing loaded... We
moved the struts.jar from the web-inf\lib to applib folder of the ear...
This issue was resolved but then the classes present in the .war files
were not getting loaded...
 We've other jar files that were initially present in the
WEB-INF\lib folder which were also not getting loaded... We then moved
all the jar files to the outer most ear... Even then the issue was not
resolved... We added the MANIFEST.MF file to the web.war & ejb.jar
specifying the classpath for the jar files... No solution still... Next
we added the classpath to the MANIFEST.MF file of the ear... Still no
solution... We tried probably every possible permutation & combination
of placing the jar files in the various modules but some classes never
get loaded... What is the solution to this problem??  We are using a
evaluation copy of Weblogic... Is it because of that??? If not, is it an
inherent problem with struts 1.0 (in this case should we use struts
1.1??)

Any help in this matter would be welcomed.

Re: Running Struts 1.0.2 in WebLogic 7.0

2003-07-30 Thread rajendra . x . yadav

struts.jar should NOT be in your weblogic classpath or the classpath it
reads while booting.

thanks
-raj



   

  souravm  

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

   Subject:  Running Struts 1.0.2 in 
WebLogic 7.0  
  30/07/2003 06:56 

  PM   

  Please respond to

  "Struts Users

  Mailing List"

   

   





Hi All,

I've deployed struts 1.0.2 in WebLogic 7.0.
Now when I'm trying to access a JSP which uses Struts ActionForm I'm
getting NoClassDefFoundError :

 -

   <101017>
<[ServletContext(id=460784
7,name=mizuhoapplicationweb.war,context-path=/mizuhoapp)] Root cause of
ServletE
xception
java.lang.NoClassDefFoundError: org/apache/struts/action/ActionForm
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:493)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:11
1)
at
weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
ClassLoader.java:390)
at
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClass
Loader.java:152)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at
weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAw
areClassLoader.java:43)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at
org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:563)
at
jsp_servlet._jsps.__namazusearch._jspService(__namazusearch.java:142)

at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:945)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:332)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:376)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:242)
at
weblogic.servlet.internal.RequestDispatcherImpl$ForwardAction.run(Req
uestDispatcherImpl.java:341)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:721)
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
cherImpl.java:251)
at
org.apache.struts.action.ActionServlet.processActionForward(ActionSer
vlet.java:1759)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:159
6)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:945)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:332)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:242)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:5363)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:721)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3043)
at
weblogic.servlet.internal.ServletRequestImpl.exec

Re: Help needed in Struts deployment on Weblogic 8.1

2003-07-30 Thread rajendra . x . yadav

This note might help:

Appservers are not meant to make everything deployed on them accessible to
the classpath of everything else. You still need to tell it where things
lie. I'll assume that the servlet is in a WAR file, and the WAR file, in
turn, is packaged in an EAR file, like this:
 theEar.ear
 |-- theEjb.jar
 |-- theWar.war
 |-- lib/libJar.jar

theWar.war then, in order to find the EJB, needs to have a MANIFEST.MF file
in it, with a Class-Path entry of theEjb.jar (the packaging as according to
the relative locations in the EAR file).


If you have a class that doesn't live in either the EJB jar or the WAR
archive, then you should package that up into a jar file, and put it in the
EAR (like lib/libJar.jar). Then, extend the Class-Path entry for theWar.war
to include lib/libJar.jar. Likewise, if the EJB jar needs it, extend the
Class-Path entry in it's MANIFEST.MF file.


These issues are covered in the J2EE 1.3 spec, and the Java Extension
Mechanism Spec. (J2EE 1.2 was meant to use this as well, but it was only
implicit, not explicit.)

thanks
-raj



   
 
  "Navneet Saraogi"
 
  <[EMAIL PROTECTED]To:   [EMAIL PROTECTED]

  nfosys.com>   cc:
 
Subject:  Help needed in Struts 
deployment on Weblogic 8.1  
  30/07/2003 06:40 
 
  PM   
 
  Please respond to
 
  "Struts Users
 
  Mailing List"
 
   
 
   
 




Hi,
 We've a application that uses Struts 1.0 & Ejb's... This
application is deployed on Weblogic 8.1 on a Windows XP machine... We've
created an ear for the application and deployed it using the admin
console... The familiar classNotFound issue has been hauting us for some
time... Initially I placed the struts.jar in the WEB-INF\lib of the web
module(web.war) and deployed only the web module... It was working fine
till then... Then I added a ejb module(ejb.jar) and created a app.ear
using these files... This is when the problem started... Initially the
ActionForm class of the struts package was not getiing loaded... We
moved the struts.jar from the web-inf\lib to applib folder of the ear...
This issue was resolved but then the classes present in the .war files
were not getting loaded...
 We've other jar files that were initially present in the
WEB-INF\lib folder which were also not getting loaded... We then moved
all the jar files to the outer most ear... Even then the issue was not
resolved... We added the MANIFEST.MF file to the web.war & ejb.jar
specifying the classpath for the jar files... No solution still... Next
we added the classpath to the MANIFEST.MF file of the ear... Still no
solution... We tried probably every possible permutation & combination
of placing the jar files in the various modules but some classes never
get loaded... What is the solution to this problem??  We are using a
evaluation copy of Weblogic... Is it because of that??? If not, is it an
inherent problem with struts 1.0 (in this case should we use struts
1.1??)

Any help in this matter would be welcomed...

Navneet Saraogi

-
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: Development time using Struts,

2003-07-29 Thread rajendra . x . yadav

You r right about the EJB part. It really effects the performance and  i
think for a developer it's a nightmare just adding layers upon layers
to make a single function call.


thanks
-raj



   
   
  "Konstadinis Euaggelos"  
   
  <[EMAIL PROTECTED]To:   "Struts Users Mailing List" 
<[EMAIL PROTECTED]>  
  urodyn.com> cc:  
   
  Subject:  Development time using 
Struts,
  29/07/2003 01:26 PM  
   
  Please respond to
   
  "Struts Users Mailing
   
  List"
   
   
   
   
   




Hi to all,  I want to raise a question here about development time using
Struts,

I am using Struts about 4-months now,
I found it a very good framework for developing web-applications,  but the
devolpment time in contrary with the  classicc way(jsp, serlvet)
is much more using Struts.

Also i find it useless when you use ejb in your applications, you have to
make  "MANY" iteration to pass parameters & results from front-end to
back-end and vice-versa, which of cource costs to much in performance.


I would like to hear other struts-developers for their experience.


Vangos.












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



Design in Struts

2003-07-27 Thread rajendra . x . yadav
Hi All,
I need some guidance about the design prespective of a Web Application
using Struts.

Is it advisable to have a Action with each Form?
If not, then How to have a single action for all your forms and do some
sort of redirection internally ?


thanks
-raj




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



Re: Form Bean Not Called Why ?

2003-07-24 Thread rajendra . x . yadav

Yes.. whenever i used to add  enctype="multipart/form-data" in my form, the
file never used to upload. Then i switched to a 3rd part Java API to do the
file uploading. It's free and a very small one.
If you need  i can send it to you.

thanks
-raj



   

  "Puneet Agarwal" 

  <[EMAIL PROTECTED]To:   [EMAIL PROTECTED]

  s.co.in> cc: 

   Subject:  Form Bean Not Called Why ?

  24/07/2003 03:56 

  PM   

  Please respond to

  "Struts Users

  Mailing List"

   

   





I am trying to upload a file using commons-fileupload API, but as soon as
do I add
   enctype="multipart/form-data"
to my form in JSP, the form bean is not called anymore.

can someone there help me find the problem with this...???

Regards,
Puneet Agarwal

Tata Consultancy Services,
C-56, Phase - II, NOIDA 201305 (India)
Phone: +91-120-2461001, 2, 7, 8, 9, 12, 13 (Ext. 1031)
FAX              : +91-120-246 1521

Struts ... Action ... Struts in Action ... Action in Struts ...


-
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: how long has struts been going now?

2003-07-24 Thread rajendra . x . yadav

It's been more then a year now.

thanks
-raj



   

  "Butt, Dudley"   

  <[EMAIL PROTECTED]To:   "Struts Users Mailing List" 
<[EMAIL PROTECTED]>  
  an.co.za>cc: 

   Subject:  how long has struts been 
going now?   
  24/07/2003 02:41 

  PM   

  Please respond to

  "Struts Users

  Mailing List"

   

   





just a quick q


NOTICE:

This message contains privileged and confidential information intended
only for the person or entity to which it is addressed.
Any review, retransmission, dissemination, copy or other use of, or
taking of any action in reliance upon this information by persons or
entities other than the intended recipient, is prohibited.

If you received this message in error, please notify the sender
immediately by e-mail, facsimile or telephone and thereafter delete the
material from any computer.

The New Africa Capital Group, its subsidiaries or associates do not
accept liability for any personal views expressed in 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]



Re: Struts MVC framework similar to that of a servletcontainer?

2003-07-21 Thread rajendra . x . yadav

Sandeep,
You mentioned role based actions in your list... which has caught my eye.
Can you please elaborate on this ? Or point me to some documentation ?

thanks
-raj



   

  "Sandeep Takhar" 

  <[EMAIL PROTECTED]To:   "Struts Users Mailing List" 
<[EMAIL PROTECTED]>  
  ahoo.com>cc: 

   Subject:  Re: Struts MVC framework 
similar to that of a servlet container?  
  21/07/2003 06:08 

  PM   

  Please respond to

  "Struts Users

  Mailing List"

   

   





there's a lot of stuff it gives you out of the box.

1. solid code
2. validation framework
3. tile framework
4. auto-population framework
5. role based actions
6. xml configuration of all the links or actions of
your application
7. best practices framework bundling (scaffolding)
complete with examples (many years of experience went
into this one).
8. ease of use

I am missing about twice as many things from this list
I am sure...

the servlet container is sun's way of making sure that
what you build is timeless (and works on their
servers...)

Struts solves common problems across every typical
application.  The servlet container does not solve
these typical problems.  Struts is really a pattern...

sandeep
--- Ranko Bijelonic <[EMAIL PROTECTED]> wrote:
>
> Hi.  I've been using Struts for a long time, and
> I've been very happy with
> the framework.  However, a recent discussion on
> Sun's Java forums has left
> me wondering if Struts is necessary.  It seems that
> the servlet container
> itself provides an MVC framework very similar to
> that of Struts.  All that
> is missing is some utilities and standardization.  I
> was wondering if there
> is a flaw in my logic below, and if anyone had any
> comments.
>
>
> In comparing these two MVC frameworks, the servlet
> container would be the
> equivalent of the ActionServlet.  They both read
> their configuration files,
> examine the incoming URL, and then forward the
> request to the configured
> handler.  In the case of the servlet container the
> handlers are Servlet
> classes, and in the case of Struts its the Action
> classes.  Both the
> container and the ActionServlet will create an
> instance of their handler
> when its requested the first time. The Servlet's
> service method and the
> Action's execute method will call some domain logic
> and then select a view
> to display to the user.  The Servlet can use
> RequestDispatchers to
> encapsulate information about the view, and the
> Action will use an
> ActionForward.  Doesn't this sound very similar?
>
> It seems like we are adding a lot of complexity on
> top of the servlet spec
> in order to get some common tasks done for us.  But
> that could probably be
> better done by the servlet container itself.  For
> example, Struts
> automatically populates the form class the developer
> specifies for a
> particular Action.  But Sun could provide a standard
> Filter implementation
> which does the same thing.  You can declare handlers
> for your exceptions in
> the Struts configuration file, but you can also do
> it in the web.xml.  If
> the functionality there is not quite the same, Sun
> can add a little to the
> spec and we would get it.
>
> My question is, is an application built in Struts
> really that much more
> maintainable than one built with servlets?  Or if
> some common utilities
> provided by the Struts container were provided by
> the servlet container,
> would there be much difference?  It seems that would
> even be simpler.  Or
> not?
>
> ranko
>
>
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>



Passing request from Action to another action

2003-07-17 Thread rajendra . x . yadav
Hi,
In perform() of Action1, I put a Object in setAttribute and  submit to a
xxx.do which forward my page to 2nd jsp. In the perform() of Action2 (this
gets called when i submit xxx.do), I try to get the atribute... but it's
giving me null.
What could be wrong ?
Is request the best way to pass objects between Servlets or session ?

thanks
-raj




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



Location of Action Servlet and proper directory structure

2003-07-17 Thread rajendra . x . yadav
Hi All,
I just wanted to clarify the proper directory structure for a typical
Struts Web Application.
- Will each Form have a Action associated with it?

Currently, I have this:
root
   - jsp (All jsp's come here)
   - src (All java source here... with com.xx.xxx.xxx)
   -  WEB-INF
  - build (classes come here)
  - dist (Distributable jar's and war's come here)
  - lib (all libraries)
  - resource( struts-config, web.xml, deployment descriptors come here)

In "src" I have a Action class associated with each Form. So, basically
each xxx.do in each forms point to there own action servlets.
Is this correct way of doing it?

thanks
-raj




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



Re: modules.

2003-07-16 Thread rajendra . x . yadav

I think the  tag.

Thanks
-raj



   

  "Eugen Bushuev"  

  <[EMAIL PROTECTED]>   To:   [EMAIL PROTECTED]

   cc: 

  16/07/2003 04:56 Subject:  modules.  

  PM   

  Please respond to

  "Struts Users

  Mailing List"

   

   





Hi.
My modules do not wont to work.
I have:
web.xml:
...
  
action
org.apache.struts.action.ActionServlet
...

   config/test
   /WEB-INF/struts-test-config.xml


  config
  /WEB-INF/struts-config.xml

.
struts-config.xml - empty,

struts-test-config:


  

than, in /test/test.jsp


gives

Cannot retrieve mapping for action /testaction


what i'm missing here?
senx.

--
С уважением, Е.Бушуев.


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