Debugging

2001-07-24 Thread Gerald Hanks
Is there anyway to output simple debugging info to a console or something? I need something that is consistant between my struts components and the beans and stuff that contain all of my business logic. -gerald

RE: Debugging

2001-07-24 Thread Mark Schenk
-Original Message- From: Gerald Hanks [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 24, 2001 9:32 AM To: [EMAIL PROTECTED] Subject: Debugging Is there anyway to output simple debugging info to a console or something? I need something that is consistant between my struts

RE: Debugging

2001-07-24 Thread devon . bowen
Is there anyway to output simple debugging info to a console or something? I need something that is consistant between my struts components and the beans and stuff that contain all of my business logic. I'll probably get yelled at for this, but I just use System.err.println() and it works

RE: Mulitpage form support.

2001-07-24 Thread devon . bowen
When I remove the reset method, I see the behavior that I am looking for. This makes it pretty easy to do mulitpage forms. Thanks for your help. This has also tripped me up and, from the looks of the mailing list archives, many other people. It seems like a good fix would be to have an

RE: Running the example application that comes along with struts

2001-07-24 Thread devon . bowen
I have got a problem in running the example struts application. When I run my application , I get the first jsp page , i.e. index.jsp containing MailReader Demonstration Application Options, but when I click on any of the other links, I get this exception , org.xml.sax.SAXParseException:

Q: Struts with EJB's

2001-07-24 Thread Samant, Sanjay STASCO-OTO/72
Hi, I am planning to use struts as presentation framework. All of business logic resides in the form of session and entity beans. I want to initialise ejb homeobjects at the start of action servlet. Can anybody tell me to have optimum approach to do this. Thanks Sanjay Shell

Handling exceptions thrown from Action.perform in the errorpage?

2001-07-24 Thread sbt
Hey there! I have a question for you guys. When an exception is thrown in my Action derivative I want that exception to be handled by the errorpage (%@ page isErrorPage=true %). After fooling around with the web.xml file adding entries such as: error-page

Re: Baisc q 2 Cannot find message resources u/key -

2001-07-24 Thread Chuck Amadi
No i am using tomcat 3.2.2. Cheers Chuck Jon Brisbin wrote: are you using tomcat 4? i get this message in tomcat 4 with struts applications as well... it's an issue with catalina working with struts, though i can't get anyone to help me figure out what it is... Jon Brisbin -

Re: Baisc q 2 Cannot find message resources u/key -

2001-07-24 Thread Chuck Amadi
Yes my property file is located there. Cheers Chuckie. Peter Alfors wrote: Is your property file then located here ? WEB-INF/classes/helloword/HelloWorldResources.properties Pete Chuck Amadi wrote: Hi , in my wem.xml i have the following defined for the apllication

RE: Baisc q 2 Cannot find message resources u/key -

2001-07-24 Thread Satyen . Chikane
give this a try.. add the classes folder to classpath... -Original Message- From: Chuck Amadi [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 24, 2001 10:19 AM To: [EMAIL PROTECTED] Subject: Re: Baisc q 2 Cannot find message resources u/key - Hi i still get the following error

Re: Handling exceptions thrown from Action.perform in the errorpage?

2001-07-24 Thread Ted Husted
global-forwards forward name=errorpath=/errorpage.jsp/ /global-forwards return mapping.findForward(error) Will forward to the file named errorpage.jsp in the root of your Web application. If it doesn't, something else is wrong, like doPerform is not throwing the

Re: Struts + Tomcat/Apache (again)

2001-07-24 Thread Rakesh
its JkMount /*.do ajp13 remember the / this needs to be added as follows to your httpd conf. JkMount /*.jsp ajp13 JkMount /*.do ajp13 JkMount /servlet/* ajp13 Rakesh Ayilliath (Software Engineer) Synergy IT Innovations Pvt Ltd, #196, 1st Floor, 9th Cross, HMT Layout, RT Nagar Bangalore

Re: Baisc q 2 Cannot find message resources u/key -

2001-07-24 Thread Chuck Amadi
Hi, I have tried that thanks. Cheers Chuck [EMAIL PROTECTED] wrote: give this a try.. add the classes folder to classpath... -Original Message- From: Chuck Amadi [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 24, 2001 10:19 AM To: [EMAIL PROTECTED] Subject: Re: Baisc q 2

Re: Workflow impasse? New ideas.

2001-07-24 Thread Ted Husted
As it stands, the Struts ActionMappings are already very nearly workflows. To close the loop, I believe we only need a few things. 1) A way to declare prerequesite actions. 2) A way to bookmark an Action, so the workflows can be rentrant. 3) A way to declare the html:form Action path at

RE: code reuse

2001-07-24 Thread Stephen LeClair
The previous response was thought provoking and may answer my specific concerns, but I don't see my way through the issues yet. Let me be more specific so that we can dive into the issues that I face: Currently, we have developed a full featured demo with two main wizards - 1) Account

Re: How to integrate flash request into struts ...

2001-07-24 Thread Calvin Yu
Since loadVariables is an internal flash call, I imagine the problem will most likely be in flash, and not with JSPs. What you can try is to reconfigure your mappings so that *.asp will be treated as a JSP, and rename your JSP files to *.asp. If this works, it means flash (or the flash host -

Re: Forwarding/redirecting to action mappings rather than directly to JSPs

2001-07-24 Thread Jim
Matt I got my code to work by removing the mapping from the request before forwarding from my action classes with the following line request.removeAttribute(Action.MAPPING_KEY); Prior to that it seemed that the previous mapping was not being overwritten by the ActionServlet. Hope this

[answer to the question] how to access beans collected in hashtable?

2001-07-24 Thread Hartmut Bernecker
Hi, who knows how to iterate a hashtable and access its value-objects (beans with some properties)? I can reach the beans in the hashtable: logic:iterate id=element name=myhashtable property=table/ bean:write name=element property=value/ /logic:iterate But I don't know how to reach

what setters do i implement in an indexed tag ?

2001-07-24 Thread Warwick Boote
I've created a page using indexed tags (neat stuff!). Here is what is currently working for me: o If i populate the form's vector, values from that vector are displayed in the jsp Here is what it not working: o when the form is posted back, the vector is null (in the struts perform() method)

Mappings, bloody mappings

2001-07-24 Thread Aapo Laakkonen
I have problem... It might be in my understanding, but here it goes... I have these mappings: form-beans form-bean name=FundUpdateForm type=com.projectcast.sfundm.FundForm/ /form-beans global-forwards forward name=funds

Re: code reuse

2001-07-24 Thread Ted Husted
From your description, it sounds like there could be an ancestor ActionForm common to the Order and Maintenance wizards. If that were the case, each could subclass that ActionForm, and the Corporate Info Action would then refer to the ancestor class, common to both wizards. In general, an Action

Re: Baisc q 2 Cannot find message resources u/key -

2001-07-24 Thread Peter Alfors
The name of your web app is bbnpa? Then shouldn't your WEB-INF directory be located here? /bbnpa/WEB-INF Pete Chuck Amadi wrote: Hi i still get the following error message. My path is /bbnpa/helloworld/WEB-INF/classes/helloworld/HelloWorldResources.properties Any more pointers Cheers

Re: Mappings, bloody mappings

2001-07-24 Thread Ted Husted
All the local forwards I see refer to funds.do -- but I do not see an ActionMapping for funds. There is a forward for funds, but that would not map to funds.do internally. The one you have marked as also tried looks all right though. I may be a typo, but your message mentioned an

Re: Problem Orion application server with STRUTS...

2001-07-24 Thread SRadford
Yep this one happens to some deployments (not al!!) Just place the application properties file in the root of your classes directory, i.e. directly into web-inf/classes and reference it not in a sub-directory. I look forward to hearing if you come across the other problems we've hit. Sean

RE: Struts + Tomcat/Apache (again)

2001-07-24 Thread Sorenson, Alexander
This is the same problem I am having I believe. I tried adding the JkMount lines, but when I restart Apache it gives me a Syntax error, with 'JkMount' as an invalid command. I am running Tomcat 3.2.2 with Apache 1.3.2 on Windows. Thanks Alex -Original Message- From: Steve Knight

Logic:iterate primitive values

2001-07-24 Thread Melissa
Howdy. I was wondering if any of the recent builds after Struts 1.0 (post-beta) handles logic:iterate directives with primitive data types. The documentation leads me to believe that this is a planned feature for a later release... Cheers, Melissa

Re: Baisc q 2 Cannot find message resources u/key -

2001-07-24 Thread Jon Brisbin
i have discovered that this is an xml parser issue of some sort...i have this problem when running tomcat 4...the fix for that is to remove crimson and jaxp jars from the catalina/jasper directory and add xerces.jar to the catalina/lib directory... your solution may have to do with any other xml

Re: Struts + Tomcat/Apache (again)

2001-07-24 Thread Rakesh
I am attaching my httpd.conf file. Rakesh Ayilliath (Software Engineer) Synergy IT Innovations Pvt Ltd, #196, 1st Floor, 9th Cross, HMT Layout, RT Nagar Bangalore 560032 [EMAIL PROTECTED] www.ayilliath.8m.com - Original Message - From: Sorenson, Alexander [EMAIL PROTECTED] To:

Struts + JBoss

2001-07-24 Thread ecn11
Hi. Has anyone of you managed to make Struts and JBoss working together? This is my current situation: I use JBoss-2.2.2 + Tomcat-3.2.2 (by run_with_tomcat.bat - so they are running in one VM) and Struts 1.0. The problem is briefly: When I deploy a .ear-archive that contains a .war-archive

Re: Mappings, bloody mappings

2001-07-24 Thread Rakesh
try this action-mappings action path=/fundlist type=com.projectcast.sfundm.FundListAction scope=request forward name=success path=/fundlist.jsp/ forward name=failure path=/fundlist.jsp/

Re: Problem Orion application server with STRUTS...

2001-07-24 Thread Jean-Francois Brassard
Hi Sean, I use OC4J(is a version of orion application server), and i try this link: http://jakarta.apache.org/struts/installation-oas.html with i place the application properties in my root of my classes directory with a modification of my web.xml: init-param

Re: Baisc q 2 Cannot find message resources u/key -

2001-07-24 Thread Chuck Amadi
Hi, there only promlem is that i am not running tomcat 4. Cheers Chuck Jon Brisbin wrote: i have discovered that this is an xml parser issue of some sort...i have this problem when running tomcat 4...the fix for that is to remove crimson and jaxp jars from the catalina/jasper directory and

Re: Forwarding/redirecting to action mappings rather than directly to JSPs

2001-07-24 Thread Matt Raible
Jim, did this solution involve using a global forward or just using something like the following: forward name=success path=/myList.do / Please post samples - thanks for your help! Matt --- Jim [EMAIL PROTECTED] wrote: Matt I got my code to work by removing the mapping from the request

Initializing Application Scope Attributes *.do in template:put

2001-07-24 Thread Gregor Rayman
Hi, perhaps these are FAQ: 1) My application has menu structure configurable in the database. I want to read the structure from the database when the app starts and store it in an application scoped bean. To be able to read the data, I need a DataSource so I need access to actionServlet.

Re: Struts + JBoss

2001-07-24 Thread Jon Brisbin
i've had trouble with jboss 2.2.2/tomcat 3.2.2...for this reason i dropped back to the 2.2.1/3.2.1 version and everything worked fine... in my experimentation, it seems to be a classloader issue...any classes you want to access from another class must be either on the same level, or higher in

Re: Another question about the logic:iterate tag

2001-07-24 Thread Ted Husted
The docs say JSP bean, but the meaning there is broad. So, yes, you can do this: request.setAttribute(hashmap,hashmap); ... logic:iterate name=hashmap To use an actual bean, you would also specify the property logic:iterate name=javaBean property=hashmap which resolves to

Re: Mappings, bloody mappings

2001-07-24 Thread Rakesh
I am sorry I guess U need to keep the '/web' intact. try this action-mappings action path=/fundlist type=com.projectcast.sfundm.FundListAction scope=request forward name=success path=/web/fundlist.jsp/ forward

Re: Baisc q 2 Cannot find message resources u/key -

2001-07-24 Thread Chuck Amadi
My path is as follows bbbnpa/helloworld/WEB-INF/classes/helloworld/HelloWorldResources.properties. bbnpa is my web app.I assumed that the helloworld example being my base dir was under the web app. Thus i have got another main WEB-INF/ that contains the similar tld's jar's in the correct

Re: Baisc q 2 Cannot find message resources u/key -

2001-07-24 Thread Jon Brisbin
Hi, there only promlem is that i am not running tomcat 4. i know that... :-) ok...let's try this worded a different way: the problem is an xml parser issue, as this question has come up a lot lately and i got my own servlet container to work by carefully analyzing where and when my xml

Re: Struts + JBoss

2001-07-24 Thread Gregor Rayman
Hi. Has anyone of you managed to make Struts and JBoss working together? This is my current situation: I use JBoss-2.2.2 + Tomcat-3.2.2 (by run_with_tomcat.bat - so they are running in one VM) and Struts 1.0. Hi, I use struts in jboss+tomcat. I use 2 configurations: 1st) Separate

Re: Baisc q 2 Cannot find message resources u/key -

2001-07-24 Thread Brian . Duchouquette
Jon, That did something. Before when I was starting my server, the console read: - Starting service Tomcat-Standalone Apache Tomcat/4.0-b6 Starting service Tomcat-Apache Apache Tomcat/4.0-b6

Re: Baisc q 2 Cannot find message resources u/key -

2001-07-24 Thread Chuck Amadi
Hi, Ted i have been using the following path. C:\jakarta-tomcat-3.2.2\webapps\bbnpa\META-INF \WEB-INF\classes /// dont work thus temp shifted them. \css///all work cascade style sheets dir

HIT PAY DIRT! Re: Baisc q 2 Cannot find message resources u/key -

2001-07-24 Thread Brian . Duchouquette
Jon, When you posted the version of the xerces compiler you were using ***xerces 1.3.1***, that solved my problem. Here's the link guys: http://xml.apache.org/dist/xerces-j/ Get xerces1.3.1.zip from the link above and do like Jon said in his original message. Remove the other XML parsers

Re: Baisc q 2 Cannot find message resources u/key -

2001-07-24 Thread Jon Brisbin
it looks like you need to remove crimson.jar from your classpath still...maybe it's in the system classpath before you start tomcat?? struts does not like anything but xerces 1.3.1, for some reason, in the newer containers... jb - Original Message - From: [EMAIL PROTECTED] To: [EMAIL

RE: Another question about the logic:iterate tag

2001-07-24 Thread Melissa
I have just tried this, but the id attribute is apparently required. My guess is that this can just be an arbitrary variable... However, the bigger issue seems to be that the iterate tag isn't really suited to the retrieval of more than one oject (i.e. the hashmap's key/value pairs)... here's

RE: what setters do i implement in an indexed tag ?

2001-07-24 Thread Deadman, Hal
In the indexed tags write up at http://www.husted.com/about/struts/indexed-tags.htm, it only mentions the two types of get methods required in the action form. It doesn't mention the setters that are required. It looks like the getParameterList() method is only used by the iterate tag. To

html:form scripting variable

2001-07-24 Thread Gregor Rayman
Hi, why does html:form generate no scripting variable? Would be nice, if it did. -- gR

RE: what setters do i implement in an indexed tag ?

2001-07-24 Thread Deadman, Hal
Ignore my previous post because I was mistaken. You don't need a setXYZ(int index, XYZ x) method because struts will call the public XYZ getXYZ(index i) method and then call the appropriate set method on the bean that is returned. This worked for me (with last nights CVS): logic:iterate

Re: code reuse

2001-07-24 Thread Steve LeClair
In my first attempt, I think that I got caught up in the clever typecasting may be needed if more than one ActionForm class is accessed problem. I'm trying to design a template for a few generic reusable Action classes ( Corporate Info, Contact Info, Location Info ). I'll work up a simple

RE: what setters do i implement in an indexed tag ?

2001-07-24 Thread Torsten Terp
Hi, You need 3 methods, a getter and a setter for the Vector (or other arraytype object) and a getter for single object in your arraytype object, i.e., getObject(int inx){ return myVector.elementAt(inx) } Just like on the webpage mentioned. the setters needed should be defined on the object

loader constraints violated when loading mapping file

2001-07-24 Thread Jon Brisbin
when i go to load my own struts app in tomcat 4, i get the following error when ANY servlet in that webapp tries to start...it has to do with the whole xerces/struts/tomcat4 issue, but i'm not sure why the servlet won't load for this app, but it will for the struts example app...same message when

Re: html:form scripting variable

2001-07-24 Thread Erik Hatcher
It does set a page scoped attribute (keyed by the form name from the mapping) that contains the form object. Erik - Original Message - From: Gregor Rayman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 24, 2001 9:50 AM Subject: html:form scripting variable Hi,

Re: Another question about the logic:iterate tag

2001-07-24 Thread Ted Husted
id is the name you want to give each item in the map as it iterates. For more see, http://jakarta.apache.org/struts/struts-logic.html#iterate We are about to add more indexing support, which may help you further. See the Indexed Tablibs item at

Re: servlet error with struts 1.0 (release) and tomcat 4

2001-07-24 Thread Brian . Duchouquette
Jon, I received that same error after I removed catalina.jar, but didn't have xerces.jar in the classpath. Brian Jon Brisbin

action mapping difficulties

2001-07-24 Thread Sorenson, Alexander
I am getting a compilation error on my jsp, which seems to indicate a problem with the action mappings. One jsp, the custLogin.jsp compiles fine, whereas the custJoin.jsp throws this exception compiling javax.servlet.ServletException: No getter method for property sFirstName of bean

ejb and tomcat

2001-07-24 Thread George, Carl
Is there a generic setup for getting tomcat to recognize an app servers ejb calls, like certain class_path settings etc

java.lang.IllegalArgumentException: InputStream cannot be null

2001-07-24 Thread Calabrese, Jason
I'm trying to get struts working with Websphere 3.5.4. I got the example application to work, so I'm pretty sure that I have a configuration problem now. my console output is as follows: 7/24/01 10:45 AM : AUDIT [ARZT1000/Default Server]: SRVE0048I: Loading servlet: action 7/24/01 10:45 AM :

RE: java.lang.IllegalArgumentException: InputStream cannot be null

2001-07-24 Thread Calabrese, Jason
I think I found a solution to the problem, but I'm not sure why it worked. It was my understanding that websphere didn't look at the web.xml file so I didn't have one. When I copied the web.xml from the example aplication the error went away. If anyone knows whats going on let me know.

Re: action mapping difficulties

2001-07-24 Thread Rama Krishna
if you have a property with sFirstName then your getter methos should be getSFirstName(). if this doesn't work try changing your sFirstName to something else in lower case. eg: abc and getter will be getAbc(); hope this helps, rama. - Original Message - From: Sorenson, Alexander

Uploaded file get corrupted after migrating to Struts 1.0

2001-07-24 Thread Imran Zafer
We have recently switched to Struts 1.0 from a previous beta version. After migrating we are having problems in uploading certain files. The files do get uploaded to the server but the contents get corrupted some times. We further investigated this problem and found out that files get damaged

RE: Hot to get the iterated objects ?

2001-07-24 Thread Raghvendra Sinha
I'm new to struts, I'm trying to use the iterate tag with to retrieve data from a db and display it. We have the functionality working with our java classes and now I'm trying to incorporate it using struts. The following code illustrates how we are doing it now. % try {

RE: Another question about the logic:iterate tag

2001-07-24 Thread Melissa
Yes - yes, and again, yes. Thanks, Ted. To further expound (in the chance that it might help someone else), when one needs to iterate through the key/value pairs of a hashmap, instantiate the object as type Map: Map aMap = new HasMap(); and place it in the request. When you need to retrieve

Re: Hot to get the iterated objects ?

2001-07-24 Thread Jon Brisbin
it looks like you just need to change your logic:iterate to point to name=rec without specifing a property... jb - Original Message - From: Raghvendra Sinha [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 24, 2001 2:03 PM Subject: RE: Hot to get the iterated objects ?

chaining actions

2001-07-24 Thread Bono, Chris
I have two Actions chained together and my appserver is throwing core dumps on me left and right if I issue too many repeat requests. Here are the mappings: action path=/changeTree type=com.yyy.zzz.ChangeTreeAction forward name=nextViewpath=/viewTree.do/

RE: Struts on IBM WAS 4.0 - Error removing attributes from request sc ope!

2001-07-24 Thread Calabrese, Jason
I'm running struts on Websphere 3.5.4 and had similar problems. This is the response I got. Check this out.. http://www.mail-archive.com/struts-user@jakarta.apache.org/msg10964.html And.. Sure thing - I already sent it but the list refused it due to its file size. As an alternative, I'll

Design Q - Select List Data of possible values of a business object attribute

2001-07-24 Thread Mary Jo Serrino
Good Afternoon... I have a design issue that I am tackling with how to deal with in the struts framework. I have a Shipment class that can have multiple Container objects. Each Container object has an attribute 'typeID' (int) which can have 1 of the following values: 1,2,3,4,5 (as well as

change java statements in jsp

2001-07-24 Thread Raghvendra Sinha
A problem that I'm facing is to convert the following to a struts equivalent command, here I guess the jsp is called based on the multiple params passed to it, I couldn't find anything similar in struts. Please help. td class=fta

Re: problems mapping multiple ActionServlets

2001-07-24 Thread Dave Allen
Thanks for your response. I think we'll just have to do some sort of security validation in the Action. Dave On Mon, 23 Jul 2001 15:22:52 -0400 Zeltser, Mark [EMAIL PROTECTED] wrote: Dave, I had the similar problem (see my posting today). I had 2 mappings in web.xml and 2 servlets which

Tomcat/Struts Design Issues and Questions

2001-07-24 Thread Becky Moyer
Struts-users! Sorry if this is not the best forum for this; I am asking this here becuase I think Struts factors into my question. I am creating a web site that allows for the future addition of new webapps to extend the original site. I would like to allow users to make their add on

RE: action mapping difficulties

2001-07-24 Thread Sorenson, Alexander
The getters (and setters) were of the form getSFirstName(), but that wasn't working. I changed them to getStFirstName() and it got past that (I still need to change all of the other getSXXX() methods, but it looks like that may fix the problem. Thanks. -Original Message- From: Rama

RE: Struts on IBM WAS 4.0 - Error removing attributes from reques t sc ope!

2001-07-24 Thread Pravin George
Hi everyone, I wanted to clarify the status of Struts and Websphere 4 compatability. As a business partner to IBM, we are on the beta testing program for Websphere 4.0 . This particular issue was brought to their attention a couple of weeks ago. Last week we received word that it has been

Validation Framework: html tag required for form elements

2001-07-24 Thread Matt Raible
For the validation framework to operate, is it necessary that struts tags are used to write out form fields? Or is it possible to use plain html? For example, will this work: input type=text name=validateMe value=test Thanks, Matt __ Do You

Re: html:form scripting variable

2001-07-24 Thread Gregor Rayman
Perhaps. But sometimes I just want to use the form in a scriplet. Now I have to either covert the attribute to local variable or use bean:define. Why not just create the variable like bean:define does? -- gR - Original Message - From: Erik Hatcher [EMAIL PROTECTED] To: [EMAIL

Re: html:form scripting variable

2001-07-24 Thread Erik Hatcher
Perhaps. But sometimes I just want to use the form in a scriplet. Perhaps? Well, it DOES create a page scoped attribute - no perhaps about it! :) I checked the source, FormTag.java. Now I have to either covert the attribute to local variable or use bean:define. Why not just create the

Re: Validation Framework: html tag required for form elements

2001-07-24 Thread David Winterfeldt
It isn't necessary for struts to write out the field as long as the name of the input matches the property name of the field. So in your example you would have a getValidateMe method. I'm assuming your still going through an Action (if not you can still get it to work, but you will have to

Re: change java statements in jsp

2001-07-24 Thread David Winterfeldt
You would normally have the action put this in scope or make a bean that returns this. There is a paramProperty attribute to call a method on the bean specified in paramName. % java.util.Map params = new java.util.HashMap(); params.put(numFields, 1); params.put(wo0, eq);

Re: html:form scripting variable

2001-07-24 Thread Ted Husted
The best thing would be to submit a patch to Bugzilla as an enhancement request and a use-case to DEV to convince someone to commit the patch ;-) -- Ted Husted, Husted dot Com, Fairport NY USA. -- Custom Software ~ Technical Services. -- Tel 716 737-3463. -- http://www.husted.com/about/struts/

Refresh button and Back button

2001-07-24 Thread Matt Raible
I'm sure many of you have run into these problems before: 1. My form is stored in the session, when the user updates, it goes back to a list screen, the SaveAction servlet removes the form from the session. PROBLEM: A NullPointerException is thrown when the user clicks on the back button.

Re: Refresh button and Back button

2001-07-24 Thread Web Programmer
Basically, the problem is with browsers' caching. For example, IE will ignore header settings you sent. In several references you will find methods to set headers, but they all ignore to recognize that it is after all the browser that decides and/or ignores. Back buttons are developers'

Empty Page returned after Action executed

2001-07-24 Thread Randall Dietz
I'm new to Struts (V1.0) and I'm stuck on what I think is a simple example. I have an Action and an ActionForm bean that do pretty much nothing. Action simply returns a reference to continue (mapping.findForward(continue)) and the ActionForm bean has one attribute, title. What's happening is

Strut and EJB/J2EE

2001-07-24 Thread Chuong Huynh
Hi all, Sorry for naive question. I'm new to Struts - just construct some simple examples by myself... It seems to me that applications that use Struts are web-centric. I wonder where EJB comes into play? And is it easy to migrate Struts apps to J2EE applications...? Is Struts (alone) suitable