Re: Text Box on JSP Page

2003-07-28 Thread Prashanth.S
hi have u tried to use html:text tag... try it along with some java script HTH Prashanth Anubhav Kale [EMAIL PROTECTED] wrote: Hello. I want to display a string inside text box on JSP Page. If the string contains spaces then only the 1st substring upto 1st space is diaplayed in text box on the

RE: Multiple modules - Please help

2003-07-28 Thread Ajay Patil
Hello, Thanks for the lightning response ! Actually, I am not switching modules. I am trying to forward to another action in the same module. I still get the 404 error with the contextRelative attribute in forward definition. Inside web.xml: --- init-param

Struts console plug-in - Bug - rewrite attribute

2003-07-28 Thread message message
To whom it my concern, I was using the Struts console plug-in Eclipse with the Struts-logon application. the console gives the error message Invalid struts config File error on line 44:Attribute rewrite is not declared for element forward. Validate that the file's DOCTYPE is supported

Re: Can Validator javascript show more than one error at a time?

2003-07-28 Thread Rob Leland
Look for this to be fixed in the nightly dated July 29. Brian Alexander Lee wrote: There's currently a defect (http://issues.apache.org/bugzilla/show_bug.cgi?id=20754) in bugzilla that would use (bitwise operator) instead of so it would process all validations. You can apply the patch

Survey builder with Struts

2003-07-28 Thread Marco Fabbri
Hi all, does someone knows how can I find a FREE struts application to dynamically build a survey? (Not Polls, I've yet installed and it's too simple for my issues...) A commercial example is this: http://www.surveytime.com/. But I need less features than this... Thanks a lot in advance. Marco

Design in Struts

2003-07-28 Thread rajendra . x . yadav
Hi All, I need some guidance about the design prespective of a Web Application using Struts. Is it advisable to have a Action with each Form? If not, then How to have a single action for all your forms and do some sort of redirection internally ? thanks -raj

Re: Text Box on JSP Page

2003-07-28 Thread Nagaraj G.K
Hi, HTML does not recognise white spaces... so when u try to write some value that contains space, it recognises upto the point where it encounters a space. So in order to retain the space what you have to do is very simple value='%=expression%' Cheers Nagaraj Anubhav Kale [EMAIL PROTECTED]

RE: Multiple modules - Please help

2003-07-28 Thread Steve Raeburn
Can you access the edit or remove actions by entering the URL in your address bar? e.g. http://localhost:8080/myapp/admin/edit.do?parameter=XXX Steve -Original Message- From: Ajay Patil [mailto:[EMAIL PROTECTED] Sent: July 27, 2003 11:21 PM To: [EMAIL PROTECTED] Subject: RE:

Re: Design in Struts

2003-07-28 Thread Puneet Agarwal
Raj, As per the best practice observation, it has always been suggested by people to have two actions associated with all your screens( considering one form per screen) . First one to load the page, and the other to process it. But in case like ours we could have ended up with too many actions.

modules sessions

2003-07-28 Thread Eugen Bushuev
Hi. Is it possible to have for each module separate jsp session? I.e. to have several session cookies with different paths matching app. modules? senx wbr, eugen. -- , .. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

AW: [OT] WebObjects vs. Struts

2003-07-28 Thread Frederic Dreier
Hi, It's an interesting question. I'm using WO5 (Wolips+eclipse) since I stared to work for my new company and I have not a big experience of struts. Actualy struts does not seem to have the features that my company requiered in order to switch from WO to stuts: frameworks, easy plugable and

RE: Survey builder with Struts

