RE: How to return changes made on a JSP iteration of object properties to the Action Class

2002-09-26 Thread Joe Latty
http://www.husted.com/struts/tips/006.html Joe -Original Message- From: mail [mailto:[EMAIL PROTECTED]] Sent: Thursday, 26 September 2002 4:37 PM To: [EMAIL PROTECTED] Subject: How to return changes made on a JSP iteration of object properties to the Action Class Hello, I am creating

RE: How to return changes made on a JSP iteration of object properties to the Action Class

2002-09-26 Thread C.Bhaskaran
Hi , First when you set the arrayList to the form bean and use struts iterate tag then you can display the result. When you want to reconstruct the ArrayList back you need to write String[] , int[] or long[] data memebers and getters and setters methods in you

DynaValidatorActionForm - List - nested:iterate: TROUBLE

2002-09-26 Thread Marko Wilpshaar
Hi, I'm exploring the new features of Struts 1.1 (using b2 release) and got stuck on the use of the combination DynaValidatorActionForm - List - nested tags (iterate, write). CASE I am trying to build a search list page. The search is a form with (for simplicity) one 'html:text' input field

Re: Tiles error (Help)

2002-09-26 Thread Alexandre Albert
Try to use org.apache.struts.tiles.ActionComponentServlet for the action servlet. --- Heligon Sandra [EMAIL PROTECTED] wrote: I am using Tiles and when I run my application I have the following error: javax.servlet.ServletException: Can't get definitions factory from

Re: Tiles error (Help)

2002-09-26 Thread Dariusz Wojtas
Hi, I had the same problem. That was the error I could see in the browser. But in my app logs I found more details. I just forgot to close some tag in my struts-config file. I corrected that and it works nicely again. Maybe that is your problem too? Darek Wednesday, September 25, 2002, 3:48:19

Disabling jsessionid parameter in Struts forms

2002-09-26 Thread Ori Tend
Hi! I'm using Struts 1.02. When using the html:form tag, and whenever the session is cookie disabled, Struts automatically puts a jsessionid=... in the URL string for cookie-disabled session tracking. I dont want have the jsessionid=... in the URL, but I do want to keep using the Struts taglib.

Re: Disabling jsessionid parameter in Struts forms

2002-09-26 Thread Gemes Tibor
2002. szeptember 26. 11:42 dátummal Ori Tend ezt írtad: When using the html:form tag, and whenever the session is cookie disabled, Struts automatically puts a jsessionid=... in the URL string for cookie-disabled session tracking. I dont want have the jsessionid=... in the URL, but I do want

RE: Disabling jsessionid parameter in Struts forms

2002-09-26 Thread Ori Tend
Thanks for the reply! I'm not sure I understand.. if I use in my JSP the standard form tag I dont get this jsessionid parameter when browsing to the page. Is there a way to use struts' html:form tag and not get this jsessionid? I suspect that the jsessionid is added to the url by calling

RE: Disabling jsessionid parameter in Struts forms

2002-09-26 Thread Andrew Hill
You are correct about encodeURL() - this is when the sessionId is appended. The sessionId is part of the servlet API session tracking mechanism , and as you have noticed is appended to the URL when not using cookies. (When using cookies it is instead stored in a cookie). If you do not include the

Re: Disabling jsessionid parameter in Struts forms

2002-09-26 Thread Gemes Tibor
2002. szeptember 26. 11:59 dátummal Ori Tend ezt írtad: Thanks for the reply! I'm not sure I understand.. if I use in my JSP the standard form tag I dont get this jsessionid parameter when browsing to the page. Is there a way to use struts' html:form tag and not get this jsessionid? If you

Struts and high performance sites revisited

2002-09-26 Thread David Zimmerman
Ok, so we got it nailed down these statements... - The Struts Controller doesn't add more overhead than a high performance site should be able to handle. In the regard flexibility contra performance, using the controller makes your application manageable with negligible overhead. - There was

