bean message repost.

2002-04-04 Thread Ivan Siviero
Sorry for reposting but i had the date one year older. :) :) Hi. I have downloaded the latest struts stable version (1.0.2 ) and noticed the bean:message tag misses the attributes 'name' and 'property' which allow to get a message from ApplicationResources when the key is specified in a bean

bean message and name property (1.0.2)

2002-04-04 Thread Ivan Siviero
Hi. I have downloaded the latest struts stable version (1.0.2 ) and noticed the bean:message tag misses the attributes 'name' and 'property' which allow to get a message from ApplicationResources when the key is specified in a bean property. i.e.: with strust 1.0 i was able to do the following

Re: Passing JSP Variable Values to html:link tag - Ryan Norman

2002-03-29 Thread Ivan Siviero
Why using scriplet when you have struts ? A better solution should be html:link page=/viewUser.do paramId=UserID paramName=userid link string /html:link the paramName parameter is a bean which contains the value to pass to request. hope this helps Ivan. - Original Message - From:

Re: how to call getter method with parameter?

2002-03-18 Thread Ivan Siviero
You don't need to create a session variable. Just put a bean named user into the session (request.getSession().setAttribute(user, value) ). form jsp just call bean:write name=user property=name/ Of course i suppose the user bean implements a getName() method. Ivan. - Original Message -

display error message

2002-03-18 Thread Ivan Siviero
A question about showing errors. let's suppose i have this page (just image the page on the browser): first name: textfield last name: textfield phone n.: textfield How can i reach the following result when showing error message ? first name: textfield error

Re: display error message

2002-03-18 Thread Ivan Siviero
-Original Message- From: Ivan Siviero [mailto:[EMAIL PROTECTED]] Sent: Montag, 18. März 2002 11:09 To: Struts Users Mailing List Subject: display error message A question about showing errors. let's suppose i have this page (just image the page on the browser): first name: textfield

Re: display error message

2002-03-18 Thread Ivan Siviero
Thanx Mark for your answer. I visited the link and found out what i was looking for. Thank you Ivan. - Original Message - From: Ivan Siviero [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, March 18, 2002 2:14 PM Subject: Re: display error message Thanx

Re: jsp pagis in /WEB-INF directory

2002-03-08 Thread Ivan Siviero
the WEB-INF directory is protected. You cannot access the jsp directly from the url. You have to execute an action or a forward. this should works: html:link forward=myForward in the struts-config.xml: global-forwards forward name=myforward path==/WEB-INF/pages/jsp/A.jsp/ /global-forwards

Re: jsp pagis in /WEB-INF directory

2002-03-08 Thread Ivan Siviero
in the struts-config.xml: global-forwards forward name=myforward path==/WEB-INF/pages/jsp/A.jsp/ /global-forwards Ivan. sorry i did some typo :) :) global-forwards forward name=myForward path=/WEB-INF/pages/jsp/A.jsp/ /global-forwards - Original Message - From:

Re: jsp pagis in /WEB-INF directory

2002-03-08 Thread Ivan Siviero
: java.net.MalformedURLException: Cannot retrive ActionForward named /pages/jsp/A.jsp and the solution proposed by Ivan Siviero: the WEB-INF directory is protected.You cannot access the jsp directly from the url.You have to execute an action or a forward.this should works: html:link forward

Re: jsp pagis in /WEB-INF directory

2002-03-08 Thread Ivan Siviero
Anyway I think some jsp container do not support jsp pages under the WEB-INF directory. I tried with tomcat 4.0 and it all works, but i remind someone told me weblogic doesn't. I'm not sure about this, anyway. :) :) Ivan. - Original Message - From: Ivan Siviero [EMAIL PROTECTED

Re: Parsing Error for struts-config.xml

2002-03-07 Thread Ivan Siviero
I'm having the same exception on SunOS 5.8 and Weblogic5.1sp9 which is still unsolved. I suppose you already have the xerces.jar in the classpath. Let me know if you get a solution on this. Thank you. Ivan. - Original Message - From: Suneet Shah [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: struts tags in jsp:included ~ pages

2002-03-06 Thread Ivan Siviero
!-- bar.jsp -- logic:iterate id=path name=path type=dao.daobeans.BaseLink a href=viewResource?id=jsp:getProperty name=path property=id/page/a /logic:iterate Just a simple question: the null attribute value is the attribute 'path' in logic iterate tag or in the jsp gerProperty tag? I know

weblogic SunOs 5.8 struts

2002-03-06 Thread Ivan Siviero
Yesterday i posted a message but no one has replyed yet. I was having problems with xerces.jar in deploying my struts application on weblogic - SunOs5.8. After some searching i ended up to substitute the xerces.jar with xercesImpl.jar and now a new exception is raised. I suppose nobody has

deploy weblogic51sp9 sunos 5.8

2002-03-05 Thread Ivan Siviero
hi everyone. I'm delploying my struts application on weblogic51sp9 and SunOS 5.8. when running weblogic server i get the following exception. It seems to be an xml parser exception. i put the xerces.jar at the beginning of the weblogic classpath but the exception is always raised. The

deploy weblogic51sp9 sunos 5.8 missing exception detail. :)

