RE: Has anyone deployed struts to iPlanet?

2000-12-15 Thread Zeltser, Mark

We tried to deploy on iPlanet 6.0 with not much success. Our application was
a stripped version of struts. Deployment was a nightmare, support was
terrible. The application choked when servlet was redirecting exceptions to
JSP pages. 

After numerous follow ups with iPlanet engineering group we gave up and
experimented with WebLogic 6.0. The deployment process was simple (our app
was already converted to struts at this point) We were able to run the app
after not using MessageResources :)(pleaser read previous e-mails re. this
issue and Craig's follow up ). 

BTW, I found www.theserverside.com site useful for application server
reviews.

Mark.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 14, 2000 3:00 PM
To: [EMAIL PROTECTED]
Subject: Has anyone deployed struts to iPlanet?


I am looking for individuals who are using Struts with iPlanet so I can get
some lessons learned.

Thanks!

Lou Farho
Sr. Engineer
Level (3) Communications, Inc.
720-888-7751



RE: PROPOSAL: TAG-File

2000-12-15 Thread Azeem, Syed

i support this idea..

 --
 From: Robert Leland[SMTP:[EMAIL PROTECTED]]
 Sent: Friday, December 15, 2000 9:37 AM
 To:   [EMAIL PROTECTED]
 Subject:  PROPOSAL: TAG-File
 
 I would like to propose that the TAG-File
 for 'Dream Weaver Ultra Dev' that
 Thierry Cools posted on Nov 17 become an official
 part of struts.
 
 I believe this would be another key element to the
 wider acceptance and use of struts. Others new to
 struts could easily use, add and expand on his work
 to visually design of struts pages. It's work that many
 companies would otherwise attempt independantly.
 
 Vote, Comments ?
 
 -Rob Leland
 
 
 
 
 
 
 



PROPOSAL: TAG.xml-file

2000-12-15 Thread Robert Leland

I also would propose starting the development
of a 'TAG.xml-file ' fort Dreamweaver., so users can directly
design using 'custom tags' as opposed to
translate existing pages.




Re: PROPOSAL: TAG.xml-file

2000-12-15 Thread Thierry Cools



The Tag.xml file is really a good idea, but, in my opinion, I think it 
should be better to try to integratethose translators  tags in 
theUltradev product rather than Struts.
I don't know what you think about it, but I really think that Ultradev is 
the place where to put them.

Thierry

P.S. : Thanks for your support about the translator.
Thierry CoolsSenior Java Developer 
S1 Brussels Kleine Kloosterstraat, 23 1932 st. Stevens-Woluwe 
Belgium Tel : +32 2 200 43 82 Email : [EMAIL PROTECTED] 

  - Original Message - 
  From: 
  Robert 
  Leland 
  To: [EMAIL PROTECTED] 
  
  Sent: Friday, December 15, 2000 3:44 
  PM
  Subject: PROPOSAL: TAG.xml-file 
  I also would propose starting the developmentof a 
  'TAG.xml-file ' fort Dreamweaver., so users can directlydesign using 
  'custom tags' as opposed totranslate existing 
pages.


Input tag and xml

2000-12-15 Thread bram



Hi,

I have noticed the following, when I make a form 
using struts, with radio, checkbox and hidden fields,
and later on do an xsl transformation over the 
"xhtml" the xhtml is invalid. the form:hidden and other 
Basefieldtags
are rendered as input type="xxx"  
(without the / )

is there a reason that it is not rendered as 
input type="xxx"/ (with the / )
or input type="xxx"/input so 
I can "transform" it lateron?

Thanx

Bram Meijboom


Re: Input tag and xml

2000-12-15 Thread Matthias Kerkhoff

 is there a reason that it is not rendered as input type="xxx"/ (with the / )
 or input type="xxx"/input  so I can "transform" it lateron?

The HTML4 spec. disallows a closing tag for input. So, both input ... /
and input/input would be invalid (for html4). Probably input / 
would be ok - I remember it was mentioned somewhere in the xhtml spec. - but
I'm not sure, if non-xhtml-browsers could really handle it.

Matthias(mailto:[EMAIL PROTECTED])





Re: Has anyone deployed struts to iPlanet?

2000-12-15 Thread Craig R. McClanahan

"Zeltser, Mark" wrote:

 After numerous follow ups with iPlanet engineering group we gave up and
 experimented with WebLogic 6.0. The deployment process was simple (our app
 was already converted to struts at this point) We were able to run the app
 after not using MessageResources :)(pleaser read previous e-mails re. this
 issue and Craig's follow up ).


By the way ... last night, I checked in a new version of MessageResources that
is now Serializable.  It is in the 20001215 nightly build (yes, the nightly
build is back as well).

Craig McClanahan





Re: Problems parsing struts-config.xml

2000-12-15 Thread Craig R. McClanahan

Jannik Nørgaard Steen wrote:

 Hi,

 I have troubles with parsing the struts-config.xml.

 The parser apparently uses the dtd from the struts.jar I've included in the
 servlet container classpath (see attached stacktrace). What I don't
 understand is why the xml-parser complaints about every single element in my
 struts-config.xml. I can not see any errors in my xml.

 I'm using Struts 20001215 binary dist., Resin 1.1.5 and JDK 1.3

 Any suggestions, please ?


You have not declared the document type at the top of the struts-config.xml file (just
after the "?xml ... ?" directive), so the parser has no way to know what DTD you are
claiming conformance with.  Try adding:

!DOCTYPE struts-config PUBLIC
  "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN"
  "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd"

and it should work better.

Craig





Re: Input tag and xml

2000-12-15 Thread Craig R. McClanahan



bram wrote:

Hi,I
have noticed the following, when I make a form using struts, with radio,
checkbox and hidden fields,and
later on do an xsl transformation over the "xhtml" the xhtml is invalid.
the form:hidden> and other Basefieldtagsare
rendered as input type="xxx"> > (without the / )is
there a reason that it is not rendered as input type="xxx"/> (with
the / )or input type="xxx">/input>
so I can "transform" it lateron?ThanxBram
Meijboom

What happens to an ordinary browser when it sees an input tag with
the closing "/" character as you suggest? If it works in every single
case, I'm inclined to agree with you.

Craig





Struts and Orion?

2000-12-15 Thread Neal Kaiser

Sorry if this has been covered before, I just joined (and don't know how to
get to the archives).

Has anyone successfully deployed the struts-examples for version 1.0 with
Orion 1.4.4?
I get the "Missing resources attribute org.apache.struts.action.MESSAGE"
error when
accessing it.

THank you.




Re: nested and indexed properties in 1.0?

2000-12-15 Thread Jim Newsham

Matthias Kerkhoff wrote:

  Is 1.0 going to have full support for nested and indexed properties?  I have y 
forms which use property names such as "apples[2].oranges[3]" and I would
  really appreciate it if this was supported in 1.0.  It's a simple change to
  support this since PropertyUtils already does it.  All that needs to be done

 Its indeed a simple change. I'm also running a modified version of struts
 capable to use nested and indexed properties. I would too like this feature
 to be incorparated into struts.

Is anyone who has implemented this modification willing to share?  I need this feature 
yesterday, and am hoping I don't have to wait until Struts 1.0 final
or (gasp) Struts 1.1.

Thanks in advance,

Jim Newsham




file upload

2000-12-15 Thread Juan Gargiulo

Hi,

I'm trying to use the file upload features from struts. I know that this is
suppose to be easy to use. But I keep receiving a null form in my perform
method and I can't figure out the problem.

JSP code:
-
form:form action="upload.do" name="uploadForm" method="POST"
enctype="multipart/form-data" type="UploadForm"
form:file property="file" /
form:submit property="submit" value="Submit"/
/form:form

UploadForm code:
---
public final class UploadForm extends ActionForm
{
private FormFile file;
public FormFile getFile() { return file;}
public void setFile(FormFile file) {this.file = file;}
}

UploadAction:perform() code:

public
ActionForward perform(ActionMapping mapping,
 ActionForm form, HttpServletRequest request, HttpServletResponse
response)
throws IOException, ServletException
{
UploadForm fileForm = (UploadForm) form;== form is coming null
FormFile file = fileForm.getFile();
.
}


Any help will be appreciated.

juan