Re: [Shale]managed beans in request vs. session scope and how to clean up

2005-09-15 Thread Craig McClanahan
On 9/15/05, Holshausen, Ron <[EMAIL PROTECTED]> wrote:
> 
> Hi Geeta,
> 
> Just to let you know that one of the changes that was made to the JSF
> spec was to integrate the JSTL and JSF, so you could use c:forEach with
> JSF UI components. So using JSTL is still ok, I do. And I think it will
> be around for a while.


Ron's comments with respect to JSF 1.2 and JSTL interoperability are correct 
... but they only address part of the overall issue. If all you care about 
is *rendering* output based on an iteration over a collection of model tier 
objects, the JSF 1.2 integration strategy will work fine. If, on the other 
hand, you want to have *input* fields inside your  tag, you're 
going to run into more problems. The right answer there is to use an outer 
"grouping" component (such as, but not limited to, ) that deals 
with the iteration issues during the postback processing phases (Apply 
Request Values through Process Validations) as well as during rendering. 
Solutions based on JSTL *only* work during rendering, because the JSP page 
itself is *not* involved in actually performing a postback.

Or, if you want a shorter version of the answer, depending on  is 
still going to limit what you can actually do inside the iterations, even in 
a JSF 1.2 world. The right answer is smarter components that do iterations 
for you, not forcing the page developer to manually code iteration loops.

Craig


RE: [Shale]managed beans in request vs. session scope and how to clean up

2005-09-15 Thread Holshausen, Ron
Hi Geeta,

Just to let you know that one of the changes that was made to the JSF
spec was to integrate the JSTL and JSF, so you could use c:forEach with
JSF UI components. So using JSTL is still ok, I do. And I think it will
be around for a while.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 15 September 2005 21:48
To: Struts Users Mailing List
Subject: Re: [Shale]managed beans in request vs. session scope and how
to clean up

[EMAIL PROTECTED] (Gary VanMatre) wrote on 09/15/2005 02:35:47 PM:

> A commandLink with a target attribute would work if you didn't need 
> to control the window size and jazz.

Gary, thanks for your response... Nope, they want the jazz, so i guess
I'm 
stuck with javascript..(:(

> 
> >2. I have to be sure to clean up this bean to behave like a bean in 
> >request scope. Here's code which I have placed at the end of my "bean

> >methods" of my AssessmentBean: setBean("assessment", null); This
seems 
to 
> >do the job. Are there any gotchas I need to be aware of?
> 
> A JSTL  would be 
> another way to handle it from a menu or home page. 

hmm, is it an ok thing to use jstl in the jsf framework?  Don't know
where 
or when but I thought I read some place jstl is going the same way 
everything else i knew did.. Tell me if I'm wrong since there's other 
places I could use jstl..:)

> 
> Gary
> 

thanks again,
Geeta
 
E-Mail Disclaimer 
 
Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene 
Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung 
reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. 
Beachten Sie bitte, dass jede Form der unautorisierten Nutzung, 
Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser 
E-Mail nicht gestattet ist. Diese Nachricht ist ausschliesslich fuer 
den bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie 
nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, 
so bitten wir Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen.


For legal and security reasons the information provided in this e-mail is not 
legally binding. Upon request we would be pleased to provide you with a legally 
binding confirmation in written form. Any form of unauthorised use, 
publication, 
reproduction, copying or disclosure of the content of this e-mail is not 
permitted. 
This message is exclusively for the person addressed or their representative. 
If you are not the intended recipient of this message and its contents, please 
notify the sender immediately.

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



RE: Re: Validation Issue

2005-09-15 Thread Amol Yadwadkar
Thankx a lot!!!
It worked

best regds, 
AMOL YADWADKAR | Software Engineer | M P H A S I S  Architecting Value|
IT SERVICES
2nd Floor, The Leela Business Park, Andheri Kurla Road, Andheri(E),
Mumbai 400059| 
Tel: 91 22 5677 Extn 5356 | Fax: 91 22 5600| Cell : 9819011934 |
www.mphasis.com

 

Information transmitted by this e-mail is proprietary to MphasiS and/ or
its Customers and is intended for use only by the individual or entity
to which it is addressed, and may contain information that is
privileged, confidential or exempt from disclosure under applicable law.
If you are not the intended recipient or it appears that this mail has
been forwarded to you without proper authority, you are notified that
any use or dissemination of this information in any manner is strictly
prohibited. In such cases, please notify us immediately at
[EMAIL PROTECTED] and delete this mail from your records.

 

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Laurie Harper
Sent: Friday, September 16, 2005 4:37 AM
To: user@struts.apache.org
Subject: Re: Validation Issue

Amol Yadwadkar wrote:
> Hi List,
> 
> I am using Validation Framework.
> 
>  property="clientTaxId"
> depends="required,mask" >
> 
> 
> 
> mask
> ${taxid}
> 
> 
> 
> In the above when mask rule fails it picks up the message against the
> errors.invalid key in the properties file rather than the specified
>  key as "prompt.taxid" in validation.xml 
>  
> Can anyone pls suggest me my mistake ?

The arg* attributes are for passing in values for placeholders in the 
default error messages. If you want to specify a different error 
message, you want the 'msg' attribute instead:

   

L.


-
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: multiple struts-config.xml issues with CactusStrutsTestCase

2005-09-15 Thread Praveen Kumar
HI
 
I dont know about Cactus .  But Struts 1.2 onwards only more than one 
struts-config files are allowed that to be in this manner
 


action
com.struts.action.ActionServlet
/// THis is for Defalut 

config
/WEB-INF/struts-config.xml

/// This is for our own module//
 
my/config
/WEB-INF/struts-config.xml


Pls check  struts 1.2 spec for more clarification
 
Regards
Praveen

Laurie Harper <[EMAIL PROTECTED]> wrote:
It's been rather a long time since I used Cactus so I can't rememner the 
details of how you set things up, but are you sure that struts-my.xml is 
being read in when you run your cactus tests?

L.

Carl Smith wrote:
> I have two struts-config.xml files. One is Struts default struts-config.xml 
> and the other one is called
> struts-my.xml. and I have configued these two xml files in web.xml so that 
> ActionServlet can take both struts-config.xml
> and struts-my.xml. See following:
> 
> 
> action
> org.apache.struts.action.ActionServlet
> 
> 
config

> 
/WEB-INF/struts-config.xml,/WEB-INF/struts-my.xml

> 
> 
> 
debug

> 
2

> 
> 
> 
detail

> 
2

> 
> 2
> 
> 
> 
> Now I have a Cactus testing action to test MyAction.java (not included here), 
> I found out a wired issue: 
> if I configure MyAction.java in struts-config.xml, then my test succeed, 
> however if I configure MyAction.java 
> in struts-my.xml, the test fails with the following error. Any suggestions?
> 
> junit.framework.AssertionFailedError: Cannot find forward 
> 'Your_forwardTarget_Path' - it is possible that it is not mapped correctly.
> at java.lang.Throwable.(Throwable.java:52)
> at java.lang.Throwable.(Throwable.java:66)
> 
> 
> 
> 
> package com.ford.hr.mpc.performance.web.struts.action;
> 
> import org.apache.cactus.WebRequest;
> import org.apache.cactus.client.authentication.BasicAuthentication;
> 
> import servletunit.struts.CactusStrutsTestCase;
> 
> public class MyActionTest extends CactusStrutsTestCase {
> public MyActionTest(String testingName){
> super(testingName);
> }
> 
> 
> public void begin(WebRequest req){
> req.setAuthentication(new BasicAuthentication("username","password"));
> 
> }
> 
> public void testDisplay() throws Exception {
> setRequestPathInfo("/MyAction");
> actionPerform();
> verifyForward("Your_forwardTarget_Path");
> verifyNoActionErrors();
> }
> 
> }
> 
> 
> __
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 


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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: i18n recommendation

2005-09-15 Thread Ivan Rodriguez

What I use:

First I store the ArrayList in the application context, with the locale 
identifies concatenated.

And other useful localized strings that are constants.

context.setAttribute(lang + "_" + Constants.YEAR_MONTHS, ym);


And in the action where there is a forward that will display that data, 
I pass the arraylist stored at context to the request scope.


ServletContext sctx = servlet.getServletContext();
ArrayList countriesList = new ArrayList();
countriesList = (ArrayList) sctx.getAttribute(getLanguage(request) +
   "_" + Constants.COUNTRIES);
 request.setAttribute(Constants.COUNTRIES, countriesList);


This is what I do. But I wanna know too, if people are using other methods.
Thanks

Jadeler escribió:


Im using a struts plugin to populate application wide
data such list of values, etc from the database and
then stored in a session.  I also use the application
resources bundles for text messages, labels, etc on my
jsp pages.  


For displaying data pertaining to the locale the user
has selected (data Im tring to display is a drop down
of products), I've built a list of products from the
db and stored it in 2 sessions (one for french and one
for english).  Im planning to use the logic struts
tags to display these based on the locale.  Is this
recommended or are there other solutions?  


Thanks.
Jadeler

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.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]