2003-07-28 Thread PREETAM Balijepalli
do u need for commercial purpose if so what all u need and what can you pay -Original Message- From: Marco Fabbri [mailto:[EMAIL PROTECTED] Sent: Monday, July 28, 2003 11:48 AM To: Struts Users Mailing List Subject: Survey builder with Struts Hi all, does someone knows how can I find a

Re: newbie question!

2003-07-28 Thread Alen Ribic
Hi I couldn't spot anything wrong below, did you get any runtime exceptions? If so, show a snippet. --Alen Hello, This question probably might have been asked many a times. But I searched the archive (though not fully) but could not find this. So, if anybody has a solution please do let

Re: newbie question!

2003-07-28 Thread Samanth Athrey
Hi, There are no exceptions at all! Once the FormBean is executed the control is not passed on to the Servlet! Regards, Samanth Athrey Alen Ribic [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi I couldn't spot anything wrong below, did you get any runtime exceptions? If so, show

Re: Text Box on JSP Page

2003-07-28 Thread Anubhav Kale
Hello. Thanks for solving my previous problem. I have one more problem now How can I display a string with spaces (e.g. anubhav kale ) on html page using tag H3 or any other ? I have tried to display it character by character. But as html does not recognize spaces it is displayed as

RE: How can I get a value and a name that is different on a html:options collection?

2003-07-28 Thread Bard A. Evjen
Thank you very much! I really appreciate your help! Cheers, Bård A. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Text Box on JSP Page

2003-07-28 Thread Nagaraj G.K
What you can do is using RegEx or looping thru you can replace the spaces with bnsp;. This will help you to retain the spaces as much as mentioned by you. Anubhav Kale [EMAIL PROTECTED] wrote:Hello. Thanks for solving my previous problem. I have one more problem now How can I display a string

Re: Text Box on JSP Page

2003-07-28 Thread Nagaraj G.K
What you can do is using RegEx or looping thru you can replace the spaces with nbsp;. This will help you to retain the spaces as much as mentioned by you. Anubhav Kale [EMAIL PROTECTED] wrote:Hello. Thanks for solving my previous problem. I have one more problem now How can I display a string

anyone used struts and hibernate 2gether?

2003-07-28 Thread Butt, Dudley
a quick q NOTICE: This message contains privileged and confidential information intended only for the person or entity to which it is addressed. Any review, retransmission, dissemination, copy or other use of, or taking of any action in reliance upon this information by persons or entities

File /WEB-INF/struts-bean.tld not found

2003-07-28 Thread Vinayak Birari
hi all, I am new to Struts, I have downloaded sample banking application oreilly site.(http://www.oreilly.com/catalog/jakarta/banking-dev.zip) I have unzipped the entire code in webapps\ROOT directory if I m getting following error org.apache.jasper.JasperException: File

Re: File /WEB-INF/struts-bean.tld not found

2003-07-28 Thread guruprasad jakka
Hi, Check out for these things 1)The file should be present the specicfied path. 2)The header tag must be included in the jsp where it is used. 3)The tag must be declared in web.xml 4) A path to struts.jar in Classpath. J G Guru Prasad V sem, Information Technology, Bachelor of Engineering,

Multiboxes getting selected by default

2003-07-28 Thread pradeep bhargav
Hi All, I'm showing a list of objects which have checkboxes at the end so that a record can be selected for modification or deletion. I'm using multiboxes for this purpose and i'm including the record's id(primary key) as the value for the multibox. My problem is that when the page

Re: File /WEB-INF/struts-bean.tld not found

2003-07-28 Thread Vinayak Birari
hi, thanks for the quick response, I have cheked all.option 2,3,4th points are checked.. my web.xml is located at C:\Program Files\Apache Tomcat 4.0\webapps\ROOT\banking\web\WEB-INF all the .tld file are also located at C:\Program Files\Apache Tomcat 4.0\webapps\ROOT\banking\web\WEB-INF in

Re: File /WEB-INF/struts-bean.tld not found

2003-07-28 Thread message message
Since readiing your email I deployed the banking.war file from http://examples.oreilly.com/jakarta/ I get a login page saying enter Access Number --- Pin Number Perhaps you should try that war file From: Vinayak Birari [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL

How to activate Reset method in ActionForm?

2003-07-28 Thread guruprasad jakka
Hi, how do I activate the reset method in the ActionForm. I have included the reset method in my ActionForm, but it is not activated. Also, I would like to know if the reset method is read before the display of the jsp. Thanks. J G Guru Prasad V sem, Information Technology, Bachelor of

Re: Multiboxes getting selected by default

