Re: servlet-mapping want to change *.do to context?action=*

2002-06-18 Thread emmanuel.boudrant
I think it isn't possible, path for action (action) must be written before the '?'. Or you need to modify struts src ;) ... or I'm wrong ? If '*.do' pattern make problems for you, you can use '/do/*' pattern -Emmanuel Struts Newsgroup [EMAIL PROTECTED] a écrit : Subject: want to change *.do

Re: Using the value of a request-parameter for the attribute of a custom tag

2002-06-18 Thread Slava_L
and what kind of logic duz ur tag realize ? P.S. yes u right, sometime it is better to use scriptlets to simplify jsp - that is what i wuz tellin' about - Original Message - From: Sann, Stephan [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, June 18,

help me! Include java-code with a taglib

2002-06-18 Thread cello
Hi all Can I include a file with java-code into a jsp with a taglib??? bean:include ??? cello/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: help me! Include java-code with a taglib

2002-06-18 Thread andre . powroznik
I don't think because the taglib is only executed after compilation of the JSP. Use %@include file=FILE% instead. André -Original Message- From: cello [mailto:[EMAIL PROTECTED]] Sent: 18 June 2002 11:15 To: Struts Users Mailing List Subject: help me! Include java-code with a taglib

Re: help me! Include java-code with a taglib

2002-06-18 Thread Nicolas De Loof
You can't. Tags can generate Output or skip body content from output, but they're is no java parsing of resulting output. Nico Hi all Can I include a file with java-code into a jsp with a taglib??? bean:include ??? cello/ -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

AW: Using the value of a request-parameter for the attribute of a custom tag

2002-06-18 Thread Sann, Stephan
Hello again, and what kind of logic duz ur tag realize ? mytaglib:ausgabeFreieNummern firma='bean:write name=firmaCode/' depending on the value of the attribute firma the tag renders a calculated number for a customer. Since the same JSP should handle multiple customers, a customer-ID is

StringIndexOutOfBoundsException in MultipartBoundaryInputStream

2002-06-18 Thread Anthony Balandran
Hello All- I have looked and looked for any information on this exception I am getting. I have not been successful. I don't even understand why I am getting a -26 back from the substring method in String. I expected to receive a -1 or the position of the substring. The number varies greatly,

using html:link

2002-06-18 Thread Anjali Jain
Hi All, I have * a list of Customers on ListCustomers.jsp * associated ActionForm class ListCustomersForm.java * associated Action class ListAction.java ListCustomer.jsp %@page import=java.util.*% %@page import=org.apache.struts.action.ActionError% %@page

detecting ActionErrors in a jsp page

2002-06-18 Thread Jim Clayson
Hi, I would like to determine from within my jsp page whether or not any ActionError objects were generated in my action's perform method. I am doing the following in the perform method to set the error: errors.add(ActionErrors.GLOBAL_ERROR, new ActionError(my.resource.key)); and

Finally, a use for Flash and Struts

2002-06-18 Thread Galbreath, Mark
http://channels.netscape.com/ns/news/ns/story.jsp?idq=/ff/story/0002/2002061 7/115139043.htm http://channels.netscape.com/ns/news/ns/story.jsp?idq=/ff/story/0002/200206 17/115139043.htm

Cannot Find Bean?

2002-06-18 Thread Kamholz, Keith (corp-staff) USX
Hi everyone, I'm having a little bit of trouble with one of my beans. I have 3 nearly identical beans, with a few different properties. They are all clearly defined in my struts-config. I submit a form which corresponds to a 4th bean, and if a certain checkbox is checked, some output is

Are there any Java Graphics gurus out there?

2002-06-18 Thread Jerry Jalenak
Way off topic, but I'm desparate. If any of you have any experience with working with graphics, could you please contact me off-list at [EMAIL PROTECTED]? Thanks. Jerry This transmission (and any information attached to it) may be confidential and is intended solely for the use of

Multiple message resources