Re: Struts and DisplayTag CSS?

2005-09-15 Thread Wendy Smoak

From:  <[EMAIL PROTECTED]>


The resulting href becomes the following by display the source page on IE.


It is so strange that both http://localhost:8080/erp/
and  http://localhost:8080/erp/addUserProfile.do
cannot display with css.


Not so strange, unless the stylesheet is in the ROOT context (assuming this 
is standalone Tomcat).  That leading slash means the browser is requesting 
http://localhost:8080/css/screen.css.



Then I try to get the contextpath, instead of hard code.
But fail, the following line return null
<% String contextPath=request.getContextPath(); %>

 Why?


That fails because JSTL cannot "see" scripting variables.  JSTL has an 
implicit pageContext object, though which you can get to the request.


See if this does what you want:
  

I haven't tried it, but it looks like it should work.

--
Wendy Smoak 




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



Dynamically Sized Forms: Help!

2005-09-15 Thread jonathan gilmore

Hello,

I have my dynamically sized form working with the use of a 
DynaValidatorForm.  However, when I enter data in the 'quantity' fields (see 
JSP code shown below) the newly typed value is not populated into the form 
on submission i.e. my UpdateCartAction form contains the old values.


Please help!

JSP:


   
   property="order">

   
 
   size="2"/>

 
   
   
   
   Update


Struts config:

   
  
type="org.apache.struts.validator.DynaValidatorForm">
 type="salesportal.domainmodel.Order[]"/>

 
 
   

   
   
   

   
   
   



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



Re: i18n recommendation

2005-09-15 Thread Jadeler
Thanks Laurie.  Btw, I actually meant the application
context, not the session.  

--- Laurie Harper <[EMAIL PROTECTED]> wrote:

> Jadeler wrote:
> > Im using a struts plugin to populate application
> wide
> > data such list of values, etc from the database
> and
> > then stored in a session.  I also use the
> application
> > resources bundles for text messages, labels, etc
> on my
> > jsp pages.  
> > 
> > For displaying data pertaining to the locale the
> user
> > has selected (data Im tring to display is a drop
> down
> > of products), I've built a list of products from
> the
> > db and stored it in 2 sessions (one for french and
> one
> > for english).  Im planning to use the logic struts
> > tags to display these based on the locale.  Is
> this
> > recommended or are there other solutions?  
> 
> If the data is application wide, why store it
> repeatedly in each 
> session? Just store it once, in application context.
> For application 
> wide data that's localized, put it in a map keyed by
> locale and put the 
> map in application context. Storing it in sessions
> just means that every 
> session using a particular locale will have a
> redundant copy of the same 
> data.
> 
> L.
> 
> 
>
-
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 







__ 
Find your next car at http://autos.yahoo.ca

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



Re: Struts and DisplayTag CSS?

2005-09-15 Thread 梁炳場
I have tried both suggestion.
Still no luck and even worse.

The resulting href becomes the following by display the source page on IE.



It is so strange that both http://localhost:8080/erp/
and  http://localhost:8080/erp/addUserProfile.do
cannot display with css.

Eventuallt, I change the href to this


Then both url can display with css beautifully.

Then I try to get the contextpath, instead of hard code.
But fail, the following line return null

<% String contextPath=request.getContextPath(); %>


Why?


2005/9/15, Michael Ewers <[EMAIL PROTECTED]>:
> Quick solution:
> 
> 
> And don't forget to set the requestURI-attribute in the display:table tag.
> 
> > --- Ursprüngliche Nachricht ---
> > Von: ±ç¬±³õ <[EMAIL PROTECTED]>
> > An: Struts Users Mailing List 
> > Betreff: Struts and DisplayTag CSS?
> > Datum: Thu, 15 Sep 2005 22:09:02 +0800
> >
> > For this link, http://localhost:8080/erp/
> > displaytag is okay to display with css beautifully.
> >
> > For this link, http://localhost:8080/erp/addUserProfile.do
> > all the css effect disappear.
> >
> > my web.xml
> >   
> > /user/addUserProfile.jsp
> >   
> >
> > my jsp file has a css line
> >   
> >> media="screen, print" />
> >   
> >
> > my struts mapping is
> >  >   attribute="userProfileForm"
> >   input="/user/addUserProfile.jsp"
> >   name="userProfileForm"
> >   parameter="method"
> >   path="/addUserProfile"
> >   scope="request"
> >   type="com.erp.struts.user.action.UserProfileDispatchAction" >
> >   
> > 
> >
> > Any hints to solve?
> >
> > -
> > 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: i18n recommendation

2005-09-15 Thread Laurie Harper

Jadeler wrote:

Im using a struts plugin to populate application wide
data such list of values, etc from the database and
then stored in a session.  I also use the application
resources bundles for text messages, labels, etc on my
jsp pages.  


For displaying data pertaining to the locale the user
has selected (data Im tring to display is a drop down
of products), I've built a list of products from the
db and stored it in 2 sessions (one for french and one
for english).  Im planning to use the logic struts
tags to display these based on the locale.  Is this
recommended or are there other solutions?  


If the data is application wide, why store it repeatedly in each 
session? Just store it once, in application context. For application 
wide data that's localized, put it in a map keyed by locale and put the 
map in application context. Storing it in sessions just means that every 
session using a particular locale will have a redundant copy of the same 
data.


L.


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



RE: Error message not very helpful

2005-09-15 Thread Murray Collingwood
Thanks Ron,

I am using a jsp:getProperty and this is the code that is failing...

I finally solved it by running a full clean & build.  The builds I was running 
were not 
enough to compile some older versions of the programs that used a different 
bean 
identifier.

Thanks again.

Kind regards
mc



On 15 Sep 2005 at 15:24, Holshausen, Ron wrote:

> Hi Murray,
> 
> I would guess that you are using  on an object that
> is null. Check your objects that you are accessing in the page. If the
> data is coming from a database, it could be a null column.
> 
> -Original Message-
> From: Murray Collingwood [mailto:[EMAIL PROTECTED] 
> Sent: 15 September 2005 16:19
> To: user@struts.apache.org
> Subject: Error message not very helpful
> 
> Hi all
> 
> I came across this message this afternoon.  I've tried stepping through
> with the 
> debugger but can't seem to work out why I keep getting this error.  The
> code appears to 
> be okay, the bean and property are set correctly.  I'm assuming it is
> something in my 
> "display.jsp" file but there is nothing obvious - it seems to fail after
> I have updated some 
> related tables.  Normal display of the data is working okay.  
> 
> Do you think the error message could tell me which property it was
> trying to retrieve 
> from which bean?  The message is:
> 
> type Exception report
> 
> message 
> 
> description The server encountered an internal error () that prevented
> it from fulfilling 
> this request.
> 
> exception 
> 
> org.apache.jasper.JasperException: Attempted a bean operation on a null
> object.
>   
> org.apache.jasper.runtime.JspRuntimeLibrary.handleGetProperty(JspRuntime
> Library.ja
> va:601)
>   
> org.apache.jsp.WEB_002dINF.pages.tours.display_jsp._jspService(display_j
> sp.java:18
> 9)
>   
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
>   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>   
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
> va:325)
>   
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
>   
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
>   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>   
> org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFi
> lter.java:362)
>   
> org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.jav
> a:1063)
>   
> org.apache.struts.action.RequestProcessor.processForwardConfig(RequestPr
> ocessor.ja
> va:386)
>   
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
> 229)
>   
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
>   
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
>   javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>   
> org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFi
> lter.java:362)
> 
> 
> Kind regards
> mc
> 
> 
> FOCUS Computing
> Mob: 0415 24 26 24
> [EMAIL PROTECTED]
> http://www.focus-computing.com.au
> 
> 
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.344 / Virus Database: 267.10.25/102 - Release Date:
> 14/09/2005
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>  
> E-Mail Disclaimer 
>  
> Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene 
> Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung 
> reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. 
> Beachten Sie bitte, dass jede Form der unautorisierten Nutzung, 
> Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser 
> E-Mail nicht gestattet ist. Diese Nachricht ist ausschliesslich fuer 
> den bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie 
> nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, 
> so bitten wir Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen.
> 
> 
> For legal and security reasons the information provided in this e-mail is not 
> legally binding. Upon request we would be pleased to provide you with a 
> legally 
> binding confirmation in written form. Any form of unauthorised use, 
> publication, 
> reproduction, copying or disclosure of the content of this e-mail is not 
> permitted. 
> This message is exclusively for the person addressed or their representative. 
> If you are not the intended recipient of this message and its contents, 
> please 
> notify the sender immediately.
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> -- 
> No virus found in this incoming message.

i18n recommendation

2005-09-15 Thread Jadeler
Im using a struts plugin to populate application wide
data such list of values, etc from the database and
then stored in a session.  I also use the application
resources bundles for text messages, labels, etc on my
jsp pages.  

For displaying data pertaining to the locale the user
has selected (data Im tring to display is a drop down
of products), I've built a list of products from the
db and stored it in 2 sessions (one for french and one
for english).  Im planning to use the logic struts
tags to display these based on the locale.  Is this
recommended or are there other solutions?  

Thanks.
Jadeler

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: Validation Issue

2005-09-15 Thread Laurie Harper

Amol Yadwadkar wrote:

Hi List,

I am using Validation Framework.

property="clientTaxId"

depends="required,mask" >



mask
${taxid}



In the above when mask rule fails it picks up the message against the
errors.invalid key in the properties file rather than the specified
 key as "prompt.taxid" in validation.xml 
 
Can anyone pls suggest me my mistake ?


The arg* attributes are for passing in values for placeholders in the 
default error messages. If you want to specify a different error 
message, you want the 'msg' attribute instead:


  

L.


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



Re: multiple struts-config.xml issues with CactusStrutsTestCase

2005-09-15 Thread Laurie Harper
It's been rather a long time since I used Cactus so I can't rememner the 
details of how you set things up, but are you sure that struts-my.xml is 
being read in when you run your cactus tests?


L.

Carl Smith wrote:

I have two struts-config.xml files. One is Struts default struts-config.xml and 
the other one is called
struts-my.xml. and I have configued these two xml files in web.xml so that 
ActionServlet can take both struts-config.xml
and struts-my.xml. See following:


action
org.apache.struts.action.ActionServlet

  config
  
/WEB-INF/struts-config.xml,/WEB-INF/struts-my.xml


  debug
  2


  detail
  2

2



Now I have a Cactus testing action to test MyAction.java (not included here), I found out a wired issue: 
if I configure MyAction.java in struts-config.xml, then my test succeed, however if I configure MyAction.java 
in struts-my.xml, the test fails with the following error. Any suggestions?


junit.framework.AssertionFailedError: Cannot find forward 
'Your_forwardTarget_Path'  - it is possible that it is not mapped correctly.
 at java.lang.Throwable.(Throwable.java:52)
 at java.lang.Throwable.(Throwable.java:66)

 



package com.ford.hr.mpc.performance.web.struts.action;

import org.apache.cactus.WebRequest;
import org.apache.cactus.client.authentication.BasicAuthentication;

import servletunit.struts.CactusStrutsTestCase;

public class MyActionTest extends CactusStrutsTestCase {
 public MyActionTest(String testingName){
  super(testingName);
 }
 
 
 public void begin(WebRequest req){

  req.setAuthentication(new BasicAuthentication("username","password"));
  
 }
 
 public void testDisplay() throws Exception {

  setRequestPathInfo("/MyAction");
  actionPerform();
  verifyForward("Your_forwardTarget_Path");
  verifyNoActionErrors();
 }
 
}



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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



Re: Error message not very helpful

2005-09-15 Thread Laurie Harper
Whether or not the exception could provide more specific information is 
a question for the Tomcat developers (Jasper is part of Tomcat, not 
Struts). My guess is that it would be non-trivial, but I encourage you 
to head over to tomcat-user and ask, since better error reporting is 
always a good thing ;-)


L.

Murray Collingwood wrote:

Hi all

I came across this message this afternoon.  I've tried stepping through with the 
debugger but can't seem to work out why I keep getting this error.  The code appears to 
be okay, the bean and property are set correctly.  I'm assuming it is something in my 
"display.jsp" file but there is nothing obvious - it seems to fail after I have updated some 
related tables.  Normal display of the data is working okay.  

Do you think the error message could tell me which property it was trying to retrieve 
from which bean?  The message is:


type Exception report

message 

description The server encountered an internal error () that prevented it from fulfilling 
this request.


exception 


org.apache.jasper.JasperException: Attempted a bean operation on a null object.

org.apache.jasper.runtime.JspRuntimeLibrary.handleGetProperty(JspRuntimeLibrary.ja
va:601)

org.apache.jsp.WEB_002dINF.pages.tours.display_jsp._jspService(display_jsp.java:18
9)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)

org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)

org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.ja
va:386)

org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)


Kind regards
mc


FOCUS Computing
Mob: 0415 24 26 24
[EMAIL PROTECTED]
http://www.focus-computing.com.au






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



Re: OT: jsessionid connector error