2003-07-28 Thread Nagendra Kumar O V S
hi, checkbox with multibox typically uses 2 collections. an outer collection over which u iterate., which is the superset of all the required records u need to display... another collection is needed by the multibox tag... which is the set of all

Re: File /WEB-INF/struts-bean.tld not found

2003-07-28 Thread Vinayak Birari
Hi, I have tried deploying war file its workin fine. since i am interested in developing a appl. i tried to install by unzipping and manual configuration. Thanks, Vinayak. [EMAIL PROTECTED] 07/28/03 02:48PM Since readiing your email I deployed the banking.war file from

Re: How to activate Reset method in ActionForm?

2003-07-28 Thread Nagendra Kumar O V S
hi, u can't activate reset method from the actionform when theform is submitted, reset is called automatically and then the form elements are pupulated to the action form - nagi ---Original Message--- From:

STRUTS with EJB

2003-07-28 Thread Laurent MARQUEZ
Hi, I'm new in using of Struts. I would like to integrate STRUTS with EJB. I would like to have a complete example of struts with EJB. I interface STRUTS to EJB with the business delegate pattern but after i don't know how to write class Action, ActionForm, ActionForward... and configure my

Re: File /WEB-INF/struts-bean.tld not found

2003-07-28 Thread message message
OK. I decompiled the code to find the out the access number pin number. here is the code. if(123.equals(s) 456.equals(s1)) From: Vinayak Birari [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: File /WEB-INF/struts-bean.tld not found

Re: How to activate Reset method in ActionForm?

2003-07-28 Thread Vinayak Birari
Hi, according to struts docs... The methods such as reset and validate are callback methods, container will call these methods, we can not call these them [EMAIL PROTECTED] 07/28/03 02:49PM Hi, how do I activate the reset method in the ActionForm. I have included the reset method in my

Design Question - same action, many jsps/views

2003-07-28 Thread Brian McSweeney
Hi all, I've come across a situation which I'm not sure how to handle with struts. I have an action which, depending on from which page it's called, should forward to different jsps pages. Currently, for each resultant jsp, I create a new action with the exact same logic code inside which

RE: STRUTS with EJB

2003-07-28 Thread Brian McSweeney
http://xpestore.sourceforge.net -Original Message- From: Laurent MARQUEZ [mailto:[EMAIL PROTECTED] Sent: 28 July 2003 10:33 To: [EMAIL PROTECTED] Subject: STRUTS with EJB Hi, I'm new in using of Struts. I would like to integrate STRUTS with EJB. I would like to have a complete example

Re: File /WEB-INF/struts-bean.tld not found

2003-07-28 Thread Vinayak Birari
Hi, I am having entire source code ready. I have gone thr the code also. I just wanted to build it deploy it manually. :) [EMAIL PROTECTED] 07/28/03 03:06PM OK. I decompiled the code to find the out the access number pin number. here is the code. if(123.equals(s) 456.equals(s1))

RE: Design Question - same action, many jsps/views

2003-07-28 Thread Laurent PETIT
Hello, one way to solve it is not to duplicate code in different Action classes, but have many ActionMapping entries in your struts-config.xml file. This way you keep the navigational part of your application away from Action classes, but still avoid code duplication in Actions. HTH, --

Re: Multiboxes getting selected by default

2003-07-28 Thread Nagaraj G.K
In the form class have you set the ArrayList which holds the values of the selcted check boxes to null initially..? Cheers Nagaraj Nagendra Kumar O V S [EMAIL PROTECTED] wrote: FLAVOR00-NONE---;hi, checkbox with multibox typically uses 2 collections. an outer collection

submitting forms

2003-07-28 Thread Frances Aleah Z. de Guzman
how do you submit a form using javascript via html:link? -- Frances Aleah Z. De Guzman SA/Programmer Ingenium Technology, Inc. http://www.ingenium.com.ph Disclaimer : This message is intended only for the named recipient. If you are not the intended recipient you are notified that disclosing,

Re: File /WEB-INF/struts-bean.tld not found

