Business controller

2002-09-03 Thread Mohan Radhakrishnan
Hi, Ours is a web reporter using struts. We have a business delegate that asks the report controller to get reports. The petstore sample uses events to loosely couple the business delegate and the business tier. Is there a standard struts way to do this ( reporter contains only sim

Re: [VALIDATOR] Validating Date with DynaValidator

2002-09-03 Thread Marco Maier
Axel Stahlhut wrote: > Sorry for posting this one again, but its a bit urgent and maybe i have a chance >marking it as a post concerning [Validator]. > > Validating a Date with the Struts-Validator Framework works fine, but if the field i >want to validate is not a required field and may be emp

RE: Call for comments: Method dispatching and access control framework.

2002-09-03 Thread John Yu
(See intermixed) > -Original Message- > From: Philipp K. Janert [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 03, 2002 9:48 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Call for comments: Method dispatching and access > control framework. > > Dear All! >

Re: [VALIDATOR] Validating Date with DynaValidator

2002-09-03 Thread Rick Reumann
On Tuesday, September 3, 2002, 5:45:57 PM, Axel Stahlhut wrote: AS> This is my validation-rules.xml: AS>classname="org.apache.struts.util.StrutsValidator" AS>method="validateDate" AS> methodParams="java.lang.Object, AS>org.apa

Re: Tiles and VAJ in WTE.

2002-09-03 Thread Adrian Brown
Hi Lee, I suggest you try grabbing the Tomcat plugin for VAJ, have a look in the archives for posts on that topic. Once you have Tomcat going under VAJ, getting tiles going is a breeze. Adrian --- struts user <[EMAIL PROTECTED]> wrote: > > Hello everyone, > > I would like to know if there i

RE: Question about App Name and url-pattern servlet-mapping

2002-09-03 Thread Troy Hart
Have you looked at the HttpServletRequest api? There a bunch of methods that parse out and return different parts of the request URL (like getServletPath()...). I'm not sure (I've never tried, and unfortunately I'm not in a position to give it a test right now) but I think what you are looking for

RE: question

2002-09-03 Thread Chris _
Thanks Joe, Just for clarities' sake, how exactly would I go about specifying the collection in the form bean? Does anyone know of any code examples that I could look at? > hi all. I am somewhat new to struts and have a question > regarding the > tag. hi. :) > > If I wanted to specif

RE: HTTP request attribute lost due to redirect

2002-09-03 Thread John Yu
Hi Jenny, Request attributes are server-side only data visible in one servlet container in one request-response cycle. Parameters are HTTP parameters (e.g. the "xx" in "http://myHost.com/myApp?xx=12";) which are carried from the client (i.e. the browser) to the server. When you're doing a red

Re: template

2002-09-03 Thread Keven
Hi,Sean, David and Cedric: Thank you very much for your reply. Sean, I tried with the ziped files. It works fine. Thank you very much to make it so clear. Now, I am trying to use the same strategy to work with struts example(I modified the example for practise only). I have put all jsp files u

RE: HTTP request attribute lost due to redirect

2002-09-03 Thread jwang13
I tried parameter and it was successful. However, I need to send large amount of data and I am not sure if parameter is a good solution. Basically, what are the differences between attribiute and parameter, and thieir cons and pros? Jenny -- To unsubscribe, e-mail:

Re: LookupDispatchAction and HTML:image tag

2002-09-03 Thread Ted Husted
In case you don't see the other thread, http://husted.com/struts/tips/001.html might help. -Ted. Ashish Kulkarni wrote: > Hi, > > i was using tag with LookupDispatchAction class, and i was getting >which button has generated the submit event, but how do i make it work if i have to >replac

Re: html:submit and Image instead of button

2002-09-03 Thread Ted Husted
One trick is to get the ActionForm to do the work: http://husted.com/struts/tips/001.html -Ted. Ashish Kulkarni wrote: > hi > But cant i do it in my action class instead in javascript,?? > > Ravi Kora wrote:Have a javascript function in the href tag like below. > > > The javascript funct

RE: HTTP request attribute lost due to redirect

2002-09-03 Thread Bartley, Chris P
Try request parameters (e.g. query string parameters via HTTP GET) instead. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 03, 2002 7:45 PM > To: [EMAIL PROTECTED] > Subject: HTTP request attribute lost due to redirect > > > I have t

HTTP request attribute lost due to redirect

2002-09-03 Thread jwang13
I have two web applications on two domains. The action in one application will set attribute in Http request and redirect to a servlet (or JSP) in another application. However, it seems that request attribute are lost during redirect. Any solutions? -- To unsubscribe, e-mail:

RE: question

2002-09-03 Thread Joe Barefoot
> hi all. I am somewhat new to struts and have a question > regarding the > tag. hi. :) > > If I wanted to specify the collection to come from an array or list > contained in a bean, how would that be accomplished? > > can I just import the bean class into the jsp and then use > collec

question

2002-09-03 Thread Chris _
hi all. I am somewhat new to struts and have a question regarding the tag. If I wanted to specify the collection to come from an array or list contained in a bean, how would that be accomplished? can I just import the bean class into the jsp and then use ? also...if say I wanted to put this

RE: Question about App Name and url-pattern servlet-mapping

2002-09-03 Thread Andreas
Thanks for the reply Troy. That takes care of the "appname" but does not give me the "servletmappingurlpattern". The "servletmappingurlpattern" information is configured in the web.xml file and is specified within the tag that follows the tag which defines the struts control servlet. In m

RE: [TEST]

2002-09-03 Thread James Mitchell
Nein. Alle wir sind am Mittagessen. James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the "Open Minded Developer Network" http://www.open-tools.org/struts-atlanta > -Original Message- > From: Peter A. J. Pilgrim [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 0

RE: [TEST]

2002-09-03 Thread Dan Payne
Ja, diese Liste ist ja so da. -Original Message- From: Peter A. J. Pilgrim [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 5:49 PM To: Struts Dev; Struts User Subject: [TEST] testing 1 2 3: Ist diese Liste noch da oder nicht? -- Peter Pilgrim -- To unsubscribe, e-mail:

RE: [websphere] fix for forward redirect="true"

2002-09-03 Thread Tero P Paananen
> The form tag doesn't properly parse on Websphere 3.5.2 for > forwards to it > that use redirect="true". The fix is to remove the following > lines in > ActionServlet (struts 1.0.2). > > if (path.startsWith("/")) > path = request.getContextPath() + path; > > W

Re: Question about App Name and url-pattern servlet-mapping

2002-09-03 Thread Troy Hart
You can look at , but you will probably have the same nested tag problem (?). Alternatively, you can use the following scriptlet: <% String url = request.getContextPath() + relativeURL %> Then pass your url String around as needed. NOTE: you may need to do something additional to capture the 'mo

[TEST]

2002-09-03 Thread Peter A. J. Pilgrim
testing 1 2 3: Ist diese Liste noch da oder nicht? -- Peter Pilgrim -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Placing a Scriptlet inside

2002-09-03 Thread Martin Cooper
> -Original Message- > From: Van Riper, Mike [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 03, 2002 2:07 PM > To: 'Struts Users Mailing List' > Subject: RE: Placing a Scriptlet inside > > > I believe support for this depends upon whether the custom > tag is configured > in th

Xdoclet, struts, and Weblogic 7.0

2002-09-03 Thread Tim Heath
I have been using ejbgen with Weblogic but I found out that there are struts tags in Xdoclet so now I want to use Xdoclet with struts with weblogic 7.0. I am not clear on how to accomplish this easily. I would also like to be able to create a jar/war/ear that could deploy correctly in bo

RE: Tree Folder navigation

2002-09-03 Thread Martin Cooper
It's here: http://sourceforge.net/projects/struts-menu/ There's also the Struts nested taglib for this. See Arron's tutorial: http://www.keyboardmonkey.com/pilotlight/index.jsp -- Martin Cooper > -Original Message- > From: Jacob Hookom [mailto:[EMAIL PROTECTED]] > Sent: Monday, Septe

RE: Know a tree tag?

2002-09-03 Thread Martin Cooper
Take a look at Struts Menu on the Struts Contributor Extensions page: http://jakarta.apache.org/struts/resources/extensions.html The latest version is available on SourceForge: http://sourceforge.net/projects/struts-menu/ -- Martin Cooper > -Original Message- > From: V. Cekvenich [ma

Re: NullPointerException when using DynaValidatorForm

2002-09-03 Thread Rick Reumann
On Tuesday, September 3, 2002, 4:37:30 PM, Ashish wrote: AK> I get NullPointerException when i load the form AK> java.lang.NullPointerException AK> at org.apache.struts.action.DynaActionForm.getDynaProperty(DynaActionForm.java:551) What's the JSP page look like? Maybe

[websphere] fix for forward redirect="true"

2002-09-03 Thread struts
The form tag doesn't properly parse on Websphere 3.5.2 for forwards to it that use redirect="true". The fix is to remove the following lines in ActionServlet (struts 1.0.2). if (path.startsWith("/")) path = request.getContextPath() + path; Websphere (in 3.5.2 at

nested write issue

2002-09-03 Thread Chen, Dean (Zhun)
Hi, I have a quick question, I need a way to write a table to HTML. However, the # of columns is dynamic. The column names are "column1", "column2", etc. I tried the following: "> <% for(int i=1;i <% } %>

Question about App Name and url-pattern servlet-mapping

2002-09-03 Thread Andreas
I need to pass a url as a parameter to a JSP page. I can't rely on just using the relative path. Currently the urls that map to struts actions look like this http://localhost/appname/servletmappingurlpattern/path/that/resolves/to/ struts/action When using the struts tag html:link all that

html:form inside of frame

2002-09-03 Thread Bryan Hilterbrand
I'm using frames for my application, and it gets through the myapp.SearchActions.initSearch() method just fine, but it dies when it hits the tag. It doesn't throw an exception, and the frame is blank. If I view the source, there is just the header stuff. I can get it to work if I change the ht

[VALIDATOR] Validating Date with DynaValidator

2002-09-03 Thread Axel Stahlhut
Sorry for posting this one again, but its a bit urgent and maybe i have a chance marking it as a post concerning [Validator]. Validating a Date with the Struts-Validator Framework works fine, but if the field i want to validate is not a required field and may be empty, the validator always rep

RE: Placing a Scriptlet inside

2002-09-03 Thread Van Riper, Mike
I believe support for this depends upon whether the custom tag is configured in the tag library descriptor file to support runtime expressions for the attribute in question. I just looked at the struts-bean.tld for B2 and the key attribute of the message tag has the rtexprvalue set to true. So, it

Re: [Struts Tip] # 10 Use Struts JSP Tags to create dynamic JavaScripts

2002-09-03 Thread cforbes
Duh. (forehead slap) That'll teach me to not read the whole question so that I can answer first and save the day. > Ted Husted said... >The JavaScript is rendered by the client after the HTML page leaves the >server and goes over the wire. So, no that can't work. > >Whatever properties are nee

NullPointerException when using DynaValidatorForm

2002-09-03 Thread Ashish Kulkarni
Hi, following is my jsp definiation amd struts-config definition. I get NullPointerException when i load the form java.lang.NullPointerException at org.apache.struts.action.DynaActionForm.getDynaProperty(DynaActionForm.java:551) at org.apache.struts.action.D

Re: layout vs layouts ??

2002-09-03 Thread V. Cekvenich
No reason. Just write at different times. "Brian P. Millett" <[EMAIL PROTECTED]> wrote in message 1031072735.11350.5.camel@vlad">news:1031072735.11350.5.camel@vlad... > Sorry for such a lame question, but why in the tiles-documentation are > there a layout & layouts directories? Why a layout/col

Know a tree tag?

2002-09-03 Thread V. Cekvenich
Does anyone know of a tree tag? Kobrix is one (but their tree on client is not dynamic, requires a submit to get the data) tia, Vic -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Hanging Struts

2002-09-03 Thread slickdev
check your handling of how you close the db connections. if you find that you can make the app hang after n db accesses, you can troubleshoot by changing the maxconnections in the struts-config... assuming that's where you specify the connection params. - Original Message - From: "Alex M

RE: Question about multibox

2002-09-03 Thread Sri Sankaran
Here's an example. You can replace with except that you'll have to specify the name attribute and the property must explicitly walk down (any) nested hierarchy. Aside: If, like me, you are using Struts 1.0 you want to use the nested facility (hint:use it, it'll save you a ton of work) you c

Tiles and VAJ in WTE.

2002-09-03 Thread struts user
Hello everyone, I would like to know if there is anyone who has installed Tiles and run it with Websphere Test Environment (WTE) in Visual Age for Java 4.0 (VAJ)? Any help or instruction is greatly appreaciated!! Thank you!! Thanks, Lee __ Do Yo

RE: Contract Sr. Developer opportunity

2002-09-03 Thread Martin Cooper
> -Original Message- > From: Joe De Ville [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 03, 2002 11:38 AM > To: Struts Users Mailing List > Subject: Re: Contract Sr. Developer opportunity > > > Bill, > > Sorry for the inconvenience -- you aren't "on my list" -- > this message

Re: [VALIDATOR] Bad Error Message when Validating a Range

2002-09-03 Thread David Geary
Ted Husted wrote: > It looks right to me, David (and welcome back, BTW). Me too, and thanks. > Maybe we need to add a test case to the validator sample app to be > sure everything is still working as advertised. That's probably a good idea. I think it needs some rigorous testing; I've run in

[Velocity Tools] - Struts

2002-09-03 Thread Day, Michael-IBM/TT
I am attempting to use velocity tools 0.9 with struts 1.1-b2 and velocity 1.3. Does anyone know how I could use a VM template for layout purposes, instead of doing #include for headers/footers/menus on each content page? For example, the login page may have a layout different from a product displ

Question about multibox

2002-09-03 Thread meruguv
Hi I am newbie to struts and I have a question. I have a situation where I have to display at set of checkboxes (multibox) in a table over a number of rows (4 checkboxes in a row). I am not able to figure out how to use logic:iterate and html:mutlibox in conjunction and achieve this. If you ha

LookupDispatchAction and HTML:image tag

2002-09-03 Thread Ashish Kulkarni
Hi, i was using tag with LookupDispatchAction class, and i was getting which button has generated the submit event, but how do i make it work if i have to replace the with tag, one way of doing it would be using a hidden field and calling the onclick event on image tag. but is there a way

Re[2]: How to handle this without using Session scope?

2002-09-03 Thread Rick Reumann
On Tuesday, September 3, 2002, 1:16:26 PM, Billy wrote: BN> In your remedy, do you mean I could re-set the objects to the request in the BN> reset method too? Well you won't get null pointers on the object they select on the form when the validation is done, only on those that are not se

Re: Contract Sr. Developer opportunity

2002-09-03 Thread Joe De Ville
Bill, Sorry for the inconvenience -- you aren't "on my list" -- this message went out to the Strut Users Mailing list.  For some reason, I did not receive confirmation on the first message, so I tried again, at which point the message got duplicated. Again, sorry for the inconvenience -- I don't

Re: Contract Sr. Developer opportunity

2002-09-03 Thread Bill Blackmon
I'm not local and this is the 3rd email you've sent. Please take me off of your list. Thanks, Bill Blackmon New York City - Original Message - From: "Joe De Ville" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 03, 2002 2:05 PM Subject: Contract Sr. Developer opportu

RE: Call for comments: Method dispatching and access control framework.

2002-09-03 Thread James Higginbotham
Interesting.. You've take a similar approach to what I've done in the past, with some caching of the Methodsthat I didn't do.. Here is what I did in text form (no diags available right now): Create a base action class that implements the perform() method and offers an abstract method handleReques

Contract Sr. Developer opportunity

2002-09-03 Thread Joe De Ville
Hi all, I have a need for a contract Sr. Java Developer in Cincinnati, OH (at this time, local prospects only, please). This is an urgent need for a very specific skill set, working on a mission-critical project for a major player in their industry. Projected length of engagement: 3 months Re

test

2002-09-03 Thread Joe De Ville
testing email please ignore Joe -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: apache+tomcat consulting help needed

2002-09-03 Thread Stephen . Chambers
Anand, With that set up, the best thing to do is to buy David Harms' book "JSP, Servlets and MySQL". It explains EVERYTHING including Struts and is available on bookpool.com Stev

RE: html:submit and Image instead of button

2002-09-03 Thread Ravi Kora
Have a property for that bean say Private Sting act; and in the jsp have a corresponding hidden tag like In the javascript function set the act to whatever you want depending on the index like function submitAct(index){ if (index==0) { document.form.act.value="act1"; } document.forms[0].submi

RE: Hanging Struts

2002-09-03 Thread Jacob Hookom
I was having severe issues with special tags and the new tomcat (4.1+). I found it to be an issue of the new tag pooling features and either my own, or OS tags that I was using that weren't up to par. I ended up getting memory spikes that were extremely drastic. I solved the problem by reworking

Re: How to handle this without using Session scope?

2002-09-03 Thread Billy Ng
Hi Rick, I am using the Action page to forward requests to JSPs. No JSPs will be directly hit by users. Therefore, in the Action, I will dynamically create some objects that will be set in the request for the JSP to use. My question here is when user submits the form and there are errors fo

Re: Struts Console and JBuilder

2002-09-03 Thread James Holmes
Hey Kenny, If you go to my website, there is a link in the middle of the page titled: "Installation Instructions". Everything you need should be there. Hope that helps, -james --- Kenny <[EMAIL PROTECTED]> wrote: > Hi there, > > I've been crawling through the JBuilder > documentation all mo

Re: [Struts Tip] # 10 Use Struts JSP Tags to create dynamic JavaScripts

2002-09-03 Thread Ted Husted
The JavaScript is rendered by the client after the HTML page leaves the server and goes over the wire. So, no that can't work. Whatever properties are needed for a tag should come with a JavaBean associated with the tag or from a custom subclass. There are already getters and setters for each

Re: html:submit problem need help

2002-09-03 Thread Dan Walker
I think this link: http://husted.com/struts/tips/002.htm addresses that issue. -Dan On Tuesday 03 September 2002 11:53, you wrote: > Hi, > > I have 2 buttons on my jsp and i want to find out which button is pressed > in my Action class, but i m not getting the submit parameter in request, my >

layout vs layouts ??

2002-09-03 Thread Brian P. Millett
Sorry for such a lame question, but why in the tiles-documentation are there a layout & layouts directories? Why a layout/columnsLayout.jsp & layouts/columnsLayout.jsp? Is there a convention? Thanks. -- Brian Millett Enterprise Consulting Group "Shifts in paradigms (314)

RE: Hanging Struts

2002-09-03 Thread James Mitchell
I had a similar problem a few weeks ago (Tomcat 4.1.17b). The log files showed signs of a serious memory leak. I had to restart Tomcat about every 3 to 4 days, until I moved everything to Tomcat 4.0.4. Now it just keeps on chuggin http://www.open-tools.org/struts-atlanta My best guestimat

RE: [Struts Tip] # 10 Use Struts JSP Tags to create dynamic JavaScripts

2002-09-03 Thread cforbes
This will work: "/> Casey > Ravi Kora said... >My actual intention was to question if we can use dynamic scriplets in >Struts tags like the following >property="item"/>" onBlur='javascript:doItem( >name="itemForm" property="item"/>)'> > >Will the expression in the Value attribute evaluate

Re: Hanging Struts

2002-09-03 Thread Billy Ng
Yes, I had the same problem before. I did the follwoing things to fix the problem: 1) add "autoReconeet=true" in the url like: 2) I noticed the free memory was going down every time a user hit the site. Finally, I found there was memory leak that caused my app failed over time. One m

html:submit problem need help

2002-09-03 Thread Ashish Kulkarni
Hi, I have 2 buttons on my jsp and i want to find out which button is pressed in my Action class, but i m not getting the submit parameter in request, my code is as below I am 2 buttons on my jsp as below Login signout my struts-config.xml is as below and my Action class

Hanging Struts

2002-09-03 Thread Alex McLintock
Hi folks, I have a simple Struts application which decides to hang and not serve pages after some time. It seems to be database related because the index pages which don't require the database still work, whereas the ones which require the database don't respond. The database appears to be st

[VOTE] Results

2002-09-03 Thread Eddie Bush
Do you feel this list should discontinue it's long heritage of "relaxed fridays"? Yes - 2 (5.4%) No - 35 (94.6%) However, of those that voted to keep it: * Most would like to note that friday is a day of the week and not a state of mind. (ie. if your calendar doesn't say today is Fr

RE: html:submit and Image instead of button

2002-09-03 Thread Ashish Kulkarni
hi But cant i do it in my action class instead in javascript,?? Ravi Kora wrote:Have a javascript function in the href tag like below. The javascript function submitAct will have sth like below function submitAct(index){ if (index==0) {...} document.forms[0].submit(); } Hope this helps

RE: Struts nesting extension - gettin really desperate

2002-09-03 Thread Lister, Tom (ANTS)
anyone know Arron Bates email - I beleive he wrote this library :-) Tom Lister * 020 7612 3030 * [EMAIL PROTECTED] -Original Message- From: Lister, Tom (ANTS) [mailto:[EMAIL PROTECTED]] Sent: 03 September 2002 15:00 To: 'Struts Users Mailing List' Subject: RE: Struts nesting extension -

RE: Struts Console and JBuilder

2002-09-03 Thread Heligon Sandra
For Jbuilder5: close Jbuilder, and place the console.jar file in your Jbuilder\lib\ext directory, rename your Jbuilder\lib\jdom.jar and copy the \Jbuilder\lib\jdom.jar delivered with StrutsConsole. http://www.jamesholmes.com/struts/console/ I don't know if it is the same thing with JBuilder6.

Re: How to handle this without using Session scope?

2002-09-03 Thread Rick Reumann
On Tuesday, September 3, 2002, 11:46:14 AM, Rick wrote: RR> i but there must be a good solution I am overlooking for doing all RR> of this with request scope. (For example what if it was a list of RR> cars the user had to select from, I might not want that car list RR> in session scope). D

RE: [Struts Tip] # 10 Use Struts JSP Tags to create dynamic JavaScripts

2002-09-03 Thread Ravi Kora
No, I didn't. I resorted to normal tag when I had to use a dynamic scriplet in the tag. Any better ideas on this? -Ravi Thanks & Regards, Ravi Kora [EMAIL PROTECTED] 337-739-3434(M) -Original Message- From: Bartley, Chris P [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002

RE: Java Server Faces and Developer Life Comments

2002-09-03 Thread Elderclei R Reami
Greg, I started this thread about a week ago, because I was in need of sharing my experience, and think we had a lot of interesting comments pro and against .Net and J2EE. My personal view: corporate developers need to deliver production code faster and faster. In most occasions, these codes

RE: html:submit and Image instead of button

2002-09-03 Thread Ravi Kora
Have a javascript function in the href tag like below. The javascript function submitAct will have sth like below function submitAct(index){ if (index==0) {...} document.forms[0].submit(); } Hope this helps.

RE: Unable to open location, with jakarta-struts-1.1-b2-blank.war

2002-09-03 Thread Day, Michael-IBM/TT
I'm new to struts, and I was wondering if someone could shed some light on why it is a good idea to always use an action to load JSPs. Just a simple explanation would be helpful. -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 03, 2002 11:29 AM To:

Re: How to handle this without using Session scope?

2002-09-03 Thread Rick Reumann
On Tuesday, September 3, 2002, 11:46:14 AM, Rick wrote: RR> but there must be a good solution I am overlooking for doing all RR> of this with request scope. What actually would be ideal is if I could somehow set it in the DynaForm like I do for some other string properties

RE: [New Functionality] ApplicationResources.properties to DB?

2002-09-03 Thread Jason Rosen
Isn't dynamic loading of message resources at least half the reason that people are interested in using a DB to host them? I know that is a big factor in my motivation. -Original Message- From: Peter A. J. Pilgrim [mailto:[EMAIL PROTECTED]] Sent: Monday, September 02, 2002 4:53 PM To: St

Struts Console and JBuilder

2002-09-03 Thread Kenny Smith
Hi all, Does anyone know how to plug Struts Console into JBuilder 6? I'd love to have a visual interface to edit my struts config files. I've been crawling through the JBuilder documentation all morning and have come up empty handed. Section foo of the docs says to refer to section bar and sectio

html:submit and Image instead of button

2002-09-03 Thread Ashish Kulkarni
Hi, I have 4 buttons on an jsp page, but what if i have to use image instead of buttons, like Add will have a button with Add Text, and then in my Action class i can find out which button has been pressed, but what if i have to use Image instead of a button, like how can i find out which i

How to handle this without using Session scope?

2002-09-03 Thread Rick Reumann
I have a DynValidatorForm set up for an Employee. One of the fields in this form is 'states' as an ArrayList which contains State beans (for abbreviation, and full state name). In my Action form the Dynamic Form is first set with the ArrayList of states then it forwards to the jsp page for enterin

Does anyone know how to set up struts to work with Websphere Appl

2002-09-03 Thread Joyce Huang
Thanks for help. -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: ANN: JDeveloper9i 9.0.3 w/ Struts, J2EE 1.3, et. al.

2002-09-03 Thread Vimal Kansal
Sure. Vimal --- Steve Muench <[EMAIL PROTECTED]> wrote: > Vimal, > > Best if we take this offline to continue trying to > narrow down the problem. Mail me. > > __ > Steve Muench - Developer, Product Mgr, Java/XML > Evangelist, Auth

RE: [Struts Tip] # 10 Use Struts JSP Tags to create dynamic JavaScripts

2002-09-03 Thread Bartley, Chris P
No, you can't (it's invalid XML). Have you tried it? > -Original Message- > From: Ravi Kora [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 03, 2002 10:37 AM > To: 'Struts Users Mailing List' > Subject: RE: [Struts Tip] # 10 Use Struts JSP Tags to create dynamic > JavaScripts > >

RE: [Struts Tip] # 10 Use Struts JSP Tags to create dynamic JavaScripts

2002-09-03 Thread Ravi Kora
My actual intention was to question if we can use dynamic scriplets in Struts tags like the following " onBlur='javascript:doItem( name="itemForm" property="item"/>)'> Will the expression in the Value attribute evaluate at run time like a scriplet expression in JSP? Thanks & Regards, Ravi Kora

Re: Unable to open location, with jakarta-struts-1.1-b2-blank.war

2002-09-03 Thread Ted Husted
You may need to refer to /WEB-INF/ rather than /Web-inf The disadvantage is that if any of your JSPs need to reference images or stylesheets, you can't just move those under WEB-INF too. They have to be above WEB-INF where the web server can access them. It is a good idea to always use an a

Re: ANN: JDeveloper9i 9.0.3 w/ Struts, J2EE 1.3, et. al.

2002-09-03 Thread Steve Muench
Vimal, Best if we take this offline to continue trying to narrow down the problem. Mail me. __ Steve Muench - Developer, Product Mgr, Java/XML Evangelist, Author Simplify J2EE and EJB Development with BC4J http://otn.oracle.com/prod

Re: ANN: JDeveloper9i 9.0.3 w/ Struts, J2EE 1.3, et. al.

2002-09-03 Thread Steve Muench
| >I'm not that well-versed in Cloudscape, but I know we do | >a lot of testing with Non-Oracle databases. | > | | Did you make test on PostgreSQL,FireBird with BC4J ??? BC4J works with any reasonably-behaved SQL92 database with a JDBC driver. We regression test with Oracle and the latest prod

Re: Struts test case/mock problem

2002-09-03 Thread Ted Husted
It's usually thrown when the object-under-test tries to use an unimplemented method. -Ted. Oren Gross wrote: > Anyone familiure with the next exception? > > java.lang.UnsupportedOperationException: encodeRedirectUrl operation is not > supported! > at > servletunit.HttpServletResponseSim

RE: Problems using the date-Validator with non required attributes

2002-09-03 Thread Richards, Devin N (Devin)
Have you tried removed the depends="required" from alidation-rules.xml? -Devin -Original Message- From: Axel Stahlhut [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 01, 2002 7:13 AM To: 'Struts Users Mailing List' Subject: Problems using the date-Validator with non required attribu

Re: [Struts Tip] # 10 Use Struts JSP Tags to create dynamic JavaScripts

2002-09-03 Thread Ted Husted
The purpose of the Struts HTML link tag is to render the href attribute from an ActionForward path OR as context-relative reference to a page in your application, and to URL-encode either along the way. What would be the benefit of using a HTML link tag here? -Ted. Ravi Kora wrote: > Ted, >

RE: Unable to open location, with jakarta-struts-1.1-b2-blank.war

2002-09-03 Thread Heligon Sandra
I have a JSP under the MyApp root directory, it is index.jsp. This file calls a struts action (welcome.do) which will redirect to the protected jsp . When I placed the welcome.jsp file under MyApp/Pages it is work when I placed the welcome.jsp file under MyApp/Web-inf/Jsp it doesn't work. -

RE: Java Server Faces and Developer Life Comments

2002-09-03 Thread Greg.Reddin
I guess this thread is mostly dead , but I felt compelled to offer my 2c. I recently had to do an analysis of development software I'm using for my boss to ensure that our licenses are up to date and whatnot. I was blown away by the fact that there's not a single piece of software critical to my

RE: Unable to open location, with jakarta-struts-1.1-b2-blank.war

2002-09-03 Thread Victor CHEVALIER
The files under WEB-INF are protected (unacessible via the browser). If you want to put tou jsp under WEB-INF you must have at least one welcome.jsp under / or /jsp/ or ... but not /WEB-INF/... then this jsp should call a struts action which will redirect to the protected jsp (an actionForward can

Unable to open location, with jakarta-struts-1.1-b2-blank.war

2002-09-03 Thread Heligon Sandra
Hi, I used the jakarta-struts-1.1-b2-blank.war as model for my application. I would like to place all the JSP file under the sub-directory CATALINA_HOME/Webapps/MyApp/Web-inf/jsp in order to force people to pass through the RequestProcessor where I test

Call for comments: Method dispatching and access control framework.

2002-09-03 Thread Philipp K . Janert
Dear All! I would like to invite comments on some extensions I have made to get around some limitations in the Struts framework. When working with Struts, I quickly developed the following wishlist of things that I wanted Struts to do: 1) Be able to bind a user request to an arbitrary functio

RE: A silly question...

2002-09-03 Thread Sri Sankaran
If you are forced to use Struts 1.0.2 you can get the tiles Jar from http://www.lifl.fr/~dumoulin/tiles/ Sri > -Original Message- > From: Miguel Angel Mulero Martinez > [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 03, 2002 7:29 AM > To: Struts Users Mailing List > Subject: RE

Struts test case/mock problem

2002-09-03 Thread Oren Gross
Anyone familiure with the next exception? java.lang.UnsupportedOperationException: encodeRedirectUrl operation is not supported! at servletunit.HttpServletResponseSimulator.encodeRedirectURL(HttpServletRespon seSimulator.java:199) at org.apache.struts.action.ActionServlet.processA

Re: Tree Folder navigation

2002-09-03 Thread BaTien Duong
Sounf interesting. I am also interested in making the tree view easier and faster at client side. Our model is constructed from swing DefaultMutableTreeNode and DefaultTreeModel using Jndi. Users will have different views of the tree. I looked at MonkeyTree. If we can bring the user full view cont

RE: [ANNOUNCE] Struts Book Moves Ahead

2002-09-03 Thread mike . witt
Hi Ted, I like the table of contents. It looks like your book and Chuck's book have different focus. So I am looking forward to the release of both books. Mike Witt -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 4:34 PM To: [EMAIL PROTECTE

RE: Struts nesting extension - gettin desperate

2002-09-03 Thread Lister, Tom (ANTS)
Hi any one got any pointers for the below issue and performance problems with tags is this the down side of open source - support and documentation! :-) Tom Lister * 020 7612 3030 * [EMAIL PROTECTED] -Original Message- From: Lister, Tom (ANTS) [mailto:[EMAIL PROTECTED]] Sent: 03 Septem

RE: ConcurrentModificationException when using tag

2002-09-03 Thread Hajratwala, Nayan (N.)
A ConcurrentModificationException occurs when you have an Iterator, and then modify the underlying collection, then try to use the iterator again... example (with bounds checking removed): List list = new ArrayList(); // populate list... Iterator i = list.iterator(); Object o = i.

RE: Database Connection in Logic Beans - pooling? => request cycle

2002-09-03 Thread David Graham
The request cycle ends when the final view component (JSP) sends its output to the browser. Struts ends its involvement when your Action class returns an ActionForward object from its perform method. Struts forwards to the page defined in the ActionForward object and I don't think is involved

  1   2   >