AW: Workflow question

2001-08-29 Thread D. Veniseleas
Hi, I'm not a freak, but very interested in wizard-like web-applications, which could be configured declaratively, without programming ;-) I've seen a very good example in the book of Turau & al. J2EE and JSP, in German. He extends the ActionMappingBase.class and introduces a step-name-attribute

Tomcat4.0 Contexts

2001-08-29 Thread Calvin Lau
Does anyone have an example of a Tomcat4.0 server.xml that uses Contexts? I want to run an application that has it's root outside of Tomcat's root directory but keep getting XML parse errors for some reason. It was all working fine on Tomcat3.2. Any good resource on Tomcat4.0 would also be good

RE: Tomcat 4.0 frustrating problem :SOLVED

2001-08-29 Thread Arnaud Heritier
To correct it, I think that you could also rename the classes.zip in classes.jar. I had a similar problem that I resolved like this. arno -Message d'origine- De: Shamdasani Nimmi-ANS004 [SMTP:[EMAIL PROTECTED]] Date: mercredi 29 aout 2001 00:57 A: '[EMAIL PROTECTED]' Objet:

Am i on the right lines regarding tags

2001-08-29 Thread Chuck Amadi
Hi, I am replacing my HTML(input) tags with tags , thus no problem nevertheless what do i use instead of HTML tag. I assume that i can still use You may say why don't i try it out except due to extracting out the html 4 jsp standard tags. Thus i have recieved Cannot retrieve mapping for actio

Removing bean from session scope