2005-09-15 Thread Laurie Harper
Why would appending the session ID to the URL prevent Apache from 
passing the request to Jrun? Sounds like an Apache mis-configuration to 
me. I don't know how you configure Apache to 'recognise [something] as a 
jrun file' but that's what you need to be looking at.


L.

Zoran Avtarovski wrote:

I'm hoping someone here can help me with this.

I'm getting inconsistency on this issue and googling hasn't helped.

I'm running a struts app on OS X with Jrun 4 and Apache 2. When I use
 in the index.jsp file it appends
the jsessionid to it and apache doesn't recognise the file as a jrun file
and returns a 404 error. When I deploy the same app on Linux using the same
version of Jrun and Java it works fine.

The work around I'm using is to use
<%
String redirectURL = "/general/getInfo.do";
response.sendRedirect(redirectURL);
%>

Instead of



Which solves the problem by not URL encoding the link, but if somebody had
cookies disabled it the jsessionid would return and the problem is back
again. 


When searching I've seen a lot of people experiencing the same problem with
apache and jsessionid but no solutions, apart from URL rewriting which I
don't think is any better than what I've got.

Has anybody had any experience with this and if so any pointers.

Zoran 



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



Re: multiple struts-config.xml issues with CactusStrutsTestCase

2005-09-15 Thread Kishore Senji
I think by default the CactusStrutsTestCase reads the /WEB-INF/struts-
config.xml only. If you have multiple config files you would have to set the 
appropriate config file in your test method. For eg:

public void testDisplay() throws Exception {
setConfigFile("/WEB-INF/struts-config.xml,/WEB-INF/struts-my.xml");
setRequestPathInfo("/MyAction");
actionPerform();
verifyForward("Your_forwardTarget_Path");
verifyNoActionErrors();
}



On 9/15/05, Carl Smith <[EMAIL PROTECTED]> wrote:
> 
> 
> I have two struts-config.xml files. One is Struts default 
> struts-config.xml and the other one is called
> struts-my.xml. and I have configued these two xml files in web.xml so that 
> ActionServlet can take both struts-config.xml
> and struts-my.xml. See following:
> 
> 
> action
> org.apache.struts.action.ActionServlet
> 
> config
> /WEB-INF/struts-config.xml,/WEB-INF/struts-my.xml
> 
> 
> 
> debug
> 2
> 
> 
> detail
> 2
> 
> 2
> 
> 
> 
> Now I have a Cactus testing action to test MyAction.java (not included 
> here), I found out a wired issue:
> if I configure MyAction.java in struts-config.xml, then my test succeed, 
> however if I configure MyAction.java
> in struts-my.xml, the test fails with the following error. Any 
> suggestions?
> 
> junit.framework.AssertionFailedError: Cannot find forward 
> 'Your_forwardTarget_Path' - it is possible that it is not mapped correctly.
> at java.lang.Throwable.(Throwable.java:52)
> at java.lang.Throwable.(Throwable.java:66)
> 
> 
> 
> 
> package com.ford.hr.mpc.performance.web.struts.action;
> 
> import org.apache.cactus.WebRequest;
> import org.apache.cactus.client.authentication.BasicAuthentication;
> 
> import servletunit.struts.CactusStrutsTestCase;
> 
> public class MyActionTest extends CactusStrutsTestCase {
> public MyActionTest(String testingName){
> super(testingName);
> }
> 
> 
> public void begin(WebRequest req){
> req.setAuthentication(new BasicAuthentication("username","password"));
> 
> }
> 
> public void testDisplay() throws Exception {
> setRequestPathInfo("/MyAction");
> actionPerform();
> verifyForward("Your_forwardTarget_Path");
> verifyNoActionErrors();
> }
> 
> }
> 
> 
> __
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>


multiple struts-config.xml issues with CactusStrutsTestCase

2005-09-15 Thread Carl Smith

I have two struts-config.xml files. One is Struts default struts-config.xml and 
the other one is called
struts-my.xml. and I have configued these two xml files in web.xml so that 
ActionServlet can take both struts-config.xml
and struts-my.xml. See following:


action
org.apache.struts.action.ActionServlet

  config
  
/WEB-INF/struts-config.xml,/WEB-INF/struts-my.xml


  debug
  2


  detail
  2

2



Now I have a Cactus testing action to test MyAction.java (not included here), I 
found out a wired issue: 
if I configure MyAction.java in struts-config.xml, then my test succeed, 
however if I configure MyAction.java 
in struts-my.xml, the test fails with the following error. Any suggestions?

junit.framework.AssertionFailedError: Cannot find forward 
'Your_forwardTarget_Path'  - it is possible that it is not mapped correctly.
 at java.lang.Throwable.(Throwable.java:52)
 at java.lang.Throwable.(Throwable.java:66)

 


package com.ford.hr.mpc.performance.web.struts.action;

import org.apache.cactus.WebRequest;
import org.apache.cactus.client.authentication.BasicAuthentication;

import servletunit.struts.CactusStrutsTestCase;

public class MyActionTest extends CactusStrutsTestCase {
 public MyActionTest(String testingName){
  super(testingName);
 }
 
 
 public void begin(WebRequest req){
  req.setAuthentication(new BasicAuthentication("username","password"));
  
 }
 
 public void testDisplay() throws Exception {
  setRequestPathInfo("/MyAction");
  actionPerform();
  verifyForward("Your_forwardTarget_Path");
  verifyNoActionErrors();
 }
 
}


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: versus Scriptlet...

2005-09-15 Thread Leon Rosenberg
I'm making a guess, since I'm too lazy to check the actual jsp source
code, but i would assume, that bean:define defines the variable to the
scope page and ties it to  the page for scripting.
When you perform your: 
isEmpty = false; you change the value of the scripting variable, but
not the one from the pageContext / scope.
So de-facto you have two variables with different meaning, one isEmpty
in the scope and one in the page.
Logic:equals looks up in the page scope, but your scriptlet looks in
the page itself. That's why the values are different.

Why don't you define the variable with the proper value in the iteration?
In this case you would have no scripting variable, but logic:equal will work.

regards
Leon

On 9/15/05, Filipe Pomar <[EMAIL PROTECTED]> wrote:
> Guys, I have the following pseudo-code:
> 
> 
> 
> // begin: some iteration
> <%isEmpty="false";%>
> // end: some iteration
> 
> 
> ... then I want to test if isEmpty is true. The body of following code
> always get executed:
> 
> // some code that always run
> 
> 
> 
> ... though, the behavior I expected to get is seen only when using
> scriptlets, as follow:
> <% if ("true".equals(isEmpty)) { %>
> // works fine
> <% } %>
> 
> 
> Any ideas on why this happens are much appreciated.
> 
> Regards,
> Filipe
> 
> -
> 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: versus Scriptlet...

2005-09-15 Thread Kishore Senji
 looks for an attribute with the given "name" and compares for 
equality with the given "value".  not only creates a scripting 
variable but also puts an attribute with the same name. Here you only modify 
the value of the scripting variable and not the "attribute" value, which is 
what the  is going to look for which is not modified from the 
initial "true" value and so you would end up executing that block of code 
always.

You could do any of the following:
Use  and compare the size to 0 using  to check if 
the collection is empty or not
Use  to check the emptiness instead of the 

