Using struts with cocoon and Jrun

2003-01-07 Thread Reza Aliakbari
Dear friends,

I want to use cocoon with struts and Jrun
And I want to use jsp instead of xsp.

How can I configure cocoon to use jrun as JSPEngine,...?

Thanks,
Reza 

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




whart is the best web application server for developers?

2002-12-08 Thread Reza Aliakbari
Dear friends,

I use jrun4.0  as web application; but this server now has made some problem
for me.
Can you offer me a nice web application server during development?
Can you e-mail me the URL for comparing between web application servers?

Thanks.



Assigning an object(FormFile) to a dynamic form.

2002-11-18 Thread Reza Aliakbari
Hi,
 
I use dynamic forms in my projects; but this time I want to upload
A file and when I use   form-property name=myFile
type=org.apache.struts.upload.FormFile / 
An error occurs that says that cannot assign String to FormFile.
How can I use dynamic form with this kind of objects?
 
Thanks, reza.
 



When I use enctype=multipart/form-data ...

2002-11-18 Thread Reza Aliakbari
Dears,
 
When I use enctype=multipart/form-data for my form enctype, I lose 
My parameter for example I use below codes :
 
In Action :
DynaActionForm dynaForm = (DynaActionForm)form;
dynaForm.set( dispatch, update );
 
In Jsp :
   html:hidden property=dispatch /
  logic:equal parameter=dispatch value=update 
   html:submitbean:message key=button.update//html:submit
 /logic:equal
 
if my form enctype is multipart/form-data I can't see my submit button.
Please help me how can I solve this problem.
 
Thanks.



Reading application object in action.

2002-11-16 Thread Reza Aliakbari
Hi,
 
How can I read application object in action section?
As we now application is defined in jsp pages and is:
 
ServletConfig config = getServletConfig(); 
ServletContext application = config.getServletContext();
 
Cheers



Some thing like jsp:setProperty.....

2002-11-13 Thread Reza Aliakbari
Hi,
 
I need a class that get my form object and another object and then set
similar property of the form
Object to the second object.
This what jsp:setProperty. do.
 
Cheers, Reza.