2002-06-18 Thread Juan Alvarado \(Struts List\)
If you have the following in your struts-config.xml: message-resources parameter=ApplicationResources/ message-resources key=CHANNELS_RESOURCE_KEY parameter=ApplicationResourcesChannels null=false/ how do you access the second one from an action??? MessageResources messages =

Test

2002-06-18 Thread Adriano Pinho
Hi folks! this is a test

Dynamic select tags in HTML form

2002-06-18 Thread Joel Baker
Hi there, I am trying to create a form in Struts that displays to the user a multi-select form element whose contents (ie: option tags) are pulled from a SQL database over JDBC. ie: html:form action=/search focus=people select name=people multiple optionJoel

RE: Test

2002-06-18 Thread Galbreath, Mark
Does that make us testes? -Original Message- From: Adriano Pinho [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 9:40 AM To: [EMAIL PROTECTED] Subject: Test Hi folks! this is a test -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

FW: Cannot Find Bean?

2002-06-18 Thread Kamholz, Keith (corp-staff) USX
I just found out that all 3 beans I referred to in my original message cause the same error message at the same point. My main bean that is used for the form works fine though. I don't think I did anything different with it than I did with the 3 problematic ones. !!! I think the

RE: Cannot Find Bean?

2002-06-18 Thread James Mitchell
Can you send a few snips of your action-mapping and formbean from struts-config? Also the jsp code that's trying to access the bean. Thx James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the Open Minded Developer Network http://struts-atlanta.open-tools.org -Original

RE: Cannot Find Bean?

2002-06-18 Thread Kamholz, Keith (corp-staff) USX
Here is some of the code: Code from display JSP: (Similar code contained for my MassChange bean and TWCMC bean) logic:equal value=Mass Delete name=HeaderBean property=operation Mass Delete Detail Information: bra href=AddMD.jspAdd/abrbr logic:iterate name=mdItems id=mdLine bean:write

Struts Test Case for JUnit

2002-06-18 Thread Oren Gross
Hi there Anyone with experience with StrutsTestCase for JUnit? http://sourceforge.net/project/showfiles.php?group_id=39190 http://sourceforge.net/project/showfiles.php?group_id=39190 Please let me know. Oren - Oren Gross Java(TM)

Sample Application Using Struts with BC4J

2002-06-18 Thread Yibing Li
Folks, Do you know where I can find some examples using Struts with Oracle's BC4J together? Thanks a lot. Yibing - 703-673-2159 (o) 571-436-5592 (c) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Cannot Find Bean?

2002-06-18 Thread James Mitchell
Couple of quick suggestions. 1. Make sure that you not linking directly to your jsp, but going thru your actions perhaps... bra href=AddMD.jspAdd/abrbr should be... bra href=/AddMD.doAdd/abrbr (assuming that you are using *.do for url mapping) 2. Also make sure that your action has

struts and WLS5.1sp10

2002-06-18 Thread Mark Chester
All, Weird issues with struts and WLS5.1sp10. Following these instructions http://jakarta.apache.org/struts/userGuide/installation-wls.html I get Tue Jun 18 09:27:49 CDT 2002:E ServletContext-strutsexample Error loading servlet: jsp_servlet._index java.lang.ClassNotFoundException:

RE: File Upload/Download Issues

2002-06-18 Thread Joe Germuska
At 10:06 AM +0800 2002/06/18, Daniel J. D'Cotta wrote: So can someone answer my 3 questions (without suggesting Expresso)? 1. First, I have a concern for memory usage while uploading a huge (100+Mb) file. How does Struts handle uploading the file? Or is this purely a Web Server issue. Also, I

Forms and editing FormFiles

2002-06-18 Thread John Nicholas
I have a file upload field in a form. I was adapting the form to handle editing existing entries and ran into a stumbling block. When bringing up a pre-populated form that has a file upload field how should I handle it? Do I need to load the formfile in the bean? Then what? Example: Let's say

Problem in configuring struts for Weblogic 5.1 sp7.

2002-06-18 Thread Agrawal, Rajeev
Hi I was trying to install struts framework on weblogic 5.1sp7. However, I kept getting an error which I have pasted below. Not sure which component is trying to go to the internet and because we are behind a firewall it is failing. java.net.UnknownHostException: java.sun.com at

Re: Dynamic select tags in HTML form

2002-06-18 Thread Scott Carlson
Joel, this is what I have. I have a viewbean in request scope called createaccount, it has two methods, getAccountTypesKeys(), and getAccountTypes(), that return keys and values for the select box. This can be done with a single collection, and also with a map. html:select property=accountType

Tiles definition problem

2002-06-18 Thread Dave Peckham
Hi all, I'm trying to use the Tiles definitions to define my pages, and not have JSP pages assembling the tiles. I can get Tiles to recognize a named definition for the header element, but I can't get it to use a named definition for the main page (the action forward). See the files below. If I

RE: Cannot Find Bean?

2002-06-18 Thread Eiring Tim
Keith, You are exactly right, you need to specify the scope of the bean that you are iterating through. Ex: logic:equal value=Mass Delete name=HeaderBean property=operation scope=session You will also need to specify scope on your: bean:write name=mdLine property=line/ -Tim Timothy Eiring

i18n

2002-06-18 Thread Carlos Fernandez
Does anyone know how to get the data stored in "value" from de action class? i18n:imagepageproperty="buttonEditImage"altProperty="buttonEditText"property="action"value="Edit_Coverage"border="0"/ Thanks -Carlos. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: Forms and editing FormFiles

2002-06-18 Thread James Mitchell
The display of the image is separate from handling of the uploaded file. In fact, the file could be of any type (e.g. .doc, .swf, .xls, .jpg) Whether you save the image to the db as binary or save it to disk, the image is acquired from the browser through a separate http request. If saved on

Select Tag

2002-06-18 Thread Sesha
This is pertaining to Select Tag. Is it is possible that value attribute in select tag can take a String array. When I select multiple items in the select and submit to the same page, how can we retain these values. Presently I am able to reatin only one of the selected values. I notice that

RE: i18n

2002-06-18 Thread James Mitchell
You'll have to restate your question with a little more clarity please. I, personally, have no clue what it is you need. James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the Open Minded Developer Network http://struts-atlanta.open-tools.org -Original Message- From:

Re: Forms and editing FormFiles

2002-06-18 Thread John Nicholas
OK, I didn't explain my problem very well . I have no problems with saving the graphic uploaded or displaying it later. I'm wondering how to handle editing this same data later. My original form lets the user add an entry to a database. Let's pretend it's an address book with pictures so the

Re: Forms and editing FormFiles

2002-06-18 Thread Joe Germuska
At 11:17 AM -0500 2002/06/18, John Nicholas wrote: OK, I didn't explain my problem very well . I have no problems with saving the graphic uploaded or displaying it later. I'm wondering how to handle editing this same data later. My original form lets the user add an entry to a database. Let's

Re: Sample code for handling variable number of text fields

2002-06-18 Thread Harjeet Singh
Thanks Ted. That should work for me.. - Original Message - From: Ted Husted [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Saturday, June 15, 2002 4:40 PM Subject: Re: Sample code for handling variable number of text fields You can just use an array.

doGet and doPost

2002-06-18 Thread Billy Ng
Hi folks, I am new to Struts. I always like to separate the GET and POST actions. In Struts, I don't see there is doGet() and doPost() methods in Action object. Would anybody please tell me how to do it in Struts? Thanks in advance! Billy Ng

RE: doGet and doPost

2002-06-18 Thread James Mitchell
You are misunderstanding the concepts. Struts provides a framework that does request handling for your. You simply implement an Action class and struts will call your method. You can then do whatever you want.see docs. James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the

Subclass Actions vs Request processor? - Design Question

2002-06-18 Thread Jeff_Mychasiw
I would like some clarification, Here is what I think I understand With pre 1.1, if you wanted to perform a task for every action/page your choices were to override the Action servlet or subclass the Action and define an abstract myPerform() method. The parent class would perform common

RE: Tiles definition problem

2002-06-18 Thread wbchmura
I am not sure I understand what you are saying here, but I think I know where you are heading... You action mapping looks okay... When your action sends it to wiz1, it will go to the tiles definition below and build it there... Is this what you were looking for? --

Same Action, different Views

2002-06-18 Thread @Basebeans.com
Subject: Same Action, different Views From: C. Allen Sher [EMAIL PROTECTED] === What is the preferred way to implement Same Model+Action, Different Views in struts? I want to build an Action that answers to HTTP requests both from a browser and from a GUI. The Action and the Bean are the same,

RE: doGet and doPost

2002-06-18 Thread James Holmes
Struts is an application framework that implements the MVC (Model 2) design pattern. Check out the link below for some helpful information on the MVC pattern and how it applies to web applications.

RE: i18n

2002-06-18 Thread Carlos Fernandez
WEll, that code is placed in the JSP. It's a button. I want to know when the button is pressed. Is that clear enough? -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 12:12 PM To: Struts Users Mailing List Subject: RE: i18n You'll have to

RE: Same Action, different Views

2002-06-18 Thread Joseph Barefoot
hmmm...wouldn't you need to do something wildly different in your Action, i.e. write specific data to the HTTPServletResponse, when using the GUI client? Unless you have it set up to follow HTTP forwards and parse the responses or something as a browser would -Original Message-

Installing of Struts on WSAD and also on Websphere App Server 4.02

2002-06-18 Thread @Basebeans.com
Subject: Installing of Struts on WSAD and also on Websphere App Server 4.02 From: SJC [EMAIL PROTECTED] === I am new to Struts and would like to get familiar with this framework by installing examples on WebSphere Application Developer Studio. If anybody has tried installing on WSAD I would

Re: Output to Excel

2002-06-18 Thread Michael Rimov
At 04:08 PM 6/17/2002 -0400, you wrote: Hi, I have a question regarding how to design a way that serves a text file to the user via web pages, ie: a csv file. Would you 1. create a DAO that writes to a text file, and somehow get the Servlet to serve the file? 2. create an Action class with:

Re: Same Action, different Views

2002-06-18 Thread Robert Williams
Generating anything in the response from within an Action is a violation of MVC concepts. I don't think you want to do that. Better to send a parameter with the input that controls which forward to use from your Action to generate the response. One jsp should generate the HTML response and

RE: i18n

2002-06-18 Thread James Mitchell
I'm assuming by your using the property=action, that you have a field on your form for action (getAction() and setAction()) MyActionForm frm = (MyActionForm) form; String action = frm.getAction() if (action != null) { // insert code here } You might also look into the DispatchAction, its

RE: Installing of Struts on WSAD and also on Websphere App Server 4.02

2002-06-18 Thread Kamholz, Keith (corp-staff) USX
Hi, I'm using struts on WSAD. I didn't download the struts package myself, but I believe the download includes a few war files. You can go to File and select Import and choose WAR file. Import the struts-blank.war if you want to create a new application with the struts framework. Import the

Weird Upload problems

2002-06-18 Thread Anthony Balandran
Hello All- I have looked and looked for any information on this exception I am getting. I have not been successful. I don't even understand why I am getting a -26 back from the substring method in String. I expected to receive a -1 or the position of the substring. The number varies greatly,

RE: i18n

2002-06-18 Thread Carlos Fernandez
Nope. I will put it this way. I have 3 buttons un my JSP. Cancel, continue and Edit. How do I know which button was pressed in my action class?. The way how I implement the buttons is : i18n:image pageproperty=buttonEditImage altProperty=buttonEditText property=action

Using html:link

2002-06-18 Thread ryan . cuprak
From: Ryan D. Cuprak Hello, I am trying to embedd a link in a jsp page that links to another jsp page using the html:link. Presently I get the exception: javax.servlet.ServletException: Cannot create rewrite URL: java.net.MalformedURLException: Cannot retrive ActionForward named /search when

Accessing pages within a sub-application

2002-06-18 Thread Vlad Baranovsky
Hello, I was wondering if someone might have insight into the following problem: I have a struts-based application to which I have added a sub-application. When I try to directly access a .jsp file that belongs to the sub-application and has an html:form tag in it, I receive the following

RE: Using html:link

2002-06-18 Thread Trieu, Danny
An action is not a forward you need to create a forward.. like this forward name=search path=/jsp / -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 11:47 AM To: [EMAIL PROTECTED] Subject: Using html:link From:

RE: i18n

2002-06-18 Thread micael
He wants to know how to get Edit Coverage from the action. At 02:00 PM 6/18/2002 -0400, you wrote: WEll, that code is placed in the JSP. It's a button. I want to know when the button is pressed. Is that clear enough? -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]]

RE: Using html:link

2002-06-18 Thread Kamholz, Keith (corp-staff) USX
Hi, I would approach it a little differently. Just create an Action that knows whether or not to go to the Search page or the Page after that. The struts-config would say: action path=/search type=NameOfActionClass name=NameOfBeanThatStoresInfo

RE: Using html:link

2002-06-18 Thread Joseph Barefoot
It also must be a global forward, not a local forward (i.e., in the action element). So put it in your struts-config like so: global-forwards forward name=search path=/search / /global-forwards peace, Joe -Original Message- From: Trieu, Danny [mailto:[EMAIL PROTECTED]]

Re: struts and WLS5.1sp10

2002-06-18 Thread Daniel Jaffa
Mark, I am running on weblogic 5.1 sp 11 and 12. And in the past also ran it on 5.10 sp 10 You know that u can not run a war file on 5.1 right. Email me and i will send u my startweblogic.cmd and parts of my weblogic.properties files Dan Jaffa - Original Message - From: Mark Chester

RE: Using html:link

2002-06-18 Thread Trieu, Danny
if you want to go to a jsp page, why do you need to create an Action class and an ActionForm bean plus put the bean in the session This is one of those common mistake that will lead to creat too many action class and ActionForm beans.Another thing is, if there isn't a need for the bean

RE: i18n

2002-06-18 Thread Joseph Barefoot
You can put it however you like, but if you don't have a getAction() and setAction() as James describes, then the value Edit Coverage will never be stored anywhere. Add these to your form and then retrieve the value from the form bean associated with your action class as he also described, and

RE: Using html:link

2002-06-18 Thread Trieu, Danny
You are right, I assume it was in the global forward thks -Original Message- From: Joseph Barefoot [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, June 19, 2002 12:05 PM To: Struts Users Mailing List Subject: RE: Using html:link It also must be a global forward, not a local

Re: CSS

2002-06-18 Thread Dan Trevino
Did you check the permissions on project.css? On Mon, 2002-06-17 at 04:16, Sudhir wrote: Hi, In my application I have got the .css file in the same directory where my JSP pages are there. But my application is not able to catch that css. Can anybody tell me which tag I need to add to get

RE: Using html:link

2002-06-18 Thread Kamholz, Keith (corp-staff) USX
I'm just used to putting the bean in the session because I've run into problems when i add input to the bean from a few different forms in different JSP pages. I have to put it in the session scope in order to do so, right? Keith Kamholz Moog East Aurora, NY (716) 687-7282 [EMAIL PROTECTED]

RE: CSS

2002-06-18 Thread Trieu, Danny
in the header section of your jsp ... include the html:base/ tag to generate a base reference contenxt to all you relative resource. -Original Message- From: Dan Trevino [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 12:19 PM To: Struts Users Mailing List Subject: Re:

Re: Using html:link

2002-06-18 Thread Ryan Cuprak
This is a bit of a newbie question, but what is the difference between a local forward and a global forward? So, in the action mappings, those are 'local forwards'? Thanks, Ryan (I am new to struts and trying to find my way around =) On 6/19/02 12:04 PM, Joseph Barefoot [EMAIL PROTECTED]

RE: Using html:link

2002-06-18 Thread Trieu, Danny
Correct, for workflow case, this is one of the way to capture input from multiple page into a container beans. But after you finish your workflow, if there isn't a requirement to have it in the session, remove it from session. If memorry is an issue and/or fail-over(clustering) is requirement,

RE: Using html:link

2002-06-18 Thread Trieu, Danny
Global, you can see it from anywhere in you apps, where as local is only visible to the action it mapped to danny, ps. Don't worry we are all learning Struts, here. -Original Message- From: Ryan Cuprak [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 12:20 PM To: Struts

RE: Tiles definition problem

2002-06-18 Thread wbchmura
This was not bad for getting to know tiles also... http://www.javaworld.com/javaworld/jw-01-2002/jw-0104-tilestrut.html -Original Message- From: Chmura, William B. Sent: Tuesday, June 18, 2002 1:25 PM To: struts-user Subject: RE: Tiles definition problem I am not sure I understand

Re: Output to Excel

2002-06-18 Thread Vincent Aumont
If you need something beyond CSV (i.e. formatting, coloring, etc.), you can also use the Java Excel API (http://www.andykhan.com/jexcelapi). It generates xls that all versions of Excel can read. The product is LGPL'ed. -Vincent. Michael Rimov wrote: I prefer create an Action class with:

Single ActionServlet, ActionForm, Action across entire application... is it ok ?

2002-06-18 Thread Bhattad, Nilesh
Hello Recently I started working on Struts. I'm using Struts 1.0.2 version. Struts framework recommends to create separate ActionForm and Action object for each JSP page. Instead, I created a single Form object DynaForm which has a HashMap in it. And I'm using this form object for all the JSP

RE: Single ActionServlet, ActionForm, Action across entire applicatio n... is it ok ?

2002-06-18 Thread Kamholz, Keith (corp-staff) USX
Hi, If you want to use the same form-bean for several input forms, can't you just change the scope of the mapped actions to session or possibly application? Im not sure what your needs are, but that's all I do. ~ Keith -Original Message- From: Bhattad, Nilesh [mailto:[EMAIL

RE: Accessing pages within a sub-application

2002-06-18 Thread Ralph Roland
I fought this same problem recently... Your request to get the .jsp does not flow through the Struts ActionServlet. It's the ActionServlet that stores a reference to the current (sub-application) configuration object in the Request. When the struts FormTag.doStartTag is executed it tries to

RE: Single ActionServlet, ActionForm, Action across entire applic atio n... is it ok ?

2002-06-18 Thread Bhattad, Nilesh
I want to keep Form object within request scope only. But instead of defining separate ActionForm class per JSP page with getters and setters, I prefer to have a single class which has a HashMap in it. Each JSP page will have different instance of this DynaForm object. - Nilesh -Original

Passing a parameter into an action from the action mapping?

2002-06-18 Thread wbchmura
I thought I saw a solution for this somewhere but I cannot find it... I have the following set up... action-mappings action path=/index parameter= unknown=true forward=plantsec.mainmenu forward name=success path=plantsec.mainmenu redirect=false / /action action path=/todo parameter=

Re: Output to Excel

2002-06-18 Thread Joe Germuska
At 12:55 PM -0700 2002/06/18, Vincent Aumont wrote: If you need something beyond CSV (i.e. formatting, coloring, etc.), you can also use the Java Excel API (http://www.andykhan.com/jexcelapi). It generates xls that all versions of Excel can read. The product is LGPL'ed. -Vincent. Or Jakarta

RE: Installing of Struts on WSAD and also on Websphere App Server 4.02

2002-06-18 Thread Soomar, Muki (R.)
Here are the steps to start developing with WSAD. 1. Importing the struts-example. 1.1 Creat a new WEB project using the web application view and the web project wizard. While in the wizard you can select your project name and the EAR name Skip the next screen

Re: Passing a parameter into an action from the action mapping?

2002-06-18 Thread Joe Germuska
At 4:11 PM -0400 2002/06/18, [EMAIL PROTECTED] wrote: I thought I saw a solution for this somewhere but I cannot find it... set the value of the parameter attribute, then use mapping.getParameter() in the action. It's not a dumb idea at all -- it's the kind of reusability that Struts makes

RE: Installing of Struts on WSAD and also on Websphere App Server 4.02

2002-06-18 Thread Soomar, Muki (R.)
Here are the steps to start developing with WSAD. 1. Importing the struts-example. 1.1 Creat a new WEB project using the web application view and the web project wizard. While in the wizard you can select your project name and the EAR name Skip the next screen

Uploading and parsing an excel file

2002-06-18 Thread Tim Heath
I need to upload and parse an excel file. I want the user to be able to browse their hd through netscape to do this. Can anyone tell me how to do this well? In my current jsp's I have: %@ taglib uri=struts-html.tld prefix=html % %@ taglib uri=struts-bean.tld prefix=bean % %@ taglib

Absolute URL in forward tag

2002-06-18 Thread Bhaskar Gopalan
Hi, is it possible to give an absolute URL (like http://www.xyz.com) in the 'path' attribute of 'forward' tag? Thnx, Bhaskar -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Passing a parameter into an action from the action mapping?

2002-06-18 Thread James Holmes
The parameter that Joe is talking about is for the action tag in your struts-config.xml. Take a look at the Struts Console. It makes setting all this stuff a breeeze. http://www.jamesholmes.com/struts/ -james [EMAIL PROTECTED] --- Joe Germuska [EMAIL PROTECTED] wrote: At 4:11 PM -0400

RE: Passing a parameter into an action from the action mapping?

2002-06-18 Thread wbchmura
Doh! I tried that with request.getParameter() Duh - the difference is wonderfully obvious now! Thanks -Original Message- From: Joe [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 4:10 PM To: struts-user Subject: Re: Passing a parameter into an action from the action mapping?

RE: Passing a parameter into an action from the action mapping?

2002-06-18 Thread wbchmura
Already there... The only thing that I would love to see in struts console is if I view source having it on more than one line... In my development environment (windows) there is no line feeds or anything -Original Message- From: jholmes612 [mailto:[EMAIL PROTECTED]] Sent: Tuesday,

Re: Select Tag

2002-06-18 Thread Scott Carlson
Sesha, I have this code in my jsp. Notice the multiple attribute. html:select multiple=true property=accountType html:option value=Select Type/html:option html:options name=createaccount property=accountTypes / /html:select In my form bean, the property is an array of

RE: Single ActionServlet, ActionForm, Action across entire applic atio n... is it ok ?

2002-06-18 Thread Bhattad, Nilesh
Sorry for confusion. I specified to have single Form object across the application. Actually I meant to say that I want to write a single ActionForm class which is reusable across the application. Though each JSP page will have its own INSTANCE of Form object with a HashMap populated with all

RE: Passing a parameter into an action from the action mapping?

2002-06-18 Thread James Holmes
Hmm…try using the Output Options underneath the Options menu in the standalone version (1.12 and later). -james [EMAIL PROTECTED] http://www.jamesholmes.com/struts/ --- [EMAIL PROTECTED] wrote: Already there... The only thing that I would love to see in struts console is if I view source

RE: Absolute URL in forward tag

2002-06-18 Thread James Mitchell
Can you display the error you get when you tried? James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the Open Minded Developer Network http://struts-atlanta.open-tools.org -Original Message- From: Bhaskar Gopalan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002

RE: Absolute URL in forward tag

2002-06-18 Thread Tero P Paananen
is it possible to give an absolute URL (like http://www.xyz.com) in the 'path' attribute of 'forward' tag? Yes, but only, if it's a redirect (redirect=true). -TPP -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

RE: Passing a parameter into an action from the action mapping?

2002-06-18 Thread James Mitchell
What are you using to view the file? Notepad? If so, or you just want a quick way to view it (outside of the Console), use Textpad. http://www.textpad.com It's a serious text editor with everything from 'go to' line and/or column, macros for re-use of common tasks, search and replace using

RE: Passing a parameter into an action from the action mapping?

2002-06-18 Thread wbchmura
I installed 1.11 a few days before you released 1.12... Have not had time to upgrade yet. Thanks, I'll try it -Original Message- From: jholmes612 [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 4:32 PM To: struts-user Subject: RE: Passing a parameter into an action from the

RE: Passing a parameter into an action from the action mapping?

2002-06-18 Thread wbchmura
No, I was using the struts-console source window... The easiest way I have found to view it has been (dare I say) using Internet Explorer... -Original Message- From: jmitchtx [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 4:40 PM To: struts-user Subject: RE: Passing a

Who's using Struts and license issue

2002-06-18 Thread Scott Carlson
I'm trying to get a Fortune 125 company to convert from their existing internal web framework. During my analysis two questions have come up. First, Who's using Struts? Is there a list of big companies that are using Struts in a production external application mode? Does anyone have metrics

RE: Who's using Struts and license issue

2002-06-18 Thread Dan Cancro
Here are some users that I've seen mentioned on the mailing list: Fannie Mae, Shell, Deutsche Bank, IBM, Sun, HP, Hallmark, Pizza Hut, Daimler Chrysler, Capital One. -Dan -Original Message- From: Scott Carlson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 1:48 PM To:

RE: detecting ActionErrors in a jsp page

2002-06-18 Thread mtstruts
Hi Jim, I'm not sure exactly what you want to do but here are a couple of suggestions: 1) If you want to display the actual error on the JSP page, use the html:errors/ tag. This tag is explained in the Struts UserGuide:

Re: Who's using Struts and license issue

2002-06-18 Thread Cliff Rowley
Dan Cancro wrote: Here are some users that I've seen mentioned on the mailing list: Fannie Mae, Shell, Deutsche Bank, IBM, Sun, HP, Hallmark, Pizza Hut, Daimler Chrysler, Capital One. -Dan What about the licensing issues? I'd be quite interested to hear comments on those. -- To

RE: Who's using Struts and license issue

2002-06-18 Thread Tero P Paananen
Personally, I've got no problems with Struts or plastering powered by Struts on every page. I would, if I were in charge of brand management/marketing. Does the Struts license allow putting that sentence in a meta tag (bad) or as an HTML comment (good), so that it's invisible to the regular

Re: Who's using Struts and license issue

2002-06-18 Thread Kevin . Bedell
The License issue you're describing only applies if you are redistributing the software - that is if you distribute the software to some other entity and THEY install it. If this is the case, any docs (or the code you give them) must include an acknowledgement. * * 3. The end-user

Re: Passing a parameter into an action from the action mapping?

2002-06-18 Thread Joe Germuska
At 1:17 PM -0700 2002/06/18, James Holmes wrote: The parameter that Joe is talking about is for the action tag in your struts-config.xml. Take a look at the Struts Console. It makes setting all this stuff a breeeze. http://www.jamesholmes.com/struts/ Well, gee, you can also take a look at

RE: Who's using Struts and license issue

2002-06-18 Thread Brad_Horstkotte
From the apache license: * 3. The end-user documentation included with the redistribution, if *any, must include the following acknowlegement: * This product includes software developed by the *Apache Software Foundation (http://www.apache.org/). *Alternately, this

Re: Who's using Struts and license issue

2002-06-18 Thread Ted Husted
You just need to include the Apache License http://apache.org/LICENSE along with any of your own copyrights, disclaimers, or licensing notices. Or, if you don't do any of that, in a file next to to the JARs. What's going on, is that when you credit yourself, Apache wants to be credited too.

  1   2   >