Struts installation notes

2001-01-28 Thread Ted Husted
Threads like these are usually posted on the Developer's list, but since this definately something anyone using Struts could help with, I'm cross-posting it here. Following are updated installation notes that Martin Coper and Colin Sampaleanu have contributed for installing Struts under Resin

WEB-INF/lib problems

2001-01-28 Thread Dan Connelly
I am new here, and new J2EE deployment issues. Forgive me if these observationsare naive. I gather from recent complaints on this listthat deployment of struts WARs into J2EE environments (with the WARs packagedinto EAR files)is not workingas expected. The struts.jar isn't getting

ResourceBundle

2001-01-28 Thread Ralph Schaer
Hi Here my MessageResources implementation that uses ResourceBundle. I already wrote a special ResourceBundle class for our project and I don't want migrate this class to a struts MessageResources, therefor I wrote this "glue" class. Ralph RBMessageResourcesFactory.java

Problem with bean tag library on WebLogic 6

2001-01-28 Thread Richard Bothne
Howdy, I'm very new to struts, and been using the 0.5. I downloaded the nightly build last night: jakarta-struts-20010127.zip and began fallowing the tutorial at bluestone.com. I have this simple hello.jsp: %@ page language="java" % !--Import the taglib -- %@ taglib

RE:Problem with bean tag library on WebLogic 6

2001-01-28 Thread Richard Bothne
Nevermind. Got it working: NEVER put struts.jar in the system classpath! R

Error: 500 ????????

2001-01-28 Thread majid kamal
Hi, I got Error: 500 when I was running a struts example under tomcat, the error said : Error: 500 Location: /hellostruts/hello.jsp Internal Servlet Error: org.apache.jasper.JasperException: Unable to open taglibrary /WEB-INF/struts-bean.tld : Parse Error in the tag library descriptor: Element

RE: Error: 500 ????????

2001-01-28 Thread Richard Bothne
The welcome-file-list tag must come before the taglib tags. This according to the DTD. A good XML editor (like XmlSpy) can validate your XML file as you write it to catch these kinds of problems early. Richard -Original Message- From: majid kamal [mailto:[EMAIL PROTECTED]] Sent:

I18N and forms

2001-01-28 Thread Mishkin Berteig
I have been working on internationalizing my struts app. I just noticed that the form:submit tags' label is the value used for the property when submitted. If I understand correctly, this means that I can't use a bean:message tag to set the label, and a separate constant value for the property

RE: Link to UML Diagrams

2001-01-28 Thread Pete Black
How about something that us *NIX guys can look at too? PDF? Postscript? Or is there an app to view WMF under Linux/IRIX? Cheers -Pete -Original Message- From: Tom Villars [SMTP:[EMAIL PROTECTED]] Sent: Sunday, January 28, 2001 10:24 AM To: '[EMAIL PROTECTED]' Subject:

Re: I18N and forms

2001-01-28 Thread Craig R. McClanahan
Mishkin Berteig wrote: I have been working on internationalizing my struts app. I just noticed that the form:submit tags' label is the value used for the property when submitted. If I understand correctly, this means that I can't use a bean:message tag to set the label, and a separate

RE: Link to UML Diagrams with .GIF

2001-01-28 Thread Wong Kok Wai
Thanks! --- Tom Villars [EMAIL PROTECTED] wrote: How about GIF? Diagrams as .GIF files: http://www.ngs.net/tv/struts/struts%20gif.zip Diagrams as .WMF files: http://www.ngs.net/tv/struts/struts%20diagrams.zip MS Word file: http://www.ngs.net/tv/struts/struts%20msword.zip These are

ActionForm in this case

2001-01-28 Thread John Hunt
Hi Consider a scenario where there is a user profile. When a user clicks on a link to display the profile we would get his details and would display them in editable input fields ( text boxes, radio buttons etc ). When he edits them and asks to save we save them. Suppose I wish to use the same

RE: ActionForm in this case

2001-01-28 Thread Daniel Ostermeier
Just a couple of pointers I can offer here.. I am assuming that for the user to be able to edit there profile, they have been "identified" in some manor, and therefore this information can be stored within the session object. This is where the default information for the form can be retrieved.

RE: ActionForm in this case

2001-01-28 Thread John Hunt
hm.. Thanks for the reply. But my concern is not about retrieving the values or where to put it in the app. My question is about the ActionForm. Can I create an ActionForm in an Action class and associate it with the request and pass it on to be displayed by the JSP. Next, When displaying how do

RE: ActionForm in this case

2001-01-28 Thread Daniel Ostermeier
My understanding is that you can manually create these beans (then populating them with whatever information your heart desires). So long as the name you use to reference the bean within the form is the same as that used to store it in the session (request?), the information will be available

RE: ActionForm in this case

2001-01-28 Thread John Hunt
Incase I can manually create and put it in the request ( i would like to do that here ) with the same name as the form name in the jsp page ( as you say )_, that is all I want. That should help then. Thanks for the reply --- Daniel Ostermeier [EMAIL PROTECTED] wrote: My understanding is that

How can I use prefix attribute in ActionMapping ?

2001-01-28 Thread Seeberger, Heiko
Hi, how can I use the prefix attribute in ActionMapping? Imagine my ActionForm properties are named prop1, prop2, ... and my form fields are named preprop1, preprop2, ... Then setting the prefix to "pre" should work, or not? But unfortunately I always get exceptions like: No getter method