Real Dynamic Forms - Using DynaBeans MapBackedForms

2004-01-12 Thread Oliver Thiel
Hi @all, I am relative new to Strut, but I have to | want to do a struts project for my studies at the university of applied science. I try to build a 'real' dynamic registration form using DynaBeans and Maps (all HashMaps will be filled by a database call later). What I have so far is:

Is a controller based access to Applets possible in Struts?

2004-01-12 Thread Michael McGrady
Is there anyway I can use the controller in struts to access applets rather than the codebase and documentbase parameters in applets? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Real Dynamic Forms - Using DynaBeans MapBackedForms

2004-01-12 Thread hhlow
Hi Oliver, i am doing a simple login form. well i am using Struts bean. anyway i print the bean out by using bean:write name=user property=username/ but recently i have this no getter method for the bean i dun understand why. coz i have initialised the bean. check out the tut here..it

Re: Real Dynamic Forms - Using DynaBeans MapBackedForms

2004-01-12 Thread Christian Burger
Return Receipt Your Re: Real Dynamic Forms - Using DynaBeans MapBackedForms document :

Re: design suggestion

2004-01-12 Thread Johan Stuyts
Use one action for each step and its associated CRUD operations. The chaining of these steps shoud be done in struts-config.xml. This way you can change the workflow without having to change the actions. Johan Stuyts David Liles wrote: I am currently in the design phase of a project and am

Re: Dynamic Tiles?

2004-01-12 Thread Christian Schlaefcke
Could you check your system date (01.01.1970). Its bad getting new mails for a thread at the very bottom of a maildir. Thanks and Regards, Chris Here goes a response to your question... Pedro Salgado - PREVIOUS MESSAGE (on this mailing list) Hi Robert.. I guess you could

Can I use the nested extension ????

2004-01-12 Thread Yajamanyam Venugopal
Hi All, I would like to build the Tree structure with around 500 items at a time.I went thru the Arron gates Nested extension(Monkey Tree example model) it is working fine. Could anybody suggest me whether can I use this Model to my live implement the tree structure in my project.

Re: design suggestion

2004-01-12 Thread Geir Harris Hedemark
David Liles [EMAIL PROTECTED] writes: I am currently in the design phase of a project and am struggling with which way to go This is going to be a workflow application that allows the users to submit various request. There are several workflows that will share common functionality

Re: [OT] Eclipse/Tomcat WebappLoader

2004-01-12 Thread Raphaël di Cicco
I have tried that option but it doesn't work... I put my java class inside a jar file, that I include in the context. That beeing done, my project compiles and everything but the same problem occurs : when I change a class, the jar file is reloaded as well, so I'm up to the same point. I don't

Re: Dynamic Tiles?

2004-01-12 Thread Pedro Salgado
I have a problem with my battery that makes the system date reset to 1970!!! So if you continue see my mails on the bottom of the maildir it means that... my hardware vendor hasn't solved my problem :) Pedro Salgado On 12/01/2004 08:37, Christian Schlaefcke [EMAIL PROTECTED] wrote: Could

[OT] Log4j configuration for EJB Project

2004-01-12 Thread Prasenjit Narwade
Hi, I have an application containing EJB project and a Web project. I configured Log4j for my Web project by putting the log4j.jar in WEB-INF/lib directory and log4j.properties in WEB-INF/classes directory. However I have to configure log4j for my EJB project, where should I place

OT: Help wanted in SF

2004-01-12 Thread Vic Cekvenich
http://www.craigslist.org/sfc/eng/22118807.html (pardon me, but I help the list sometimes and sometimes I milk it) .V - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[ot] someMap.keySet() JSTL?

2004-01-12 Thread Mark Lowe
anyone know a way of getting the set of keys from a hashmap in jstl? in java Set keys = someMap.keySet(); i've tried c:forEach var=keys items=${someForm.items.keySet} to no avail .. - To unsubscribe, e-mail: [EMAIL

Storing uploaded files outside the root directory of a webapp

2004-01-12 Thread Patrick Scheuerer
Hi everybody, A while ago i posted a question concerning file uploads. My initial idea was to save all uploaded files in a directory of the web application. Craig R. McClanahan replied to my post with the following very interesting comment (thanks Craig!): Craig R. McClanahan wrote: * You

RE: Storing uploaded files outside the root directory of a webapp