Uploading files with DynaForm

2002-09-26 Thread Brett
Hello, Is there anyway of uploading files with a DynaForm. If so what do I have to do to get it to work. I have form uploading working in the usual way (as per the struts-upload example) but havent been able to reproduce the effect with DynaForm. Thanks -- To unsubscribe, e-mail:

Scheduled Jobs

2002-09-26 Thread gus
Hi! In my struts app I have to do some cleanup jobs in my database that I like to start regularly. What's the best way to realize such schedules jobs in a struts app? Thanks in advance. gus -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

How to configure multiple Message Resources in Struts 1.0

2002-09-26 Thread Karim Saloojee
Hi Is it possible to setup another message resources file in Struts 1.0? I need this because I want to display errors in a different way for a certain part of the application. Basically I do not want the Validation errors: Please correct the ff... heading. Since this is displayed

Re: Scheduled Jobs

2002-09-26 Thread avinash
hello gus, you can find my resume as attachment for the jobs you are looking at ;-) - Original Message - From: gus [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 26, 2002 3:24 PM Subject: Scheduled Jobs Hi! In my struts app I have to do some

Re: Scheduled Jobs

2002-09-26 Thread Dariusz Wojtas
Hi, you may define some thread to be started while the app init process. Works nicely for us. Two classes are required. 1. Simple init servlet that will be plugged into web.xml (similar to the way that struts action servlet is plugged) In the 'init' method you could start your thread

RE: Scheduled Jobs

2002-09-26 Thread Jon.Ridgway
Hi Gus, I don't think this is a Struts issues (Struts doesn't have any Job Scheduling facilities) You might want to take a look at: http://www.part.net/quartz.html. Or do a search on the www.theserverside.com for 'job schedule' - loads of stuff. Jon Ridgway -Original Message-

Value selection

2002-09-26 Thread Mohan Radhakrishnan
Hi, Is it possible to display these values from a bean ? I have two sets of methods according to the bean spec., one dealing with a java.util.Collection and the other with a single value. SELECT class=list multiple size=2 name=applications OPTION value=ALL ALL /OPTION

RE: Value selection

2002-09-26 Thread Robert Taylor
Mohan, One way to do this is to have your action form contain the Collection of options which you wish to display and an array of Strings which represent the values selected by the user. The Collection of options could be a collection of LabelValue beans. Using your example we would have the

RE: all this traffic

2002-09-26 Thread Galbreath, Mark
Okay, I didn't understand compile. You mean compilation, as in aggregation, or collecting the answers to a question like a thread in a newsgroup? That would take an agreed upon tag library somewhat like a DTD and everyone would have to abide by its definitions. Not a bad idea at all, but I

RE: Struts and high performance sites revisited

2002-09-26 Thread Galbreath, Mark
a. Stateless session beans are fine until you need transactional boundaries to protect data integrity. If you want to improve performance of the app, design a persistent cache for immutable data (or data that rarely changes) to reduce trips to the data store. b. There is no overhead for

RE: all this traffic

2002-09-26 Thread Galbreath, Mark
Note I removed the [OT]. :-) I think this is right on topic because there have been many complaints from all level of users about the difficulty of finding useful information in the archive. If the archive was better managed, list traffic could be substantially reduced. For that matter, just

Need Help Fast

2002-09-26 Thread Smith, Johnathan M.
This is not really a struts question but I am using struts a maybe someone can help. I system has allot of state dropdown's so I I made a tag for the programmers to insert into the JSP pages. The Tag builds a ArrayList with the states in it and then saves the states as a attribute in the

RE: [OT] JavaScript

2002-09-26 Thread Galbreath, Mark
My favorite is the website that requires a login and password written with JavaScript on the same HTML/JSP page. Doh! -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 11:00 PM ROFL! -Original Message- From: Steven Banks

RE: Struts and high performance sites revisited