2002-03-05 Thread Ivan Siviero
:461) at javax.servlet.GenericServlet.init(GenericServlet.java:258) at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java :495) - Original Message - From: Ivan Siviero [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday

Re: deploy weblogic51sp9 sunos 5.8 missing exception detail. :)

2002-03-05 Thread Ivan Siviero
error exception while parsing struts-config.xml. I do not know what to do. Can someone give me a clue ? Ivan. - Original Message - From: Ivan Siviero [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, March 05, 2002 9:20 AM Subject: deploy weblogic51sp9 sunos

exception in action

2002-02-19 Thread Ivan Siviero
hi everyone. I have an errorpage to which all the exceptions are forwarded. This errorpage emails me the exception details and display a user friendly message instead of the complete exception details. Everything works fine when the exception occurs in some custom tag, i get the exception by

exception redirect [OT] ?

2002-02-18 Thread Ivan Siviero
Maybe this will be a little bit OT i want to redirect all the exception occurred in all actions and custom tags to a page which send me an email with exception details. In my web.xml i set the following tags error-page exception-typejava.lang.Throwable/exception-type

[REPOST] Struts - Weblogic5.1sp9 SunOS 5.8

2002-02-15 Thread Ivan Siviero
i do not know if the following problem is due to Struts. I do not think so but i try to post the message again to see if someone could help me. I'm a little bit puzzled i'm deploying my application on SunOS 5.8 and Weblogic 5.1sp9. I followed all the steps described by jakarta for deplying

bean message

2002-02-15 Thread Ivan Siviero
I'm a little bit puzzled about bean:message behaviour. Let's suppose the following situation ApplicationResources.properties key1=defaultKey1 key2=defaultKey2 ApplicationResources_de.properties key1=germanKey1 ApplicationResources_it.properties key1=italianKey1 key2=italianKey2 To switch the

Struts deploying on Weblogic SunOS 5.8

2002-02-14 Thread Ivan Siviero
i'm always trying to deploy my struts application on Weblogic 5.1sp9 SunOS 5.8. Evrerytime i access a jsp page the following error occurs: Compilation of 'pathTOMyJSP.java' failed: _ pathToMyJSP.java:39: Superclass

Re: help populating an array before perform action

2002-02-14 Thread Ivan Siviero
- Original Message - From: Ronald Haring [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 14, 2002 11:07 AM Subject: help populating an array before perform action Hi all, request.setAttribute(formBean, formBean); maybe it's something you don't like:

Re: logic:iterate question

2002-02-14 Thread Ivan Siviero
links like this: a href=ViewHeadlineAction.do?headlineID=XXYZ/a supposing the logic:iterate id paramenter is set to element It should be something like this html:link page=ViewHeadlineAction.do paramName=element paramId=headlineID paramPropery=getterMethodWhoReturnsX instead of the static a/a

Re: Tiles Definitions - how to I 18n them?

2002-02-06 Thread Ivan Siviero
definition name=index path=/layouts/courseBuilder.jsp put name=title value=Course Builder / put name=header value=/common/header.jsp / put name=menu value=doc.menu.main / put name=footer value=/common/footer.jsp / put name=body value=doc.portal.body / /definition

changing regexp in default validation

2002-02-05 Thread Ivan Siviero
Hi struts users. I'm posting a question on struts validator. Well, as you all know, the struts validator implements an email validation which is defined in the org.apache...StrutsValidator validateEmail() method. (Sorry if the names are not 100% equals to the original ones). Anyway this

file upload and struts1.0.1

2002-01-25 Thread Ivan Siviero
Yesterday i posted this but have received no reply yet.So i try to post it once again. Hope someone would help me somehow. I have this kind of problem but i don't know if it either depends on the struts framework or something else. The system configuration is Tomcat 4.0 and Apache Web Server.

struts-upload.war

2002-01-25 Thread Ivan Siviero
i have downloaded deployed the struts-upload.war file. I use Tomcat4.0 as JSP container. when i access the upload.jsp page i get this error: javax.servlet.ServletException: Cannot find ActionMappings or ActionFormBeans collection i looked at the struts-config.xml and web.xml files and nothing

nullpointer on file upload

2002-01-25 Thread Ivan Siviero
i'm using jakarta struts framework to develop JSP Servlet application. I have this kind of problem but i don't know if it either depends on the struts framework or something else. The system configuration is Tomcat 4.0 and Apache Web Server. So, i have a file upload in my web page and it works

file upload

2002-01-24 Thread Ivan Siviero
I have this kind of problem but i don't know if it either depends on the struts framework or something else. The system configuration is Tomcat 4.0 and Apache Web Server. So, i have a file upload in my web page and it works fine when i access the application through the port number. When i