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

2002-05-28 Thread Adam Hardy
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. Rick Mann wrote: >on 5/28/02 5:19 PM, Alex Paransky at [EMAIL PROTECTED] wrote: > > > >>Why not use J2EE/WEB standard container authentication? It will do what y

Struts 1.1 multiple config doubt by radhika

2002-05-28 Thread Radhika Nadkarni
Hi, I have a problem related to configuring multiple struts config file in Struts 1.1. The following is the code snippet added in web.xml :- config /WEB-INF/struts-config.xml config/appl2 /WEB-INF/struts-config-appl2.xml I have put the two config fi

RE: Cannot find ActionMappings or ActionFormBeans collection

2002-05-28 Thread Adrian Brown
1. Check for ampersands (&) is your struts-config.xml file or other problems in your struts-config.xml file. 2. Remove them. Worked for me, good luck. --- Harinath <[EMAIL PROTECTED]> wrote: > When the Exception "javax.servlet.jsp.JspException: > Cannot find > ActionMappings or ActionFormBean

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

2002-05-28 Thread Rick Mann
on 5/28/02 5:19 PM, Alex Paransky at [EMAIL PROTECTED] wrote: > Why not use J2EE/WEB standard container authentication? It will do what you > want. In fact, it was designed to do what you want, which is called Lazy, > or just in time, authentication. The user can surf your page, however, when

RE: Use of custom convertors

