Re: Validating errors

2001-08-08 Thread Kelvin_Ho
** Note: This e-mail is subject to the disclaimer contained at the bottom of this message. ** : In your source code, try this errors.add("TxtSubject"

Re: Problems installing struts

2001-08-08 Thread Kelvin_Ho
** Note: This e-mail is subject to the disclaimer contained at the bottom of this message. ** : It seems the ApplicationResources.properties is missin

[PATCH] OptionsTag.doEndTag -> efficiency using getIterator()

2001-08-08 Thread Duff, Jason
When the logic falls into the section of code that uses "separate iterators" to render the options there is the potential that the getIterator() is called twice to get an iterator to the same list. It is inefficient in the sense that the underlying method that returns the collection for the itera

RE: Uploading Files

2001-08-08 Thread SCHACHTER,MICHAEL (HP-NewJersey,ex2)
Shawn, >private void test(FormFile file) throws Exception >{ > > //retrieve the content type > String contentType = file.getContentType(); > > //retrieve the file data > ByteArrayOutputStream baos = new >ByteArrayOut

Validating errors

2001-08-08 Thread Shawn Sohl
I'm having a small problem with displaying my error messages in my .jsp page. I'm probably missing something simple, so I'll just post my code and hopefully someone can help. public ActionErrors validate(ActionMapping mapping,HttpServletRequest req) { ActionErrors errors =

Problems installing struts

2001-08-08 Thread Marcelo Sampaio
Hi everybody. I`m experimenting problems installing jakarta-struts. I did all the instructions in the installation file and get the follow error Error: 500 Location: /struts-example/logon.jsp Internal Servlet Error: javax.servlet.ServletException: Missing message for key logon.title

Re: problem in websphere

2001-08-08 Thread Rajasekhar Bodduluri
Hi all, We are using websphere3.5.3 and struts, when i am comparing empty string its giving null exception. ex: ** ** If i done in tomcat4 server it is working fine but in websphere3.5.3 it is throwing exception, if anybody knows solution regardin