Re: Reasons for using Struts

2003-09-28 Thread Christian Bollmeyer
Am Samstag, 27. September 2003 06:53 schrieb Martin Gainty: To sum it up in short, as this issue has already been dicussed numerous times, and considering you've already been given the appropriate links: the actual question would be whether to use an MVC approach or not. So it's about

Re: Reasons for using Struts

2003-09-28 Thread Ted Husted
Martin Gainty wrote: What are the reasons for using Struts? That is what are the Reasons for which Struts would be a more suitable choice than say plain JSP/Servlet? In terms of to Model 2 or not to Model 2, here are some oldies but goodies: http://www.servlets.com/soapbox/problems-jsp.html

[Question] Problem with bean:include.

2003-09-28 Thread Rajesh M Vasudevan
Hi, I am using the following code for including another jsp bean:include id=Head forward=headTemplate/ This is working fine when I load a file with .jsp extension. But, when a jsp page loads following an action mapping, it fails to load. No exceptions, but the page doesnt appear. I've the

Re: Reasons for using Struts

2003-09-28 Thread Martin Gainty
My ultimate goal is to explore reasons to re-architect existing JSP/Servlet to MVC (Struts) One of the issues the current site is experiencing is poor performance I will check out the links supplied here Many thanks to Christian and Ted for their insight into MVC Thanks, Vielen Dank, Martin

RE: Reasons for using Struts

2003-09-28 Thread Steve Armstrong
Hi, This is a good place to start: http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsBenefits Cheers, -Steve -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Saturday, September 27, 2003 12:53 AM To: [EMAIL PROTECTED] Subject: Reasons for using Struts What are

Re: Going from https on /member.do, back to http on index.jsp?

2003-09-28 Thread James Harman
Adam, I am not sure what demographic your users are in. However, I consider it HIGHLY unlikely that the average surfer will even notice that after they are logged in the site is all ssl. The people who would care are the people who have an idea what ssl is and might actually appreciate that

[Question] NESTED Tag - Get value from parent object

2003-09-28 Thread Rajesh M Vasudevan
Hi, In the nested tag, if I'm at the L3 level of nesting, can I take a value from L2 or L1 level of the tag? e.g: if Test has a getter method getName nested:form action=/Test nested:nest property=nodeDetails nested:link action=/Test1 paramID=something paramProperty=Name

[OT]Email formatter component?

2003-09-28 Thread Mick Knutson
I am wondering if anyone knows of a good component for formatting email messages in text and HTML. --- Thanks Mick Knutson coming soon: Your SOS: Your personal emergency contact system. http://YourSos.com +001(805) 563-0666 Office +001 (708) 570-2772 Fax ---

Re: [OT]Email formatter component?

2003-09-28 Thread Yann Cébron
try Velocity (http://jakarta.apache.org/velocity/), it integrates very well w/ Struts HTH, Yann *** I am wondering if anyone knows of a good component for formatting email messages in text and HTML. - To unsubscribe,

Re: [Question] Problem with bean:include.

2003-09-28 Thread Adam L
Where's the connection between 'Head', 'headTemplate' and 'headTemp' ? Perhaps it's the mismatch of names that's causing grief... - Original Message - From: Rajesh M Vasudevan [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, September 28, 2003 7:33 AM

[OT] Error Messages using standard security constraint?

2003-09-28 Thread Mick Knutson
I am using the standard web.xml security constraint with JBoss, and if a user enters a wrong username and/or password, there is not an error message generated to tell about the error. I just get the same logon form page. How do I add an error message in the struts manner? --- Thanks Mick Knutson

multiple forms in one jsp

2003-09-28 Thread Erez Efrati
I have a page with two forms. For one an action gets called so I can initialize the first form easily. But for the second form in the same page, how can it be initialized? Thanks in advance, Erez - To unsubscribe, e-mail:

Re: [SOLUTION] NESTED Tag - Get value from parent object

2003-09-28 Thread Rajesh M Vasudevan
You can use ../ or ../../ depending on the backward level one would like to go or \ to go to the root.. just like directory structure nested:form action=/Test nested:nest property=nodeDetails nested:link action=/Test1 paramID=something paramProperty=../NameA Link/nested:link

RE: Reasons for using Struts

2003-09-28 Thread Bryan Hanks
I use it because it is much easier to maintain. If the front-end (JSP) needs to be updated only, I can do that without accidentally messing with the underlying business logic. Conversely, if the business rules change (and they always do...), I can change them without worrying about having to

[Need Urgent Help] Problem with LookupDispatchAction

2003-09-28 Thread Rajesh M Vasudevan
Hi, I was following the link http://jakarta.apache.org/struts/api/org/apache/struts/actions/LookupDispatc hAction.html to implement multiple submit buttons mapped to the same Action Bean. I couldnt achieve the same. Here is a step by step account of what I did: 1.struts-config.xml action

Re: multiple forms in one jsp

2003-09-28 Thread Paul Rashidi
Instantiate it yourself from within the action and attact it to the request object inside of your action. On Sun, 2003-09-28 at 18:12, Erez Efrati wrote: I have a page with two forms. For one an action gets called so I can initialize the first form easily. But for the second form in the same

Re: [Need Urgent Help] Problem with LookupDispatchAction

2003-09-28 Thread Rajesh M Vasudevan
Hi all, Eventhough I didnt miss it in my actual implementation, I missed to put the property=action in the jsp tag. Still the mechanism doesnt seem to work :-( So, the updated JSP would be nested:submit property=action bean:message key=button.Store//nested:submit Any feedbacks? -Rajesh Hi, I

Re: Reasons for using Struts

2003-09-28 Thread Martin Gainty
Agreed..modifying one layer while leaving the others in a reliable state is well worth the refactoring effort.. Thanks, -Martin - Original Message - From: Bryan Hanks [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, September 28, 2003 8:36 PM Subject: RE: Reasons for using Struts

Re: [SOLVED] Problem with LookupDispatchAction

2003-09-28 Thread Rajesh M Vasudevan
Hi all, The framework seems to look for the default execute method in the action class. If it finds one, it doesn't bother for a lookup of any other action mapping. So, I removed the execute method.. and the mapping is very much in place. Thanks Rajesh Hi all, Eventhough I didnt miss it in

Struts and UML class diagrams and reverse engineering

2003-09-28 Thread Mahbub ul Huq Bin Kabir
Hi, I'm eclipse as IDE for my Struts and easy struts for struts plugin. Recently I install the OMONDO UML plugin to the Eclipse. It has a drag and drop facalities to design the class diagrams from the existing codes. But it could not manage to generate the classess that extends the Struts

Re: [OT] Error Messages using standard security constraint?

2003-09-28 Thread Max Cooper
Do you have the form-error-page set to something different than the form-login-page? That is the normal means to inform the user that something was wrong with the username/password combo they typed in. Of then the form-error-page is nearly identical to the form-login-page, except that a bad

RE: javax.servlet.ServletException: BeanUtils.populate

2003-09-28 Thread krishnamohan
Hi Gaurav, It's me. Are you working on Struts? Thanks, Krishna -Original Message- From: Gaurav Gupta [mailto:[EMAIL PROTECTED] Sent: Saturday, September 27, 2003 4:18 PM To: 'Struts Users Mailing List' Subject: RE: javax.servlet.ServletException: BeanUtils.populate Is it Krishna

stopping resetting of the form bean

2003-09-28 Thread Nisith Dash
how can i prevent reset method from being called automatically everytime i call the execute method ofany action class. Thanks in advance Nisith ** Message from InterScan E-Mail VirusWall NT ** ** No virus found in attached file noname.htm ** No virus found in attached file