Fw: Any Idea :problem redirecting the page

2002-05-29 Thread siraj
- Original Message - From: siraj <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Sent: Monday, May 29, 2000 4:44 PM Subject: Urgent :problem redirecting the page > hello everybody , > > i am facing one problem while redircting a page. > i have many links in

RE: object of action servlet in action class

2002-05-29 Thread Chakradhar Tallam
by calling getServlet method ActionServlet as = this.getServlet(); Refer to: http://jakarta.apache.org/struts/doc-1.0.2/api/org/apache/struts/action/Acti on.html CT. -Original Message- From: Radhika Nadkarni [mailto:[EMAIL PROTECTED]] Sent: Thursday, 30 May 2002 2:43 PM To: [EMAIL PROT

object of action servlet in action class

2002-05-29 Thread Radhika Nadkarni
hi, Can anyone tell me as to how to get an object of ActionServlet in the Action class ??? _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- To unsubscribe, e-mail: For addition

Re: Advice: how strutty should I be??

2002-05-29 Thread Rick Reumann
On Thursday, May 30, 2002, 12:23:20 AM, Todd Pierce wrote: TP> Hi, I've only been strutting for a couple of months and I often TP> break out into standard JSP to do familiar things, eg: Here is the TP> way I have been alternating bgcolor in tables using struts. Check out this tag, you'll lov

RE: Advice: how strutty should I be??

2002-05-29 Thread James Mitchell
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg26590.html James Mitchell Software Engineer\Struts Evangelist Open-Tools.org Come and see what all the fuss is about... http://struts-atlanta.open-tools.org > -Original Message- > From: Todd Pierce [mailto:[EMAIL PROTECTED]] >

Advice: how strutty should I be??

2002-05-29 Thread Todd Pierce
Hi, I've only been strutting for a couple of months and I often break out into standard JSP to do familiar things, eg: Here is the way I have been alternating bgcolor in tables using struts. Is there a more strutty way of doing this sort of thing, i.e. logic tags, or is this acceptable? <% Col

RE: No getter method?

2002-05-29 Thread Michael Marrotte
Even though it "shouldn't" make a difference, I tried different method names, e.g. isCheckedMTM. But, I haven't tried the name you suggest -- I will give it a shot in the morning even though I'm still not clear why it would make a difference. To answer your question, getIsChecked simply returns

RE: No getter method?

2002-05-29 Thread Chakradhar Tallam
try setChecked and getChecked as ur setter & getter and use checked as the property in bean:write. what does getIsChecked return! CT. -Original Message- From: Michael Marrotte [mailto:[EMAIL PROTECTED]] Sent: Thursday, 30 May 2002 11:16 AM To: Struts Users Mailing List Subject: No gette

No getter method?

2002-05-29 Thread Michael Marrotte
I’m using a bean:write, and Resin under SunOS says no getter method for property (isChecked)... I’m using several other bean:write’s on the same JSP page and I know the setter and getter methods are defined in the form bean for this particular property (i.e. setIsChecked and getIsChecked). The p

Re: CachedRowSet vs Collection of ValueObject

2002-05-29 Thread @Basebeans.com
Subject: Re: CachedRowSet vs Collection of ValueObject From: Vic C <[EMAIL PROTECTED]> === It is very fast, besides you are using CRS only as a collection. Chen, Dean (Zhun) wrote: > Is CachedRowSet performant? > > I read here: > http://developer.java.sun.com/developer/Books/JDBCTutorial/chapt

Re: logic:iterate and multiple selections

2002-05-29 Thread Arron Bates
Indexed options in the tag is one way to get it done, but it's not the easiest. Here's a previous post where I put up a quick example of doing without nested tags, and with the nested tags... http://www.mail-archive.com/struts-user%40jakarta.apache.org/msg31991.html And if you have Struts

RE: forward to Action from perform of Action

2002-05-29 Thread Galbreath, Mark
That's exactly how you do it; you must be doing something wrong in struts-config. but this subject has been brought up and answered many times recently. Did you check the archive? http://www.mail-archive.com/struts-user%40jakarta.apache.org/ Mark -Original Message- From: Alexandar [ma

request scope error

2002-05-29 Thread Mike Rose - Sun Microsystems
has anyone seen this error when using struts html:form tag with iws 4.1?? javax.servlet.ServletException: cant remove Attributes from request scope thanks Mike -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Use of custom convertors