On 9/15/05, Filipe Pomar <[EMAIL PROTECTED]> wrote:
> 
> Guys, I have the following pseudo-code:
> 
> 
> 
> // begin: some iteration
> <%isEmpty="false";%>
> // end: some iteration
> 
> 
> ... then I want to test if isEmpty is true. The body of following code
> always get executed:
> 
> // some code that always run
> 
> 
> 
> ... though, the behavior I expected to get is seen only when using
> scriptlets, as follow:
> <% if ("true".equals(isEmpty)) { %>
> // works fine
> <% } %>
> 
> 
> Any ideas on why this happens are much appreciated.
> 
> Regards,
> Filipe
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>


versus Scriptlet...

2005-09-15 Thread Filipe Pomar
Guys, I have the following pseudo-code:



// begin: some iteration
<%isEmpty="false";%>
// end: some iteration


... then I want to test if isEmpty is true. The body of following code
always get executed:

// some code that always run



... though, the behavior I expected to get is seen only when using
scriptlets, as follow:
<% if ("true".equals(isEmpty)) { %>
// works fine
<% } %>


Any ideas on why this happens are much appreciated.

Regards,
Filipe

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



Re: getLastModified in Struts

2005-09-15 Thread Frank W. Zammetti
Hi Yaahov,

This is the kind of thing that a filter would probably be good for. 
Although I don't think it will do explicitly what you want, have a look at
the CacheControlFilter in Java Web Parts:

http://javawebparts.sourceforge.net/javadocs/index.html

And the source:

http://prdownloads.sourceforge.net/javawebparts/jwp_v.9_pre-alpha_src.zip?download

It shouldn't take very much hacking at all to get it to do exactly what
you want I suspect.  I *think* you can do what you want by manipulating
cache headers properly only, but even if it requires a bit more logic than
that, this filter should serve as a good template, especially since it
gives you a little more control over what URIs will trigger it than an
ordinary filter will, and you may need that control.

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com

On Thu, September 15, 2005 3:22 pm, James Mitchell said:
> The Struts framework does not provide any sort of caching strategy.
> You could certainly provide your own extension to ActionServlet and
> roll your own, but such an effort is completely outside of the scope
> of this framework.
>
> Hope that helps.
>
> --
> James Mitchell
> Software Engineer / Open Source Evangelist
> Consulting / Mentoring / Freelance
> EdgeTech, Inc.
> http://www.edgetechservices.net/
> 678.910.8017
> AIM:   jmitchtx
> Yahoo: jmitchtx
> MSN:   [EMAIL PROTECTED]
> Skype: callto://jmitchtx
>
>
>
>
>
> On Sep 15, 2005, at 11:42 AM, Yaakov Chaikin wrote:
>
>> Is there a way in Struts to tell a client issuing a conditional GET
>> request not to re-execute the action?
>>
>> In a regular servlet you can just implement logic in the
>> getLastModified method. Is there something similar in Struts?
>>
>> Thanks,
>> Yaakov.
>>
>> -
>> 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: getLastModified in Struts

2005-09-15 Thread James Mitchell
The Struts framework does not provide any sort of caching strategy.   
You could certainly provide your own extension to ActionServlet and  
roll your own, but such an effort is completely outside of the scope  
of this framework.


Hope that helps.

--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech, Inc.
http://www.edgetechservices.net/
678.910.8017
AIM:   jmitchtx
Yahoo: jmitchtx
MSN:   [EMAIL PROTECTED]
Skype: callto://jmitchtx





On Sep 15, 2005, at 11:42 AM, Yaakov Chaikin wrote:


Is there a way in Struts to tell a client issuing a conditional GET
request not to re-execute the action?

In a regular servlet you can just implement logic in the
getLastModified method. Is there something similar in Struts?

Thanks,
Yaakov.

-
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: [Shale]managed beans in request vs. session scope and how to clean up

2005-09-15 Thread gramani
[EMAIL PROTECTED] (Gary VanMatre) wrote on 09/15/2005 02:35:47 PM:

> A commandLink with a target attribute would work if you didn't need 
> to control the window size and jazz.

