Re: New To Struts

2001-08-09 Thread Pham Thanh Quan
I think the directory WEB-INF is in every context (directory) in the directory applications, and there is always a default context (maybe \application\defaultwebapp_serverName\WEB-INF in weblogic) Quan - Original Message - From: Nitu Singh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc:

Re: New To Struts

2001-08-09 Thread Martin Cooper
Comments below. - Original Message - From: Nitu Singh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, August 08, 2001 6:37 PM Subject: Re: New To Struts Thanks a lot, And I did visit the home page for struts(and that's where the problem started). Let

setter no called

2001-08-09 Thread Stefan Faist
Hello all, I have my own tag that generates a link to save a field in the database. But when I click the link the setter methods from the fields were not called. How can I do this? This is the generated link: a href=/zeiterfassung-struts/editErfassung.do?id=saveArbeitstagimg src=images/save.gif

what's about org.apache.struts.taglib.html.MessagesTag ?

2001-08-09 Thread Metehan Selvi
Hi, what's about the MessagesTag -class (org.apache.struts.taglib.html.MessagesTag) , which is documented in the javadocs, but is not placed in the framework ? Is it deprecated and 'deleted' or have the developer forgotten to put it to the place where it should be ? cheers mete

please unsubscribe me

2001-08-09 Thread debu
please unsubscribe me

Kick start to Struts

2001-08-09 Thread Rodney Smith
Hi all, Which comes first the chicken or the egg? I need to know when creating a struts web application which comes first, creating the java component first, then build the html and convert to jsp? that is the question I need to get started into my own web application through struts. I would

RE: what's about org.apache.struts.taglib.html.MessagesTag ?

2001-08-09 Thread Marcel Andres
Hi Mete As much as I know, the Struts web site generally documents what is available in the latest nightly build. The documentation for any given build is available in the struts-documentation.war file for that build, so you should refer to that for the specifics of what is available in the

html:error and frames

2001-08-09 Thread Stefan Faist
Hallo all, I have a frameset with an menue a footer for system messages and tha main frame. When in the main frame an error happend, the error messages should be diblaed in the footer. Where must I set the html:error/ and what parameters should I set in the tag? When I set the html:error/ simply

can`t submit form when using ie 5.0

2001-08-09 Thread Jan Fredrik Øveraasen
Hi I have a form like this: html:form action=jsp/usermanagement_updateuser.do html:text property=firstname size=15 / html:radio property=sex property=sex value=female / html:radio property=sex property=sex value=male/ td class=texth3bwhitea href=#

RE: can`t submit form when using ie 5.0

2001-08-09 Thread markus . colombo
Try a href=javascript:document.forms[0].submit()Send skjema/a Hope this helps (I have no time to test at the moment) (This is a bug in 5.0) -Original Message- From: Jan Fredrik Øveraasen [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 9. August 2001 11:54 To: '[EMAIL PROTECTED]' Subject:

RE: RE: dynamically setting the html:select property

2001-08-09 Thread JRender
thanks arnaud, still having problems with the property attribute of the select tag. I tried html:select property=%= lookup# +idx % / but it seems to need to be pointing at an attribute of a bean otherwise it complains; Attribute lookup# has no value It appears as though the property has to

recognizing a button

2001-08-09 Thread Bernhard J. Hirschmann
Hello! How can I recognize in the ActionServlet, which button was pressed? I have this two buttons: html:submit value=Load property=load/ html:submit value=Submit property=submit/ How can I get the value of the attribute property inside of the Action.perform method? I just can't figure out,

the complete picture

2001-08-09 Thread kaka wika
I am on a project where we are using struts. We have almost finished a proof of concept implementation, however, are struggling completing the flow. We have created an action class and a data bean, which is a private object within an action form. Do we then create a new action form, set the

Re: Kick start to Struts

2001-08-09 Thread William Jaynes
Don't be too hard on yourself. I'm not sure how much of programming has ever become second nature to me. No matter how experienced one gets, there's always too much new stuff to learn. There is no right answer. You have to work out what is best for yourself. Some advocate an approach that starts

Re: recognizing a button

2001-08-09 Thread William Jaynes
String loadButton = (String)request.getParameter(load); String submitButton = (String)request.getParameter(submit); - Original Message - From: Bernhard J. Hirschmann [EMAIL PROTECTED] To: Struts-User [EMAIL PROTECTED] Sent: Thursday, August 09, 2001 6:26 AM Subject: recognizing a button

ResponseUtils.filter

2001-08-09 Thread Beuck, Torsten
Hi. The html:options tag handler (and other html tag handlers) uses ResponseUtils.filter to replace the characters '', '', '' and '='. This filter method changes the string 'Auml;ndern' to 'amp;Auml;ndern'. For english text this may be a nice feature, but it prevents developers to use text in

Exception: Cannot find message resources under key org.apache.struts.action.MESSAGE

2001-08-09 Thread Thomas Quas
Allright, I guess this has been discussed before, but google.com didn't give me any concrete results. Neither did I find something browsing the mailing list archive. I'm using Tomcat 4.0b6 and struts 1.0final on a Linux box. When trying to go to http://localhost:8080/struts-example/index.jsp I

AW: recognizing a button

2001-08-09 Thread Stefan Faist
Hallo Bernhard, with String property = request.getParameter(load) you save Load in the String property Stefan -Ursprüngliche Nachricht- Von: Bernhard J. Hirschmann [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 9. August 2001 12:26 An: Struts-User Betreff: recognizing a button

Re: the complete picture

2001-08-09 Thread William Jaynes
I can't really understand what you are saying, but if you haven't yet worked through the struts-example, I think you should do that. Will - Original Message - From: kaka wika [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 09, 2001 6:36 AM Subject: the complete picture

Re: recognizing a button

2001-08-09 Thread Terence Jacyno
Hi. If you want to figure out which button was pressed directly within your ActionForm, try this. Within the ActionForm that you associated with your HTML form, place the following: public void MyActionForm extends ActionForm { protected boolean m_loadPressed = false;

Struts with weblogic

2001-08-09 Thread baris.guzelordu
Hi all, I want to struggle with Struts with Weblogic 5.01...Does anyone have any experience with Visual Age 3.5 -Original Message- From: Terence Jacyno [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 09, 2001 2:11 PM To: [EMAIL PROTECTED] Subject: Re: recognizing a button Hi. If

Beans In Form Tags

2001-08-09 Thread Calvin Lau
For some reason I get the following error when I try to access a bean from within a form tag: Attribute entry has no value... When I use the regular HTML textbox instead of the Struts Form tag for a textbox, it works. Anyone know why? Thanks. This works: logic:iterate id=entry

select tag and indexed properties

2001-08-09 Thread Beuck, Torsten
Hi. i have an ActionForm: public class MyForm extends ActionForm { ... public Collection getOptions(int index) { ... } public Collection getLabels(int index) { ... } public String[] getSelection(int index) { ... } public void setSelection(int index, String[] value) { ... } ... }

Re: Kick start to Struts

2001-08-09 Thread Ted Husted
As Will says, there's more than one approach, but here's what works for me: 1. Write a specification, even if it's for yourself and just a paragraph long. I started a sample outline for one th example at http://husted.com/about/struts/example-spec.html , but never finished it. 2. Storyboard

Re: Kick start to Struts

2001-08-09 Thread Ted Husted
Ted Husted wrote: [Upfront planning] is generally the first third of a project. At least if you're smart ;-), otherwise you end up doing the planning during the construction phase, which leads to a lot of reconstruction (built the wrong thing, so now we need to build it again), and the infamous

Re: Exception: Cannot find message resources under key org.apache.struts.action.MESSAGE

2001-08-09 Thread William Jaynes
I believe this problem relates to some changes in tomcat4 and xml parsing. Here's the relevant portion of the Release Notes: -- Tomcat 4.0 and XML Parsers: -- Previous versions of Tomcat 4.0 exposed the XML parser used by Jasper (the JAXP/1.1

GenericDataSource Exception when starting tomcat

2001-08-09 Thread Nimphy, Thomas
Hi all, whenever I have a data-sources definition included in my struts-config.xml, when starting tomcat I get this exception: ... New org.apache.struts.util.GenericDataSource Set org.apache.struts.util.GenericDataSource properties Begin event threw exception java.lang.ClassCastException

Re: Beans In Form Tags

2001-08-09 Thread William Jaynes
I believe this should be: logic:iterate id=entry name=clientSingleForm property=clientSingleQueryList ... form:text name=entry property=clientLogin size=10 / - Original Message - From: Calvin Lau [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 09, 2001 7:24 AM Subject:

Re: Exception: Cannot find message resources under key org.apache.struts.action.MESSAGE

2001-08-09 Thread Thomas Quas
William, thanks for your response. However, I don't see how XML can have an impact in the context of this particalur problem. The resource file is java.util.ResourceBundle-compliant, and it does not facilitate XML at all. Do I miss something? tom William Jaynes wrote: I believe this

AW: recognizing a button

2001-08-09 Thread Bernhard J. Hirschmann
Hello Terence, thanks for that, that's great. Don't forget to reset the boolean values when you redisplay the form! How do I do this the best way? Simply calling form.reset(mapping, request) in my action class doesn't work. I shouldn't call the setters directly, right? Best regards, Bernhard

weblogic and struts

2001-08-09 Thread baris.guzelordu
I thin k the problem is xerces.jar while using struts with weblogic. Whichxerces.jar can I use? any idea acceptable... -Original Message- From: Ben Gill [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 6:50 PM To: BARIS GUZELORDU (TC-IT) Subject: RE: weblogic and struts the

Re: Exception: Cannot find message resources under key org.apache.struts.action.MESSAGE

2001-08-09 Thread Will Jaynes
I don't understand the details, but it fixed the same problem for me. - Original Message - From: Thomas Quas [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 09, 2001 8:11 AM Subject: Re: Exception: Cannot find message resources under key org.apache.struts.action.MESSAGE

Re: Struts Tomcat 4.0

2001-08-09 Thread Nicky Eshkenazi
Ajay, I have tried to use Struts with Tomcat 4.0 beta 6 and still have some configuration problems. I guess the stuff needs to be configured differently under Catalina. If you have success with it please let me know. thanks, Nicky Ajay Chitre wrote: Hello, I have been playing with struts

Re: AW: recognizing a button

2001-08-09 Thread Terence Jacyno
Hi Bernhard. Personally, I use two additional methods within the ActionForm: public void setLoadPressed(boolean loadPressed) { m_loadPressed = loadPressed; } public void setSubmitPressed(boolean submitPressed) {

RE: New Release

2001-08-09 Thread Assenza, Chris
Just to confirm what Craig said, back-porting them to 1.0 appears to be 100% problem-free. Once I saw those tags and was informed they were in the nightly build, I grabbed them (along with TLD stuff, etc.) and dropped them in our existing struts.jar (1.0); the tags work flawlessly and are quite

java.util.Date properties

2001-08-09 Thread Nathan Coast
Hi, We've got a number of forms in which it would be useful to have java.util.Date properties. Is there any plan to have conversions for data types other than the standard java.lang basic type wrappers? from Convert Utils if (clazz == stringClass) { if (value == null)

RE: ComboBox

2001-08-09 Thread Gus Delgado
create a collection an set it in the session: session.setAttribute(myCollection, myCollection) html:select name=myForm property=myProperty html:options collection=myCollection property=value labelProperty=label/ /html:select -Original Message- From: Bernhard J. Hirschmann

Re: Struts Tomcat 4.0

2001-08-09 Thread Ted Husted
Ajay Chitre wrote: 1) From one of Craig's emails it sounds like I should be using Tomcat 4.0, not 3.2. Is that right? But Tomcat 4.0 is a beta release. Is it reliable? The only not is DO NOT USE TOMCAT 3.1 with Struts. Verson 3.2.3 is fine. Jakarta betas tend to more reliable that some

RE: WebLogic related question- javax.servlet.jsp.JspException: No get ter method for property...

2001-08-09 Thread rhayden
No, but this is not the problem. I discovered last night that the setter and getter must match precisely- not only the name must correspond with the property (obviously) but the object type of the property must be the same as well. i.e.: String getProperty() setProperty( String str ) can't

Re: Struts Tomcat 4.0

2001-08-09 Thread Thomas Quas
Ted Husted wrote: Ajay Chitre wrote: 1) From one of Craig's emails it sounds like I should be using Tomcat 4.0, not 3.2. Is that right? But Tomcat 4.0 is a beta release. Is it reliable? The only not is DO NOT USE TOMCAT 3.1 with Struts. Verson 3.2.3 is fine. Jakarta betas tend to

AW: ComboBox

2001-08-09 Thread Bernhard J. Hirschmann
This wasn't the solution of my problem, thanks anyway. I found it accidently: switching from a list to a comboBox is done by setting the attribute size of the html:select tag to 1 -Ursprüngliche Nachricht- Von: Gus Delgado [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 9. August

show errors on a new page then back bat fields empty

2001-08-09 Thread Stefan Faist
Hi all, I have a logon page and when a error happend , then I load a new page with the error messages and a ok button. When I click on this button I forward back to the logon page. But the fields are empty and the user must fill out the fields repeatly. And another problem, how can I load

Re: Struts Tomcat 4.0

2001-08-09 Thread Ted Husted
Sorry, Tom. I should have said, I now develop under Tomcat 4 on my own station, and then beta test the deployment on the remote server, which is usually either TC3 or Resin. This ensures that I am in compliance with the latest reference specifications, and not relying on legacy or proprietary

Cannot retrieve mapping for action

2001-08-09 Thread Brian K. Buckley
Hi, I'm a brand new Struts user. I installed the struts 1.0 binary and I'm attempting to work through a struts trailmap tutorial (the one at bluestone.com). I am getting a Servlet Exception with the message Cannot retrieve mapping for action /custom when I call a simple input.jsp. My

RE: RE: RE: dynamically setting the html:select property

2001-08-09 Thread JRender
thanks again arnaud.. still no joy property=%= coverDetailsForm.getSequence() % picks up the dynamic value I set on the form, but it checks for the evaluated value on the form and complains that it can't find it.. e.g. (just using the scriptlet here for ease of use) % String dynamicValue =

Tomcat/Apache/mod_jk

2001-08-09 Thread Mills, Theo
I'm running: Win2k Tomcat 3.2.2 Apache using mod_jk The instructions for setting up Struts on Tomcat using Apache state that you need to add AddHandler jserv-servlet .do to your tomcat-apache.conf. However, this doesn't seem to apply to mod_jk, and I don't know how to add the .do directive.

RE: Scalability

2001-08-09 Thread devon . bowen
but I'm getting feedback from other developers that don't feel that Struts is a very scaleable framework. What exactly are they saying? I don't have any personal experience in this area but it seems to me that Struts is a rather thin layer on top of normal Java Servlets. All it really changes

jbuilder5

2001-08-09 Thread Karmalita, Nicole
ive got problems with jbuilder5 and struts! javax.servlet.ServletException: Exception creating bean of class de.bnext.portal.ch.AcknowledgementForm: java.lang.ClassNotFoundException: de.bnext.portal.ch.AcknowledgementForm at

data beans and ActionForm

2001-08-09 Thread Mike D
if I have a separate data bean, which is a property in the ActionForm, how do I initialise that bean? I.e.: ActionForm someActFrm { private SomeBean someBean = null; public SomeBean getSomeBean () { ... } public void setSomeBean (SomeBean someBean) { this.someBean = someBean;

RE: jbuilder5

2001-08-09 Thread Marcel Andres
Hallo Nicole When you run your project with Start Tomcat..., did you check in the message viewer, if the classpath is set right? Gruss und viel Glück / Cheers Marcel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 09, 2001 4:52 PM To:

Re: Struts Tomcat 4.0

2001-08-09 Thread Thomas Quas
I guess you're working on the struts framework itself. In this case I totally agree with you. For developers using struts for their applications, however, it's a completely different story, especially since the specification changed between Tomcat version 3 and 4; for them I'd still recommend

RE: data beans and ActionForm

2001-08-09 Thread Jan Fredrik Overaasen
Hi Mike To initialize attributes in your formbean you implement the reset method. See below: ActionForm someActFrm { public void reset(ActionMapping mapping, HttpServletRequest request){ this.someBean = new SomeBean(); } private SomeBean someBean = null; public SomeBean

Re: Struts Tomcat 4.0

2001-08-09 Thread Ted Husted
Actually, I work on things like this: http://data.wxxi.org/hop ;-) -Ted. Thomas Quas wrote: I guess you're working on the struts framework itself. In this case I totally agree with you.

RE: Scalability

2001-08-09 Thread Kevin McLain
The only thing I would add to your argument is the fact that Struts relies fairly heavily on Reflection to set attributes on beans. Since Reflection incurs a much higher overhead than a straight method call (although I have heard that JDK 1.4 improves this performance considerably) - I did a

Re: Struts Tomcat 4.0

2001-08-09 Thread Nicky Eshkenazi
Ted, What is the architecture behind the auction site? Is Struts a part of it? ~Nicky Ted Husted wrote: Actually, I work on things like this: http://data.wxxi.org/hop ;-) -Ted. Thomas Quas wrote: I guess you're working on the struts framework itself. In this case I totally

Re: Struts Tomcat 4.0

2001-08-09 Thread Thomas Quas
ROTFL. Isn't the world beautiful when we have a chance to find out how highly sopisticated technical solutions are being applied to satisfy all kinds of, ahem, human needs? Have a nice one, tom ;-) Ted Husted wrote: Actually, I work on things like this: http://data.wxxi.org/hop

Radio-Button Tag

2001-08-09 Thread Metehan Selvi
Hi, one question about Radio-Input Fields, which are implemented by the RadioTag-class: How to set an 'element' as checked e.g. as a default value? I haven't found a hint or an property for the radio-field, where i can set the property checked=true or something like that. cheers mete

RE: Scalability

2001-08-09 Thread Craig R. McClanahan
On Thu, 9 Aug 2001, Kevin McLain wrote: The only thing I would add to your argument is the fact that Struts relies fairly heavily on Reflection to set attributes on beans. Since Reflection incurs a much higher overhead than a straight method call (although I have heard that JDK 1.4

RE: New Release

2001-08-09 Thread MacKellar, Kimberly
Well if I move the jar file to the correct directory, it all seems to work... Amazing : -Original Message- From: MacKellar, Kimberly Sent: Thursday, August 09, 2001 10:39 AM To: '[EMAIL PROTECTED]' Subject: RE: New Release Chris, This isn't exactly struts related... How did

RE: newbie question

2001-08-09 Thread Rick Hightower
On your form make sure you have html:form action=/login focus=name ... Then define the following forward in your struts-config forward name =login path=/login.do / ... If this does not work, try including your form code so people can help you better. Rick Hightower Director of

Re: WebLogic related question- javax.servlet.jsp.JspException:No get ter method for property...

2001-08-09 Thread Martin Cooper
This is a consequence of the JavaBeans introspection mechanism. The getter and setter must be getting and setting the same type for them to be recognized as property accessors. See the Introspection chapter of the JavaBeans spec for more details. -- Martin Cooper - Original Message -

RE: jbuilder5

2001-08-09 Thread Marcel Andres
I'm not sure if Mike means the Struts Support Addin from http://codecentral.borland.com/. But if your application is built as a WAR archive, this could help. Marcel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 09, 2001 5:54 PM To:

RE: please unsubscribe me

2001-08-09 Thread Jacky Lam
please unsubscribe me -Original Message-From: debu [mailto:[EMAIL PROTECTED]]Sent: Thursday, August 09, 2001 12:03 AMTo: [EMAIL PROTECTED]Subject: please unsubscribe me please unsubscribe me

Re: Struts Tomcat 4.0

2001-08-09 Thread Craig R. McClanahan
Keeping in mind that my day job is building Tomcat 4, I will add a few comments and answers below. On Wed, 8 Aug 2001, Ajay Chitre wrote: Hello, I have been playing with struts for the past couple of months and I have had fun playing with it. Time has come now to stop playing and get

RE: New Release

2001-08-09 Thread Assenza, Chris
Hehe, that's good because I didn't know what else to tell you. ^_^ Chris -Original Message- From: MacKellar, Kimberly [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 09, 2001 12:08 PM To: '[EMAIL PROTECTED]' Subject: RE: New Release Well if I move the jar file to the correct

RE: error running struts examples.war

2001-08-09 Thread Mills, Theo
: jakarta-tomcat-3.2.3.zip jakarta-struts-20010809.zip i have no problems starting up tomcat, but when i copied the struts-example.war into my \webapps, tomcat would not start. according to the INSTALL, i should not have to do anything else to run the strut examples. any ideas? thanks in advance

RE: please unsubscribe me

2001-08-09 Thread Fletcher, Ken
To remove your address from the list, send a message to: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: Jacky Lam [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 09, 2001 11:33 AM To: '[EMAIL PROTECTED]' Subject: RE: please unsubscribe me please unsubscribe

RE: TILES template with STRUTS problem

2001-08-09 Thread Craig R. McClanahan
On Thu, 9 Aug 2001, Jain, Shipra wrote: Can any one please let me know what Tiles is ? Is it related to Templates ? Is it another open source project ? Can you please send to URL for getting more information. Tiles is the new name for Cedric Dumoulin's Components add-on that is being

Wizard Form Authoring..

2001-08-09 Thread Brian . Duchouquette
All, What is the best design practice that you have found for creating Wizard entry forms in the Struts framework? Thanks, Brian

Struts and Forte

2001-08-09 Thread Dan . C . Wieschhaus
Do any of you use Struts inside of FFJ 3.0 EE (EA)? Since the tomcat-apache.conf file gets created everytime you run FFJ's internal Tomcat, is it impossible to register the Handler for the .do actions coming from the client JSPs? Dan

Re: Construct context-relative URL in Javascript?

2001-08-09 Thread Randall Parker
On Wed, 8 Aug 2001 17:47:22 -0500, [EMAIL PROTECTED] wrote: Did you try html:base/? How can that help? I don't want the result in an a href. I want to do a POST and I want to be able to set the TARGET attribute for the FORM before posting as well. I want to set the form's ACTION attribute

RE: jbuilder5

2001-08-09 Thread Anthony Martin
Here are my revised steps for starting a Struts Project in JBuilder5. I'd appreciate any comments. If something is unclear or incorrect, I'm open to any suggestions: Go to http://www1.tramsasp.com/?section=dev then click on the JBuilder5/Struts link. Anthony -Original Message- From:

Re: Struts Tomcat 4.0

2001-08-09 Thread Ted Husted
Nicky Eshkenazi wrote: Ted, What is the architecture behind the auction site? Is Struts a part of it? ~Nicky The HOP site, and a larger auction site that ran before it, are powered by Struts, MySQL, Resin, over Red Hat Linux on a single processor (p2 350), 128kb machine (did actually

Re: Struts Tomcat 4.0

2001-08-09 Thread Nicky Eshkenazi
Ted, Thank you for all the details on the Hop project. Do you know where I could take a look at Struts implementation of a sophisticated shopping card ( if any is available to your knowledge )? thanks, Nicky Ted Husted wrote: Nicky Eshkenazi wrote: Ted, What is the architecture

Re: Struts with TOMCAT 3.3

2001-08-09 Thread Rajan Gupta
Tomcat 4.0 rocks, it is faster than 3.3 auto class loading feature is great. Great work Craig! --- Craig R. McClanahan [EMAIL PROTECTED] wrote: On Sun, 5 Aug 2001, Rajan Gupta wrote: So then TOMCAT 4.0 it is, I hope u were serious :) Oh, yes ... Building Tomcat 4 is my day job at

Enabling/Disabling of form fields on page load

2001-08-09 Thread B Manikandan
Hi, I have a requirement where I need to enable/disable form fields on page load up.The enabling/disabling depends on user access and I have the access rights as on object in context. How do I use this object ? I do not want to resort to logic:equal as my code will become big. Mani

Re: Struts Tomcat 4.0

2001-08-09 Thread Ted Husted
Steve Wilkenson's shopping cart example from JSP Professional JSP 2 (Wrox) is available at http://www.newparticles.com/struts/ He has also mentioned refactoring it for jBoss as an EJB example. There are some other projects listed here:

RE: jbuilder5

2001-08-09 Thread Rajan Gupta
Has anyone used JBUilder5 with Tomcat4.0? --- Anthony Martin [EMAIL PROTECTED] wrote: Here are my revised steps for starting a Struts Project in JBuilder5. I'd appreciate any comments. If something is unclear or incorrect, I'm open to any suggestions: Go to

RE: JBuilder 5, Struts 1.0 WebLogic 6.0, a Tutorial

2001-08-09 Thread Bill G
Markus, Nice Work! You should check out Ken Sipe's presentation of Struts at Borcon. The slides and all required resources are at http://www.borland.com/conf2001/updates/ look for presentation 3148. Bill Gfroehrer... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Tabs on a Struts Page

2001-08-09 Thread Brian . Duchouquette
This is a follow-up to my Wizard question... If I have three tabs that are included at the top of each of the three body pages by a template, then what is the best way to make sure information is stored between requests for the different pages? Even though all three pages use the same

RE: JBuilder 5, Struts 1.0 WebLogic 6.0, a Tutorial

2001-08-09 Thread Anthony Martin
Hehe, that's fine if you want to download 4megs. It does come with a project example, and instructions for JBuilder 4 and 5. Ken's great, I met him at Borcon and I attended the session on Struts. In fact, besides Ken's session, three other sessions that I attended mentioned Struts (more in

RE: JBuilder 5, Struts 1.0 WebLogic 6.0, a Tutorial

2001-08-09 Thread Anthony Martin
By the way, another good session I sat in on can be found at http://www.borland.com/conf2001/updates/, 3004, Building Extensible Web Frameworks Using XML, XSL-T, and Java by Richard Vowles. Trouble is, they put the wrong slide show into the archive. The code examples are correct and include

RE: Retrieving property fields in Action Class

2001-08-09 Thread Jon Crater
i've never done this myself, but just from looking at the API docs, it looks like you can do something like the following from within your action class: public class SomeAction extends Action { ServletContext ctx = servlet.getServletContext(); MessageResources msgResources =

RE: Enabling/Disabling of form fields on page load

2001-08-09 Thread Bajaj, Simrandeep
i was doing the same thing. I am doing this way. I am adding attributes in formbean respective to fields which has boolean values that it is read only or not.I am setting the values in the action depending on user role. Then i enable and disable the fields in jsp through javascript and getting

RE: jbuilder5

2001-08-09 Thread Bill G
Thanks Anthony!!! -Original Message- From: Anthony Martin [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 09, 2001 10:50 AM To: '[EMAIL PROTECTED]' Subject: RE: jbuilder5 Here are my revised steps for starting a Struts Project in JBuilder5. I'd appreciate any comments. If something

RE: newbie question

2001-08-09 Thread Debasish Ghosh
Hi - I tried these and still no luck ... I am enclosing the code for the Form. package com.anshin; import javax.servlet.http.HttpServletRequest; import org.apache.struts.action.ActionError; import org.apache.struts.action.ActionErrors; import org.apache.struts.action.ActionForm; import

Re: Tabs on a Struts Page

2001-08-09 Thread Brian . Duchouquette
Nevermind... Framework was calling reset on my bean. I'm such a newbie... Brian.Duchouquette@tran

RE: newbie question

2001-08-09 Thread Martin Cooper
This is not related to the form. It looks like you may not have extension mapping set up for your application. My guess is that if you type this in your browser: http://yourHost/pathToYourApp/login.do you will also see a 404. That suggests that you need to add something like this: !--

docs in a single file for printing?

2001-08-09 Thread Peter Bismuti
Hi, where can I get the users guide and tags documentation that I can print out? I downloaded the source and found it for version 0.5, but cannot find the updated version. It is a nice day, I want to take my hardcopy out in the sun and read it, please help!

RE: newbie question

2001-08-09 Thread Debasish Ghosh
Actually I have the extension mapping set up as well. The following is the web.xml file that I am using from WEB-INF : ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.2//EN http://java.sun.com/j2ee/dtds/web-app_2_2.dtd; web-app

Re: newbie question

2001-08-09 Thread Rama Krishna
try this. !-- The Welcome File List -- welcome-file-list welcome-filelogin.do/welcome-file /welcome-file-list rama. - Original Message - From: "Debasish Ghosh" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, August 09, 2001 1:09 PM Subject: RE:

Re: newbie question

2001-08-09 Thread Debasish Ghosh
No ... doesn't work .. --- Rama Krishna [EMAIL PROTECTED] wrote: try this. !-- The Welcome File List -- welcome-file-list welcome-filelogin.do/welcome-file /welcome-file-list rama. - Original Message - From: Debasish Ghosh [EMAIL PROTECTED] To: [EMAIL

Re: newbie question

2001-08-09 Thread Bill Clinton
Debasish, Everyone seems to be focusing on your action or extension mappings, but most of my 404s are caused by missing JSP files. What directory is your logon.jsp in? I keep my JSPs in a /jsp directory in the main application directory, so my forward would be: forward name=success

Re: Tomcat/Apache/mod_jk

2001-08-09 Thread Eduardo Fujii
Theo, I think that tomcat-apache.conf is for jserv only. You don't want to use that. I've included the following lines to my httpd.conf and it works for me: # # The following include is generated automatically by Tomcat at every startup # Include /usr1/opt/apache/tomcat/conf/mod_jk.conf-auto #

Re: newbie question

2001-08-09 Thread Debasish Ghosh
Dear All - There was a problem in the deployment of the application in the container. I re-deployed the application by creating a war file, and it worked. Thanks for all the help. I am now getting the prompts that u are getting and which should be the case. Cheers. - Debasish --- Rama Krishna

Iterate with offset=parameter

2001-08-09 Thread MacKellar, Kimberly
I am trying to iterate over a Vector using the logic:iterate tag. Everything works fine until I try to set an offset. The offset for where I need to start iterating from is passed in as a parameter to the page and I retrieve it using bean:parameter id=fromRecord name=FROMRECORD value=0/ when I

Re: Iterate with offset=parameter

2001-08-09 Thread Rama Krishna
probably, it should be like this,, logic:iterate id=result name=search scope=session indexId=resultsPrinted offset=%= fromRec% length=20 hope this helps, rama. - Original Message - From: MacKellar, Kimberly [EMAIL PROTECTED] To: Struts-User (E-mail) [EMAIL PROTECTED] Sent: Thursday,

NullPointerException

2001-08-09 Thread Efrain Gutierrez
What it means..?? Struts v1.0 w/Apache-Tomcat 3.2.1 TIA Error: 500 Location: /logon/logon.do Internal Servlet Error: java.lang.NullPointerException at org.apache.tomcat.facade.ServletContextFacade.getResourceAsStream(ServletContextFacade.java:143) at

Re: Kick start to Struts

2001-08-09 Thread Fiona Thorne
I'd like to second much of what Ted said. I've just completed my first project using struts - I was building and learning at the same time. I had a series of about 10 screens, with some reasonably complicated jumping backwards and forwards between screens. This is how I ended up doing things:

Re: New To Struts

2001-08-09 Thread Nitu Singh
Hi, I downloaded jakarta-struts-1.0.zip file and extracted the files in c:\jakarta-struts-1.0. But I think lib/commons-*.jar file is missing in my installation? Are those files important or can I do without them? The installation process still says I should copy the jars in WEB-INF directory.

  1   2   >