2003-07-28 Thread message message
You probably need to reload your application after having made the entry in the web.xml file. From: Vinayak Birari [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: File /WEB-INF/struts-bean.tld not found Date: Mon, 28 Jul 2003 14:08:08 +0530

Multi-box: JasperException

2003-07-28 Thread Swati
I am getting a parsing exception when I use a multibox in my JSP. The JSP doesn't compiled. I am getting the exception at bean:write name=item property=name/ in line 5 below. Am I missing something? If I remove the multi-box tags, line 8 (which is same as line 5) works. Here is my code: 1.

Re: Re: Multiboxes getting selected by default

2003-07-28 Thread pradeep bhargav
Hi, This is how I'm generating the list of records, in this my main list is BusinessObjectsList which is a collection if BusinessObjectBean classes. This is the only collection I'm using. Should I be using another collection/array, if yes where should I have the setter and getter methods for

[OT] Is jsessionid specific to Tomcat or generic to all web containers?

2003-07-28 Thread Daniel Joshua
Quick question. Is jsessionid specific to Tomcat or generic to all web containers? Regards, Daniel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How to use JSTL taglib with struts html taglib

2003-07-28 Thread White, Joshua A (HTSC, CASD)
I would like to use the struts html taglig to generate a bunch of checkboxes. While the following is not correct, it encapsulates what I would like to do: c:forEach items=${myForm.myInformationView} var=basicView html:checkbox property=myItems value=c:out value='${basicView.itemId}'//br

Logon Submit returns a blank page

2003-07-28 Thread todd thorner
Hi and thanks, Ok, I have reached this far in my logon page development... The first JSP page comes up fine, showing me a form html:form action=/LogonSubmit with a rendered html:text tag for each required field (username and password), plus a Reset and a Submit button. Code sample below comes

Re: Re: Multiboxes getting selected by default

2003-07-28 Thread Nagaraj G.K
what is the collection and method name used in your form bean to hold the values of the multibox ?? pradeep bhargav [EMAIL PROTECTED] wrote:Hi, This is how I'm generating the list of records, in this my main list is BusinessObjectsList which is a collection if BusinessObjectBean classes. This

how can I switch between different languages

2003-07-28 Thread Johannes Plachy
Hi, how can I switch between different languages ( independent of the browser-settings ?) at runtime easily ? this setting should be valid if possible for the further session. any ideas ? thx johannes

How to activate Reset method in ActionForm?

2003-07-28 Thread guruprasad jakka
Hi, how do I activate the reset method in the ActionForm. I have included the reset method in my ActionForm, but it is not activated. Also, I would like to know if the reset method is read before the display of the jsp. Thanks. J G Guru Prasad V sem, Information Technology, Bachelor

Beginner html:multibox help

2003-07-28 Thread White, Joshua A (HTSC, CASD)
I would like to generate a list of check boxes from a collection but determine if the checkbox is checked using a String[]. How could this be done? The following code does not work, but shows what I have tried. Regards, Joshua FormBean ... private String[] userSelectedState;

RE: how can I switch between different languages

2003-07-28 Thread Andrew Hill
Switch off struts default locale handling (if I recall correctly this is the 'locale' attribute in the 'controller' element in struts-config.xml - set it to false) and provide the locale yourself stored in the same attribute in the session that struts stores it (the Action class provides a

Re: how can I switch between different languages

2003-07-28 Thread Ben
On http://jakarta.apache.org/struts/resources/tutorials.html there's a link to Struts i18n (=internationalization), to the following article: http://www.anassina.com/struts/i18n/i18n.html towards the end of that article there is a section dynamic language selection I hope this helps, Ben.

Re: TilesRequestProcessor not redirecting ForwardConfig

2003-07-28 Thread Lukas Bradley
I've posted this to the Apache Bugzilla. After checking the code, it does not handle the option. ID is 21922 Lukas Lukas Bradley [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] It appears as if my TilesRequestProcessor is not issuing a redirection during processForwardConfig().

Re: [OT] Is jsessionid specific to Tomcat or generic to all webcontainers?

2003-07-28 Thread Matthias Bauer
It is not standardized. You can not rely on it being the same parameter name for all web servers, even though many use jsessionid. --- Matthias Daniel Joshua wrote: Quick question. Is jsessionid specific to Tomcat or generic to all web containers? Regards, Daniel

RE: anyone used struts and hibernate 2gether?

2003-07-28 Thread Bradley M. Handy
Check out the #struts_users channel on irc.darkmyst.org. There are quite a few people who use Hibernate w/ Struts. Brad - Bradley M. Handy| Office: 517 750 6675 Programmer/Analyst | Email: [EMAIL PROTECTED] Spring Arbor

Validator not working

2003-07-28 Thread Gabriel Guerreiro
Hi, I am integrating struts-validator in a struts-based application. Validadion does not return errors in the server-side validation. Whith this simple test form: form name=ProfileForm field property=profileNum depends=required,integer,intRange arg0 key=Number

Re: [OT] Is jsessionid specific to Tomcat or generic to all web containers?

2003-07-28 Thread Max Cooper
I think it was Tomcat-specific at one time, but I think it is in the Servlet spec now. -Max - Original Message - From: Daniel Joshua [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Monday, July 28, 2003 3:47 AM Subject: [OT] Is jsessionid specific to Tomcat or

Re: Survey builder with Struts

2003-07-28 Thread Marco Fabbri
I just need to create internal surveys... - Original Message - From: PREETAM Balijepalli [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, July 28, 2003 8:58 AM Subject: RE: Survey builder with Struts do u need for commercial purpose if so what all u need

Re: [OT] Is jsessionid specific to Tomcat or generic to all webcontainers?

2003-07-28 Thread Andrew Geery
It's been standard since at least SRV 2.2. See the servlet spec, section 7.1. E.g., SRV.7.1.1 Cookies Session tracking through HTTP cookies is the most used session tracking mechanism and is required to be supported by all servlet containers. The container sends a cookie to the client. The

FW: Validator not working

2003-07-28 Thread Steve Caswell
The Struts Validator plug-in delegates to Commons Validator for the real work. Commons Validator uses Commons Logging for logging. You can enable logging by configuring one of the loggers supported by Commons Logging. I use Log4J. Here is my log4j.properties files in WEB-INF/classes:

RE: StrutsDoc 0.3 Released

2003-07-28 Thread Mike Jasnowski
Nice! -Original Message- From: Nick [mailto:[EMAIL PROTECTED] Sent: Sunday, July 27, 2003 12:49 AM To: Struts Users Mailing List Subject: Re: StrutsDoc 0.3 Released Sure. It's done and at: http://www.systemmobile.com/strutsdoc/struts-example/ A tar ball of the docs are at:

html:multibox and multiple pages

2003-07-28 Thread Alexey Styrov
Hello! I have a list split into several pages. Each item in this list has a checkbox which means selecting a list's element. I want to navigate through the list, selecting and deselecting checkboxes on different pages. Finally I hit Done button and want to know ALL items I've selected on EACH

RE: How to activate Reset method in ActionForm?

2003-07-28 Thread Chen, Gin
That should be all that you need to do. It will automatically be called before each submitted action, not before the display of the JSP. Make sure that you included the correct method (match signature etc). -Tim -Original Message- From: guruprasad jakka To: [EMAIL PROTECTED] Sent:

Looking for form design advice

2003-07-28 Thread White, Joshua A (HTSC, CASD)
Here is the scenario: I have a list of checkboxes which is generated from a collection in the form bean. I have given each of them the name itemId. Based on an attribute of each object in the collection, an additional text box may be generated that is associated with the original text box. For

Re: How to use JSTL taglib with struts html taglib

2003-07-28 Thread R Balaji
Dear Joshua, The html tags does not understand that expressions were passed and needs to be evaluated. The html-el tags will evaluate the run time expressions , where you do not even need JSTL . please do this, i believe this will work, * html-el:checkbox property=myItems

RE: Struts and Constants ?

2003-07-28 Thread Alex Shneyderman
I am not sure of the books you mentioned. When I use Constants interface, which by the way is a good thing to use in my opinion, I would always get its value with the use of scriptlet at the top of the JSP c:set var=myKey%= Constant.keyValue %/c:set now thru my page I would only refer to myKey

Getting BeanUtils.Populate() Exception.

2003-07-28 Thread Anurag Garg
Hi, When I submit a page for save operation I get the BeanUtils.populate exception. Any solution for solving this problem. Below is the stack trace of the exception. BeanUtils.populate javax.servlet.ServletException: BeanUtils.populate at

RE: Design in Struts

2003-07-28 Thread Imran Bohoran
Well I think how you organize your action classes depends on the complexity of your screens. Once we had some of our Action classes grouped depending on the modules. The screens didn't have too many actions associated and the way the team was structured it made sense to break the Action classes

Re: [OT] Is jsessionid specific to Tomcat or generic to all web containers?

2003-07-28 Thread David Graham
The JSESSIONID cookie is standard but a more interesting question is whether the url rewriting format is standardized? I haven't been able to confirm that http://blah.com;jsessionid=42789?qry=testqry2=test2 is standard. David --- Andrew Geery [EMAIL PROTECTED] wrote: It's been standard since

RE: Struts and Constants ?

2003-07-28 Thread Bailey, Shane C.
They (the authors) are just trying to show code without any scriptlets because that would be a no no. But, like the example already posted in response to your question, using bean:write name=%= IConstants.SOME_CONST % ... would be the equivalent way to use a constant in your tags. It's just not

RE: modules sessions

2003-07-28 Thread Steve Raeburn
No, the session is associated with the web application and is controlled by the container, not by Struts. You'll need to set cookies in your own application to track per module information. Steve -Original Message- From: Eugen Bushuev [mailto:[EMAIL PROTECTED] Sent: July 27, 2003

RE: anyone used struts and hibernate 2gether?

2003-07-28 Thread Steve Raeburn
a quick a: yes. http://www.catb.org/~esr/faqs/smart-questions.html Steve -Original Message- From: Butt, Dudley [mailto:[EMAIL PROTECTED] Sent: July 28, 2003 1:38 AM To: '[EMAIL PROTECTED]' Subject: anyone used struts and hibernate 2gether? a quick q NOTICE: This

RE: Getting BeanUtils.Populate() Exception.

2003-07-28 Thread DE BACKER Sam
Try to find the cause of the exception (ClassCast, MethodNotFound, ... in RequestUtils.java:1098). probably you're using a wrong type (like assigning a String to a BigDecimal, or don't have a proper public setter, ... -Original Message- From: Anurag Garg [mailto:[EMAIL PROTECTED] Sent:

RE: Struts and Constants ?

2003-07-28 Thread Emil Alexandrov
10x 4 the answer, But this 'pure' templates without scriplets have some disadvantages as we see then. And this thing about HTML designers that don't have to know Java is yet another book rule that is not one to one with reality. It's true that designers don't have to know Java and they design

RE: Struts and Constants ?

2003-07-28 Thread Alex Shneyderman
Well, you have to communicate somehow to your designers what data he has at his disposal to render. Constants is one way, context scoped vars is another. One way or another you will have to communicate. The way you do it is up to you. -Original Message- From: Emil Alexandrov

RE: submitting forms

2003-07-28 Thread Steve Raeburn
Just use a normal link with an onclick handler. There's no need to use html:link because you're not actually linking to another page but using the link as a convenient way of initiating Javsacript. a href= onclick=document.forms[0].submit();return false;Click here/a Steve -Original

need suggestion on logic

2003-07-28 Thread Ashish Kulkarni
Hi, I am building a web application using struts1.1, and this is my requirement, There is a jsp where in user will enter data in text field, and then press enter, this will submit to a Action class, this action class must decide wether a relogin page has to be displayed or not, and if yes

RE: need suggestion on logic

2003-07-28 Thread Navjot Singh
very simple. say user fills in text field and press enter. 1. Pass the control to an action Checker. 2. Checker will verify if the process needs login. 3. If NOT, case is clear. 4. If YES, + Store the request state variables in some object. + Save that object in Session. + Pass Control

RE: [ANN] brief example using iBATIS from Struts

2003-07-28 Thread Yansheng Lin
Is there any support for OO or OR Databases in iBATIS? Damn, how come OO is not catching up as fast as it should? UML diagram way more powerful than ER diagram!!! -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED] Sent: July 25, 2003 9:43 AM To: Struts Users Mailing

RE: Using an extension of ModuleConfigImpl

2003-07-28 Thread Karachiwala, Aslam
Thanks, Rob. This should work quite nicely. I'll try it out and let you know. --aslam -Original Message- From: Rob Leland [mailto:[EMAIL PROTECTED] Sent: Saturday, July 26, 2003 12:31 PM To: Struts Users Mailing List Subject: Re: Using an extension of ModuleConfigImpl Rob Leland

RE: Design Question - same action, many jsps/views

2003-07-28 Thread Hue Holleran
Hi Brian, Why not use different named forwards for the action and access each one from the action with a: { ... return (mapping.findForward(page1/page2/page3)); } In s-c: action path=/myAction type=FQ Class name=bean ... forward name=page1 path=/page1.jsp/ forward name=page2

RE: How to use JSTL taglib with struts html taglib

2003-07-28 Thread Karr, David
In the contrib directory of the Struts distribution, you'll find the Struts-EL distribution, which is a port of the Struts tag library that uses the JSTL EL engine to evaluate attribute values. Search the archives for Struts-EL. There is a README in the Struts-EL distribution, and there's a few

RE: Design Question - same action, many jsps/views

2003-07-28 Thread Brian McSweeney
Hi Hue, That's definitely one way to go, but the disadvantage that I see of using this way is that you presumably have to hard code into the action, some way of identifying where the request came from. Perhaps something like: String input = request.getRequestURI();

Re: modules sessions

2003-07-28 Thread Craig R. McClanahan
On Mon, 28 Jul 2003, Eugen Bushuev wrote: Date: Mon, 28 Jul 2003 09:38:03 +0300 From: Eugen Bushuev [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: modules sessions Hi. Is it possible to have for each module separate jsp session?

RE: Design Question - same action, many jsps/views

2003-07-28 Thread Adam Levine
I used a design I called the side trip action. Basically any caller to the action has placed, either in a form field or in the user session object, a from and dest url. the action does what it needs to do, redirects errors back to from, and then forwards on success to dest. I called this

Re: [OT] Is jsessionid specific to Tomcat or generic to all webcontainers?

2003-07-28 Thread Craig R. McClanahan
On Mon, 28 Jul 2003, David Graham wrote: Date: Mon, 28 Jul 2003 06:37:49 -0700 (PDT) From: David Graham [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: [OT] Is jsessionid specific

RE: [OT] Source Code Print Utility For Code Reviews?

2003-07-28 Thread Tim Shadel
You may want to check out Java2HTML (www.java2html.com). There's an Ant task that you can integrate into your build process. It will generate HTML that highlights your source code, adds hyperlinks to allow you to navigate it, and put line numbers on it. You may not even need to print it if

Validation of Indexed Properties

2003-07-28 Thread Nicholas L Mohler
Hi, I am currently imple,enting the Struts validator into our web app. All is going pretty well with the exception of client-side indexed property validation. I have looked at the Validator documentation, and gone through this list looking for some idea that will give me a clue as to what I

Re: [OT] Is jsessionid specific to Tomcat or generic to all web containers?

2003-07-28 Thread David Graham
--- Craig R. McClanahan [EMAIL PROTECTED] wrote: On Mon, 28 Jul 2003, David Graham wrote: Date: Mon, 28 Jul 2003 06:37:49 -0700 (PDT) From: David Graham [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED], [EMAIL PROTECTED] To: Struts Users Mailing List

Offtopic: Dynamic Menus and struts?

2003-07-28 Thread David Erickson
Hi we are developing an application with struts and tiles, and we'd like one of our tiles to contain a menu that is rendered everytime the page is loaded. And the menus that the user can see are based on what permissions he has access to. So we were thinking of using Javascript to do the menu

RE: Offtopic: Dynamic Menus and struts?

2003-07-28 Thread James Childers
There was a discussion about this recently. Search the list archives for Java array to JavaScript array. You'll want to build your JavaScript array based on a (probably) session scoped Java array. Your JavaScript function would then be responsible for building the menu items.

Struts 1.1 questions

2003-07-28 Thread Menke, John
We have an app that is broken down into sub-apps. Within the struts-config.xml file (defined in the web.xml as being the default app) I have this entry: message-resources parameter=com.acs.cfs.kidstar.web.KidstarResources/ Within a sub-app's config file I have the following entries:

RE: Offtopic: Dynamic Menus and struts?

2003-07-28 Thread Paul McCulloch
I'm looking at the very same thing right now. Struts-menu (a seperate Struts helper package) takes care of all the javascript stuff. It does have built in support for permissions based display, but I don't know if supports truly dynamic (i.e. defined in the database) menus - any ideas anyone?

Reasons to move to Struts 1.1

2003-07-28 Thread atta-ur rehman
Dear all, We have using Struts 1.0.2 for about last couple of years. Now that Struts 1.1 is out. Are there any reasons for us to start thinking moving to 1.1? Any help or pointer to help will be greatly appreicated. Regards, ATTA

Re: Reasons to move to Struts 1.1

2003-07-28 Thread David Graham
Struts 1.1 has tons of new features including validator, tiles, dynabeans, and map backed forms. David --- atta-ur rehman [EMAIL PROTECTED] wrote: Dear all, We have using Struts 1.0.2 for about last couple of years. Now that Struts 1.1 is out. Are there any reasons for us to start

Re: Logon Submit returns a blank page

2003-07-28 Thread Caroline Jen
What is in the log file? Log files records errors. There may be a clue. --- todd thorner [EMAIL PROTECTED] wrote: Hi and thanks, Ok, I have reached this far in my logon page development... The first JSP page comes up fine, showing me a form html:form action=/LogonSubmit with a rendered

Re: Reasons to move to Struts 1.1

2003-07-28 Thread atta-ur rehman
Thanks, David. With these keywords, I sure should be able to dig deeper. Regards, ATTA - Original Message - From: David Graham [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, July 28, 2003 9:31 AM Subject: Re: Reasons to move to Struts 1.1 Struts 1.1

Re: File /WEB-INF/struts-bean.tld not found

2003-07-28 Thread Caroline Jen
Did you put: %@ taglib uri=/WEB-INF/struts-bean.tld prefix=bean % in your FileName.jsp? --- message message [EMAIL PROTECTED] wrote: You probably need to reload your application after having made the entry in the web.xml file. From: Vinayak Birari [EMAIL PROTECTED] Reply-To: Struts

messages 101

2003-07-28 Thread Travis Stevens
I can't seem to get messages to work. My action code has this line of code: //create a message ActionMessages messages = new ActionMessages(); messages.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage(record.save.success,new Integer(record.getUID(; this.saveMessages(request,messages);

[OT] Servlets tied to J2EE in new spec

2003-07-28 Thread Vijay Balakrishnan
Hi, I just attended a conference this weekend.A speaker mentioned that with the Servlet 2.4 spec, Servlets are being tied to the J2EE environment.I would like to know in what way ? Also,does this mean that we can't use Tomcat anymore ?? Thanks, Vijay

Re: Reasons to move to Struts 1.1

2003-07-28 Thread message message
There is a book by Ted husted and a few other others called struts in action. Page 54 - 57 has a number of tables with various points. The tables are called Struts 1.0 weaknesses addressed by Sruts 1.1 Struts 1.1 weaknesses Struts's Strengths. From: atta-ur rehman [EMAIL PROTECTED]

Re: Reasons to move to Struts 1.1

2003-07-28 Thread Dhruva B. Reddy
Some reasons I've come up with from recent experience: * Support: Even though 1.1 was only recently released, it has been widely used for a while. In fact, at the risk of starting a flame war, I would go so far as to say that 1.0 has been largely abandoned (at least by the user community). I

Re: messages 101

2003-07-28 Thread amr
in your html:message tag you need to set the message property to true. You'd end up with something like this html:messages id=message message=true bean:write name=message/br /html:messages

  1   2   >