2004-01-12 Thread shirishchandra.sakhare
Hi, We have applied following approach in the project. A project level variable (system variable) is defined..e.g. MY_PROJECT_HOME And all file paths are resolved relative to this home.So all our configuration files(which are XML files) just give a path relative to the project home and a

Re: Storing uploaded files outside the root directory of a webapp

2004-01-12 Thread Mark Lowe
I've been saving binaries to my db and there doesn't appear to be a great issue. Saves checking permissions on directories and such like. The over head isn't that great and most db's store the binaries pretty much as the file system would. Advantage IMO the advantage of storing images in the

Re: Storing uploaded files outside the root directory of a webapp

2004-01-12 Thread Patrick Scheuerer
[EMAIL PROTECTED] wrote: Hi, We have applied following approach in the project. A project level variable (system variable) is defined..e.g. MY_PROJECT_HOME And all file paths are resolved relative to this home.So all our configuration files(which are XML files) just give a path relative to the

Re: [ot] someMap.keySet() JSTL?

2004-01-12 Thread Kris Schneider
Can't do it directly with JSTL 1.0. If you just iterate over the map, you'll get instances of Map.Entry, which will expose key and value properties. With JSP 2.0, I suppose you could define a custom EL function that would let you do something like: c:forEach var=keys

Re: Storing uploaded files outside the root directory of a webapp

2004-01-12 Thread HG
Hi Patrick and my question is...relative to what...To the webapp dir? or to some fixed directory you know exists? First of all, to calculate a releative path, you must figure what the path must be relative to. If you choose the webapp dir, like some other on this group already pointed out, you

Request object when failure

2004-01-12 Thread Sathish Kumar T.K.
Will the request object be re-initialised when findForward returns failure? I mean, during mapping.findForward(failure); I have an object in session and when an error is generated, i don't find the correct values in the object that was placed in session. Pls help !!! Sathish

Re: jsp not rendered

2004-01-12 Thread Markus
Hi, are you sure that the bean is always in the session or where you have stored it? Try to use the present or notEmpty logic tag! kind regards, Markus When I say the page is not rendered I mean a big white page, with no conten t at all, is rendered. And the most weird thing is that the

Re: Struts EJB deployment

2004-01-12 Thread Rick Alsopp
Hi Manfred, Thanks in advance for getting back to me on this one. My problem is that I can happily create a Tomcat project that allows me to deploy my Struts to Tomcat's webapp directory, and everything works fine. I am using Sysdeo's Tomcat plugin. I can also create a JBoss project that

RE: jsp not rendered

2004-01-12 Thread Hooper, Brian
I've had this happen to me a few times and I think every time it was because an exception was thrown in my Action that I wasn't handling correctly. No response was sent back to the browser so it didn't have anything to display. -Original Message- From: Otávio Augusto [mailto:[EMAIL

RE: Struts EJB deployment

2004-01-12 Thread Lister, Tom (ANTS)
What errors are you getting? We had a lot of classloader problems running apps that have ejbs and web components. We settled on building an EAR with all jars in the EAR file and not in WEB-INF/lib :-) Tom Lister * [EMAIL PROTECTED] * 020 775 65014 -Original Message- From: Rick Alsopp

exception validator

2004-01-12 Thread shankarr
Hi! I am getting the following exception and not able to debug. Pleaes help. Shanky Jan 12, 2004 8:16:03 PM org.apache.struts.validator.ValidatorPlugIn initResource EVERE: jakarta.apache.org ava.net.UnknownHostException: jakarta.apache.org at

RE: exception validator

2004-01-12 Thread Mike Jasnowski
search the list archives, this is a well documented problem. -Original Message- From: shankarr [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 9:48 AM To: Struts Users Mailing List Subject: exception validator Hi! I am getting the following exception and not able to debug.

handling form based authentication w/ remember-me cookie

2004-01-12 Thread Chris Ruegger
I am using Struts and building a logon page to do Form-based authentication under Tomcat. I want to also have a checkbox for the user to check that says remember me so that I can send them a cookie. I'm not sure how to intercept the form values because I have to post to j_security_check. How can

Struts Templates And Modules - Please HELP !!

2004-01-12 Thread Renato Romano
I'm trying to use struts templates (not tiles) tags inside a module, but I get a completely blank page and no errors. The paths of the resources are correct, but it seems to me struts tries to find them by prefixing the module name!! Any help is very appreciated. Renato

Mandatory use of form rather than request object

2004-01-12 Thread Abhishek Srivastava
Hello All, I did some code reviews recently for my project being done on struts. I found that most people still do a request.getAttribute(NAME) kind of code even when the name is a property of the form object and is available in the form object. My question is should the use of form be

logic:iterate problem

2004-01-12 Thread Tim
I'm using the logic:iterate tag in my jsp with the following code: theForm is a dynamic actionform, value(thelist) is a vector containing the values to be printed. I've checked the Action class, and all values of the form are properly filled and not null. logic:iterate id=item name=theForm

RE: Storing uploaded files outside the root directory of a webapp

2004-01-12 Thread Matthias Wessendorf
Hi Patrick, you can store files in an action-class to c:/ or if you use linux to: /home/patrick/ (if there is no policy against it) that what you mean? regards, Matthias -Original Message- From: Patrick Scheuerer [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 2:32 PM To:

RE: handling form based authentication w/ remember-me cookie

2004-01-12 Thread Parmar, Dipakkumar
Hi Chris, You can do this using Servlet Filter. What you need to do is write postLoginFilter that maps to the j_security_check url. In doFilter method, you can write your post login code after j_security_check done is work. Something like: public void doFilter(.)

Data Sources problem

2004-01-12 Thread Sandy Bingham-Porter
Hi, I am new to struts and am trying to use the data-source element within my struts-config.xml. When I execute the web app I get the following error: 503 Initializing application data source org.apache.struts.action.DATA_SOURCE I have placed the commons-dbcp-1.1.jar file in my lib path. My

RE: Data Sources problem

2004-01-12 Thread Matthias Wessendorf
Hi, did you have also the pool.jar from: http://jakarta.apache.org/commons/pool/ in WEB-INF/lib i had had trouble without it... greetings -Original Message- From: Sandy Bingham-Porter [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 4:55 PM To: Struts Users Mailing List

Generic Error Handler

2004-01-12 Thread Matthew J. Vincent
I searched the archives and I must have missed it. I want to have a generic JSP or Servlet get invoked when an error occurs in my application. For example, when I try to clink on a link on one of my pages I get an error message: HTTP Status 500 - No action instance for path /detailSearch could

Best Practice for Reuse of JSPs for Display and Input?

2004-01-12 Thread tim.dawson
I am designing a Struts application that has both display-only and input modes for all the data. Ideally, I would like to reuse the same JSPs for both the display-only and input modes without compromising the user-friendliness of the page produced. The JSP pages are using the Struts HTML tags

RE: Generic Error Handler

2004-01-12 Thread Norm Deane
We generally map HTTP 400, 500, and 404 to an error handler action via the web.xml like so... error-page error-code500/error-code location/Error.do/location /error-page error-page error-code404/error-code location/InvalidUrl.do/location /error-page

RE: Generic Error Handler

2004-01-12 Thread Matthew J. Vincent
Would this be better handled in the web.xml Matt -Original Message- From: Matthew J. Vincent [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 11:08 AM To: Struts Users Mailing List Subject: Generic Error Handler I searched the archives and I must have missed it. I want to

RE: Generic Error Handler

2004-01-12 Thread Robert Taylor
Matthew, What we do is define this in our web.xml file so that when the container gets a 500, 404, etc... error status code, I can then assign the appropriate Struts action to handle it. For example: error-page error-code500/error-code location/c/systemError/location

RE: Best Practice for Reuse of JSPs for Display and Input?

2004-01-12 Thread Hooper, Brian
I'm not sure if this is a best practice or not, but I like to just display the text if I want a text input box to be disabled. Something like this: logic:equal property=fooDisabled value=true bean:write property=foo /html:hidden property=foo / /logic:equal logic:equal

RE: Best Practice for Reuse of JSPs for Display and Input?

2004-01-12 Thread Shishir K. Singh
I assume that you have a bean that stores all the relevant data and you read the bean to render the jsp. If so, I generally a flag attribute (display only) to the bean that I can set up in my action. In the jsp, if the flag is on, I just render it as a simple text else Would that work for

Displaying same page after submiting a form

2004-01-12 Thread Leticia Golubov
I'm using the following code to submit an action in a .jsp file (config_toolbar.jsp): html:form method=post action=/saveData name=saveForm type=text/html type=org.apache.struts.action.DynaActionForm enctype=text/html tda onClick=javascript:void(document.saveForm.submit());

RE: Displaying same page after submiting a form

2004-01-12 Thread Shishir K. Singh
I think you need to add the forward to your action definition action path=/saveData type=com.micromuse.precision.disco.action.SaveAction name=saveDataForm parameter=/pages/disco/config_toolbar.jsp scope=session forwardname=success path=your jsp/

Best Practice for data source access

2004-01-12 Thread Gerald_Beattie
What is the best practice for establishing a data source connection using JNDI. I am using the DAO pattern for database access but where is the best location for placing the code that initializes the data source? I am using connection pooling. I am moving a Struts application into a Portlet. The

Struts Tiles Double Post Issue

2004-01-12 Thread Smith Justin M
I am running into a problem with Struts Tiles. My action class is being executed twice when I submit a page. I have a simple page like this. %@ taglib uri=/WEB-INF/struts-html.tld prefix=html % html:form action=ViewOtherCustomerInformation input type=submit name=submit /html:form It

RE: Displaying same page after submiting a form

2004-01-12 Thread Leticia Golubov
That's what i did initially, but it caused the page to be displayed with errors (images missing, etc) even though the forwar path was exactly the same as the parameter path... i.e. parameter=/pages/disco/config_toolbar.jsp forward name =success path=/pages/disco/config_toolbar.jsp thanks

RE: Mandatory use of form rather than request object

2004-01-12 Thread shirishchandra.sakhare
Hi, Its a good idea to use just form.getAttribute than use request.getparameter..I think that is major advantage with struts...You should no longer be using this syntax.The form should be a complete container as far as actions are concerned.The advantage is that just by looking at the form you

RE: Displaying same page after submiting a form

2004-01-12 Thread Shishir K. Singh
Hmmm..strange...can you send a screen shot of how the page looks before and after the submit. -Original Message- From: Leticia Golubov [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 11:41 AM To: Struts Users Mailing List Subject: RE: Displaying same page after submiting a

RE: Mandatory use of form rather than request object

2004-01-12 Thread Shishir K. Singh
To add onto that Using resuest.getA in the action does not make any sense since struts already does that for you by populating the form from the request param after the reset method on the form is called. Form should be the only data repository for you to consider between your view and

RE: Displaying same page after submiting a form

2004-01-12 Thread Hubert Rabago
Showing your JSP directly results in missing images because the relative path to your images have changed. Try using absolute path to your images. If you want to avoid using the absolute path to your images, make sure that the browser requests your JSP in a way that the relative paths to the

Re: Data Sources problem

2004-01-12 Thread Sandy Bingham-Porter
Yes, thank you, we missed the pool.jar. It works ! Matthias Wessendorf wrote: Hi, did you have also the pool.jar from: http://jakarta.apache.org/commons/pool/ in WEB-INF/lib i had had trouble without it... greetings -Original Message- From: Sandy Bingham-Porter [mailto:[EMAIL

RE: Displaying same page after submiting a form

2004-01-12 Thread Shishir K. Singh
Also, Try using html:base/ Within the head section of your jsp. See if that works. -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 12:12 PM To: Struts Users Mailing List Subject: RE: Displaying same page after submiting a form

RE: Displaying same page after submiting a form

2004-01-12 Thread Leticia Golubov
Hiya, Find attached before and after screen shots... regards -Original Message- From: Shishir K. Singh [mailto:[EMAIL PROTECTED] Sent: 12 January 2004 17:00 To: Struts Users Mailing List Subject: RE: Displaying same page after submiting a form Hmmm..strange...can you send a screen

sharing actions with superuser

2004-01-12 Thread Dan Allen
This seems to be a common design problem, so I figured i would take it to the struts list for advice. In my application, a user can login and perform functions, such as viewing/altering one's own profile. Additionally, a user can have superuser priviledged, in which case they can alter other

FW: Displaying same page after submiting a form

2004-01-12 Thread Leticia Golubov
That works :) Interesting... thanks so much! -Original Message- From: Shishir K. Singh [mailto:[EMAIL PROTECTED] Sent: 12 January 2004 17:27 To: [EMAIL PROTECTED] Subject: RE: Displaying same page after submiting a form Don't think I got any. However, try out the html:base/

RE: Request object when failure

2004-01-12 Thread Richard Hightower
Is this object an ActionForm? Check you action mapping setting. make sure you are consistent with a scope of type session, which is the default. Rick Hightower Developer Struts/J2EE training -- http://www.arc-mind.com/strutsCourse.htm Struts/J2EE consulting --

RE: Mandatory use of form rather than request object

2004-01-12 Thread Richard Hightower
Create a superclass that overides the execute method and calls an abstract execute method that does not pass the request object. The subclasses overide the execute method without the request object being passed. Also look into the ProcessAction, which is part of the scaffold. You can get the

RE: handling form based authentication w/ remember-me cookie

2004-01-12 Thread Richard Hightower
I believe this is the easiest way Have the form login go to your own custom action. Have your action forward to the j_security_check, passing the correct request parameters. Set the foward you setup that points to j_security_check to do a redirect=true. Rick Hightower Developer

RE: handling form based authentication w/ remember-me cookie

2004-01-12 Thread Richard Hightower
I believe this is the easiest way Have the form login go to your own custom action. Have your action forward to the j_security_check, passing the correct request parameters. Set the foward you setup that points to j_security_check to do a redirect=true. Rick Hightower Developer

Text (A4-Page) inside a jsp-page

2004-01-12 Thread Stefan Berger
Hi, I want to add to my jsp-page a long text but depending on locale. For the simple button and so on I know how to use MessaageResources, but for bigger text (more then one line) i dont know how to include text depending from locale. Has someone an idea or better an example ? Best regards

Re: Mandatory use of form rather than request object

2004-01-12 Thread Brice Ruth
This precludes you from storing data in the request scope, though - so you're left with only storing things in the session scope, which I wouldn't consider ideal. Right? Richard Hightower wrote: Create a superclass that overides the execute method and calls an abstract execute method that

RE: Text (A4-Page) inside a jsp-page

2004-01-12 Thread Paul McCulloch
I define the path to the locale specific page in the application.resources file. For example my application.resources file might have an entry like: locale.dependant.page=english.html and the french .properties file: locale.dependant.page=french.html The JSP to include the relvant version

Re: mapping.findForward (JDev 10g Struts/JSTL versions)

2004-01-12 Thread Christian Bollmeyer
Am Freitag, 9. Januar 2004 01:42 schrieb Yee, Richard K,,DMDCWEST: Just to share some of my knowledge: Paul, You can do this in your struts-config.xml forward name=someRedirectName path=http://www.someWebsite.com; redirect=true/ note the redirect=true attribute Yep. This, still, didn't

How to replace pageContext.setAttribute(...) with a JSTL?

2004-01-12 Thread Zsolt Koppany
Hi, I understand that I can copy a Java variable into a JSP variable using pageContext.setAttribute(...). But can I also do it using JSTL? How can I make the code below better? (BrowseTasks.priorityTooltip is a java.lang.String[] variable) %@ page import=cv.servlet.bugs.BrowseTasks% %

REQUEST_PROCESSOR - couldn't deserialize

2004-01-12 Thread Gopalakrishnan, Jayesh
Has anybody encountered this exception...? Jan 6, 2004 8:39:01 PM EST Error HTTP BEA-101309 [ServletContext(id=158851062,name=stap-portal,context-path=/stap-portal)] could not deserialize the context attribute org.apache.struts.action.REQUEST_PROCESSOR

[OT] Properties and Singleton

2004-01-12 Thread jay andrews
I have some configuration properties for my structs app that I am thinking of moving to properties and creating a singleton objects to hold this property values. Is there any reason not to to this with struts? does anyone know if there is an example of this somewhere? my recent search have been

RE: [OT] Properties and Singleton

2004-01-12 Thread Robert Taylor
You could simply store the loaded Properties object in the ServletContext where the same instance would be available to the entire web application thus acting as a singleton of sorts without necessarily implementing the pattern. robert -Original Message- From: jay andrews

Re: Best Practice for data source access

2004-01-12 Thread Christian Bollmeyer
Am Montag, 12. Januar 2004 17:32 schrieb [EMAIL PROTECTED]: What is the best practice for establishing a data source connection using JNDI. I am using the DAO pattern for database access but where is the best location for placing the code that initializes the data source? I am using

AW: Text (A4-Page) inside a jsp-page

2004-01-12 Thread Stefan Berger
Cool. I got your idea and i adopted it. But now it runs like i want. Thank you very much. Best regards Stefan -Ursprüngliche Nachricht- Von: Paul McCulloch [mailto:[EMAIL PROTECTED] Gesendet: Montag, 12. Januar 2004 19:37 An: 'Struts Users Mailing List' Betreff: RE: Text (A4-Page)

Re: How to replace pageContext.setAttribute(...) with a JSTL?

2004-01-12 Thread Kris Schneider
You can't directly access static fields with JSTL's expression language. Of course, you can do it with the RT versions of the tags: c_rt:set var=priorityArray value=%= BrowseTasks.priorityTooltip %/ But that's probably not what you're after. The Jakarta Taglibs Sandbox contains the Unstandard

RE: Data Sources problem

2004-01-12 Thread Edgar P Dollin
I don't mean to discourage you however you are developing an application using struts. The current struts datasource is deprecated and it is recomended that you use either a jndi datasource or a product like poolman on sourceforge or a DAO product which maintains the datasource itself. I suspect

RE: jsp not rendered

2004-01-12 Thread Mark Gowdy
Is there anything in your server logs? I have experienced this type of situation several times and I can usually determine the cause of it by examining the server log files (it might show things like null pointer exceptions, or similar). Cheers Mark -Original Message- From: Hooper,

RE: sharing actions with superuser

2004-01-12 Thread Robert Nocera
Dan, I would base the decision on how similar the actions are. Some possible choices are: 1. Use the same action with the same method as you describe. 2. Use the same action but define two different methods within the action based on what the user's role is. This way you can include private

RE: Using ArrayList instead of String[] properties

2004-01-12 Thread Wendy Smoak
From: Wendy Smoak Apparently you don't have to use logic-el:iterate with html-el:checkbox indexed=true. This works: c:forEach items=${accountMap[accountForm.map.calendarYear]} var=account html-el:checkbox property=accounts indexed=true I lied, that doesn't work at all. It produces

RE: Servlet class org.apache.struts.action.ActionServlet for servlet action could not be handled by the classloader with classpath

2004-01-12 Thread Bret Kumler
G etting the following error. I have all the jar files in my web-inf/lib dir. Jan 12, 2004 1:59:10 PM PST Error HTTP BEA-101216 Servlet: action failed to preload on startup in Web application: tcsystem. javax.servlet.ServletException:

Re: Text (A4-Page) inside a jsp-page

2004-01-12 Thread Otávio Augusto
Maybe this issue has already been closed (it seems you've found the solution to it). But i need to know if you wanted to display text (small or large ones) depending on the locale.is that what you want? I ask that because my next project implies me to know how to do that. Thanks Otávio Augusto

filters / tomcat / httpunit / webtest

2004-01-12 Thread Edgar P Dollin
I have a an interesting issue which at first blush doesn't seem solvable but could be a bug in struts 1.1 or my use of struts. I have a partially implemented struts application which is using filters for security (not the sourceforge security filter). I used to issue a 401 error, have the

Re: Best Practice for data source access

2004-01-12 Thread James Watkin
On this list, I recall a debate regarding whether or not it's best to cache a javax.sql.DataSource. Some thought that caching the DataSource would allow your code to run faster. Others claimed, on Tomcat at least, that there is no observable performance penalty when getting a DataSource and

RE: Mandatory use of form rather than request object

2004-01-12 Thread Andrew Hill
No. He would provide setters in the form for anything that needs to be passed along in request scope. This has the dual advantages of type safety and making the design more explicit to anyone reading the code. -Original Message- From: Brice Ruth [mailto:[EMAIL PROTECTED] Sent: Tuesday, 13

RE: Mandatory use of form rather than request object

2004-01-12 Thread Patrick Cheng
Hi, I understand that the request.getParameter should not be used when the info is readily available in the 'form' object. But can we really take it out? When I create a list of records in a table, with links to each record details, I would be generating an html:link object with parameters

RE: Mandatory use of form rather than request object

2004-01-12 Thread Andrew Hill
Yeh, your right though. Taking it out is a bit drastic and the request object tends to be needed for various other things as well so denying access to it is probably going to cause other problems. Best thing really is to reeducate the developers. (Electric shocks work wonderfully here - though

Struts 1.1 and iPlanet iws 6.05

2004-01-12 Thread Fowler, David
I have read through the archive and it seems that there are many who have struggled with iPlanet and Struts. I have a Struts application running on Tomcat, and I wanted to move it to an iPlanet web server (6.05). I'm running into a little trouble. I get a RequestDispatcher: forward call

Re: handling form based authentication w/ remember-me cookie

2004-01-12 Thread Max Cooper
Dipak, Are you certain that the filter will be invoked on the /j_security_check request when container-based security is used? I have not tested this, but it would not surprise me to find that some containers do not execute filters on /j_security_check requests. I don't know if the Servlet Spec

RE: filters / tomcat / httpunit / webtest

2004-01-12 Thread Edgar P Dollin
FYI, using HTTP 'error' 202 SC_ACCEPTED (and maybe others) works around the problem. In other words is compatible with IE, Mozilla, etc and still works with HttpUnit / Webtest. I haven't loaded the application too much so I will find out later if this issue is truly resolved. If anyone is

Re: Struts 1.1 and iPlanet iws 6.05

2004-01-12 Thread James Mitchell
You should upgrade to 6.1 if you can. It uses Tomcat under the covers. All will work fine once you do that. James - Original Message - From: Fowler, David [EMAIL PROTECTED] To: Struts [EMAIL PROTECTED] Sent: Monday, January 12, 2004 10:22 PM Subject: Struts 1.1 and iPlanet iws 6.05

Re: handling form based authentication w/ remember-me cookie

2004-01-12 Thread Matt Raible
Remember Me functionality with j_security_check has worked fine for me. I just go to a LoginServlet from my loginForm, which sets cookies and redirects to j_security_check. Then I map a Filter to check for those cookies and logs the user in appropriately. More with code at:

Linking CSS

2004-01-12 Thread vasudevrao gupta
Dear All, I am usign WebSphere Application Development Studio for development of our application in struts. When I am linking .css files to a JSP using normal HTML tag, its not getting identified,..Do we need to use a different syntax for linking .css files for JSP in struts??? Eg: LINK

Re: Linking CSS

2004-01-12 Thread Mike Deegan
link href=../jsp/base.css rel=stylesheet type=text/css works for me ... what is the error you are getting? may require use of the html:base/ tag ? - Original Message - From: vasudevrao gupta [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Monday, January

Pagination Support

2004-01-12 Thread Viral_Thakkar
Hi all, Do struts have any support for pagination purpose? By pagination, I mean, displaying the data retrieved from database in JSP page in fixed slots... Thanks Regards, Viral - To unsubscribe, e-mail:

Re: Linking CSS

2004-01-12 Thread Matt Raible
I prefer using c:url or html:rewrite to give my CSS files an absolute path - but that's just me: link href=c:url value=/jsp/base.css/ ... Matt On Jan 12, 2004, at 10:01 PM, Mike Deegan wrote: link href=../jsp/base.css rel=stylesheet type=text/css works for me ... what is the error you are

RE: Pagination Support

2004-01-12 Thread Srivastava, Ravi Prakash
Hi Viral Yes, but it is also depends on the database. Some sql statement is not supported this feature Regards Ravi -Original Message- From: Viral_Thakkar [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 10:34 AM To: Struts Users Mailing List Subject: Pagination Support Hi

Re: Pagination Support

2004-01-12 Thread Matt Raible
Is this what you're looking for? http://displaytag.sf.net, demo at http://www.displaytag.org HTH, Matt On Jan 12, 2004, at 10:03 PM, Viral_Thakkar wrote: Hi all,   Do struts have any support forpaginationpurpose?   By pagination, I mean, displaying the data retrieved from database in JSP

RE: Linking CSS

2004-01-12 Thread vasudevrao gupta
Servlet Request Processor Exception: Virtual Host/WebGroup Not Found : The web group /theme/Master.css has not been defined Is the error which it displays -Original Message- From: Mike Deegan [mailto:[EMAIL PROTECTED] Sent: 13 January 2004 10:31 To: Struts Users Mailing List Subject:

Re: Linking CSS

2004-01-12 Thread Mike Deegan
http://www-106.ibm.com/developerworks/websphere/library/techarticles/0301_mcgee/mcgee.html Question: I continually receive the following console output in WebSphere Studio Application Developer 5.0: Servlet Request Processor Exception: Virtual Host/WebGroup Not Found: The web group