2002-09-26 Thread Robert Taylor
You skip or shortchange the design phase (should be at least 30 percent of your project), you get what you deserve. Amen my brotha'! Preach on! robert -Original Message- From: David Zimmerman [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 5:43 AM To: [EMAIL

RE: Struts and high performance sites revisited

2002-09-26 Thread Lister, Tom (ANTS)
Hi I've recently been struggling with performance issues related to tags, especially where there are large number in some of our pages. The biggest improvment we got was by switching application servers. Specifically by upgrading to the latest Tomcat 4.1.11. The difference in response is

RE: Need Help Fast

2002-09-26 Thread Robert Taylor
Retrieve you states when the application starts up. Either init Servlet or ServletContextListener. Place collection of states in ServletContext where they will be available to all users for the life time of the application. Use logic:iterate .../ to render the states. robert -Original

RE: Need Help Fast

2002-09-26 Thread Ville Peurala
Hello, One possible solution: Put the ArrayList in application context and put a check in doStartTag()'s beginning to determine whether the list of states can be found in application context. Instead of: pageContext.setAttribute(selectStates, states); Put it like this:

FW: [ANNOYANCE] Administrator message to the Sender

2002-09-26 Thread Galbreath, Mark
Anybody else getting this on every post? This is most annoying. -Original Message- From: Tuominen Janne [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 8:25 AM To: Galbreath, Mark Subject: Administrator message to the Sender Novossa on useita Janne Tuominen-nimisiä

RE: [OT] JavaScript

2002-09-26 Thread Andrew Hill
Would you believe Ive seen sites for (supposedly) professional (web design some more!) companies that will put up a prompt when you hit the site to ask your name simply so they can then say on their main page: Welcome name to our website... Or some such nonsense. Yep. Ill sure use these guys

RE: [ANNOYANCE] Administrator message to the Sender

2002-09-26 Thread Andrew Hill
Nope. Looks like youve got a secret admirer. ;-) -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 20:29 To: Struts (E-mail) Subject: FW: [ANNOYANCE] Administrator message to the Sender Anybody else getting this on every post? This

RE: [ANNOYANCE] Administrator message to the Sender

2002-09-26 Thread Ville Peurala
The content of this message is in Finnish and means that Janne Tuominen has subscribed to this list with e-mail address [EMAIL PROTECTED], but does not work in Novogroup anymore. So, [EMAIL PROTECTED] should be deleted from Struts user list. T: Ville Peurala -Original Message-

RE: Struts and high performance sites revisited

2002-09-26 Thread Galbraith, Paul
I've always wondered the same. I haven't found a definitive answer, but there's a lot of good info referenced in an old posting from Ted Husted: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg14397.html Paul -Original Message- From: David Zimmerman [mailto:[EMAIL

RE: [OT] JavaScript

2002-09-26 Thread Tony Baity
NOSCRIPTPlease turn javascript back on/NOSCRIPT Galbreath, Mark wrote:My favorite is the website that requires a login and password written with JavaScript on the same HTML/JSP page. Doh! -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25,

initilaizing form bean values

2002-09-26 Thread deepank
hi, i have form bean for which i would like to initialize some fields with values before displaying the jsp. for example if i have something like this in my jsp, how can i initialize this input field from my Action class with a value that i get from the database html:text property=mail_id

RE: initilaizing form bean values

2002-09-26 Thread Richards, Devin N (Devin)
Use the form's reset() method (as described in the docs and examples) -Devin -Original Message- From: deepank [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 9:16 AM To: Struts Users Mailing List Subject: initilaizing form bean values hi, i have form bean for which i

RE: [OT] Commons Validator JavaDoc

2002-09-26 Thread Jerry Jalenak
Cool! This is exactly what I'm looking for! Jerry -Original Message- From: James Turner [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 6:50 PM To: Struts Users Mailing List Subject: Re: [OT] Commons Validator JavaDoc At 04:40 PM 9/25/2002, [EMAIL PROTECTED]