2001-08-29 Thread chiji nwankwo
Hi Andre, I picked up on something you said in your message yesterday about removing a bean from session scope.  I have 2 pages in my application, the first page (archive.jsp) consists of select boxes, which populate each other without having to click on a submit button and the second page (result

Configuration problem

2001-08-29 Thread David Bolsover
Hi I will confess from the start that this is not really a struts problem but I am sure that members of the group will have seen this before and know the solution. I have a link on a jsp page to an external site : http://www.foo.com";> foo.com The problem is that when I browse to the page cont

Re: Am i on the right lines regarding tags

2001-08-29 Thread David Corbin
Nope. It's . David Corbin - Original Message - From: "Chuck Amadi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 29, 2001 4:32 AM Subject: Am i on the right lines regarding tags Hi, I am replacing my HTML(input) tags with tags , thus no problem nevertheless wha

Re: tags

2001-08-29 Thread chiji nwankwo
Hi,Depending on what you are trying to do or the scale of the applicationyou are building, you can declare the collection within your jsp pageand put it within the pageContext or you can declare it in your Action subclass and put it in the session. I found the last option to be a neater and better

RE: Configuration problem

2001-08-29 Thread devon . bowen
> I have a link on a jsp page to an external site : href="http://www.foo.com";> foo.com When you have this page in your browser and do a "View Source" is that really what you see? Devon

RE: Workflow question

2001-08-29 Thread Roumen Ganeff
Use many s in your definition in struts-config, like then, in step3Action ActionClass decide which forward to use, based on user input Ganeff -Original Message- From: Glenn Kidd [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 28, 2001 8:42

Re: struts selection and Javascript onchange question

2001-08-29 Thread chiji nwankwo
Hi, I had a similar problem and tried to find the best way to handle the problem, without mixing  JavaScript and jsp syntax.  What I came up with was a series of select boxes, some of which were dependant on others, that changed their values based on the selection made in a different select box.  

question

2001-08-29 Thread Roumen Ganeff
Hi I am trying the following code: and there are two problems with it. 1. the "accepts" key doesn't work 2. the label of the Browse... button doesn't change. I have the key in my application.properties file, before you ask :) It doesn't work even if I remove the tag and put plain te

obtaining action forwards in jsps

2001-08-29 Thread Nathan Coast
Hi, Is there any way to obtain the action forward urls in jsps using their logical 'struts-config' name? I'd like to code links etc point to certain action forward urls found in struts config rather than hard coding the url? Similarly I'd like to be able to change the action url of forms using va

Adding parameters to a "success" forward

2001-08-29 Thread Matt Raible
Is there anyway to add parameters to a "success" forward in a mapping? I'm using iPlanet, so I have to add "redirect=true" on my forwards in order for them to work. However, I want to retain some information that was set in my "SaveAction" - so I'd like to pass it on via the request. The option

'<%=request.getParameter("app_code")%> - no value

2001-08-29 Thread Chuck Amadi
Hi, I have exstablished a connection and all but app_code values appear in my Postgresql Database. The app_code is A UNQIUE value that is required thru the process . I have a jsp called planningdb that selects the following and displays the values from the Database. Thus i have a html tag that su

How to catch the Session Time Out event ??

2001-08-29 Thread Xavier Brunel
Hi all, I am using Struts for an Intranet application (Linux,Sybase,Java) and it is working very well. The last thing I would like to do is forwarding automatically the current client to the welcome page when his session is timeout, through a call to a particular ActionForward of struts-config.xm

Re: How to catch the Session Time Out event ??

2001-08-29 Thread Jonathan M Crater
this type of processing is better placed in the controller. i would suggest either subclassing ActionServlet or providing a generic base class for each of your Action classes which performs a check similar to: HttpSession session = request.getSession(); if(session == null) { mapping.findForwa

RE: How to catch the Session Time Out event ??

2001-08-29 Thread Roumen Ganeff
In order to see if the client has a valid session, you will need to save some data in the session, and in the beginning of each page check for this data, for example the session key, or the user name. If the check returns "null" then there is no session, and the user has to start over. We usually

Re: How to catch the Session Time Out event ??

2001-08-29 Thread SUPRIYA MISRA
I have an idea. Run a thread which continously checks currentTime - session.getLastAccessedTime(). If that is greatetr than 15 minutes this thread forwards to the index page. >From: "Xavier Brunel" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: "'Struts-User" <[EMAIL PROTECTED]> >Subje

SV: How to catch the Session Time Out event ??

2001-08-29 Thread Mikkel Bruun
there's no way to do this... what you can do is to redirect the user as a reaction to one of his actions, pressing a link, submitting a form... you just cant make his browser do stuff... :: Mikkel Bruun Senior IT Developer [EMAIL PROTECTED] Direct: +45 32 88 22 73 Valtech A/S Kan

Re: struts and Geary's templates

2001-08-29 Thread Cedric Dumoulin
Hi Brian, Check the Tiles contribution. Tiles allow to define regions/screens/templates in a centralized file, and let an action forward to the region id. For now, if you change the centralized file, you have to restart your webapps. This can be solved by writing an administration page rel

Attribute value should be quoted

2001-08-29 Thread David Corbin
I'm getting the following exception from a particular JSP: org.apache.jasper.compiler.ParseException: .\AddCompany.jsp(58,36) Attribute value should be quoted at org.apache.jasper.compiler.JspReader.parseToken(JspReader.java:478) at org.apache.jasper.compiler.JspReader.parseAt

Re: How to catch the Session Time Out event ??

2001-08-29 Thread Rakesh
Try implementing the HttpSessionBindingListener. Rakesh Ayilliath (Software Engineer) Synergy IT Innovations Pvt Ltd, #196, 1st Floor, 9th Cross, HMT Layout, RT Nagar Bangalore 560032 [EMAIL PROTECTED] - Original Message - From: "SUPRIYA MISRA" <[EMAIL PROTECTED]> To: <[EMAIL PROT

Logic Tags

2001-08-29 Thread Mike Bungay
I'm having some problems getting the Logic present tag to fire when I pass it a request parameter.

RE: Logic Tags

2001-08-29 Thread Assenza, Chris
Could you be more specific so we can help? :) Chris Christopher Assenza Phone: 412.201.6026 Fax: 412.201.6060 Email: [EMAIL PROTECTED] ACCESSDATA Moving Your Business from Point A to Point e.SM http://www.accessdc.com/ -Original Message- From: Mike Bungay [mailto:[EMAIL PROTECT

Running The Struts Example Application

2001-08-29 Thread Mark Bennett
Hi, I am running Tomcat 4.0 and am trying to run the Struts 1.0 sample application, struts-example.war.  I have moved this file into the Tomcat webapp directory, however when I try to access it I get the following error:   A Servlet Exception Has Occurred Exception Report:javax.servlet.Servl

RE: Configuration problem

2001-08-29 Thread David Bolsover
Devon View source shows href="http://www.foo.com";> foo.com Now the strangest thing - the problem has gone away - and I don't think I changed anything of significance - very odd - I wonder if this could be an ie6 thing? david -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: Logic Tags

2001-08-29 Thread Mike Bungay
I am passing the success (request.setAttribute("success","yes");) parameter back to the jsp but in the jsp when I try this code: window.open("welcome.jsp", "popupPage", "top=0,left=0,resizable=yes, status=yes" + ",width=" + screen.width + ",heig

Re: Removing bean from session scope

2001-08-29 Thread Luis Olivares
What do you mean by 'clicks on the back button' ? Is it the browser's back button or  a button that 'submits' back to the archive.jsp page?   In case it is the browser's back button, your issue is related with javascript. What you see when you click this back button (or use in some way 'hist

RE: Logic Tags

2001-08-29 Thread Roumen Ganeff
You should check with mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 6:17 PM To: '[EMAIL PROTECTED]' Subject: RE: Logic Tags I am passing the success (request.setAttribute("success","yes");) parameter back to the jsp but in the jsp when I try this code: w

Tokens?

2001-08-29 Thread Steven Leija
Hello All, I'm going over the Action javadocs and came across several methods that use the keyword of "token". The docs aren't very intuitive on what exactly defines a token. What do the token methods do? generateToken() resetToken() saveToken() isTokenValid() Have a good one, Steven

AW: Logic Tags

2001-08-29 Thread juraj Lenharcik
did you have: String message = "blabla"; request.setAttribute("success", message); in your actionBean? -juraj -Ursprüngliche Nachricht- Von: Mike Bungay [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 29. August 2001 17:17 An: '[EMAIL PROTECTED]' Betreff: RE: Logic Tags I am passing

RE: Logic Tags

2001-08-29 Thread George, Carl
It is firing it's just false. Parameter checks the url. try name - checks the session, not sure about the request, you page have to do: -Original Message- From: Mike Bungay [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 11:17 AM To: '[EMAIL PROTECTED]' Subject: RE: Logi

Servlet Exception

2001-08-29 Thread McClung, Brian
I am trying to verify an installation with the struts-blank app. I am getting a 500 Servlet Exception at the taglib descriptor: The message is: /struts-blank/index.jsp:2: org.apache.struts.taglib.bean.CookieTei I'm using Resin2.0.1. I've seen this before but I don't know how I got it to go awa

Re: obtaining action forwards in jsps

2001-08-29 Thread JEWeaver
I can partially respond.. You can create links that will navigate based on global struts forwards by using the html:link tag; I don't know of a way to access the local forwards within actions, but my impression is that these are intended to be related to the processing of an action anyway. i.

RE: Logic Tags

2001-08-29 Thread Mike Bungay
Yes But i just passed in a string value not a variable because I don't really care what the value is I just want to check that it's present -Original Message- From: juraj Lenharcik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 11:32 AM To: '[EMAIL PROTECTED]' Subject: AW

RE: Logic Tags

2001-08-29 Thread Mike Bungay
The present tag is not firing at all. I tried the scope="request" but there was no change. THe tag still doesn't fire.. -Original Message- From: George, Carl [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 11:34 AM To: '[EMAIL PROTECTED]' Subject: RE: Logic Tags It is firi

Re: Running The Struts Example Application

2001-08-29 Thread Brian . Duchouquette
Try under Tomcat 3.2.3. Otherwise, if you really want to get it to run under Tomcat 4, research some of the older messages in this archive (you need to replace the xml parsing jar files which come with Tomcat 4.

RE: Logic Tags

2001-08-29 Thread George, Carl
but did you change parameter to name? -Original Message- From: Mike Bungay [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 11:54 AM To: '[EMAIL PROTECTED]' Subject: RE: Logic Tags The present tag is not firing at all. I tried the scope="request" but there was no change. TH

AW: Logic Tags

2001-08-29 Thread juraj Lenharcik
do you have <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> in your jsp? -Ursprüngliche Nachricht- Von: Mike Bungay [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 29. August 2001 17:52 An: '[EMAIL PROTECTED]' Betreff: RE: Logic Tags Yes But i just passed in a string valu

RE: Running The Struts Example Application

2001-08-29 Thread McClung, Brian
I'm seeing the same error message running under Resin2.0.1. The odd thing is that the app works just fine on my development box (W2K running resin2.0.1) but when I move it over to the test environment (Redhat 7 running resin2.0.1) it doesn't work. I've tried recompiling and that doesn't seem to

how do I snoop responses

2001-08-29 Thread Tom Tibbetts
I know this is not a Struts question, but I'm looking for a (free) tool where I can enter in my URL in order to snoop HttpServletResponses so I can look at the MIME headers. Any help would be appreciated. Thanks

RE: Logic Tags

2001-08-29 Thread Mike Bungay
Carl George, Thanks for the tip, It is finally working... -Original Message- From: George, Carl [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 12:08 PM To: '[EMAIL PROTECTED]' Subject: RE: Logic Tags but did you change parameter to name? -Original Message- From:

Real World Struts

2001-08-29 Thread Will Spies/Towers Perrin
We have been dabbling with struts. We have an upcoming project and are faced with a decision to use Struts or to continue to use plain old JSP. I understand the long term benefits of struts however I must do a cost comparison of using struts as opposed to using JSP. We have developers who are

Re: struts selection and Javascript onchange question

2001-08-29 Thread Luis Olivares
Hi Robin, Chiji:   What I do is to create a Bean (called Option) that I will use to store this properties:   optionGroup  < The group to which our option is associated (The Country of the Province/State in our case). optionValue  < The value of the option (The Province/State code or

RE: Logic Tags

2001-08-29 Thread Mike Bungay
The problem is fixed I had to change the parameter to name in the logic tag.. Thanks -Original Message- From: juraj Lenharcik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 12:09 PM To: '[EMAIL PROTECTED]' Subject: AW: Logic Tags do you have <%@ taglib uri="/WEB-INF/stru

Re: static text fields on the session or from??

2001-08-29 Thread martin . cooper
I would suggest putting them in the form. That way, the form represents all the data required for the view, whether modifiable or not, and you don't have multiple pieces of data scattered around in different places. The data that isn't in input fields won't be populated back into the form, so ther

Re: java.io.NotSerializableException: java.util.HashMap

2001-08-29 Thread martin . cooper
I don't know what the relationship is between this error and your JSP, but it looks like your container is trying to serialize the session for some reason. Apparently you have a session attribute which is a HashMap, and it doesn't like that because it can't serialize it. -- Martin Cooper -

Re: java.io.NotSerializableException: java.util.HashMap

2001-08-29 Thread Matt Raible
I figured it out - I was stuffing hashmaps and rowsets into my ActionForms, and then storing those in the session. Because of the clustering configuration we have in iPlanet, this error was being thrown for the reasons you state. I fixed this my moving any non-serializable components into beans

RE: tags

2001-08-29 Thread Nandini Agarwal
Thanks so much. This makes thing so much clearer for me.   -Original Message-From: chiji nwankwo [mailto:[EMAIL PROTECTED]]Sent: Wednesday, August 29, 2001 2:47 AMTo: [EMAIL PROTECTED]Subject: Re: tags Hi,Depending on what you are trying to do or the scale of the appl

Re: Local Forward with Parameters Causes Exception

2001-08-29 Thread martin . cooper
The parser doesn't know what you want, it only knows what it sees. :-) In this case, it had started parsing an XML entity reference - something like & - and found a parse failure for the reference because it expected to see &sortBy; instead of &sortBy=. That is, it expected a semicolon, but what i

RE: how do I snoop responses

2001-08-29 Thread "Paradis, André"
Here's a free http sniffer tool in perl. Works great for me. It listen to a given port and forward to another port, host while printing http stuff. might need some tweeking, read the script. Andre Paradis > -Original Message- > From: Tom Tibbetts [mailto:[EMAIL PROTECTED]] > Sent: Wedn

Re: how do I snoop responses

2001-08-29 Thread martin . cooper
I don't recall if this has the level of detail you're looking for (it's been a while since I used it), but you could take a look at WebDebug: http://www.cyberclip.com/webdebug/ -- Martin Cooper - Original Message - From: "Tom Tibbetts" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent:

Web-app_2.2.dtd

2001-08-29 Thread Sureka, Sushil
Hello All, We are using struts for our application. One of the problem we have encountered is with the finding of Web-app_2.2.dtd . Seems like the name of the dtd is hard coded in the ActionServlet java class. During deployment of the application (using weblogic) the server waits for like 2 minut

RE: Real World Struts

2001-08-29 Thread Greg.Reddin
> We have developers who are familiar with JSP and Java and J2EE. Struts would be > the only learning curve ( and it's not exactly a small learning curve ). > I have to disagree with you there. I began using Struts when I had less than 6 months experience in Java, and very little experience in

RE: java.io.NotSerializableException: java.util.HashMap

2001-08-29 Thread George, Carl
Are the values in your arraylist Serializable? -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 28, 2001 2:31 PM To: [EMAIL PROTECTED] Subject: java.io.NotSerializableException: java.util.HashMap I am getting the following error on a JSP page that I

Re: Real World Struts

2001-08-29 Thread Thomas Quas
Will, I'm what I would call an intermediate JSP programmer, and switched to Struts recently. The (one man) project I'm currently working on does not require modifications in terms of extending the Struts framework with new factories or the like, but rather focuses on a simple Web interface and i

Dynamic Form Beans?

2001-08-29 Thread John Townsend
I am working on a project where is would be nice to have the ability to define a dynamic form bean (i.e. a form bean where the fields are defined at runtime). The most obvious (but perhaps not the best) solution to this problem would be if the ActionServlet could handle saving data in a form bean

RE: java.io.NotSerializableException: java.util.HashMap

2001-08-29 Thread Barry Glasco
Don't you have work to do:) -Original Message- From: George, Carl [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 1:47 PM To: '[EMAIL PROTECTED]' Subject: RE: java.io.NotSerializableException: java.util.HashMap Are the values in your arraylist Serializable? -Original Me

Action Mapping getAttribute()

2001-08-29 Thread Steven Leija
Does anyone know why I would be retrieving a null when I call mapping.getAttribute()? I have my formbean named, so the value shouldn't be returning a null. Thanks Steven application/ms-tnef

Re: Dynamic Form Beans?

2001-08-29 Thread Luis Olivares
I have the same 'problem'. I would like to be able to create a form dynamically depending on the structure of a table (I used to do this with 'plain' JSP). Any ideas? Regards. Luis Olivares. [EMAIL PROTECTED] --

RE: sessionId and html:img

2001-08-29 Thread Debasish Ghosh
It doesn't work. Actually I face the same problem for Struts example application as well. There the image "Powered By Struts" does not come the first time, but comes if I hit a Refresh. Maybe, it has got something to do with the container (Tomcat 3.2.2). But I need some help URGENTLY !! Cheers.

Tag Libaries, No ID attribute

2001-08-29 Thread David Corbin
Is there a particular reason that that the Struts Tag Libraries don't support (according to the doc) an ID attribute which gets translated directly into the HTML? Mostly I'm talking about the family, but it is a general question.

Help: Cannot find bean BEAN in scope null

2001-08-29 Thread Gary Kephart
I get this message in the log file: Cannot find bean org.apache.struts.taglib.html.BEAN in scope null Does anyone know why this happened and how to fix it? Thanks, Gary -- Gary Kephart | Basis 100 Software Engineer | 4 Park Plaza, Suite 800 [EMAIL PROTECTED] | Irvine, CA 92614

Re: how do I snoop responses

2001-08-29 Thread Tom Tibbetts
Thanks Martin and Andre. I don't suppose there's something in Java or runs as a straight app on my machine (Win 98). I'm really bad at PERL and worse with Python. Tom At 10:37 AM 8/29/01 -0700, you wrote: >I don't recall if this has the level of detail you're looking for (it's been >a while s

2nd attempt: Unexpected behavior of html:options tag

2001-08-29 Thread Marcel Maré
Why isn't this allowed : where variantOptions is a property (of type ArrayList) of cartItem. but this is: IOW if I copy the property into a new bean (with ), I can access the collection. The same happens if instead of using "name=cartItem" I want to access a collec

RE: Dynamic Form Beans?

2001-08-29 Thread Thinh Doan
I heard Struts 1.1 will address this issue. In the mean time, I too am interested to a working solution. Thanks, Thinh -Original Message- From: Luis Olivares [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 1:28 PM To: [EMAIL PROTECTED] Subject: Re: Dynamic Form Beans? I h

RE: Dynamic Form Beans?

2001-08-29 Thread John Townsend
The one idea that I had was to create a new subclass of ActionForm called ActionDataForm. This form would have get and put methods that use keys instead of the usual pattern of numerous getters/setters. For the process of saving form data, we could add a new override to RequestUtils.processPop

RE: how do I snoop responses

2001-08-29 Thread "Paradis, André"
Just install activeperl for windows http://aspn.activestate.com/ASPN/Downloads/ActivePerl/ then open up a dos box and type perl http.pl -Original Message- From: Tom Tibbetts [mailto:[EMAIL PROTECTED]] Sent: August 29, 2001 2:40 PM To: [EMAIL PROTECTED] Subject: Re: how do I snoop re

Struts behind the scene

2001-08-29 Thread Shelly Dhiman
Hi, Could somebody explain me how struts work behind the scenes. The particular case being there is template, content and the renderer. So does it create precompiled jsps or how does it work coz the very first time you render a page it's very slow Shelly

Thanks to all that helped me out.

2001-08-29 Thread Alex Colic
Hi, A big thanks to all that replied and tried to help me get the nightly build working with Tomcat. Although I was unsuccessful, I really do appreciate all the advice. I tried getting the nightly build of struts to work with Tomcat 3.2, 3.2.3, 4 but no luck. I rebuilt my applications to use v

Re: Help: Cannot find bean BEAN in scope null

2001-08-29 Thread Thomas Quas
Gary, it usually happens to me when I close the too early, meaning there are some 's or others floating around after I did . Hope this helps, tom Gary Kephart wrote: > > I get this message in the log file: > > Cannot find bean org.apache.struts.taglib.html.BEAN in scope null > > Does any

Question about html:link

2001-08-29 Thread Alex Colic
Hi, how can I pass a javascript function to a link tag? My present tag is The value of A_NUMBER is found in a bean via workrequest.number. Thanks for the help. Alex = Regards Alex Colic, HBA, B. Ed PopWare Inc. "Driving down the cost of conversions!" E-Mail: [EMAIL PROTECTED] Tel: 1-

Re: Local Forward with Parameters Causes Exception

2001-08-29 Thread Thomas Quas
Thanks Martin. Gee, finally I have to get my hands dirty on XML ;-) [EMAIL PROTECTED] wrote: > > The parser doesn't know what you want, it only knows what it sees. :-) In > this case, it had started parsing an XML entity reference - something like > & - and found a parse failure for the refere

Re: Dynamic Form Beans?

2001-08-29 Thread Sastry Varanasi
I have the same problem too, and I'm sure there are many more like us. I believe this is a problem struts has not addressed yet. Fortunately, they are working on Dynamic form generation feature for struts1.1. I don't know when it is going to be ready!! Here is a work-around: Make your JSPs wit

STRANGE: session.invalidate() is not invalidating the session

2001-08-29 Thread Shamdasani Nimmi-ANS004
Hi, I noticed a peculiar thing. In my application I have a logout link on pages. This link control goes to 'Logout' action where I clean up the session variables and then invalidate the session with: session.invalidate(); and this class forwards it to Logout.jsp which just has the goodbye me

Re: welcome file in web.xml with pre-compiled jsp's? - tomcat bug!!

2001-08-29 Thread dhay
Just for your information - turns out this is a bug in Tomcat! I submitted it (Bug No 3309) and they propose to fix it, maybe by 3.3.1. At the moment, work around is to stick an uncompiled version in directory, or to use javascript to perform a forward in a regular html page to your pre-compil

RE: Question about html:link

2001-08-29 Thread Nathan Coast
<% String str = "javascript:doSummlkjsdf(" + myVar + "); %> -Original Message- From: Alex Colic [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 8:30 PM To: [EMAIL PROTECTED] Subject: Question about html:link Hi, how can I pass a javascript function to a link tag?

Re: Tag Libaries, No ID attribute

2001-08-29 Thread Luis Olivares
What about the TITLE attribute? (I know its not quite important, but it could be cool to be able to use it). :) Regards. Luis Olivares. [EMAIL PROTECTED] -- "Intelligence is the ability to avoid do

How to handle an ActionForward to a page with an anchor?

2001-08-29 Thread Brian . Duchouquette
All, I have a page with a control which allows the user to add items to a vector on a bean. Basically it is a company form with an Add Subsidiary button. Each time the user presses "Add", the vector on the company formbean receives the new element. However, when the page reloads, I want the bro

RE: Struts behind the scene

2001-08-29 Thread Greg Reddin
Shelly, I'm not sure I fully understand the question, but I'll give it a shot. Struts does not generate anything. You write the JSP's that Struts uses. When your JSP pages are invoked the first time, the web container (i.e. Tomcat, etc.) compiles the JSP's and renders them. That's why it is s

test for presence of struts.action.MESSAGE

2001-08-29 Thread Thinh Doan
Please explain the following lines that came from index.jsp of the struts example app. Specifically what is it checking? Is it ApplicationResources.properties? ERROR: Application resources not loaded -- check servlet container logs for error messages. Thanks, Thinh

Tomcat 4.0b7 and struts-example webapp

2001-08-29 Thread Ian Kallen <[EMAIL PROTECTED]>
IIRC, the struts-example from struts 1.0 was happy with most of the recent Tomcat 3.2.x releases but with 4.0b7, it's not picking up the ApplicationResources.properties file. yes, it's in /struts-example/WEB-INF/classes/org/apache/struts/webapp/example/ApplicationResources.properties and web.xml

Re: Struts behind the scene

2001-08-29 Thread Shelly Dhiman
Hi, I meant like when we invoke a jsp page that is using a template to render itself, does it then take the template, insert the relevant stuff into the template and then what? Actually i'm confused too. Lets say i have a template A, renderer jsp B and a content page say C, SO are these all put

RE: Tomcat 4.0b7 and struts-example webapp

2001-08-29 Thread Thinh Doan
I got this same error running under Jrun. Look into web.xml and make sure struts stuff is there (tlds etc..) T. -Original Message- From: Ian Kallen <[EMAIL PROTECTED]> [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 4:17 PM To: [EMAIL PROTECTED] Subject: Tomcat 4.0b7 and str

Re: Performance, Reflection, and Object Creation vs. Cacheing(was: Barracuda talk)

2001-08-29 Thread Calvin Yu
On Tue, 2001-08-28 at 00:02, Bryan Field-Elliot wrote: > > Also, you go on to say 'ditto for objection creation", and that it's > "more expensive to cache an object than recreate it". Where are you > getting this information? It goes against the design considerations of > virtually every "hig

Re: Struts behind the scene

2001-08-29 Thread Ted Husted
This might help http://www.javaworld.com/javaworld/jw-09-2000/jw-0915-jspweb_p.html The template library basically nests the JSP include feature. For more about Java ServerPages, see http://husted.com/about/struts/links.htm#jsp Shelly Dhiman wrote: > > Hi, > > Could somebody explain me how

Re: How to handle an ActionForward to a page with an anchor?

2001-08-29 Thread martin . cooper
Take a look at the 'anchor' attribute on the tag. If you use that for your Add link, I believe it will do what you want. -- Martin Cooper - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 29, 2001 2:02 PM Subject: How to handle an ActionForw

RE: Struts behind the scene

2001-08-29 Thread malcolm davis
To be more exact, JSP's are pre-compiled into a special servlet source (java files). The servlets are compiled into classes. There exist mechanism for pre-compiling the JSP to classes, before the first user request is received. You can find these special servlet .java files in the tomcat/work/

Re: Struts behind the scene

2001-08-29 Thread Shelly Dhiman
Thanks Shelly malcolm davis wrote: > > To be more exact, JSP's are pre-compiled into a > special servlet source (java files). The servlets > are compiled into classes. > > There exist mechanism for pre-compiling the JSP to classes, > before the first user request is received. > > You can fin

RE: Tomcat4.0 Contexts

2001-08-29 Thread Mark Bennett
Hey Calvin, I know this is old, but did you ever managed to resolve it. I think I am having exactly the same problem. The struts examples which worked with 3.2 don't with 4.0. They say that the root cause has something to do with a noClassDefnFound error when looking for a SAXParserException or

NEW Commercial Struts-powered website

2001-08-29 Thread Don Elliott
Just appending to the forum to announce a new Struts-based application that we've just launched into production for a Customer last week - http://www.redgalleon.com It's a Melbourne (Australia) based ASP service that matches member's defined preference/permission profiles for restaurants, sportin

Connection Pool

2001-08-29 Thread java_san
Hi Gurus, 1. Can someone let me know the steps involved in setting up a connection pool in struts config files? 2. Also a small snippet of code on how to use it from a action servlet. Is it as easy as getting a ref. to a connection pool using JNDI. Your help is highly appreciated. Sanjay

Re: Dynamic Form Beans?

2001-08-29 Thread martin . cooper
On the input side, it sounds like what you want is a map that is basically a copy of the map usually used internally by the servlet container to represent parameters. If you don't mind having copies in the map of what's also in any explicit form bean fields, you could just use this at the top of t

Select tag

2001-08-29 Thread s k m
Hi all How do I disply a desired value, while populating the select tag? I'm using the tag like this... It is showing me the dropdown box with the values in collection 'grouptype' but the requirement is to show the specific value while screen is displayed. Sandeep mahajan

RE: Select tag

2001-08-29 Thread SUHAS G. KULKARNI
check this I think u have to change the select tag a bit - -Original Message- From: s k m [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 30, 2001 11:14 AM To: [EMAIL PROTECTED] Subject: Select tag Hi all How do I disply a desired value, while populating the select tag? I'm u

calling form bean method

2001-08-29 Thread Ali Ozoren
Hi all,   I have a method that returns a String in the form bean. How can I call it from within the JSP page that uses that bean? Couldn't find a way to refer to the underlying form bean.. Thanks, --a

Transforming xml with xsl in custom tag

2001-08-29 Thread Pulkka Kari
Hi all, I have the following problem: I have a jsp-page that imports all the struts taglib tlds and contains a call to a custom taglib (). This tag receives data from the db as xml and transforms it with a xsl. The output of the transformation contains struts -tags. Unfortunately these tags never