2002-05-29 Thread Byrne, Steven
Shouldn't this be modified to be "all accessed NON-CHECKBOX properties..."? From doing some tests with String properties representing checkbox values, as long as you either default the checkbox value, or it's set to one of "on", "yes", or "true" then you're ok, but should you set the value explic

forward to Action from perform of Action

2002-05-29 Thread Alexandar
If I have an action that will need to forward to a different business action under certain circumstances, how should I do that? Tried forwarding to the path of another Action, but that's not obviously correct (based upon the errors I'm getting). thx... -- To unsubscribe, e-mail:

Prefix Matching

2002-05-29 Thread Martin Samm
i've hcecked the archives and found no answer so here goes. We're designing a new app which will display a variety of categories of content. Essentially a request to display a content type will have a URL of www.mayapplication.com/do/content/CONTENTTYPE/id.jsp Can we support this with a combin

getServlet()?

2002-05-29 Thread Geoffrey Corb
I have been attempting to update a project from Struts 1.0 to 1.0.2 to resolve some file upload problems. Now, I've found that the ActionForm's getServlet() method no longer exposes the ActionServlet. This is especially problematic to me, since a fair number of our ActionForm-derived classes use

RE: Websphere 4.02 Struts Deployment

2002-05-29 Thread Benson, Mike
Hello, I'm working on deploying to Websphere 4.x on the Win 2000 platform, and I'm receiving the following error: Error 500: Cannot find ActionMappings or ActionFormBeans collection I've read a few emails about modifying the struts code to make this work and replacing parsers and all, but my d

A common problem: "Cannot find ActionMappings or ActionFormBeans"?

2002-05-29 Thread @Basebeans.com
Subject: A common problem: "Cannot find ActionMappings or ActionFormBeans"? From: Jesper Lindholt Ottosen <[EMAIL PROTECTED]> === This is a multi-part message in MIME format. --71050682FAF314ABBDC2DF31 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi! I

Data type handling

2002-05-29 Thread Will Spies/Towers Perrin
We have cases where some of our data elements in our ActionForms are not native Java types. We have Date and Timestamp elements. Seems struts does not handle these data types as part of the conversion from a post to an ActionForm? Also, we would prefer to be able to post a Double value contain c

Nested menu item

2002-05-29 Thread Trieu, Danny
Cedric, is there anyway to define nested menu items( meaning submenu) inside the definition.xml file? thanks danny -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Repopulating data between forms.

2002-05-29 Thread Andrew van der Voort
Thanks, that seems to work - though only if the names of the attributes in the HTML are the same. I thought that if the names of attributes on the two ActionForm instances - even if they were different classes (as in my case for the list and modify pages) - were the same, struts would know where I

RE: Auto-populate text

2002-05-29 Thread James Mitchell
It sounds like whatever field you are using in the html:textarea to populate the control is not retaining the data. Is whatever action(call it action1) forwarding the first time populating the bean? Is the text hard-coded, in the resources file, or done at runtime? Since the bean is repopulated

Re: Help with JDBC Connection Pool

2002-05-29 Thread @Basebeans.com
Subject: Re: Help with JDBC Connection Pool From: "Ken Holzer" <[EMAIL PROTECTED]> === I tried to implant the info Mark had sent and when I start my server I get the following error: Is there something I need to do in the ActionServlet? I am using the jakarta-struts-2002052

RE: Multiple struts applications -> dang?

2002-05-29 Thread wbchmura
Okay, I ran across a write-up on jGuru that tells me I cannot do the second one... Does anyone have a good idea for handling this? I was thinking maybe an ant build that would copy all of the central templates to all of the web-apps that used them... That would provide a central place to ma

Auto-populate text

2002-05-29 Thread Troy Spruit
I'm having an issue with getting an html:textarea to autofill when I forward to the page it is on. I basically have a "preview" and "accept" button on my page. When the user presses either button the form submits to the same location but if I see the "preview" request attribute I forward back to t

Re: New to Struts

2002-05-29 Thread Vincent Stoessel
Truly cool, it's running sweet in forte 3.0 CE. OK, time for the slow part, reading the struts docs. :) Thank You James Holmes wrote: > Forte CE and NetBeans are good tools for working with > Struts. Currently the Struts Console plugs into both > of the IDEs. > > Struts Console: > http://ww