Unit testing a struts application

2002-09-26 Thread Daniel H. F. e Silva
Hi all, I am searching for possible improvements on my development process. One of greatest things i've found is XP. I liked it very much. One of XP rules is about unit testing. So follows my question : How can i unit test a struts app? I heard about Cactus (another Jakarta project). Does

RE: Need Help Fast

2002-09-26 Thread Smith, Johnathan M.
Can you please send me a sample of a better way -Original Message- From: Ville Peurala [mailto: Sent: Thursday, September 26, 2002 8:26 AM To: Struts Users Mailing List Subject: RE: Need Help Fast Hello, One possible solution: Put the ArrayList in application context and put a

Re: all this traffic

2002-09-26 Thread Daniel Jaffa
Is what you want already on jguru.com. - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Thursday, September 26, 2002 8:05 AM Subject: RE: all this traffic Note I removed the [OT]. :-) I think this is right on topic

RE: initilaizing form bean values

2002-09-26 Thread Miguel Angel Mulero Martinez
You must call an Action before, this action will put the bean in the request scope with the name you defined for it in struts-config.xml. req.setAttribute(name,bean); Regards. -Mensaje original- De: deepank [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 26 de septiembre de 2002 15:16

Re: initilaizing form bean values

2002-09-26 Thread deepank
I dont know how this will help. I have a form with several records, i have an edit buuton for each record. If a user cliks the edit button i go back to the action class. here i would like to pick up data from the database, this data i want to display in the fields of the form(JSP) for the user

RE: Struts and high performance sites revisited

2002-09-26 Thread James Higginbotham
Tom, I totally agree - its all in how the server gen's the code, for the most part. The rest is related to the spec itself and how much it allows app servers to optimize. There was a discussion about the thread safety of JSP tags a little while ago. Here is what I wrote up:

Re: Unit testing a struts application

2002-09-26 Thread Jim Young
Cactus works great with Struts. Just go to there web page http://jakarta.apache.org/cactus/index.html and check out the documentation examples. Join their user list, check the archives and if you still have questions ask the Cactus user group. You will also need to know all about JUnit -

Startup Problem

2002-09-26 Thread Kalaiselvan
Hi All, Here i'm facing serious problem.. I already configured test application in Struts. But when I configure my original Application i face serious problem.. I got an error like No action instance for path /login could be created The server encountered an internal error (No action instance

RE: initilaizing form bean values

2002-09-26 Thread Robert Taylor
This has been discussed several times on this list. Please do a _little_ homework before posting. Sorry to be so harsh. One solution: Create a set-up action which when invoked retrieves the required values from the data store, populates your form, and then forwards to the page where the data is

RE: Struts tags for display a collection of views [paging design pattern]

2002-09-26 Thread Heligon Sandra
Paging is the good term to describe what I want to do. I don't work directly with a dataset because I use an back-end application server that works on the database. So I receive a list of JavaBean that I would like to display in JSP pages. I found a little description of the paging pattern but I

RE: initilaizing form bean values

2002-09-26 Thread Richards, Devin N (Devin)
I would use your setter methods to initialize the bean in the reset method rather then removing it from scope. We have several forms which we pre-populate from a single-sign-on database so that the user does not have to type in their name, address etc. We have one action that displays the

RE: Need Help Fast

2002-09-26 Thread Hajratwala, Nayan (N.)
Essentially, he is saying you can rewrite your doStartTag method to be something like: private List _states = null; public int doStartTag() throws JspException { if (_states == null) { _states = new java.util.ArrayList(); _states.add(new

RE: How to configure multiple Message Resources in Struts 1.0

2002-09-26 Thread James Mitchell
Or you could just take the 1.0 version and customize the source to do what you want. That's one of the perks with having the source code ;) Hava a good one!! James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the Open Minded Developer Network

RE: all this traffic

2002-09-26 Thread Tero P Paananen
- One reason why there are a lot of questions is that documentation is lacking. What I wanted to suggest was one method of collecting answers in a cheap fashion. Hell no! The main reason why there are a lot of questions is because people expect their breakfast to be spoonfed to them. If

RE: all this traffic

2002-09-26 Thread James Mitchell
+1 James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the Open Minded Developer Network http://www.open-tools.org/struts-atlanta -Original Message- From: Tero P Paananen [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 10:14 AM To: Struts Users

RE: all this traffic

2002-09-26 Thread Assenza, Chris
Usually mailing list operators solve this problem by separating mailing lists to a newbie list and a list for more experienced users. struts-user-beginner struts-user Which was one thing he originally suggested... =p /me Doesn't care so much, I simply don't have enough time to read all this

Distinct case in validate() with a form used in several page

2002-09-26 Thread Vincent Berruchon
I'd like to use an actionFormBean with a few JSP form page. But I'll have to treat different cases in the validate of my actionFormBean... So in validate(), I was thinking about looking at the name of the input JSP with ActionMapping.getInput() ( or perhaps the name of the current action to

Re: Distinct case in validate() with a form used in several page

2002-09-26 Thread Jim Young
Couldn't you create your actionFormBean and then create sub-classes for each different type of validation? Might give you a cleaner solution. Jim From: Vincent Berruchon [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]

ActionForm

2002-09-26 Thread Desjardins, Nicolas
Hi, i have a Form (ActionForm) in wich i have a list that is feeded from my database. When i validate with the validate method in the ActionForm and an error is found, i cannot see the form again because it tells me that my bean (that contain the list) is not found... I use struts 1.1b2, is

Re: Need Help Fast

2002-09-26 Thread Michael Lee
Ive done this, everyone is overcomplicating it greatly... Lookup.getData() gets an ArrayList of states. This array list is loaded through an XML file that loads upon boot and puts it in a static variable. This XML file can load it from itself or from the database. It does all the .add() .add()

DTD

2002-09-26 Thread Lowe, Jeff
I'm new to this list, so forgive me if this question has been posted recently. Yesterday my Struts application stopped working. I finally traced the problem to the following line in struts-config.xml: !DOCTYPE struts-config PUBLIC -//Apache Software Foundation//DTD Struts

Re: Unit testing a struts application

2002-09-26 Thread JEWeaver
Also for unit testing actions out-of-container, take a look at StrutsTestCase : http://strutstestcase.sourceforge.net/. One approach that is also commendable for unit testing - regardless of servlet framework used - is to keep as much code as possible out of container-dependent objects. For

RE: Distinct case in validate() with a form used in several page

2002-09-26 Thread Robert Taylor
I use the DynaValidatorActionForm and identify the validation routines in the validation.xml by the action mapping and it works quite nicely. Is this an acceptible way? It works well for me. This is essentially what you would be doing except you will have some logic in the form which determines

RE: ActionForm

2002-09-26 Thread Robert Taylor
I just ran into a similar problem where I have a set up action which populates the form (in request scope) and forwards to the .jsp page. When validation failed, I had my input attribute set to the .jsp page and was getting the behavior your described. I changed the input attribute to be the

Problem viewing web from outside company -- UnknownHostException

2002-09-26 Thread Ferran Parra
Hello all. I have a struts-driven web working under Tomcat 4.0.4, Struts 1.0. All is well from within my company on any given machine but when I access the web from outside the company I get an java.net.UnknownHostException error. The problem seems to be in a struts forward command. This forward

RE: Unit testing a struts application

2002-09-26 Thread James Higginbotham
I totally agree with this approach. Here is how I abstract Struts away from http: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg40143.html This way, I can test as close to the protocol as possible, allowing me to remove the protocol-specific issues. Then if a bug comes up, I can

[OT][WORKFLOW] Any best practice for back, save, continue buttons?

2002-09-26 Thread Dan Cancro
I'm thinking about a design where I maintain a URL stack in a session variable that stores where a user has been, so that clicking a back button (not the browser's) will take a user to the right place. It would work like this: Click a Continue button - Push a new URL onto the stack, and take the

Re: Scheduled Jobs

2002-09-26 Thread Eddie Bush
Personally, I'd use cron. If you're not on a Un*x box then that's not an option - I would think Windoze would provide something analagous though ... The process cron kicks off could be any executable file, so you aren't even tied to doing it in Java. For my $0.02, you could probably whip

RE: Strut application with support for portal like behavior

2002-09-26 Thread Vikas Sangwan
Use Tiles, along with Strutsthen you can have Portal like behaviour for your application. -Original Message- From: Anil Kumar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 7:50 AM To: [EMAIL PROTECTED] Subject: Strut application with support for portal like behavior

RE: [OT][WORKFLOW] Any best practice for back, save, continue buttons?

2002-09-26 Thread Jacob Hookom
Yeah, I used it in a login handler that I wrote for struts, where: If (not logged in) (push requested url on stack in session) ) login.jsp form hidden value = requestStack.first It's detailed in Java E-Commerce from Wrox publishing | -Original Message- | From: Dan Cancro

RE: [OT][WORKFLOW] Any best practice for back, save, continue buttons?

2002-09-26 Thread Andrew Hill
Im using something a little more complex that is a bit similar. I store some information into a uniquely identified object in the session , this includes the ActionForm the user is currently editing a url to resume editing this, then I forward to another page where the user can edit something

RE: [OT][WORKFLOW] Any best practice for back, save, continue buttons?

2002-09-26 Thread James Higginbotham
Dan, I did something in the past related to this, before Struts was available (I think). It required new instances of an action to be created for each jump with return, which cluttered the session but enabled these actions to store state about the process. Anyway, the one thing I learned, no

Re: How to configure multiple Message Resources in Struts 1.0

2002-09-26 Thread Karim Saloojee
Yep I could customise the source to make pizza as well ; ) What I want to know is can the source make pizza currently and how do I configure multiple flavours of pizza? Substitute pizza with message resource bundles. TIA - Original Message - From: James Mitchell [EMAIL PROTECTED]

RE: Scheduled Jobs

2002-09-26 Thread James Mitchell
On the windoze side, you can use Scheduled Tasks. From there just point to a .bat file and you are free to do anything your little heart desires. James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the Open Minded Developer Network http://www.open-tools.org/struts-atlanta

[OT][WORKFLOW] Any best practice for back, save, continue buttons?

2002-09-26 Thread Dan Cancro
I'm thinking about a design where I maintain a URL stack in a session variable that stores where a user has been, so that clicking a back button (not the browser's) will take a user to the right place. It would work like this: Click a Continue button - Push a new URL onto the stack, and take the

RE: Strut application with support for portal like behavior

2002-09-26 Thread Vikas Sangwan
Use Tiles, along with Strutsthen you can have Portal like behaviour for your application. -Original Message- From: Anil Kumar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 7:50 AM To: [EMAIL PROTECTED] Subject: Strut application with support for portal like behavior

RE: [OT][WORKFLOW] Any best practice for back, save, continue buttons?

2002-09-26 Thread Jacob Hookom
Yeah, I used it in a login handler that I wrote for struts, where: If (not logged in) (push requested url on stack in session) ) login.jsp form hidden value = requestStack.first It's detailed in Java E-Commerce from Wrox publishing | -Original Message- | From: Dan Cancro