Gary, thanks for your response... Nope, they want the jazz, so i guess I'm 
stuck with javascript..(:(

> 
> >2. I have to be sure to clean up this bean to behave like a bean in 
> >request scope. Here's code which I have placed at the end of my "bean 
> >methods" of my AssessmentBean: setBean("assessment", null); This seems 
to 
> >do the job. Are there any gotchas I need to be aware of?
> 
> A JSTL  would be 
> another way to handle it from a menu or home page. 

hmm, is it an ok thing to use jstl in the jsf framework?  Don't know where 
or when but I thought I read some place jstl is going the same way 
everything else i knew did.. Tell me if I'm wrong since there's other 
places I could use jstl..:)

> 
> Gary
> 

thanks again,
Geeta

Re: [Shale]managed beans in request vs. session scope and how to clean up

2005-09-15 Thread Gary VanMatre
>However, the specs changed..(:( and I had to add Javascript (window.open 
>stuff), so now I have to open a *new* window from my parent window in 
>order to show assessment.jsp. And of course this means my AssessmentBean 
>is no longer initialised. My current solution is to place the bean in 
>session instead. I have therefore two questions:

>1. Is there a better way?

A commandLink with a target attribute would work if you didn't need to control 
the window size and jazz.

>2. I have to be sure to clean up this bean to behave like a bean in 
>request scope. Here's code which I have placed at the end of my "bean 
>methods" of my AssessmentBean: setBean("assessment", null); This seems to 
>do the job. Are there any gotchas I need to be aware of?

A JSTL  would be another way to 
handle it from a menu or home page.  

Gary




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



Re: Printer Friendly Struts Form

2005-09-15 Thread Ed Griebel
I was thinking that one could use javascript if you wanted to have a
button that would do a "print preview", and then swap the css display
attribute for the media types. I guess it's not really that useful,
but still "neat" to modify the style on the fly :-)

-ed

On 9/15/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Ed,
> 
> I'm not sure why you would need to use javacript to change the the media
> attribute. If you just output the both at the same time, the styles with
> media set to screen get applied only on your monitor and while the
> media=print styles are ignored. The reverse is true when you send the page
> to a printer. no need for javascripting at all.
> 
> Mariano
> 
> 
> [original message below]
> 
> This is a creative idea for presentation, and the attribute can be
> changed by simple javascript. But, there might be an application
> access/security issue with this if this method is used for display of
> read-only data, as you are sending an editable version of the form
> even though it's hidden. Some browsers allow you to change CSS on the
> fly, e.g. firefox with the EditCSS plugin.
> 
> -ed
> 
> On 9/14/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Here's a solution for you, but I don't know its applicability to
> Firefox,
> > and won't work for inline styling.
> >
> > 1. Start by outputting the information in a text area and in a div/span.
> > 2. Give each different class names/ids, say foo and bar respectivly.
> > 3. Link to your stylesheet or declare your style section defining all
> your
> > styles EXCEPT for foo and bar.
> > 4. Define two more stylesheets or style sections.
> > 5. In one use the attribute media="screen"  and within the section do
> > foo { display: inline;}
> > bar{display: none;}
> > 6. In the second one do the same thing but reverse the display
> properties.
> >
> >
> >
> > Mariano
> >
> 
> -
> 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: Printer Friendly Struts Form

2005-09-15 Thread Mario_Hernandez
Ed, 

I'm not sure why you would need to use javacript to change the the media 
attribute. If you just output the both at the same time, the styles with 
media set to screen get applied only on your monitor and while the 
media=print styles are ignored. The reverse is true when you send the page 
to a printer. no need for javascripting at all.

Mariano


[original message below]

This is a creative idea for presentation, and the attribute can be
changed by simple javascript. But, there might be an application
access/security issue with this if this method is used for display of
read-only data, as you are sending an editable version of the form
even though it's hidden. Some browsers allow you to change CSS on the
fly, e.g. firefox with the EditCSS plugin.

-ed

On 9/14/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Here's a solution for you, but I don't know its applicability to 
Firefox,
> and won't work for inline styling.
> 
> 1. Start by outputting the information in a text area and in a div/span.
> 2. Give each different class names/ids, say foo and bar respectivly.
> 3. Link to your stylesheet or declare your style section defining all 
your
> styles EXCEPT for foo and bar.
> 4. Define two more stylesheets or style sections.
> 5. In one use the attribute media="screen"  and within the section do
> foo { display: inline;}
> bar{display: none;}
> 6. In the second one do the same thing but reverse the display 
properties.
> 
> 
> 
> Mariano
>

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



getLastModified in Struts

2005-09-15 Thread Yaakov Chaikin
Is there a way in Struts to tell a client issuing a conditional GET
request not to re-execute the action?

In a regular servlet you can just implement logic in the
getLastModified method. Is there something similar in Struts?

Thanks,
Yaakov.

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



Re: [Shale]managed beans in request vs. session scope and how to clean up

2005-09-15 Thread gramani
[EMAIL PROTECTED] wrote on 09/15/2005 11:32:03 AM:
> 
> Also in AssessmentBean.prerender(), I have code to initialise my 
> AssessmentBean so that  /assessment.jsp can render nicely.

oops, sorry, I meant in *WorkListBean*.prerender()" I have code etc...

Thanks,
Geeta


[Shale]managed beans in request vs. session scope and how to clean up

2005-09-15 Thread gramani
First off, my Shale work seems to be moving along nicely, so I want to 
thank everyone who has helped me get to this point..:)

I have a link in a "parent window" pointing to 
WorkListBean.startAssessment(). In WorkList.startAssessment(), I  return 
an outcome of "showAssessment", which in faces-config is mapped to 
/assessment.jsp.

Also in AssessmentBean.prerender(), I have code to initialise my 
AssessmentBean so that  /assessment.jsp can render nicely.

So far so great.

However, the specs changed..(:( and I had to add Javascript (window.open 
stuff), so now I have to open a *new* window from my parent window in 
order to show assessment.jsp. And of course this means my AssessmentBean 
is no longer initialised. My current solution is to place the bean in 
session instead. I have therefore two questions:

1. Is there a better way?
2. I have to be sure to clean up this bean to behave like a bean in 
request scope. Here's code which I have placed at the end of my "bean 
methods" of my AssessmentBean: setBean("assessment", null); This seems to 
do the job. Are there any gotchas I need to be aware of?

Thank you for your continued help and time!
Geeta

Re: How to prevent path shows up at the Address box in the browser, IE and others

2005-09-15 Thread Kam Lung Leung
Hi Kishore,

Thank you for the hint. That is great. I was worry that I need must more work 
to get it done that way. Can you give a example on the processing on the list 
of items that you mentioned in this email. Sorry I am newbie on this subject. 
Thank again.

Regards,
Kam Lung Leung


 Struts Users Mailing List  wrote:
>
> Define action aliases to your jsps and use those actions for eg:
> 
> 
> 
> and use that in your tiles menu
> 
> 
> 
> 
> 
> You can do some processing on the list of items that are read by the tiles 
> to include the  as part of the "link" attributes
> 
> 
> On 9/13/05, Kam Lung Leung <[EMAIL PROTECTED]> wrote:
> > 
> > 
> > Hi,
> > 
> > I am working on a project that uses Tiles and Structs.
> > I have the following Tiles definition;
> > 
> >  > path="/Infra/WebComponemt/Layouts/menuLayout.jsp" >
> > 
> > 
> > 
> >  > link="/WebComponemt/Presentation/UsersAdministrationPage.jsp" />
> > 
> > 
> > 
> > What can I do to prevent the path of the UsersAdministrationPage.jsp and
> > the index.jsp files show up in the Address box of a browser. Would the
> > following step help preventing the path of the UsersAdministrationPage.jsp
> > to show up?
> > 
> > 
> >  > path="/Infra/WebComponemt/Layouts/menuLayout.jsp" >
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > Add a Global Forward in the structs-config.xml file like below:
> > 
> > 
> > 
> > 
> >  > path="/WebComponemt/Presentation/UsersAdministrationPage.jsp"/>
> > 
> > 
> > 
> > Any suggestion is greatly appreciated.
> > Kam Lung Leung
> > [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: Struts and DisplayTag CSS?

2005-09-15 Thread Ivan Rodriguez
OOps, i didn t checked the welcome-file directive. I didn t found a 
situation where you want to access your forward jsp directly. :-[



Holshausen, Ron escribió:


Hi,

You're using an relative path to your css file (css/screen.css), so the
user page with path /user/... does it find it as it expects it in
/user/css/screen.css.

One way to solve it is to use a tag to render the full path to the css
file, e.g,


"
type="text/css"
media="screen, print" />

With jsp 2.0, you don't need the  tag.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 15 September 2005 17:09

To: Struts Users Mailing List
Subject: Struts and DisplayTag CSS?

For this link, http://localhost:8080/erp/
displaytag is okay to display with css beautifully.

For this link, http://localhost:8080/erp/addUserProfile.do
all the css effect disappear.

my web.xml
 
   /user/addUserProfile.jsp
 

my jsp file has a css line
 
 
 

my struts mapping is
   
 
   

Any hints to solve?

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

E-Mail Disclaimer 

Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene 
Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung 
reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. 
Beachten Sie bitte, dass jede Form der unautorisierten Nutzung, 
Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser 
E-Mail nicht gestattet ist. Diese Nachricht ist ausschliesslich fuer 
den bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie 
nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, 
so bitten wir Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen.



For legal and security reasons the information provided in this e-mail is not 
legally binding. Upon request we would be pleased to provide you with a legally 
binding confirmation in written form. Any form of unauthorised use, publication, 
reproduction, copying or disclosure of the content of this e-mail is not permitted. 
This message is exclusively for the person addressed or their representative. 
If you are not the intended recipient of this message and its contents, please 
notify the sender immediately.


-
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 and DisplayTag CSS?

2005-09-15 Thread Holshausen, Ron
Hi,

You're using an relative path to your css file (css/screen.css), so the
user page with path /user/... does it find it as it expects it in
/user/css/screen.css.

One way to solve it is to use a tag to render the full path to the css
file, e.g,


"
type="text/css"
media="screen, print" />

With jsp 2.0, you don't need the  tag.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 15 September 2005 17:09
To: Struts Users Mailing List
Subject: Struts and DisplayTag CSS?

For this link, http://localhost:8080/erp/
displaytag is okay to display with css beautifully.

For this link, http://localhost:8080/erp/addUserProfile.do
all the css effect disappear.

my web.xml
  
/user/addUserProfile.jsp
  

my jsp file has a css line
  
  
  

my struts mapping is

  


Any hints to solve?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 
E-Mail Disclaimer 
 
Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene 
Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung 
reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. 
Beachten Sie bitte, dass jede Form der unautorisierten Nutzung, 
Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser 
E-Mail nicht gestattet ist. Diese Nachricht ist ausschliesslich fuer 
den bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie 
nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, 
so bitten wir Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen.


For legal and security reasons the information provided in this e-mail is not 
legally binding. Upon request we would be pleased to provide you with a legally 
binding confirmation in written form. Any form of unauthorised use, 
publication, 
reproduction, copying or disclosure of the content of this e-mail is not 
permitted. 
This message is exclusively for the person addressed or their representative. 
If you are not the intended recipient of this message and its contents, please 
notify the sender immediately.

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



Re: Struts and DisplayTag CSS?

2005-09-15 Thread Ivan Rodriguez
You have distinct code in both url's. It is imposible that one work and 
the other doesnt work if you have the *same* displaytag configuration 
and css and other needed files declared in both jsp. Because they are at 
same url level ( /erp/ )



梁炳場 escribió:


For this link, http://localhost:8080/erp/
displaytag is okay to display with css beautifully.

For this link, http://localhost:8080/erp/addUserProfile.do
all the css effect disappear.

my web.xml
 
   /user/addUserProfile.jsp
 

my jsp file has a css line
 
 
 

my struts mapping is
   
 
   

Any hints to solve?

-
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 and DisplayTag CSS?

2005-09-15 Thread 梁炳場
For this link, http://localhost:8080/erp/
displaytag is okay to display with css beautifully.

For this link, http://localhost:8080/erp/addUserProfile.do
all the css effect disappear.

my web.xml
  
/user/addUserProfile.jsp
  

my jsp file has a css line
  
  
  

my struts mapping is

  


Any hints to solve?

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



Validation Issue

2005-09-15 Thread Amol Yadwadkar
Hi List,

I am using Validation Framework.

 









 

 
mask

 
${taxid}







 

In the above when mask rule fails it picks up the message against the
errors.invalid key in the properties file 

 rather than the specified key as "prompt.taxid" in validation.xml 

 

Can anyone pls suggest me my mistake ?

Thankx

Best regds,

Amol

 

 



Re: A little bit OT: unicode escape editor

2005-09-15 Thread Emmanouil Batsis

Wojciech Ciesielski wrote:


Hi there,

It's a bit off topic ;-) Does any of you know of some free/shareware editor
or eclipse plug-in allowing transforming Unicode text into ISO-8859-1
escaped strings?




We usually just edit out files (i.e. *.properties) with our editors in 
UTF-8 and feed them to native2ascii with ant before deployment.


hth,

Manos

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



A little bit OT: unicode escape editor

2005-09-15 Thread Wojciech Ciesielski
Hi there,

It's a bit off topic ;-) Does any of you know of some free/shareware editor
or eclipse plug-in allowing transforming Unicode text into ISO-8859-1
escaped strings?

TIA

Wojtek



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



RE: Error message not very helpful

2005-09-15 Thread Holshausen, Ron
Hi Murray,

I would guess that you are using  on an object that
is null. Check your objects that you are accessing in the page. If the
data is coming from a database, it could be a null column.

-Original Message-
From: Murray Collingwood [mailto:[EMAIL PROTECTED] 
Sent: 15 September 2005 16:19
To: user@struts.apache.org
Subject: Error message not very helpful

Hi all

I came across this message this afternoon.  I've tried stepping through
with the 
debugger but can't seem to work out why I keep getting this error.  The
code appears to 
be okay, the bean and property are set correctly.  I'm assuming it is
something in my 
"display.jsp" file but there is nothing obvious - it seems to fail after
I have updated some 
related tables.  Normal display of the data is working okay.  

Do you think the error message could tell me which property it was
trying to retrieve 
from which bean?  The message is:

type Exception report

message 

description The server encountered an internal error () that prevented
it from fulfilling 
this request.

exception 

org.apache.jasper.JasperException: Attempted a bean operation on a null
object.

org.apache.jasper.runtime.JspRuntimeLibrary.handleGetProperty(JspRuntime
Library.ja
va:601)

org.apache.jsp.WEB_002dINF.pages.tours.display_jsp._jspService(display_j
sp.java:18
9)

org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:325)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFi
lter.java:362)

org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.jav
a:1063)

org.apache.struts.action.RequestProcessor.processForwardConfig(RequestPr
ocessor.ja
va:386)

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

org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)

org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFi
lter.java:362)


Kind regards
mc


FOCUS Computing
Mob: 0415 24 26 24
[EMAIL PROTECTED]
http://www.focus-computing.com.au



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.25/102 - Release Date:
14/09/2005


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 
E-Mail Disclaimer 
 
Aus Rechts- und Sicherheitsgruenden ist die in dieser E-Mail gegebene 
Information nicht rechtsverbindlich. Eine rechtsverbindliche Bestaetigung 
reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach. 
Beachten Sie bitte, dass jede Form der unautorisierten Nutzung, 
Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser 
E-Mail nicht gestattet ist. Diese Nachricht ist ausschliesslich fuer 
den bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie 
nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, 
so bitten wir Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen.


For legal and security reasons the information provided in this e-mail is not 
legally binding. Upon request we would be pleased to provide you with a legally 
binding confirmation in written form. Any form of unauthorised use, 
publication, 
reproduction, copying or disclosure of the content of this e-mail is not 
permitted. 
This message is exclusively for the person addressed or their representative. 
If you are not the intended recipient of this message and its contents, please 
notify the sender immediately.

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



Re: Error message not very helpful

2005-09-15 Thread gramani
"Murray Collingwood" <[EMAIL PROTECTED]> wrote on 09/15/2005 
09:18:32 AM:

> org.apache.jasper.JasperException: Attempted a bean operation on a 
> null object.
> 
> org.apache.jasper.runtime.JspRuntimeLibrary.
> handleGetProperty(JspRuntimeLibrary.ja
> va:601)
> 

Hi Murray, take a look at line 189 of the compiled java class of 
display.jsp (in your work directory):

> org.apache.jsp.WEB_002dINF.pages.tours.display_jsp.
> _jspService(display_jsp.java:18
> 9)

hth,
Geeta


Error message not very helpful

2005-09-15 Thread Murray Collingwood
Hi all

I came across this message this afternoon.  I've tried stepping through with 
the 
debugger but can't seem to work out why I keep getting this error.  The code 
appears to 
be okay, the bean and property are set correctly.  I'm assuming it is something 
in my 
"display.jsp" file but there is nothing obvious - it seems to fail after I have 
updated some 
related tables.  Normal display of the data is working okay.  

Do you think the error message could tell me which property it was trying to 
retrieve 
from which bean?  The message is:

type Exception report

message 

description The server encountered an internal error () that prevented it from 
fulfilling 
this request.

exception 

org.apache.jasper.JasperException: Attempted a bean operation on a null object.

org.apache.jasper.runtime.JspRuntimeLibrary.handleGetProperty(JspRuntimeLibrary.ja
va:601)

org.apache.jsp.WEB_002dINF.pages.tours.display_jsp._jspService(display_jsp.java:18
9)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)

org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)

org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.ja
va:386)

org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)


Kind regards
mc


FOCUS Computing
Mob: 0415 24 26 24
[EMAIL PROTECTED]
http://www.focus-computing.com.au



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.25/102 - Release Date: 14/09/2005


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



Re: Printer Friendly Struts Form

2005-09-15 Thread Ed Griebel
This is a creative idea for presentation, and the attribute can be
changed by simple javascript. But, there might be an application
access/security issue with this if this method is used for display of
read-only data, as you are sending an editable version of the form
even though it's hidden. Some browsers allow you to change CSS on the
fly, e.g. firefox with the EditCSS plugin.

-ed

On 9/14/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Here's a solution for you, but I don't know its applicability to Firefox,
> and won't work for inline styling.
> 
> 1. Start by outputting the information in a text area and in a div/span.
> 2. Give each different class names/ids, say foo and bar respectivly.
> 3. Link to your stylesheet or declare your style section defining all your
> styles EXCEPT for foo and bar.
> 4. Define two more stylesheets or style sections.
> 5. In one use the attribute media="screen"  and within the section do
> foo { display: inline;}
> bar{display: none;}
> 6. In the second one do the same thing but reverse the display properties.
> 
> 
> 
> Mariano
>

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



Re: Some i18n issues

2005-09-15 Thread Ivan Rodriguez
I think the *cleanest* way is to format data at presentation layer 
(jsp). Last example from Laurie is quite correct and clean, if it is too 
long code let get a try with JSTL and

Struts-EL taglibs ()

Michael Ewers escribió:


Hi,

To avoid misunderstandings: My goal is to have a DynaActionForm 
definition's "initial"-value translated in a locale specific manner so 
that e.g. the -tag displays a initial="1,001.00" as a 
"1.001,00" in German locale Browsers.
After reading some struts-code I think that the best (meaning 
"cleanest") way to do it ist to change the classes that prepopulate 
DynActionForms from the "initial" attribute. That won't be easy 
because the forms are populated when the modules are configured. That 
means there's no locale available by then. That's why I might have to 
change some more classes.

I'll try to do those changes and offer the patches on the dev-list.

Michael.




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



Re: Some i18n issues

2005-09-15 Thread Michael Ewers

Hi,

To avoid misunderstandings: My goal is to have a DynaActionForm 
definition's "initial"-value translated in a locale specific manner so 
that e.g. the -tag displays a initial="1,001.00" as a 
"1.001,00" in German locale Browsers.
After reading some struts-code I think that the best (meaning 
"cleanest") way to do it ist to change the classes that prepopulate 
DynActionForms from the "initial" attribute. That won't be easy because 
the forms are populated when the modules are configured. That means 
there's no locale available by then. That's why I might have to change 
some more classes.

I'll try to do those changes and offer the patches on the dev-list.

Michael.


From: "Laurie Harper" <[EMAIL PROTECTED]>

 


Michael Ewers wrote:
   


Can anyone see a reason why the html:text implementation in
 


struts-html.tld
 


doesn't support a formatKey attribute?
 


I guess because there are already ways to format values which can be
composed with  so it doesn't *need* to support it. If
there's some reason that approach wont work in some situation or other,
or if you feel strongly that the convenience of adding formatKey to
 and/or other tags outweighs the API bloat, you can submit
an enhancement request, though.

   


To whom can I send patches that I write?
 


The best way is to open a ticket in Bugzilla and attach patches there.
Posting to / nagging on the dev list is the best way to get the patches
looked at and would be the best place to ask whether such patches are
likely to be accepted.
   



http://issues.apache.org/bugzilla/show_bug.cgi?id=22991

Niall



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



MockStrutsTestCase and fileupload

2005-09-15 Thread Anuradha S.Athreya
I'm trying to write a MockStrutsTestCase to upload a file onto the server
and the details regarding th file will be stored in the database.

I have written the test case on lines of the code provided here : 
http://sourceforge.net/forum/forum.php?thread_id=1265326&forum_id=121751 

My problem also appears in this thread(last one). I did cross post here to
find a solution to my problem soon.





MockStrutsTestCase and fileupload

2005-09-15 Thread Anuradha S.Athreya
I'm trying to write a MockStrutsTestCase to upload a file onto the server
and the details regarding th file will be stored in the database.

I have written the test case on lines of the code provided here : 
http://sourceforge.net/forum/forum.php?thread_id=1265326&forum_id=121751 

My problem also appears in this thread(last one). I did cross post here to
find a solution to my problem soon.





Re: JavascriptValidatorTag.doStartTag(JavascriptValidatorTag.java:309) ( URGENT !! )

2005-09-15 Thread Ivan Rodriguez
I suggest to check the file _index.java at line 215. Look up for it at 
your .jsps precompile dir, or IAS deployment dir. The only way to get 
any hint is to see the precompile jsp code.

Compare that line both development and production.

EROL TEZCAN escribió:


We dont use ADF, Martin. But this application works fine in local app server 
(oracle 10g ias).

Ivan, we dont use tomcat server for development. We use same server oracle 10g 
ias.

Also this app works fine in my OC4J of JDeveloper 10g .  


In where automatic string-number castin

Any suggestion?

Erol

Ivan Rodriguez <[EMAIL PROTECTED]> wrote:
Martin, Oracle ADF Runtime needs to be installed...but if it is used ;) 
I think Erol is not using ADF.


Erol, keep in mind that tomcat and IAS are *different*. I saw a similar 
error with tomcat doing automatic string-number cast, and IAS not.


Martin Gainty escribió:

 

Be mindful that Oracle ADF Runtime needs to be installed on the target 
webapp server check out
http://www.oracle.com/technology/products/jdev/howtos/10g/adf_runtime_update_howto.html 


HTH,
Martin-
- Original Message - From: "Laurie Harper" 
To: 
Sent: Wednesday, September 14, 2005 11:25 AM
Subject: Re: 
JavascriptValidatorTag.doStartTag(JavascriptValidatorTag.java:309) ( 
URGENT !! )



   

I don't have the 1.1 source code checked out so I don't know exactly 
what it's failing on but I would suggest checking two things:


1) make sure all the attribute values you're passing into the tag are 
valid, and


2) make sure the form bean for the enclosing form tag is being found 
(i.e. that you have your form-bean / action mappings setup right.


L.

EROL TEZCAN wrote:

 


Hi,
We want to deploy an struts application to live server (oracle 10g 
IAS). This application is working properly on our local server. But 
when we want to deploy and start this app. it gives an error like this.

500 Internal Server Error
java.lang.NullPointerException
at 
org.apache.struts.taglib.html.JavascriptValidatorTag.doStartTag(JavascriptValidatorTag.java:309) 


at _index._jspService(_index.java:215)
[SRC:/index.jsp:61]
at com.orionserver[Oracle Application Server Containers for 
J2EE 10g 
(9.0.4.1.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at 
oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
at 
oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)

at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 
10g 
(9.0.4.1.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765) 

   

 

at com.evermind[Oracle Application Server Containers for J2EE 
10g 
(9.0.4.1.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317) 

at com.evermind[Oracle Application Server Containers for J2EE 
10g 
(9.0.4.1.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793) 

at com.evermind[Oracle Application Server Containers for J2EE 
10g 
(9.0.4.1.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208) 

at com.evermind[Oracle Application Server Containers for J2EE 
10g 
(9.0.4.1.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125) 

at com.evermind[Oracle Application Server Containers for J2EE 
10g 
(9.0.4.1.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) 


at java.lang.Thread.run(Thread.java:536)

We use struts 1.1 ( old versiyon not 1.2.7 )and all xml, jar .. 
files are in the right place. How can we solve this ? It is very 
urgent solving this problem. Thanks,

Erol


-
Yahoo! for Good
Click here to donate to the Hurricane Katrina relief effort.
   



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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
 




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