2002-05-28 Thread James Mitchell
I think that what Jerome meant is "all accessed properties"meaning if nested or even recursively nested, the same applies. the getXXX() and setXXX() should always be String. James Mitchell > -Original Message- > From: Don Saxton [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 28, 20

Re: Use of custom convertors

2002-05-28 Thread Don Saxton
Actually I don't think that is sufficient. Consider an object which is a recursive tree. - Original Message - From: "Jerome Jacobsen" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, May 28, 2002 10:25 AM Subject: RE: Use of custom convertors > The

using Validation, make field required only if another is checked?

2002-05-28 Thread Rick Reumann
I'm using the Struts Validator in 1.02 and need to make sure an option is selected from a drop down only if a particular radio button is checked as "yes". I've looked over the documentation at http://home.earthlink.net/~dwinterfeldt/overview.html and was wondering if there is a way I could accompl

RE: Why separate form bean to collect form data?

2002-05-28 Thread James Mitchell
Hi Norman, Yes this is possible, but it defeats (in part) the goals of MVC. The closest thing to what you want may be to use the DynaActionForm class. That way you can just define the field(s) in the struts-config and use then as you would any normal ActionForm in your jsp. James Mitchell > --

Re: Why separate form bean to collect form data?

2002-05-28 Thread Chuck Cavaness
Ryan, If you're using 1.1B, look into the Dynamic forms. Along with the validator, this is probably your best bet. Chuck At 05:00 PM 5/28/2002 -0700, you wrote: >Hi, > >I am Norman. > >Instead of creating a new form bean for each form, can we create a generic >form class that can collect all

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

2002-05-28 Thread Alex Paransky
Why not use J2EE/WEB standard container authentication? It will do what you want. In fact, it was designed to do what you want, which is called Lazy, or just in time, authentication. The user can surf your page, however, when he links to a protected item, a login page (of your choosing) will be

Why separate form bean to collect form data?

2002-05-28 Thread Ryan Norman
Hi, I am Norman. Instead of creating a new form bean for each form, can we create a generic form class that can collect all the data in a form? Using methods in the request object through which we can find all the control names and their values or a definition that identifies form data to be cop

CachedRowSet vs Collection of ValueObject

2002-05-28 Thread vivek shrivastava
Hi, Following question may sound stupid but this is something I just thought of it. Can we use a helper class (Let's say HelperDB) which has "CachedRowSet" as a private member of that helper class instead of using a collection of ValueObject? I am thinking of using this helper class in EmpFo

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

2002-05-28 Thread Rick Mann
I've got a typical struts application up and running. Certain actions check to see if the user is logged in, and if not, forward to a login JSP. That JSP then posts to a LoginAction. The LoginAction then forwards back to the originally requested action. The problem I have is that currently, this

Re: ServletException

2002-05-28 Thread Michael Welter
Thank you very much for your guidance. My ApplicationResources parameter in web.xml was incorrect. - Original Message - From: "Pruthee, Ranjan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, May 28, 2002 3:43 PM Subject: RE: ServletException che

RE: ServletException

2002-05-28 Thread Kevin . Bedell
I agee here. This is an error generally indicating that the ApplicationResources.properties file has a problem. I would assume there was a problem loading it - check your servlet log for an error to this effect. If you've determined that it is there and on the class path and loads correctly -

RE: ServletException

2002-05-28 Thread Pruthee, Ranjan
check and see if u have ApplicationResource.properties in your workspace and is pointing to the right directory structure.. -Original Message- From: Michael Welter [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 28, 2002 4:41 PM To: [EMAIL PROTECTED] Subject: ServletException I'm getting

ServletException

2002-05-28 Thread Michael Welter
I'm getting: 'Cannot find message resources under key org.apache.struts.action.MESSAGE' When I try to display my index.jsp page. Has anyone else seen this. Thanks. -- To unsubscribe, e-mail: For additional commands, e-mail:

Re[4]: In regard to....Re: DAO- BO in Struts

2002-05-28 Thread Rick Reumann
On Tuesday, May 28, 2002, 4:35:35 PM, Ranjan wrote: PR> To be more clear with DTO and its usage check this - PR> http://www.martinfowler.com/isa/dataTransferObject.html. Actually that's the resource I looked at and he mentions how some use the term ValueObject to represent what he is ca

RE: Re[2]: In regard to....Re: DAO- BO in Struts

2002-05-28 Thread Pruthee, Ranjan
To be more clear with DTO and its usage check this - http://www.martinfowler.com/isa/dataTransferObject.html. U might want to check on the J2EE pattern called ValueObjectAssembler. -Ranjan -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 28, 2002 3:31

Re[2]: In regard to....Re: DAO- BO in Struts

2002-05-28 Thread Rick Reumann
On Tuesday, May 28, 2002, 2:35:31 PM, Ranjan wrote: PR> U can pass VO from PR> the BO functions to the DAO. U are right that passing the values PR> in the functions as u have done below is not the recommended PR> practice. U can make ur VOs as updatable VOs which will accept PR> data both ways fr

Re: R: validator generated HTML code

2002-05-28 Thread David Winterfeldt
It makes it very difficult to debug the JavaScript when all whitespace is stripped out. The best thing to do if you are concerned about the extra download size of the web page (I am assuming this is the concern) is to make a separate page for the generic JavaScript functions. There is an example

Action classes/Form based authentication/ EJBs

2002-05-28 Thread Roland Chan
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 "authentication exception, principal=null error". This is strange only because I know the principal exists and was authenticated. Wha

RE: In regard to....Re: DAO- BO in Struts

2002-05-28 Thread Pruthee, Ranjan
Are u using EJBs or pure JAVA DAOs? If you are using EJBS, then u should not pass the actual beans and thats why Value Objects are used. Multiple calls to EJBs should be avoided. U can pass VO from the BO functions to the DAO. U are right that passing the values in the functions as u have done

Re: In regard to....Re: DAO- BO in Struts

2002-05-28 Thread Rick Reumann
On Tuesday, May 28, 2002, 1:58:27 PM, Rick wrote: RR> BO RR> [ has method doInsert( DTO myDTO ) which here I would strip RR> out what I need from the DTO and then call the appropriate RR> DAOs and methods. For example: RR> EmployeeDAO.insertEmployee( m

Re: char value 0 appended to form values

2002-05-28 Thread Kevin . Bedell
Seems like I've seen issues where a form bean has a property of a numeric type and this happens. It's because (as I recall) the form bean is initialized to "0" (the number) and a String conversion occurs prior to display. Solution was to make sure any property being displayed was of type Strin

Re: [ANNOUNCE] Struts Wizard Beta for ECLIPSE v2.0

2002-05-28 Thread emmanuel.boudrant
How did you install the plugin, have you got this directory structure [eclipse_dir]/plugins/com.cross.wizard.struts/plugin.xml. That's very strange because I make the plugin on same eclipse build. -Emmanuel Will Jaynes <[EMAIL PROTECTED]> a écrit : I'm useing Eclipse build 20020521, but afte

In regard to....Re: DAO- BO in Struts

2002-05-28 Thread Rick Reumann
Ranjan and company, If you don't mind I have a couple questions about this list Ranjan proposed. After this list I have posted my questions/comments: PR> 1. Client sends HTTP request PR> 2. Struts delegates request to ShowCustomersAction PR> 3. ShowCustomersAction delegates to CustomerBO PR>

RE: char value 0 appended to form values

2002-05-28 Thread James Mitchell
Have you stepped through the source code to pinpoint the class and line number? If you want to give me a snip of your html output, I can do a dry-run for you. James Mitchell > -Original Message- > From: Struts Newsgroup [mailto:@[EMAIL PROTECTED]] > Sent: Tuesday, May 28, 2002 1:10 PM >

RE: Use of custom convertors

2002-05-28 Thread Jerome Jacobsen
The "best practice" for form beans is that all properties be Strings. Your Action can do the conversion both ways. For the request it converts the String to the type expected by the business object. For the response it converts the business object's type to the String to be set on the form bean

Re: Use of custom convertors

2002-05-28 Thread keithnielsen
Ok I may be missing something as I am brand new to struts. Why would we not want to use the same mechanism for "getting" properties as we do for "setting" properties? Why wouldn't the framework determine the type of the source and call the appropriate converter in order to create the appropriate

char value 0 appended to form values

2002-05-28 Thread @Basebeans.com
Subject: char value 0 appended to form values From: "Rob Breeds" <[EMAIL PROTECTED]> === This is a long shot but I've noticed recently that my requests are intermittently having an additional char (value 0) appended to parameters. Even when I submit a form with an empty text field, the String pa

Re: Struts Validator

2002-05-28 Thread Fernando Esteban Barril Otero
When I put the dynamic attribute in the form-bean tag it worked. Thanks Chuck! This is the configuration that I'm using: --- in struts-config.xml --- ... ... --- in validator.xml --- Hope this

Re: Repopulating data between forms.

2002-05-28 Thread Ted Husted
It's a whole new request after the page renders since that completes the request/response cycle. But the part where an ActionForward sends you back to the list page should be part of the same request/response. Unless redirect has been set to true, in which case a response is sent out to the browse

Re: Use of custom convertors

2002-05-28 Thread Ted Husted
Personally, I'd do the conversions in the JavaBean and leave the tags out of it. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services [EMAIL PROTECTED] wrote: > > I am writing custom conve

On a Tangent, Connection Pooling for UDB/400

2002-05-28 Thread hemant
Good Morning Comrades Pardon me for posting this post on a Struts group. This message is on a tangent as it discusses connection pooling and connections to UDB/400. I simply cound not resist it, I definitely know there are a quite a few of us who have faced this problem hence, requesting the

RE: validator generated HTML code

2002-05-28 Thread Kevin Henrikson
> -Original Message- > From: Adolfo Miguelez [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 28, 2002 7:25 AM > To: [EMAIL PROTECTED] > Subject: validator generated HTML code > > > I suppose, I should only get the necessary functions for my validation, in > my case function validateRequir

Use of custom convertors

2002-05-28 Thread keithnielsen
I am writing custom converters which BeanUtils will use to do conversions from request data to form bean. It appears however that on the return path that none of the tags actually use BeanUtils, and as such my converter is only used in one direction. Is my understanding of this correct? If so how

Re: Struts Validator

2002-05-28 Thread Raffy_Lata
There's an entry in the dev mailing list (see link below) that talks about the NPE for the DynaValidatorForm. http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg06269.html I don't know if this has been fixed, but I'm also getting the same problem even with the latest nightly build

Forward + parameter

2002-05-28 Thread Damien VIEL
Hi all, Is it possible to set a forward like this in the struts-config.xml ? And then, call from the perform method in the Action Class other customPerform method like following : import ...; public final class AddCompanyAction extends Action { public ActionForward perform(

Action classes/Form based authentication/ EJBs

2002-05-28 Thread Roland Chan
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 "authentication exception, principal=null error". This is strange only because I know the principal exists and was authenticated. Wha

Re: R: validator generated HTML code

2002-05-28 Thread Adolfo Miguelez
however, if, as you say, all are loaded in bundle, is this not overhead for the web server, since HTML generated pages are much conger. Could not this be optimized in validator framework? Just a sugestion, regards and thanks, Adolfo. >From: "Adolfo Miguelez" <[EMAIL PROTECTED]> >Reply-To: "

Re: R: validator generated HTML code

2002-05-28 Thread Adolfo Miguelez
cheers daniele >From: "daniele rizzi" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >Subject: R: validator generated HTML code >Date: Tue, 28 May 2002 16:38:15 +0200 > > >Hi, >you're not the only one studying t

R: validator generated HTML code

2002-05-28 Thread daniele rizzi
Hi, you're not the only one studying this stuff! As far as I may know (after 3 days & nigths of hard work) the answers are: ---q1 --Can I get rid of the other functions? No, they're loaded in bundle, but you can always get into the validator-rule.xml and remove what you don't like ---q2 --i no

validator generated HTML code

2002-05-28 Thread Adolfo Miguelez
Hi All, i have been checking the validator framework and i have some issues for yuo. First a, probably silly, question. I place in my JSP: onsubmit="return validateLoginForm(this);" in the and . The result is that I am getting all the javascript functions present in my valida

Re: [ANNOUNCE] Struts Wizard Beta for ECLIPSE v2.0

2002-05-28 Thread Emerson Cargnin - MSA
> > does it generate struts 1.1??? (don't appear in the combo of struts > >versions) > Not yet > >it could be a good idea to make it use xdoclet tags instead of > generating > >directly struts-config.xml... > > Can you explain what is xdoclet XDoclet (http://xdoclet.sourceforge.net/) is a code gen

Re: HELP : SetAttribute & Logic

2002-05-28 Thread Damien VIEL
Hi all, After run the Action under debug mode in Eclipse, I can say that my ArrayList has been well seted in the request object. So I have modified my mapping and make the forward directly on the following JSP : <%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-

RES: Cannot find ActionMappings or ActionFormBeans collection

2002-05-28 Thread Gilson Nascimento D Elrei
If your form tag and path it's ok on struts-config.xml, try to check for existence of the another struts.jar on directories present on your CLASSPATH (if you didn't do it before). Attention for jsdk..\jre\lib\ext directory that is "classpath implicit" for java vm). I had this same problem before

Re: [ANNOUNCE] Struts Wizard Beta for ECLIPSE v2.0

2002-05-28 Thread emmanuel.boudrant
> does it generate struts 1.1??? (don't appear in the combo of struts >versions) Not yet >it could be a good idea to make it use xdoclet tags instead of generating >directly struts-config.xml... Can you explain what is xdoclet >it looks like a bug when setting properties, couldn't set the prop

RE: JSP + struts taglibs

2002-05-28 Thread James Mitchell
Yes, I tend to break apart large forms into a wizard-like series of pages. Especially if one control depends on the selection of a prior one. This will allow you better separate the steps involved in a process and usually speeds up the response time (due to the reduced # of tags). If you are bei

Re: [ANNOUNCE] Struts Wizard Beta for ECLIPSE v2.0

2002-05-28 Thread Emerson Cargnin - MSA
does it generate struts 1.1??? (don't appear in the combo of struts versions) it could be a good idea to make it use xdoclet tags instead of generating directly struts-config.xml... it looks like a bug when setting properties, couldn't set the properties... I'm using 2.0 M1 eclipse - Origin

nested library use with javascript

2002-05-28 Thread simon
Hi, I'm trying to reference the name property of a nested form element, for use in a link that points to a javascript function, e.g. add link add link add link i want to put the "features[n].link.linkContent.image.uri" into the href, via something like , has anyone come up with an elegan

RE: JSP + struts taglibs

2002-05-28 Thread Harinath
James, I have got somewhere around 40 tags in my screen. Was thinking if it might cause performance problems. Though the actions are faster and data is ready in the action class, it taks a while to push data to the browser. Is there any other option to optimise it, retaining struts taglibs. Tha

Re: [ANNOUNCE] Struts Wizard Beta for ECLIPSE v2.0

2002-05-28 Thread Will Jaynes
I'm useing Eclipse build 20020521, but after the install and restart no "Jakarta Struts" shows under the "New" menu. ??? emmanuel.boudrant wrote: > Hi, > All the Eclipse plugins are in the plugins directory so extract the archive in your >[eclipse]/plugins directory, the directory structure m

RE: JSP + struts taglibs

2002-05-28 Thread James Mitchell
Yes, The form bean is in the scope that you have set (struts-config or from your action), use it as you would without any taglibs. Although, your code will by much cleaner if you stick to the struts taglibs. James Mitchell > -Original Message- > From: Harinath [mailto:[EMAIL PROTECTED]

RE: Cannot find ActionMappings or ActionFormBeans collection

2002-05-28 Thread Harinath
Yes, the form tag and the path attribute in struts-config.xml match. Thanks, Hari -Original Message- From: Abhishek Goel [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 28, 2002 6:19 PM To: Struts Users Mailing List Subject: Re: Cannot find ActionMappings or ActionFormBeans collection hi

JSP + struts taglibs

2002-05-28 Thread Harinath
Can a JSP access data in a action form without using struts taglibs. Regards, Hari -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: Cannot find ActionMappings or ActionFormBeans collection

2002-05-28 Thread Abhishek Goel
hi , check whether the action that you are using for the form tag in jsp matches with the path attribute of the action tag in strutsconfig.xml. it may be one of the reasons for error. regards abhishek. Harinath wrote: > When the Exception "javax.servlet.jsp.JspException: Cannot find > ActionMap

RE: Cannot find ActionMappings or ActionFormBeans collection

2002-05-28 Thread Harinath
When the Exception "javax.servlet.jsp.JspException: Cannot find ActionMappings or ActionFormBeans collection" was thrown on my browser, the following exception was logged in the log file. javax.servlet.UnavailableException: Parsing error processing resource path /WEB-INF/struts-config.xml

Re: [ANNOUNCE] Struts Wizard 1.0.1 .... NullPointerException fixed

2002-05-28 Thread Damien VIEL
It's working (Ca marche !!) Dams - Original Message - From: "emmanuel.boudrant" <[EMAIL PROTECTED]> To: "Damien VIEL" <[EMAIL PROTECTED]>; "Struts Users Mailing List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, May 28, 2002 1:05 PM Subject: [ANNOUNCE] S

Eclipse + debug

2002-05-28 Thread Damien VIEL
Hi Mac Ferguson, Hi All I've found this thread about struts debuging with Eclipse and Tomcat. http://www.mail-archive.com/struts-user@jakarta.apache.org/msg28571.html I'm using Eclipse and I'm trying to use the debuger but I do not understand how it's working. Would You give me some explaina

example: select filled by bean

2002-05-28 Thread hans albers
Hi there. Has anybody an example for this?: A JSP-Page with a list box which is filled by the bean I know this: But I'm a little bit confused about all theese id's names and types How to handle this with beans? Please give me a simple working example (the jsp, the bean and what is need

[ANNOUNCE] Struts Wizard 1.0.1 .... NullPointerException fixed

2002-05-28 Thread emmanuel.boudrant
Hi, this update fix some bug: Changes in 1.0.1 beta (05 28 2002) NullPointerException at wizard loading fixed. Scope data not added to struts-config.xml fixed. Action not added to html:form tag fixed http://www.mycgiserver.com/~eboudrant/ -Emmanuel Damien VIEL <[EMAIL PROTECTED]

related to Multiple config. and resource files by radhika

2002-05-28 Thread Radhika Nadkarni
Hi, Im trying to use Struts 1.1 for checking out the stuff related to multiple struts-config.xml file and multiple resource file. Can anyone plzzz tell me as to how exactly the files are to placed in the server. Im using WEblogic 6.1 Thanx __

RES: Cannot find ActionMappings or ActionFormBeans collection

2002-05-28 Thread Gilson Nascimento D Elrei
Hi, Look for struts.jar. This file must to be localized on your WEB-INF\LIB from webapp container directory. If struts.jar is on another directory that doesn't is your webapp\WEB-INF\LIB and included in CLASSPATH you will probably receive this error. cheers, Gilson > - Mensagem original

Re: No input attribute for mapping?

2002-05-28 Thread Sujith Kumar S
hi, I hope this will solve your problem. Add the attributes type and input to your action tag On Tue, 28 May 2002 Aleksi Kallio wrote : > >I am trying to do a simple action mapping that creates an >approriate form bean and forwards to a JSP page that displays the >form. > >This is my mapp

No input attribute for mapping?

2002-05-28 Thread Aleksi Kallio
I am trying to do a simple action mapping that creates an approriate form bean and forwards to a JSP page that displays the form. This is my mapping: This is my form bean decl.: And this is the error I get when trying to access /createMediaDesc.do: HTTP Status 500: No input attribute

ever got a StackOverflowError calling a form?

2002-05-28 Thread daniele rizzi
Hi all, I'm rather green using Struts: to gain some experience, I've written an application using Actions & Forms, and it works until there's no validation (i.e. Validate="false" in struts-config.xml). Turning validation on, (i.e. validate="true") and putting a mock validation.xml and validator

Re: Dynamic forms again

2002-05-28 Thread Adolfo Miguelez
AFAIK, teorethically, you should be able to define the properties as String[] or ArrayList in struts-config and use dynabeans. I could do work both: 1. creating a form with dynabeans in the struts config, 2. creating an ActionForm with String[] and/or ArrayList properties, which could be used

RE: Dynamic forms again

2002-05-28 Thread Mahesh Babu J
Hi, I feel we cannot use DynaActionForm directly by extending. The source code I downloaded checks for formType="org...DynaActionForm" only. So I am not sure extending it, we would get the required behavior for dynamic properties in a DynaActionForm. Thanks, Mahesh -Original Message- F

HELP : SetAttribute & Logic

2002-05-28 Thread Damien VIEL
Hi All !! I still have a bug for several days.. I'm trying to set in the request object a Arraylist and display it on a JSP file. --- In my action class i'm doing : ArrayList proj = new ArrayList(); proj.add(new LabelValu

Dynamic forms again

2002-05-28 Thread Marcin Stański
Hi, I have a problem with dynamic forms in Struts. I use forms which content is dynamic - the number of properties (fields) and their names are taken from database and can be changed during the session. I can't use DynaActionForm, because it requires to define its properties in struts-config.xm

Re: [ANNOUNCE] Struts Wizard Beta for ECLIPSE v2.0

2002-05-28 Thread Victor Hadianto
> Hello struts, > Eclispe Struts Wizard v1.0 just released. This is Same UI like JBuilder > Wizard but with SWT. Feature : > - ActionForm, Action, input JSP and struts-config.xml generation powered by > eclipse framework. - Compatible with Tomcat plugin from Sysdeo. > - And some bugs... > Availabl

Re: [ANNOUNCE] Struts Wizard Beta for ECLIPSE v2.0

2002-05-28 Thread Damien VIEL
Hi, I'm using Eclipse Verion 2.0 Build 20020416 and I have this bug : java.lang.NullPointerException at com.cross.eclipse.wizard.struts.FirstTimePage.initialize(FirstTimePage.java: 187) at com.cross.eclipse.wizard.struts.FirstTimePage.createControl(FirstTimePage.ja va:145) at org.eclipse.jface.

Question : usage of getSession() in Struts

2002-05-28 Thread Nicolas De Loof
Hello, I noticed Struts custom tags use some code like this one to get the user session : HttpSession session = pageContext.getSession(); if (session == null)) session = ((HttpServletRequest) pageContext.getRequest()).getSession(); if (session == null) return (null); notice the

Re: [ANNOUNCE] Struts Wizard Beta for ECLIPSE v2.0

2002-05-28 Thread emmanuel.boudrant
Hi, All the Eclipse plugins are in the plugins directory so extract the archive in your [eclipse]/plugins directory, the directory structure must be : [eclipse]/plugins/com.cross.wizard.struts/ To use it, click on New... , select Jakarta Struts > Let's struts it ... and enjoy. -Emmanuel Dami

Re: [ANNOUNCE] Struts Wizard Beta for ECLIPSE v2.0

2002-05-28 Thread Damien VIEL
Nice news, How do you install the plugin in Eclipse and how do you use it ? Thanks Dams - Original Message - From: "emmanuel.boudrant" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, May 27, 2002 6:39 PM Subject: [ANNOUNCE] Struts Wizard Beta for ECL