RE: [OT][WORKFLOW] Any best practice for back, save, continue buttons?

2002-09-26 Thread Andrew Hill
Im using something a little more complex that is a bit similar. I store some information into a uniquely identified object in the session , this includes the ActionForm the user is currently editing a url to resume editing this, then I forward to another page where the user can edit something

RE: [OT][WORKFLOW] Any best practice for back, save, continue buttons?

2002-09-26 Thread James Higginbotham
Dan, I did something in the past related to this, before Struts was available (I think). It required new instances of an action to be created for each jump with return, which cluttered the session but enabled these actions to store state about the process. Anyway, the one thing I learned, no

using tiles and j_security_check

2002-09-26 Thread Vincent Stoessel
Hello, I am using tomcat's realm authentication to protect my struts 1.1 app. The actual form is constructed using tiles. This works fine for the most part but occasionaly I will submit the login form and get stuck at a blank page with a url of http:/mysite/j_security_check Usually I have to

Re: Startup Problem

2002-09-26 Thread Mark Maimone
check the package name form-beans form-bean name=loginForm type=com..login.LoginForm/ /form-beans [EMAIL PROTECTED] 09/26/02 12:13 PM Hi All, Here i'm facing serious problem.. I already configured test application in Struts. But when I configure my original Application i face

Re: using tiles and j_security_check