Multiple struts applications

2002-05-29 Thread wbchmura
What would be the best way to: * Have a user bean shared across the entire app-server? Log-in and it knows you no matter which web-app you access on the server (it will not need to be handled across multiple servers). * Provide consistant look and feel across all the applications easily (I

Struts 1.0.2 with weblogic 5.1

2002-05-29 Thread Deepa Matta
Hi I am trying to configure struts 1.0.2 with weblogic 5.1 service pack 9. I have an webapp called presentation which contains many jsp files. The weblogic.properties file has a weblogic.httpd.documentRoot=./presentation/ setting which allows pages to be loaded without putting presentation in t

Cookies not being written using Form-Based Authentication

2002-05-29 Thread Roland Chan
Hello, When using form based authentication, it appears that cookies are not being written to the client. In my server.xml, noCookies=false, and the client browsers have cookies enabled. Can anyone shed any light here? Thanks, Roland

RE: Action classes/Form based authentication/ EJBs

2002-05-29 Thread Roland Chan
BTW, noCookies=false in my server.xml. Thanks, R. -Original Message- From: Roland Chan [mailto:[EMAIL PROTECTED]] Sent: May 29, 2002 1:28 PM To: 'Struts Users Mailing List' Subject: RE: Action classes/Form based authentication/ EJBs Okay, I turned on my "prompt before adding cookies" i

RE: Action classes/Form based authentication/ EJBs

2002-05-29 Thread Roland Chan
Okay, I turned on my "prompt before adding cookies" in my browser and it appears that during form-based authentication a cookie is never being saved to my clients browser. Can anyone provide any sort of guidance here? Thanks, R. -Original Message- From: Struts Newsgroup [mailto:@[EMAIL

RE: Having a preselected option in dropdown.

2002-05-29 Thread Sri Sankaran
Of course your 'optionValues' collection must have an item called 'Item 2'. BTW: The form bean 'selectedItem' value should read 'Item 2'. Sri -Original Message- From: Sri Sankaran Sent: Wednesday, May 29, 2002 1:19 PM To: 'Struts Users Mailing List' Subject: RE: Having a preselected op

Re: New to Struts

2002-05-29 Thread Jeff_Mychasiw
Thanks James, maybe I will throw this question on the Forte List... just for fun. :) James Holmes <[EMAIL PROTECTED]> on 05/29/2002 12:15:55 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> cc: Subject: Re: New to S

RE: Having a preselected option in dropdown.

2002-05-29 Thread Sri Sankaran
-- JSP Code -- -- Form Bean -- String selectedItem = "Single 2"; This will result in a drop-down with 'Item 2' selected. Hope that helps Sri -Original Message- From: Harjeet Singh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 12:07 PM To: [EMAIL PROTECTED]

Re: New to Struts

2002-05-29 Thread James Holmes
The functionality should be available to both Forte and NetBeans since both are built on the same foundation. Basically we are working on a "Struts Support" module that has tighter integration of Struts Console into the IDEs as well as other functionality. Once things are working you'll be able

logic:iterate and multiple selections

2002-05-29 Thread Dan Rasmussen
Hi All, I have an existing application that uses the logic:iterate tag to display a table of editable/deletable "elements" based on a collection of beans. I have been tasked with adding checkboxes to each row so that multiple selections can be made and operated on (e.g. delete multiple elements

Re: New to Struts

2002-05-29 Thread Jeff_Mychasiw
"I'm working with some folks at Sun to bring better Struts support into both of these IDEs. This should add alot of needed development support tools." Just curious about this... I assume that this would available as a plugin as well? long shot How soon would we see this type of thing for

Re: New to Struts

2002-05-29 Thread James Holmes
Forte CE and NetBeans are good tools for working with Struts. Currently the Struts Console plugs into both of the IDEs. Struts Console: http://www.jamesholmes.com/struts/ I'm working with some folks at Sun to bring better Struts support into both of these IDEs. This should add alot of needed de

RE: Design Advice - Relational Databases & Java Objects

2002-05-29 Thread Jerome Jacobsen
Have you looked at these opensource projects? JBoss http://www.jboss.org/ OpenEJB http://www.openejb.org/ Castor JDO http://castor.exolab.org/ ObjectRelationalBridge http://objectbridge.sourceforge.net/ As for (1) I would have the business objects throw exceptions. I would have the Struts Actio

Re: Help: Problems attempting to migrate to nightly build from 1.0.2

2002-05-29 Thread Dan Rasmussen
For those that may be interested: As you may recall I was attempting to install the struts-example webapp on my existing tomcat 3.2.2 deployment (yes, its 3.2.2 rather than 3.2.3) and was getting class not found errors (for classes that are in struts.jar). How I resolved it: Migrated to tom

Re: Design Advice - Relational Databases & Java Objects

2002-05-29 Thread Kevin . Bedell
Adam - Have you looked at Torque from the Jakarta Tubine project? I haven't used it but have heard good things about it. It provides an ability to perform O/R mapping using an XML configuration file - and (as I understand) it creates Java files for you that implement a peristence layer. FWIW

Re: Design Advice - Relational Databases & Java Objects

2002-05-29 Thread Jin Bal
IMHO It's better that any db access layer does not know "how" to get a database connection, it just gets given them by the client calling it. This way if you need to change the way you grab db connections the db access layer is none the wiser and no code changes are needed Jin - Original Me

Design Advice - Relational Databases & Java Objects

2002-05-29 Thread Adam Hardy
Hi All, I saw this thread in the archives and I thought I'd pinch the title. I've spent this afternoon surfing the web looking at stuff on Sun, Jakarta and lots of smaller sites looking for a ready-made data access layer package but I take it there isn't an open-source one out there. Obvious

RequestProcessor#processRoles

2002-05-29 Thread struts-user
I'm about to invent some kind of user roles scheme, and I notice that RequestProcessor has a method named "processRoles" that runs "getRoleNames" on the passed ActionMapping. ActionMapping (via its ancestor, ActionConfig) stores these roles in a property named "roles". These sound like they a

RE: New to Struts

2002-05-29 Thread Brad Rhoads
I've been using Forte CE w/ struts 1.0. Works OK, but I haven't gotten the debugger going yet. And I have the .java & .class files in the same directories. I know you can set up to compile to different directories, but I haven't taken the time to figure it out yet. -Original Message- From

New to Struts

2002-05-29 Thread Vincent Stoessel
Hello, I have been using forte CE as my main IDE for developing my java and jsp applications. The concept behind struts sounds great as I want to move toward a more standand templates/framework for my web based applications. My taglib experience has been very small and my EJB experience is stil

Having a preselected option in dropdown.

2002-05-29 Thread Harjeet Singh
How can I define a pre-selcetd option for the dropdown. I know there should be a way for it, but try as I migth I am not able to find how. Could someone provide me a sample peice of code for same. Thanks in advance. -- To unsubscribe, e-mail: For additional command

Re: 'm*n' no of dynamic Text boxes in form Bean ???????

2002-05-29 Thread Jonathan Fuerth
On Thu, May 23, 2002 at 05:10:19PM -0400, Boyalla, Raveendra wrote: > I have variable no of rows and variable no of columns of text boxes. > > So ActionForm should be able to store them in Arrays in Array . > > I can not use a simple Array in ActionForm. > It should be an Arrays in Array. > Does

Re: redirect="true" mappings with Websphere 4

2002-05-29 Thread Hertzel Karbasi - OPTinity eBusiness Solutions
Hi I have encountered the same situation and changed the following lines (See // Hertzel Tags) in org.apache.struts.action.RequestProcessor.processActionForward protected void processActionForward(HttpServletRequest request, HttpServletResponse response, ActionForward forward) throws IOException

Re: Best Struts Code Gen tool

2002-05-29 Thread James Holmes
The Struts Console is very popular for managing the Struts config files. There have been close to 12,000 downloads already. Synthis’ Adalon software is well suited to designing Struts-based applications and then generating code from the design. Emmanuel Boudrant’s tools are good for churning ou

RE: CachedRowSet vs Collection of ValueObject

2002-05-29 Thread Chen, Dean (Zhun)
Is CachedRowSet performant? I read here: http://developer.java.sun.com/developer/Books/JDBCTutorial/chapter5.html "A CachedRowSet class-a disconnected rowset that caches its data in memory; not suitable for very large data sets, but an ideal way to provide thin Java clients, such as a Personal D

Best Struts Code Gen tool

2002-05-29 Thread Sundaram Ramasamy
Hi, I see list of Struts Code generation tools. But I want to know wich one is best to generate Action and From Class, struts-config.xml files and JSP file. Also want to access the data from g JBOSS aplication server. Thanks -SR -- To unsubscribe, e-mail: For ad

Re: Tags generating custom tags

2002-05-29 Thread Tim Sawyer
I've been having a look at the source for , to see if I can reuse or replicate it. I don't understand which bit of code adds the session ID to the URL, can anyone enlighten me? ta, Tim. Tim Sawyer <[EMAIL PROTECTED]> wrote : > Hello. > > I'm trying to write a generic progress bar for my si

Re: CachedRowSet vs Collection of ValueObject

2002-05-29 Thread @Basebeans.com
Subject: Re: CachedRowSet vs Collection of ValueObject From: Vic C <[EMAIL PROTECTED]> === When people use a the old ResultSet API (instead of the newer RowSet API) they need a collection to store rows. You can avoid creating collecion and the garbage collection and the meta data about the col

Re: Why separate form bean to collect form data?

2002-05-29 Thread @Basebeans.com
Subject: Re: Why separate form bean to collect form data? From: Vic C <[EMAIL PROTECTED]> === Right on JM. MVC, Modular, light weight. That is Struts. Model should be separate and unit testable. James Mitchell wrote: > Hi Norman, > Yes this is possible, but it defeats (in part) the goals of MVC.

Re: Best way to forward to login, then re-forward to originally requested

2002-05-29 Thread @Basebeans.com
Subject: Re: Best way to forward to login, then re-forward to originally requested From: Vic C <[EMAIL PROTECTED]> === This question should never come up. :-) It is a bad practice to use Struts or anything for JAAS, other than JAAS. The sample Struts app should not be Login. You should develop

Re: Want ActionForward to be ignored, just using HttpServletResponse

2002-05-29 Thread Jin Bal
Returning null will acheive the effect that you desire HTH Jin - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 29, 2002 3:46 PM Subject: Want ActionForward to be ignored, just using HttpServletResponse > I have an Action subclass that will be

Want ActionForward to be ignored, just using HttpServletResponse

2002-05-29 Thread struts-user
I have an Action subclass that will be called from an applet. I just need the Action class to serialize objects to the client using the HttpServletResponse object. So, I basically want my returned ActionForward to be ignored. How can I do this? Can I return null? I have only used Struts to ret

Re: redirect="true" mappings with Websphere 4

2002-05-29 Thread Nicolas De Loof
same behaviour ... > > What happens if you take the slash out of the path? ie path > ="otherAction.do" > > > > > "Nicolas De Loof" <[EMAIL PROTECTED]> on 05/29/2002 06:28:35 AM > > Please respond to "Struts Users Mailing List" > <[EMAIL PROTECTED]> > > To: "Struts Users Mailing List" <[EM

Re: redirect="true" mappings with Websphere 4

2002-05-29 Thread Raffy_Lata
What happens if you take the slash out of the path? ie path ="otherAction.do" "Nicolas De Loof" <[EMAIL PROTECTED]> on 05/29/2002 06:28:35 AM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> cc: Subject: redirect=

Re: Best way to forward to login, then re-forward to originally requested resource?

2002-05-29 Thread Charles Brault
This question seems to come up frequently, probably should be in a FAQ. Using Servlet Filters is one approach. If you are using Struts 1.1 (in 1.0.2 it's slightly different), and want to use a Struts approach, try the following. I have an application that requires everyone to log in and certai

RE: Best way to forward to login, then re-forward to originally requested resource?

2002-05-29 Thread Tero P Paananen
> Well, let's say for the sake of argument, that it's not > authentication we're talking about. Let's say, instead, > that in order to perform some Action B, > some other Action A must be done first. However, doing A does not > necessarily mean you'll do B next. What's the best way to > "rememb

redirect="true" mappings with Websphere 4

2002-05-29 Thread Nicolas De Loof
Hi, My application (based on Struts 1.0.2) uses the context "greco", and I have some Actions with forward defined like this with a redirect flag : On websphere 4.0.2, I get a curious behaviour : When a browser calls http://www.myserver.com/greco/oneAction.do I'm redirected to h

Re: ServletException with Nested Taglib and Template Taglib in Struts 1b1

2002-05-29 Thread Arron Bates
What's the servlet container you're using (and what's the servlet/JSP spec does it run)?... JSP 1.1 doesn't like includes inside tags, JSP 1.2 container should be fine. Arron. DEZALAY david - SOP ( [EMAIL PROTECTED] ) wrote: >Hi all, > >I'm trying to use Nested and Template taglibs in Strut

Re: No tag?

2002-05-29 Thread Arron Bates
Because you have to manage the keys yourself, there's no automation to it. They're not locked in to using beans and their properties, which is what the nested tags are all about. The nested tags only extend the tags which can benefit from the nested context. The errors tag is the same way, and

BeanUtils.populate() throws IllegalArgumentException for indexed String properties.

2002-05-29 Thread Jerome Jacobsen
Got no answer on this one from commons-dev mailing list. Can someone here can help? --- Maybe I'm misunderstanding BeanUtils.populate, but shouldn't this work! The exception says IllegalArgumentException: type mismatch Tried this with both BeanUtils

Re: Action classes/Form based authentication/ EJBs

2002-05-29 Thread Dejan Bosanac
Hi, - "basic" or "digest" authorization is HTTP-based authorazition. It's situation when browser pops up a dialog box for user to enter username and password for that domain. Server checks wheater authorization data (it's word "basic" followed by base64 encoded string (username:password)) are in r

ServletException with Nested Taglib and Template Taglib in Struts 1b1

2002-05-29 Thread DEZALAY david - SOP ( [EMAIL PROTECTED] )
Hi all, I'm trying to use Nested and Template taglibs in Struts R1B1. It seems it doesn't work together. I have a ServletException in the DoEndTag() method of Insert Tag (Template taglib). If I remove my template stuff in my JSPs (I keep Nested stuff only), it works propertly. Is there someone w

Re: Action classes/Form based authentication/ EJBs

2002-05-29 Thread Adam Hardy
Pardon my ignorance please but what is basic authentication and form-based authentication? You were talking about sessions and URL rewriting and I thought I knew all about that. What is the auth header from the browser? Is this container managed ? Thanks Adam Struts Newsgroup (@Basebeans.com

Tags generating custom tags

2002-05-29 Thread Tim Sawyer
Hello. I'm trying to write a generic progress bar for my site. I will be implementing it as a custom tag on the page, which then renders in the browser as the HTML required for the links. I've just realised that what I want to generate is tags, but that won't work will it? Won't I have to

Urgent :problem redirecting the page

2002-05-29 Thread siraj
hello everybody , i am facing one problem while redircting a page. i have many links in my page with diffrent levles say category1,category2 whenever i click on any link i am passing the level and oid as parameter and the page will be refreshed. while refreshing i am also loading one more

Re: Best way to forward to login, then re-forward to originallyrequestedresource?

2002-05-29 Thread Reinhard Nägele
Save mapping in session and go to login page: session.setAttribute(REDIRECT_KEY, mapping); return mapping.findForward("login"); In your login action, check if a mapping is in the session and go there: ActionMapping redirectMapping = (ActionMapping) session.getAttribute(REDIRECT_KEY); i

ResoruceClass instead of Propertiesfile

2002-05-29 Thread mhanel
Is there a possibility to use ResourceClasses instead of ResorucePropertiesfieles? Thanks Matthias Hanel Matthias Fachinformatiker (Anwendungsentwicklung) in Ausbildung Logistik World GmbH Fon:

No tag?

2002-05-29 Thread Rick Mann
It seems that is left out. Is this the case? If so, why? TIA, -- Rick -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Best way to forward to login, then re-forward to originallyrequested resource?

2002-05-29 Thread Kevin Henrikson
I'm looking at the same problem now as well. I'm looking into the possibility of using a Servlet Filter. So every request JSPs, Actions, and even images will be checked for auth. Basically see if a session is there and valid otherwise forward to a login page. Has anybody else tried this? -kev

which datatype best for Javabean datetime for use in struts ?

2002-05-29 Thread Stephen Riek
I really like the method of auto-filling Javabeans from ResultSets described by Ted Husted in the earlier thread "Re: Performance, Reflection, and Object Creation vs. Cacheing". http://www.mail-archive.com/struts-user@jakarta.apache.org/msg14397.html However, my Javabeans currently use the L

RE: Best way to forward to login,then re-forward to originally requested resource?

2002-05-29 Thread Alex Paransky
Rick, I recently had a similar problem. Using J2EE security, I was not sure how to "detect" a user login. After all, a user can go into ANY protected page, and I did not want to put the same tag in to EVERY single .JSP page that was protected. The solution, at least in my case, came in a form

Re: Tiles, Tomcat 4.0.3 - Bill wins?!

2002-05-29 Thread Cedric Dumoulin
Hello, We have find a trick allowing Tiles examples run on Solaris. The latest Tiles version allows a default vale for the faulty attribute 'classtype' in . So, it is possible to remove all these attributes from config files, and Tiles should run fine. But, you still not be able to use the

Re: R: validator generated HTML code

2002-05-29 Thread Adolfo Miguelez
Thanks David, I made it work and it is fine. We have a different file for static javascript. However I still wonder one question about validator-rules.xml scope file and static javascript file. We think that the idea would be to have a unique validator-rules.xml for the full set of webbapps,

Re: R: Brain Teaser

2002-05-29 Thread Arron Bates
Daniele's right, but to make things a little clearer than tag semantics... In web.xml, there's a servlet mapping "url-pattern" attribute which tells the servlet to throw things onto the Struts servlet, of which we tell it to react a certain way via struts-config.xml. The action-mapping path in

Re: Struts 1.1 multiple config doubt by radhika

2002-05-29 Thread Cedric Dumoulin
Hello, According to your configuration file web.xml, your sub-application struts config file should be at /WEB-INF/struts-config-appl2.xml. Also, pages files for your sub-application should be in a subfolder called "appl2" in the root directory of your main application. You don't need a

Re: Higher level tags

2002-05-29 Thread Dejan Bosanac
Hi Jin, Thanks for the answer. I know I could write it on my own, I just don't won't to go out of the main development stream or reinventing the wheel. I couldn't find such a tag in jakarta taglib, but I will look again. Regards, Dejan > You could write a custom tag to do just this as I have done

Re: Best way to forward to login, then re-forward to originallyrequested resource?

2002-05-29 Thread Rick Mann
on 5/28/02 11:59 PM, Adam Hardy at [EMAIL PROTECTED] wrote: > I wouild save the form bean and a mapping or action forward in the > session, and collect them when the in-between task is finished. Yeah, I was thinking of that, too. Okay, so here's the struts-specific problem: how do I get the nam

Re: Action classes/Form based authentication/ EJBs

2002-05-29 Thread @Basebeans.com
Subject: Re: Action classes/Form based authentication/ EJBs From: Torgeir Veimo <[EMAIL PROTECTED]> === Roland Chan wrote: > Hi There, > > Using BASIC authentication my action classes work like a charm. However, > when I switched to form based authentication calls to secured EJBs > present an "

Re: Higher level tags

2002-05-29 Thread Jin Bal
You could write a custom tag to do just this as I have done, which accepts date objects or strings for the individual field names. Alternatively there is a calender taglib in the jakarta taglibs I believe HTH Jin - Original Message - From: "Dejan Bosanac" <[EMAIL PROTECTED]> To: <[EMAIL

R: Brain Teaser

2002-05-29 Thread daniele rizzi
That's easy! It's not a file, just a name to be called in bye, d.rizzi -Messaggio originale- Da: Chris Cairns [mailto:[EMAIL PROTECTED]] Inviato: mercoledi 29 maggio 2002 9.23 A: [EMAIL PROTECTED] Oggetto: Brain Teaser Could someone explain to me what the path attribute for the acti

Higher level tags

2002-05-29 Thread Dejan Bosanac
Hi, Are there any plans within struts project for making higher level tags in taglib, e.g. calendar tag that prints out three select boxes automatically or something similar. Could anyone please point me to resources about this topic or some alternative solutions that can be integrated with strut

RE: Brain Teaser

2002-05-29 Thread Andrew Hill
My understanding is that its anything you can forward to - ie: jsp, servlet, another action -Original Message- From: Chris Cairns [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 15:23 To: [EMAIL PROTECTED] Subject: Brain Teaser Could someone explain to me what the path attribut

Brain Teaser

2002-05-29 Thread Chris Cairns
Could someone explain to me what the path attribute for the action mappings element is for? I know it's the path of the action, but what sort of file is it? jsp? -- To unsubscribe, e-mail: For additional commands, e-mail: