OT: Re: link rel='stylesheet' ... treated as GET??? (take II)

2002-04-29 Thread Dan Trevino
On Fri, 2002-04-26 at 16:06, Struts Developer wrote: Forgive my partial posting a minute ago... hotmail sucks. =) Then quit using it! There are plenty of other free email services available. -- Dan Trevino bluemagnet, llc http://bluemagnet.com/ -- To unsubscribe, e-mail: mailto:[EMAIL

Re: link rel='stylesheet' ... treated as GET??? (take II)

2002-04-29 Thread Dan Trevino
Is this a cut paste? Did you forget your (') after href=? Try: link rel='stylesheet' href='html:rewrite page=../theme/mainStyle.css /' type='text/css' I've got this in several places working fine. dan On Fri, 2002-04-26 at 16:06, Struts Developer wrote: I am having trouble with my

doubts in struts HELP Urgently

2002-04-29 Thread nradhika
Hi, Wat is double click synchronisation in struts ??? How is Multithreading implemented in struts ??? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Tab Panes

2002-04-29 Thread Michael Dingler
Hi, I'm currently implementing a form with quite a lot of values separated into several categories, and from regular GUI experience I'd like to use some kind of tab panes. I'm implementing it with struts 1.0.2 on BEA Weblogic and have run into some problems. My basic idea is to use a single

RE: some help ...

2002-04-29 Thread Ida Dørum
This whitepaper is warmly recommended when you get past the simple basics: http://stealthis.athensgroup.com/presentations/Model_Layer_Framework/Struts_Whitepaper.doc Good luck! ida -Original Message- From: reshma deshpande [mailto:[EMAIL PROTECTED]] Sent: 26. april 2002 23:12 To:

on Modal class and not Model class

2002-04-29 Thread nradhika
hi how can i use modal class to save ad get an object. This is not related to struts most probably. Where can i get the info. abt Modal classes Thanx and REgards radhika -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Struts 1.1+nested tag : help needed with nested:root

2002-04-29 Thread Lian Seng, Loh
Hi, I have been getting a null exception for a couple of hours now with the following code. It works if I used html:write name=contactForm property=xxx/, but fails at the first nested:write property=title/ Have I misunderstood the use of nested:root Thanks for any advice.

a little problem with struts ... plz help !

2002-04-29 Thread aa4086
Hi! I just joined this egroups list.. I have a little question, if you could please answer it. I am pretty new to the Java environment (just have read some tutorials on Java, JSP etc) but dont have much of a real-time coding experience. I have got a job, and I would soon be working on

RE: a little problem with struts ... plz help !

2002-04-29 Thread David Cypers
Check out http://www.husted.com/struts/ for more information about Struts. If you want to code jsp's quickly , also take a look at the jsp taglibs at http://jakarta.apache.org/taglibs/index.html If you use Dreamweaver Ultradev 4 for your markup(jsp's), you can integrate your custom tags (and

Beans constructed with BCEL makes html:option throw ClassCastExceptionin Struts 1.0.2

2002-04-29 Thread Thorbjoern Andersen
As mentioned on this list previously I have, with great labour, written a class which generates beans on the fly using BCEL based on a user-provided Property mapping field-named to field-types. This now works well, but my first attempt on using these beans with Struts have failed with the

datasources

2002-04-29 Thread Ramin, Arash
We have a couple datasources defined in our application (in struts-config.xml) under separate keys (one is for our dev environment, and the other for production). The default behaviour for Struts is to initialize all the defined datasources and make them available to the application. Depending

html:select + html:options question

2002-04-29 Thread Adolfo Miguelez
Hi All, We would appreciate any guidance since we are a little stuck with this issue in Struts 1.0. We have a JSP, which contains an undetermined number of select components, known at runtime. AFAIK, a Struts html:select REQUIRES to be embedded in an html:form tag, which, in turn, CLAIMS

RE: html:select + html:options question

2002-04-29 Thread Ramin, Arash
You should look into upgrading to Struts 1.1, which supports indexed properties. This allows you to have a dynamic number of elements on your form. - Arash -Original Message- From: Adolfo Miguelez [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 11:26 To: [EMAIL PROTECTED]

how to customize form validator ?

2002-04-29 Thread Barbara Post
Sorry I sent before subscribing so don't know if this came through... - Original Message - From: Barbara Post [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 29, 2002 4:49 PM Subject: how to customize form validator ? Hi, I'd like to create my own validate(ActionMapping

FormBeans, Data Beans and Databases (oh my)

2002-04-29 Thread Justin Harvey
Good morning folks (or good afternoon, evening): I wanted to ask a couple questions and bounce an idea off you guys. The first is I've been taking my data models and making beans out of them as I should ya? So a user in my portal let's call has a UserBean with get() set() methods for each of

RE: FormBeans, Data Beans and Databases (oh my)

2002-04-29 Thread David Cypers
The first is I've been taking my data models and making beans out of them as I should ya? So a user in my portal let's call has a UserBean with get() set() methods for each of the properties. But for for registering a user, struts requires a FormBean. So I've repurposed the same data model

RE: FormBeans, Data Beans and Databases (oh my)

2002-04-29 Thread Justin Harvey
`No, I only have one class: This is how a bean looks: public class Content extends ActionForm implements Serializable { } So Content can be a data model bean because it has gets/sets but it also can be a form. I just made a realization that this isn't cool if I'm working in a larger

Re: FormBeans, Data Beans and Databases (oh my)

2002-04-29 Thread @Basebeans.com
Subject: Re: FormBeans, Data Beans and Databases (oh my) From: Vic Cekvenich [EMAIL PROTECTED] === Very close, almost good enough: Create a DAO bean (that would do your dbConnect, retreive, update, etc.) aanything persistance specific. Create a BaseFormBean, that has a DAOBean property. It

Difference between MVC and MVC2 architectures

2002-04-29 Thread bhatia10
What is the difference between a MVC and MVC-2 architectures. How does Struts satisfy the MVC-2 architecture and why is it not just the MVC architecture. I would appreciate it if someone cud explain this briefy. Regards. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

Re: Difference between MVC and MVC2 architectures

2002-04-29 Thread bhatia10
Mark, A design pattern is also an architecture. MVC-2 or Model 2 as you refer to it extends the basic MVC architecture or design pattern. (Obviously you have read the GoF a couple of times.) My question was, how does it do it, or does it extend the pattern/architecture for that matter. If you

RE: Difference between MVC and MVC2 architectures

2002-04-29 Thread Ida Dørum
Gang of Four. -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: 29. april 2002 18:29 To: Struts Users Mailing List Subject: Re: Difference between MVC and MVC2 architectures GoF? Forgive me, but I don't know that one. - Original Message - From: Chappell,

RE: Difference between MVC and MVC2 architectures

2002-04-29 Thread Galbreath, Mark
Sorry - I didn't mean for my reply to sound as harsh as it read. I've got a killer hangover from my x-country running group's picnic yesterday. GoF - Gang of Four - wrote Design Patterns in Object-Oriented Software. Many consider this work the seminal definition of design patterns and every

RE: Difference between MVC and MVC2 architectures

2002-04-29 Thread Galbreath, Mark
To me, an architecture is what is built from a design pattern. And no, I've only read GoF once. Again, sorry about the apparently rudeness on my earlier response - it was not intended to be such. Mark -Original Message- From: bhatia10 [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29,

RE: Difference between MVC and MVC2 architectures

2002-04-29 Thread dhay
What, apologies too, now?!!! ;-) Galbreath, Mark [EMAIL PROTECTED] on 04/29/2002 12:43:26 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: RE: Difference between

Mailing List

2002-04-29 Thread Michael Nadeau
I'm very impressed with the value of this mailing list and the responsiveness of its participants. My current role on my project doesn't warrant continuing on the list. I have tried repeatedly to take my name off the distribution list, but it hasn't worked. Can someone please help me with

Re: java script question

2002-04-29 Thread dhay
Hi Jane, I usually just load the javascript array on the server-side using bean:write's from my form bean. Works great. Dave [EMAIL PROTECTED] on 04/25/2002 06:04:27 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts User mailing list [EMAIL

getUserPrincipal() returns not null immediately after session invalidated.

2002-04-29 Thread jfc100
Hi, tc323jboss241a,tiles+struts Can anyone explain this to me. In a struts action servlet, I invalidate a form-based-authenticated user's session object (successfully) and then immediately call getUserPrincipal(), in the same servlet, which returns the users name. It seems the user is only

RE: Difference between MVC and MVC2 architectures

2002-04-29 Thread Pruthee, Ranjan
Architecture is built through the use of design patterns. collection of appropriate patterns can lead to reusable business architecture. Just my thoughts. -Ranjan. -Original Message- From: bhatia10 [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 11:37 AM To: Struts Users

Re: Difference between MVC and MVC2 architectures

2002-04-29 Thread Eddie Bush
At the risk of looking stupid, I'm going to have to ask what this is as well =) I suddenly feel I am not as well read as I like to think I am. Thanks, Eddie - Original Message - From: Ida Dørum [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, April 29,

RE: Difference between MVC and MVC2 architectures

2002-04-29 Thread Ida Dørum
Sorry, I think I've been infected by Mark...who by the way answers your question in on of his last entries to this thread... ida -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: 29. april 2002 19:07 To: Struts Users Mailing List Subject: Re: Difference between MVC

Excel Export

2002-04-29 Thread Chen, Dean (Zhun)
This might be a little of topic, however, does struts support a standardized way to export results from queries in a comma delimited format, for importing into excel? Thanks, Dean Chen -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

RE: Difference between MVC and MVC2 architectures

2002-04-29 Thread Kevin . Bedell
MVC: A classic design pattern where there exist three seperate architecture elements: - A Controller. This processes user input and makes decisions on, among other things, what to do with the input. - A Model. This generally is a memory-persistent representation of the business

Re: Excel Export

2002-04-29 Thread SUPRIYA MISRA
I use plain jsp to do this. response.setHeader(Content-Disposition,attachment;filename=data.csv); response.setHeader(Content-Type, application/ms-excel); String result=Whatever you wanna export as csv; out.write(result); From: Chen, Dean (Zhun) [EMAIL PROTECTED] Reply-To: Struts Users Mailing

Re: Mailing List

2002-04-29 Thread Struts Developer
You must reply to the generated message you receive when you send in your un-subcribe request. HTH /\/\ark From: Michael Nadeau [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Mailing List Date: Mon, 29 Apr 2002

Re: Excel Export

2002-04-29 Thread @Basebeans.com
Subject: Re: Excel Export From: Vic C [EMAIL PROTECTED] === Struts is Java. Excel is VBA. They don't like each other. One good way is to expose your Java (Form) beans via SOAP. Then in Excel (using Pocket Soap client for example) write a VBA macro that gets the SOAP XML data. You will need to

RE: Excel Export

2002-04-29 Thread Galbreath, Mark
This is way too complicated. All you have to do is set the MIME type in the setContentType() declaration in the servlet delivering the output to application/vnd.msExcel and the browser will automatically display the output in an Excel spreadsheet. Mark -Original Message- From: Struts

RE: Difference between MVC and MVC2 architectures

2002-04-29 Thread Chappell, Simon P
Mark, You weren't being rude! Don't apologise! (this time ;-) The Gang of Four book is a very good book for introducing design patterns to the world, but can at times be too indestinct for my preference. I agree that an architecture is much bigger than a design pattern. It's bigger than an

ActionForm Design Thoughts..

2002-04-29 Thread @Basebeans.com
Subject: ActionForm Design Thoughts.. From: Anand Jayaraman [EMAIL PROTECTED] === Hi All, I am designing a Application and would like to get inputs from some experienced ones out there. 1) I will be have close to 100 JSP pages and I dont want to write a ActionForm for everything. 2)

Re: Difference between MVC and MVC2 architectures

2002-04-29 Thread bhatia10
Thanks for the explanation and the link.. it helped... repeating what is said in the article for confirmation. Are these diagrams correct. (excuse the ppt coverted to gif) - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, April

RE: Difference between MVC and MVC2 architectures

2002-04-29 Thread Hardee, Tony
Below is an excerpt from an Java World article circa 1999 (author: mailto:[EMAIL PROTECTED]) describing the difference between Model 1 vs. Model 2. The early JSP specifications advocated two philosophical approaches for building applications using JSP technology. These approaches, termed the JSP

Re: ActionForm Design Thoughts..

2002-04-29 Thread Kevin . Bedell
If you're going to have 100 pages make sure you proof out how your going to handle dynamic pages if you're not using the DynaBeans. Write a sample page early where you model a page that has a variable number of fields on it. Struts Newsgroup (@Basebeans.com) struts on 04/29/2002 01:55:02

Re: Difference between MVC and MVC2 architectures

2002-04-29 Thread Kevin . Bedell
Are these diagrams correct? I believe they would be correct if: - On slide 1, you changed Servlet to JSP - On slide 1, you called it simply Model 1 / JSP instead of MVC 1/Model 1. (Model 1 and MVC are different. Model 1 implies NO MVC) - On slide 2, you changed the label to

Re: ActionForm Design Thoughts..

2002-04-29 Thread chuckcavaness
I'm working on a project where we faced a similar situation. We don’t have as many pages as you, but nonetheless. Here’s what we have done, maybe there’s some ideas in here for you. We built two builder classes that contain a single static method in each (FormBuilder and ViewBuilder). We

Getting index inside iterate / pager tag

2002-04-29 Thread Struts Developer
All - I am trying to get the index of the current row inside an iterate tag so that a link on that row properly identifies itself to the subsequent action class. However, all I get is a Class Not Found error pointing to the collection I am iterating. Here is my code: logic:iterate

RE: Excel Export

2002-04-29 Thread Ajay Chitre
I really liked Vic's suggestion regarding SOAP. I am going to explore that myself. In the mean time here's a quick dirty Test.jsp that you can use HTH! !DOCTYPE HTML PUBLIC -//IETF//DTD HTML//EN HTML HEAD TitleExcel Format/Title % response.setContentType(application/vnd.ms-excel);

RE: Getting index inside iterate / pager tag

2002-04-29 Thread Leonardo Maciel
have you try ti use indexId? logic:iterate id=results name=nameSearchResults scope=session indexId=inx type=dhs.vcm.vis.form.NameSearchResultsForm indexId = The name of a page scope JSP bean that will contain the current index of the collection on each iteration. I don't have a sample code,

Re: Getting index inside iterate / pager tag

2002-04-29 Thread dhay
Look in the docs for indexId! Dave Struts Developer [EMAIL PROTECTED] on 04/29/2002 03:13:08 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: Getting index inside iterate / pager tag All - I

RE: Excel Export

2002-04-29 Thread Chen, Dean (Zhun)
Thanks everyone. Dean Chen Dean Chen Goldman Sachs Co. 1 New York Plaza - 38th Floor, New York, NY 10004 (917) 343-8446 [EMAIL PROTECTED] -Original Message- From: Ajay Chitre [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 3:16 PM To: Struts Users Mailing List Subject: RE:

Re: Getting index inside iterate / pager tag

2002-04-29 Thread Struts Developer
Okay, I looked in the documentation and found that indexId is The name of the scripting variable to be exposed as the current index. What scripting variable? A new one in my JSP? Something on a bean perchance? Are there any examples? Why is it that javadocs are void of sample code?

RE: Getting index inside iterate / pager tag

2002-04-29 Thread Leonardo Maciel
Since indexId defines the name on the JSP bean you can use it as any other bean. !-- defining it -- logic:iterate id=results name=nameSearchResults scope=session indexId=inx type=dhs.vcm.vis.form.NameSearchResultsForm !-- write index number -- bean:write name=inx/ !-- use it on html:link - NOT

few questions

2002-04-29 Thread reshma deshpande
Hi All, Its me again .. remember the some help... mail this friday! I studied 120 pages of JSP (from Web Development using Java Server Pages, Manning) since i had that book (i would finish it soon), and also read a couple of tutorials on Struts. Heres what I understand .. plz correct me if

Design question

2002-04-29 Thread Will Spies/Towers Perrin
In my opinion, most ( if not all ) links should be Action URIs. What I mean is, struts views should not post to urls which are JSP struts views. Rather, valid URLs that are posted to ( or even referenced in ) should always be controllers. For those who agree with this philosophy, can you give

Re: ActionForm Design Thoughts..

2002-04-29 Thread @Basebeans.com
Subject: Re: ActionForm Design Thoughts.. From: Anand Jayaraman [EMAIL PROTECTED] === Thanks Chuck, Can I have some sample code to look @. [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... I'm working on a project where we faced a similar situation. We don't have as many pages as

Error running Struts examples (Pro JSP)

2002-04-29 Thread Steve Guo
I have problem running the Pro JSP, 2nd edition struts examples (ch21, CD store exmaple): 1. I can compile and deploy the example fine using ant and build.xml 2. But when running the example from tomcat: http://localhost:8080/ch21/index.jsp displays fine, 3. When I clicked on 'new user

Re: Design question

2002-04-29 Thread Kevin . Bedell
Configure the web server to not recognize the .jsp mime type. Then any link to a .jsp page will generate an Error 404 Page Not Found. The servlet mappings should still work fine. That being said, I've found that whenever I make a decision like this based on a design preference, I almost

Re: Design question

2002-04-29 Thread Will Spies/Towers Perrin
Good idea but the other problem is your web server doesn't mix with non-Struts applications. I was kinda hoping for a struts only solution. Thanks for the idea though! ___ Will Spies Towers Perrin Phone: (215)246-7145 e-mail: [EMAIL PROTECTED]

Form based security

2002-04-29 Thread Pete Serafin
All, Im in the process of re-engineering an application and I am focusing on how to implement the security. The current application uses a combination of security checks within the action classes and jsp custom tags based upon a user session object. After reading more about the form-based

Popup Windows

2002-04-29 Thread Villegas, Courtney
I am new to Struts usage and am trying to determine if it is possible to open a new browser window (an control its appearance) via an actionforward method. I realize that the Action itself has no idea of the front end (the HTML/Javascript pages), but I am only familiar with opening new window

RE: Form based security

2002-04-29 Thread Tero P Paananen
Im in the process of re-engineering an application and I am focusing on how to implement the security. The current application uses a combination of security checks within the action classes and jsp custom tags based upon a user session object. After reading more about the form-based

RE: Popup Windows

2002-04-29 Thread Leonardo Maciel
what I have done is forwarding to a jsp page that opens a new window and self-close. It uses javaScript though. //struts-config.xml !-- Process a user logon -- action path=/logon_client

Parsing error processing resource path... ONLY with ServletExec

2002-04-29 Thread Jim Tomlinson
We have a struts webapp packaged as a .war, and we're testing its deployment on a selection of environments. We've been able to deploy and run it on WebSphere 4.0.2, WebLogic 6.1, iPlanet 6.0SP2, and JRun 3.1. However, in ServletExec 4.1 (ISAPI with IIS) the app doesn't run, and we see the output

RE: Form based security

2002-04-29 Thread Phase Web and Multimedia
I concur! I think container based security is the biggest pain in the #$!. I am writing a (hack) for multiple login pages/auto-login/etc... and it is taking way too much time. When the promise that container based security would be easier in servlet 2.3 I was exceited. But, it seems now like we

Storing date time stamp within html form

2002-04-29 Thread Hair, Jeffrey
I'm trying to preserve the date time stamp of an object by storing the value in an html element and have struts automatically populate my ActionForm object with the value upon submit. Specifically, I have an object of type java.sql.Timestamp contained within my ActionForm. My jsp code is this:

RE: Excel Export

2002-04-29 Thread Hair, Jeffrey
Is there a way to have the browser actually download the excel file instead of just rendering the file within the browser? And if so, what about images displayed within the rendered excel? jsh -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29,

please help

2002-04-29 Thread Ajay Mallik
Hi All, I am new to Struts. I need to create an action-form dynamically when the user submits a form. The form in the client side is generated dynamically, as a result I cannot create any fields in the action-form class associated with the action. The user can submit simple data as textbox or can

RE: Excel Export

2002-04-29 Thread Galbreath, Mark
Anytime you point your browser to http://whatever.file.xls, it will invoke Excel and display whatever is contained in the file within the browser window. Mark -Original Message- From: Hair, Jeffrey [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 2:53 PM To: 'Struts Users Mailing

Re: Form based security

2002-04-29 Thread @Basebeans.com
Subject: Re: Form based security From: Vic C [EMAIL PROTECTED] === I just had a development meeting here on the topic. Use container security. In (base) action do a getRemoteUser(). Based on it, (and isUserInRole) create a sessionUserBean that has other info I get from DB. Anyway, I will take

Re: Off topic:cookies nightmare!!!!!!!!

2002-04-29 Thread Jay sissom
I'm not sure why your P cookie isn't showing up, but the JSESSIONID cookie is a session cookie so it is only maintained in RAM and never gets written to disk. If you don't set the max age, the cookie only lives for the current session. To figure out why the P cookie isn't working, turn on

RE: Excel Export

2002-04-29 Thread Ravindran Ramaiah
I had used java2com( http://www.nevaobject.com/_docs/_java2com/java2com.htm )library to dynamically create excel on the fly. It is possible to import a comma delimited file (generated via database or whatever) and create a excel sheet ( and charts too..) Ravi -Original Message-

Re: Storing date time stamp within html form

2002-04-29 Thread James A. Hillyerd
I haven't tried this myself, but Timestamp has setTime and getTime methods which handle the time as the milliseconds since the epoch (a long). You could probably do something along the lines of: html:hidden property=dateCreated.time/ However, you would have to make sure that you placed an

session parameter values

2002-04-29 Thread ajTreece
This should be fairly simple, but for some reason I can't get it to work. In my LogonAction servlet, after a valid login, I set some session parameters with your basic method like session.getAttribute(UserName);. Now from my jsp I want to display the value of that parameter. I assume that you

PLEASE HELP !!!

2002-04-29 Thread Ajay Mallik
Hi All, I am new to Struts. I need to create an action-form dynamically when the user submits a form. The form in the client side is generated dynamically, as a result I cannot create any fields in the action-form class associated with the action. The user can submit simple data as textbox or

Re: Excel Export

2002-04-29 Thread Vincent Aumont
Dean, In addition to what has already been said regarding the MIME type, I'd like to mention a very good tool we're using for one of our projects: Java Excel API, A Java API to read, write and modify Excel spreadsheets. It generates files in xls format (not just CSV). Very good product. And

RE: session parameter values

2002-04-29 Thread Galbreath, Mark
Whatever you named it with the session.setAttribute( [name], userName). And change parameter to property. Mark -Original Message- From: ajTreece [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 5:52 PM To: Struts Users Mailing List Subject: session parameter values This should

RE: PLEASE HELP !!!

2002-04-29 Thread Joseph Barefoot
I was unable to address this issue myself, Ajay. I use a combination of an ActionForm for the static fields and naming conventions for the dynamically generated fields plus parameter handling for these in the Action class. This is not very aesthetically pleasing, however. I have heard that

Re: session parameter values

2002-04-29 Thread ajTreece
Thanks Mark for the quick reply... I made the changes you suggested, but it still bombs out. Here is the error: [ServletException in:/common/userPortals/userData.jsp] No getter method for property UserName of bean UserName' Here is the line in my jsp: bean:write name=UserName scope=session

Re: session parameter values

2002-04-29 Thread Raffy_Lata
I don't think you need the property attribute ajTreece [EMAIL PROTECTED] on 04/29/2002 04:04:18 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject: Re: session parameter values Thanks Mark for the quick

Re: session parameter values

2002-04-29 Thread ajTreece
Success Thanks to Mark and Raffy. The combination of both your inputs was required to fix my problem. Bottom line is that to write a session property to the jsp the bean:write name= is the name of the property set in the session. The name and the scope is all that's required to return a

RE: PLEASE HELP !!!

2002-04-29 Thread Phase Web and Multimedia
The only thing I know of is the DynaBean. This allows you to declare values in your struts.xml action declaration that will need to be gathered from the request and stored in a Bean as a HashMap. This allows the flexibility of being able to gather request parameters without having to recompile

RE: PLEASE HELP !!!

2002-04-29 Thread Jeremy Prellwitz
I have a need for this alsohere's an example of where i would like to use them: I'm pulling an arbitrary amount of records from a database, and for each record, shown in an HTML table, it has a radio button that has 3 options: Approve; Reject; Do Nothing. I then need to submit this

Turning an ActionForm into a querystring

2002-04-29 Thread @Basebeans.com
Subject: Turning an ActionForm into a querystring From: Preston Crawford [EMAIL PROTECTED] === I was wondering if Struts had anything built in to do the following. We have a request to make certain pages on the site printable. That should be easy with struts. Only problem is, if the page has

Struts and JavaMail

2002-04-29 Thread Joe Latty
I am attempting to send a file (that has been uploaded with the file tag) as an attachment using JavaMail. I am using some very standard code that I have used before many times, the only difference is now I am using Struts and it is not working. Is anyone else successfully sending files as email

RE: PLEASE HELP !!!

2002-04-29 Thread Joseph Barefoot
Thanks Tim, this is exactly what I was looking for. I think it's in 1.1 thoughor else it's an undocumented feature of 1.02. :) cheerful regards, Joe Barefoot -Original Message- From: Pedone, Tim [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 5:26 PM To: 'Struts Users

RE: Design question

2002-04-29 Thread James Mitchell
Or you could put your jsp's under the WEB-INF directory. Search posts from a few weeks ago about this. It's quite a lengthy and enlightening thread. JM -Original Message- From: Will Spies/Towers Perrin [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 4:08 PM To: Struts

Debug Level

2002-04-29 Thread Amir Nashat
Does anyone know the different levels of granularity for debugging in struts? I know the default value for the ActionServlet is 0 and I was wondering what the other values there are and what they represent. Thanks. amir -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: Design question

2002-04-29 Thread Amir Nashat
Couldn't you just configure your web.xml file to map all .jsp requests to some standard error page? amir [EMAIL PROTECTED] 6:02:54 PM 04/29/02 Or you could put your jsp's under the WEB-INF directory. Search posts from a few weeks ago about this. It's quite a lengthy and enlightening

RE: few questions

2002-04-29 Thread Ajay Chitre
Hello, I am not exactly a guru in Struts, but I have tried to answer the questions. Someone please make sure my answers are correct - and correct me if I am wrong! Thanks. struts-config.xml - [Q# 1: what exactly do we need to code in this file] 1) Form bean definitions: !-- ==

RE: few questions

2002-04-29 Thread Vikram Goyal01
Looking at the questions I would say that your (or any newcomer's for that matter) path of learning should have been.. JAVA - Web Development (How the web works) - Servlets/JSPs - Struts It is pointless trying to learn Struts if your basics are not correct. Rgs Vikram -Original

RE: Beans constructed with BCEL makes html:option throw ClassCastExceptionin Struts 1.0.2

2002-04-29 Thread James Mitchell
With all the features of Struts 1.1 and 1.1-beta, why do you continue in this direction? Am I missing something? I can create a 5 page wizard and never write a single line of ActionForm code. Help me if I am misunderstanding. JM P.S. Shouldn't this be asked in the [EMAIL PROTECTED]???

RE: few questions

2002-04-29 Thread James Mitchell
I agree with Vikram. If you don't have the basics of http (as it pertains to requesting documents) and how request and response typically work (in either ASP or Java), then your struggle will be long and frustrating. Also, as someone mentioned in the last thread. You should have a firm grasp

DynaActionForm example

2002-04-29 Thread Parmar, Dipakkumar
can anyone point me the DynaActionForm example? i could not able to find it. Tx in advance. Deepak -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: DynaActionForm example

2002-04-29 Thread James Mitchell
The struts-example uses it for Logon. struts-config.xml --- ... ... form-bean name=logonForm type=org.apache.struts.action.DynaActionForm form-property name=username type=java.lang.String/ form-property name=password

RE: Popup Windows

2002-04-29 Thread James Mitchell
Can you give us more detail on what exactly you want to do? What I think you want to do (based on the info you gave) is open a new window to one of your action mappings correct? -- not-quite-optimal this example has /logon.do and logoff.do hard-coded in the script

Re: [ERROR] Digester

2002-04-29 Thread Anthony Martin
No ideas at all? I've even rebuilt the project based on the Struts-Blank project. Maybe it's the version of the XML parser, but I've tried a few different ones all with the same result. Any other suggestions would be great. Anthony On Friday, April 26, 2002, at 01:17 PM, Anthony Martin

Re: [ERROR] Digester

2002-04-29 Thread Chuck Cavaness
Not sure if you are still having this problem, but I believe the answer is that it's using the 1.0 DTD and not 1.1. Look at the top of the config file and see if it's referencing the 1.0 DTD. Chuck At 10:04 AM 4/29/2002 -0700, you wrote: No ideas at all? I've even rebuilt the project based

what about Mulit-part requests?

2002-04-29 Thread Ajay Mallik
Hi All, I would like to thank you all who responded to my request for help. Especially to Tim, as his solution seems to serve my purpose. I would like to know if I can upload files as well as using the same method? How do I distinguish between the simple data like text from the MIME type data

Re: Mailing List

2002-04-29 Thread Joel Rees
Hello Michael Nadeau, I have tried repeatedly to take my name off the distribution list, but it hasn't worked. Can someone please help me with this? I know of two things that seem to cause problems. One is trying to sign out from an address other than the one you signed up on. If you

RE: tabular radio buttons :(

2002-04-29 Thread James Mitchell
tabular radio buttons :(You'll probably get a quicker response using the strut-user list. JM -Original Message- From: Chakradhar Tallam [mailto:[EMAIL PROTECTED]] Sent: Monday, April 29, 2002 11:48 PM To: '[EMAIL PROTECTED]' Subject: tabular radio buttons :( hi guys,

Re: PLEASE HELP !!!

2002-04-29 Thread siraj
try to use arraylist or string arrays logic:iterate id=element name=bean property=stringArray indexId=index liembean:write name=element//emnbsp;[bean:write name=index/]/li /logic:iterate rgds Siraj DH - Original Message - From: Ajay Mallik [EMAIL PROTECTED] To: 'Struts Users

Expresso. Any thoughts?

2002-04-29 Thread Phase Web and Multimedia
I have had a couple of Expresso gurus emailing me. I haven't had a lot of time to review the framework. Can anyone give me the +/- on Expresso? Does anyone have any experience with it? The upcoming release is using Struts 1.0.2. Anyways, if you got thougths... I sure could use them. Thanks,

  1   2   >