2002-09-26 Thread Eddie Bush
Vincent Stoessel wrote: Hello, I am using tomcat's realm authentication to protect my struts 1.1 app. The actual form is constructed using tiles. This works fine for the most part but occasionaly I will submit the login form and get stuck at a blank page with a url of

Re: Startup Problem

2002-09-26 Thread Eddie Bush
I wouldn't hazard a guess, personally. When the app is loaded and initializes it should spit out a stack trace (this is obviously a mistake in your config file). Find that trace and you'll find your problem. Kalaiselvan wrote: Hi All, Here i'm facing serious problem.. I already configured

Re: multiple sub projects

2002-09-26 Thread Anthony Martin
What about situations where a common .jsp file is used as a target for forward by multiple sub-applications? action path=/bar type=com.trams.struts.BarAction name=barForm scope=request forward name=success path=../success.jsp / forward name=reload

Re: [OT] Disabling jsessionid parameter in Struts forms

2002-09-26 Thread Will Etson
We use resin and according to http://www.caucho.com/resin/ref/app-config.xtp#session-config you can indepently turn off either cookie sessions or url-sessions. I'm not 100% sure what effect this will have but it sounds like it might solve your problem. Gemes Tibor [EMAIL PROTECTED] 09/26/02

RE: DTD

2002-09-26 Thread Ditlinger, Steve
Hi Jeff: It appears you have a mismatch of identifier (1.1) with DTD (1.0) in your !DOCTYPE tag. Change your identifier to 1.0 to be consistent with the DTD URL and then your app should work whether the struts site is up or not. (Assuming your app is a Struts 1.0 app) The ActionServlet will

RE: multiple sub projects

2002-09-26 Thread Taylor, Jason
try forward name=blah contextRelative=true path=/random.jsp -Original Message- From: Anthony Martin [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 9:50 AM To: Struts User List (E-mail) Subject: Re: multiple sub projects What about situations where a common .jsp file is

RE: Startup Problem

2002-09-26 Thread Taylor, Jason
LOOK AT YOUR CONSOLE!! -Original Message- From: Kalaiselvan [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 6:32 AM To: Struts Users Mailing List Subject: Startup Problem Hi All, Here i'm facing serious problem.. I already configured test

Re: multiple sub projects

2002-09-26 Thread Eddie Bush
I believe what you're trying to do is covered by the contextRelative attribute of the forward. Have you tried setting 'contextRelative=true' on a forward? What it does is tell Struts Interpret this as though it's relative to the APPLICATION context (not module context). I know this works

Re: Startup Problem

2002-09-26 Thread Mark Maimone
I see that the package name for your LoginForm has .. in it form-bean name=loginForm type=com..login.LoginForm/ [EMAIL PROTECTED] 09/26/02 13:13 PM Hi All, Here i'm facing serious problem.. I already configured test application in Struts. But when I configure my original Application i

RE: multiple sub projects

2002-09-26 Thread Joe Barefoot
Pardon me if this questions seems a bit daft, but what does using multiple sub-applications buy you other than splitting the app. into logical chunks, each with its own config file? -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002

[OT] Bad case of the hiccups?

2002-09-26 Thread Eddie Bush
I'm getting multiple copies of some messages. I know they're the same message because of the timestamp. Is anyone else experiencing this? I'm guessing this is a continuation of the problems we had yesterday ... -- Eddie Bush -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

RE: Logout in a container-managed security environment -- Follow-up

2002-09-26 Thread Charles McClain
All: I made the original post in this thread, and thanks to the replies I received, was able to implement FORM-based CMA in my application. As you can see in the message below, I was left with one residual problem: Although FORM-based CMA worked fine in a standalone Tomcat environment, when I

cancel and session-scope form

2002-09-26 Thread Angie Lin
Hi there, How can I prevent a cancel button from populating the form bean? Normally this isn't a problem, except that my form bean is in session-scope (for an wizard-like implementation). I've considered reconfiguring it so that the form stays in request-scope for each page in the wizard. I

Re: multiple sub projects

2002-09-26 Thread Eddie Bush
That's a very good question. Personally, I see added overhead (necessity for multiple instances of certain things to be loaded) in the current implementation. The positive side is that I can configure each module with it's own look and feel - and tell which one I am in. You're right

RE: [OT] Bad case of the hiccups?

2002-09-26 Thread Galbreath, Mark
+1 -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 1:33 PM To: Struts Users List Subject: [OT] Bad case of the hiccups? I'm getting multiple copies of some messages. I know they're the same message because of the timestamp. Is anyone

RE: multiple sub projects

2002-09-26 Thread Taylor, Jason
My interest in multiple sub-apps is more related to maintenence and post-launch life cycle issues. Modular development is nice, but to me fine-grained control of override behavior for every aspect of the deployed application is crucial-- that way I can add functionality or upgrade any feature

bean:write formatKey doesn't work with Strings?

2002-09-26 Thread Morycz, Felicia V
I have been looking into the formatKey option of the bean:write tag. I have format.creditlimit=$###,###,##0.00 in my property file. My jsp has the following: bean:write name=responseBean property=creditLimit formatKey=format.creditlimit/ I am trying to work only with strings between by

RE: multiple sub projects

2002-09-26 Thread Joe Barefoot
Thanks for the evaluation. I'm going to have to politely disagree with your assessment that you can multi-task the development better because of having a configuration file for each module. Unless you're in an environment without source control, I don't buy the argument that maintaining

Re: [OT] Bad case of the hiccups?

2002-09-26 Thread Michael Delamere
a BIG YES ! I thought it must be my ISP but obviously not Regards, Michael - Original Message - From: Eddie Bush [EMAIL PROTECTED] To: Struts Users List [EMAIL PROTECTED] Sent: Thursday, September 26, 2002 7:32 PM Subject: [OT] Bad case of the hiccups? I'm getting multiple

Please help with iteration problem

2002-09-26 Thread Michael Bowman
I am trying to nest iterate tags. I've tried logic:iterate nested:iterate and c:forEach without success. Here's what I want to do. logic:iterate name=routes id=route type=RouteBean write stuff about the route. logic:iterate name=route property=segments id=segment type=SegmentBean

Storing a bean in my FormBean

2002-09-26 Thread glen_roberts
My FormBean has a property that is a custom type (com.mycompany.myclass). I have added this property to my form definition in struts-config. My ActionClass does a request.setAttribute("beanname",instanceOfmyclass);. Back on my jsp, it is really easy to bean:write from my instanceOfclass.

options

2002-09-26 Thread Jefferson R. de O. e Silva
I have a bean called dataImportBean in my session. It has a property called labelTypes which is an ArrayList, and it has some LabelValueBean objects. I want to put each of the LabelValueBeans in a html:options, but all I tried failed. Can any help me with this ? Thanks Jeff -- To

  1   2   >