Action not being found

2001-11-20 Thread antony
Hi I have an entry in my struts-config.xml file... [snip] action path=/testpage forward=testpage.jsp /action [snip] But everytime I run this Tomcat cannot find testpage. Tomcats message always says [snip] message /testpage description The requested resource(/testpage) is not

Re: Action not being found

2001-11-20 Thread Jin Bal
It seems like the ActionServlet cannot find an instance of an Action class. From you snippets it seems that you haven't registered your implementation of the Action class i.e type=org.apache.struts.example.LogonAction as an attribute within the action tag - Original Message - From:

RE: HTML Link Tags Seem Clumsy

2001-11-20 Thread Tom Klaasen (TeleRelay)
-Original Message- From: Tom Morris [mailto:[EMAIL PROTECTED]] Sent: maandag 19 november 2001 18:35 To: '[EMAIL PROTECTED]' Subject: HTML Link Tags Seem Clumsy Hello there, I'm starting to use Struts and was wondering If I'm correct in thinking that it's a little

Want to check user is logged in every page server

2001-11-20 Thread antony
Hi Everytime a page is served from my Struts application, I want to check to make sure the user is logged in. If they are not then I want to send them to the login screen. What is the best way to go about this using Struts? Cheers Tony -- To unsubscribe, e-mail: mailto:[EMAIL

RE: Want to check user is logged in every page server

2001-11-20 Thread Tom Klaasen (TeleRelay)
Have a look at struts-example (war file comes with struts) I think you can learn a lot from there. hth, tomK -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: dinsdag 20 november 2001 10:42 To: Struts Users Mailing List Subject: Want to check user is

Re: Action not being found

2001-11-20 Thread Jin Bal
Yes you do need one. The ActionServlet will always attempt to create a class from the type attribute. it will always execute the perform method inside the action class. Are you familiar with how the action classes work? - Original Message - From: [EMAIL PROTECTED] To: Struts Users

Re: AW: Want to check user is logged in every page server

2001-11-20 Thread antony
Thanks for the tips guys. I will take a look. Cheers Tony Mooslechner Martin wrote: You can do this with a custom tag custom:checkLogonTag/ of course you also need to implement this tag. this is what actually does the job: public int doEndTag() throws JspException { // Is

Re: Want to check user is logged in every page server

2001-11-20 Thread Jin Bal
One way would be to create an abstract layer underneath the action layer that defines an abstract method similar to the perform() method. Then you could 'wrap' processing around the call the the abstract method which your concrete subclasses implement. - Original Message - From: [EMAIL

RE: Want to check user is logged in every page server

2001-11-20 Thread Lawson, Rick
Can't you just use Container managed security and set a constraint for each action that requires a user to be in a role called user? Not that I've tested it yet (but will be doing this week) Rick Lawson Infrastructure Specialist Napp Pharmaceutical Group -Original Message- From:

Re: RE: Dynamic anchor

2001-11-20 Thread Joey Gibson
This might be a wee bit cleaner: %@ taglib uri=struts-bean.tld prefix=bean % %@ taglib uri=struts-html.tld prefix=html % bean:define id=foo value=xxx/ html:link page=/index.jsp anchor=%= foo %Foo/html:link This produces this link: http://localhost/foo/index.jsp#xxx (the page was deployed in

returning to the correct page when the validate() method returns errors.

2001-11-20 Thread Jason . Gola
I'm using Struts 1.0 and I have a situation where multiple jsps pages use the same ActionForm. As I understand it, when the Form's validate() method returns an error, then the ActionServlet forwards control to the input page where input is the input specified in the struts-config.xml file. The

Interesting problem with bean:cookie tag

2001-11-20 Thread Juan Alvarado
Hello Everyone: I have recently posted some messages regarding a class cast exception I was getting when using the multiple=true attribute with the bean:cookie tag. To resolve this problem in my environment (Visual Age for Java and Tomcat 3.2), I changed org.apache.struts.taglib.bean.CookieTei

Use of multiple attribute in jsp:cookie tag

2001-11-20 Thread Juan Alvarado
Has anyone experienced problems with the use the multiple=true attribute. Everytime I use that attribute I get a compilation error in my JSP. It seems to me that the source of the JSP is not syntactically correct: [Ljavax.servlet.http.Cookie; cookie = null; Any suggestions/help is greatly

Re: If someone is interested

2001-11-20 Thread Yuriy Zubarev
Hello everyone, Thank you for your interest. In a couple of days I'll draw a diagram to show how it's working (it will be on the same site). Briefly, there is one interface containing all necessary methods to depict a table, so-called data-container implementing that interface, a host of custom

Q: another beginner's question

2001-11-20 Thread Dalibor Kezele
Another day, another question. Why are my form data destroyed? I have 2 forms. When I fill wrong data into 1st form and click html:submit data are here. But when I click back on 2nd form and come back to the 1st one data are missing. On 2nd form I have back button (html:link

Struts Dreamweaver extension

2001-11-20 Thread Kok, Arjan
Hello, Some time ago we at Compuware Amsterdam lab announced a project to integrate the Struts taglibs in MacroMedia Dreamweaver. The project has finished, and as promised the Dreamweaver extension can be freely downloaded. Goto http://javacentral.compuware.com and download OptimalJ Dreamweaver

Comparing two variables using logic:equal

2001-11-20 Thread Rizvi, Suhel
I am trying to compare a bean property with a variable or another bean property using the logic:equal tag but its not working. e.g. 1 % int testVar = 2 % logic:equal name=theBean property=someBeanProperty value=%=i% .. do something ... /logic:equal Is there a way to do this ?

Number formatting in JSP

2001-11-20 Thread Frédéric Houbie - ABSIS-GROUP
Hi, is there a easy way to format number in jsp using taglibs ? Thanks Frederic Houbie -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Empty result on 1 pane of my template

2001-11-20 Thread Rooms, Christoph
Hi, I have a template which works if I specify html/jsp pages in the put statements. But when I reference to an action (*.do) ... He won't return anything in the certain pane. If I call the action directly ... It works ! Thanks ... Christop Rooms, Christoph.vcf Description: Binary data

Really Need Help in Bean Define Problem

2001-11-20 Thread Tricia Ong Cheah Yen
hello all, i need help in using the bean:define tag. I had first define a bean to hold a String ArrayList which is to be used in a html:select tag. however, this code fails to work and complains abt a NullPointerException. And btw, can someone explains to me what's the difference between

Really Need Help in Bean Define Problem

2001-11-20 Thread Tricia Ong Cheah Yen
hello all, i need help in using the bean:define tag. I had first define a bean to hold a String ArrayList which is to be used in a html:select tag. however, this code fails to work and complains abt a NullPointerException. And btw, can someone explains to me what's the difference between

Re: If someone is interested

2001-11-20 Thread Yuriy Zubarev
Hello everyone, Thank you for your interest. In a couple of days I'll draw a diagram to show how it's working (it will be on the same site). Briefly, there is one interface containing all necessary methods to depict a table, so-called data-container implementing that interface, a host of custom

RE: RE: Dynamic anchor

2001-11-20 Thread Tom Klaasen (TeleRelay)
-Original Message- From: Joey Gibson [mailto:[EMAIL PROTECTED]] Sent: dinsdag 20 november 2001 4:56 To: [EMAIL PROTECTED] Subject: Re: RE: Dynamic anchor This might be a wee bit cleaner: %@ taglib uri=struts-bean.tld prefix=bean % %@ taglib uri=struts-html.tld prefix=html %

Re: HTML Link Tags Seem Clumsy

2001-11-20 Thread Ted Husted
Tom Morris wrote: I'm starting to use Struts and was wondering If I'm correct in thinking that it's a little inflexible when it comes to choosing datatypes for form-bean properties. Displaying a query-parameter based HREF link is annoying since, it only accepts String types. It would be

HOW can I use Log4J within struts?

2001-11-20 Thread storck
Hi, I am a very beginner to Log4J and I would like to know how to use it in best way within Struts? Any comments are welcome! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: returning to the correct page when the validate() method returns errors.

2001-11-20 Thread emmanuel.boudrant
I've got the same pb, the solution I used is this: I declare multiple actions with the same Action class. my struts-config.xml : action path=/saisiefiche1 name=ficheForm1 input=/saisiefiche1.jsp type=basepat.SaisieFicheAction forward

RE: struts validator - console messages at startup

2001-11-20 Thread Alexander Jesse
Hi, you tried to switch off debugging of the validator-servlet? web.xml - servlet-definition - debug - 0 hope this helps Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, November 19, 2001 8:29 PM To: [EMAIL PROTECTED] Subject: struts

Re: Design Question. Better to have jsp files in root or in WEB-INF/jsp-files

2001-11-20 Thread Ted Husted
It's mainly a security thing. So the value is tied to your security needs. It first came up in thread regarding MVC purity, and ensuring that control passed through an Action before it went to a JSP. The basic idea is that if you have an architecture where all flow goes through Actions and

RE: HOW can I use Log4J within struts?

2001-11-20 Thread moritz petersen
Yeah, that's what missing: log4j tags (log4j:debugHello World!/log4j:debug). Interesting for me. I guess, I'll write an extension. Anyways, in the Actions and FormBeans you can use log4j as usual. Greetings, Moritz. This e-mail was successfully scanned by the FBI using

Re: How to prevent FormBean validate() errors from showing up on logon page

2001-11-20 Thread Ted Husted
You may want to send them to a logon Action instead, which displayed the logon page but had validate set to false. The page would then submit to another Action with validate set to true. You could also add a redirect option to that mapping. (Which would also cure any problem with orphan

Re: HOW can I use Log4J within struts?

2001-11-20 Thread emmanuel.boudrant
Log4J is totally independent to Struts. You can use it like you want. Me, I extend struts ActionSerlvet to initialize Log4J in the init method. Like that: public class MyActionServlet extends ActionServlet { protected static Category log = Category.getInstance(MyActionServlet.class);

RE: HOW can I use Log4J within struts?

2001-11-20 Thread emmanuel.boudrant
Log4J tag already exist ;) http://jakarta.apache.org/taglibs/doc/log-doc/intro.html Emmanuel moritz petersen [EMAIL PROTECTED] a écrit : Yeah, that's what missing: log4j tags (Hello World!). Interesting for me. I guess, I'll write an extension. Anyways, in the Actions and FormBeans you

Re: Dynamic anchor

2001-11-20 Thread Stefano Mancarella
- Original Message - From: Joey Gibson [EMAIL PROTECTED] Subject: Re: RE: Dynamic anchor This might be a wee bit cleaner: %@ taglib uri=struts-bean.tld prefix=bean % %@ taglib uri=struts-html.tld prefix=html % bean:define id=foo value=xxx/ html:link page=/index.jsp anchor=%= foo

RE: HTML Link Tags Seem Clumsy

2001-11-20 Thread Tom Morris
Thanks Ted TomK, As a beginer, I'd better think about what you have both said for a while. However: I'm not mixing-up the differences between forms and links, but we're experiencing the absence of integer parameters on a link but no problems with strings. Briefly: we have a FormBean

RE: HOW can I use Log4J within struts?

2001-11-20 Thread moritz petersen
I would have been very surprised, if no one else would have had this idea... Thanx for the info, Emmanuel. Greetings to France, Moritz. -Original Message- From: emmanuel.boudrant [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 11:39 AM To: Struts Users Mailing List

Fw: Can anyone help on this?

2001-11-20 Thread Konstantina Stamopoulou
Christoph, I had exactly the same problem and this was happening because ...- see the answer from Cedric below. What I did for my case was to forward the control in the Action class to the template ( return (new ActionForward(/company.jsp)); company.jsp is the template). So you can call the .do

RE: Java script submit on select from drop down

2001-11-20 Thread ltorrence
Change it to something like this, where your_form_name is the name attribute you defined in your action mapping. Your notation doesn't work because it's trying to find a form that is a property of the select element. html:select property=organizationName onchange=document.your_form_name.submit()

Re: Struts Dreamweaver extension

2001-11-20 Thread Daniel WAMARA
It works well but is a bit slow when it comes to show properties of a Struts tag, I already use Dreamweaver since the version 2 and see the growing of that application and working now with Struts, my desire would have been to be able to integrate directly Struts tags with DW and now it's done

ServletInputStream and Buffered Reader

2001-11-20 Thread Daniel WAMARA
I'm trying to get a BufferedREader in my application but couldn't and got a IllegalStateException, saying that a Stream has already been taken from the request, but the fact is that it's not by me, so who ? or what ? and if it's the case, how could I determine this stream already opened so I

RE: Struts Dreamweaver extension

2001-11-20 Thread Paul Bienick
Hello, This is great, but I couldn't get any of the .JSP files from the Struts example app to open without multiple parsing errors. (Dreamweaver/Ultradev 4). Paul -Original Message- From: Kok, Arjan [mailto:[EMAIL PROTECTED]] Sent: Monday, November 19, 2001 8:02 AM To: '[EMAIL

Re: Java script submit on select from drop down

2001-11-20 Thread Peter Pilgrim
The javascript bible says that select does not have the form property. You have to probably pass the form ID as a parameter. -- Peter Pilgrim ++44 (0)207-545-9923 //_\\ Mathematics is essentially the study of islands of

RE: Struts Dreamweaver extension

2001-11-20 Thread Daniel WAMARA
You got it right, I just got the same and I really don't know why. Daniel WAMARA From: Paul Bienick [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Struts Dreamweaver extension Date: Tue, 20 Nov 2001

RE: HOW can I use Log4J within struts?

2001-11-20 Thread Jon.Ridgway
Hi Moritz, Might have the wrong end of the stick here, but you are aware that there is a taglib for log4j already avalible. You can download it from the apache site. Jon. -Original Message- From: moritz petersen To: Struts Users Mailing List; [EMAIL PROTECTED] Sent: 20/11/01 10:36

RE: bean:message and performance

2001-11-20 Thread moritz petersen
What about templates or tiles? -Moritz. -Original Message- From: Francois-Xavier Bonnet [mailto:[EMAIL PROTECTED]] Sent: Monday, November 19, 2001 2:18 PM To: [EMAIL PROTECTED] Subject: bean:message and performance Hello all, I am using bean:message tag for internationalizing

RE: HOW can I use Log4J within struts?

2001-11-20 Thread moritz petersen
Yes, I've noticed that after my mail... Thanx. -Moritz. -Original Message- From: Jon.Ridgway [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 3:21 PM To: 'moritz petersen '; 'Struts Users Mailing List '; '[EMAIL PROTECTED] ' Subject: RE: HOW can I use Log4J within

Beginner Question :How to use Ant with struts ?

2001-11-20 Thread Lily Zou
Hi, there I am new to struts. I am currently using apache-tomcat-cocoon framework with ant and preparing swithing to apache-tomcat-struts.We now use ant to build and deploy applications. I wonder if anybody could tell me how to use ant to do the similiar build for struts ? And how to

Options tag question

2001-11-20 Thread ltorrence
In reworking my Action classes, I tried to package all values needed for my form in the form bean, so I included a property that contains an ArrayList of LabelValueBeans. Can I refer to this property to populate the html:options tag? This nested syntax doesn't seem to work: html:options

Re: Beginner Question :How to use Ant with struts ?

2001-11-20 Thread Joey Gibson
On Tue, 20 Nov 2001 09:37:06 -0500, Lily Zou [EMAIL PROTECTED] wrote: ||| I am new to struts. I am currently using apache-tomcat-cocoon framework ||| with ant and preparing swithing to apache-tomcat-struts.We now use ant to ||| build and deploy applications. I wonder if anybody could tell

Re: Options tag question

2001-11-20 Thread Peter Pilgrim
Unfortunately the current html:options requires that you use bean:define indirectly to use the tag. define:bean id=brokerLabelValues name=brokerForm property=brokers / html:options collection=brokerLabelValues property=value labelProperty=label / -- Peter Pilgrim

RE: Java script submit on select from drop down

2001-11-20 Thread Nekkalapudi, Viplava
onchange=this.form.submit() Here 'this' means the select object(drop down), You can say, document.form.submit() OR simply onchange=submit() -Original Message- From: Ravi Kharse [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 12:44 AM To: [EMAIL PROTECTED]

RE: Java script submit on select from drop down

2001-11-20 Thread Chughtai, Imran
Instead of using your form name, try this: document.forms[0].item(RV).value RV is the name of my input box. document.forms[0] is the main form (in your case the struts form) I wrote some Javascript that access struts form elements. Imran VisualBuilder.com http://www.visualbuilder.com

Re: RE: RE: Dynamic anchor

2001-11-20 Thread Joey Gibson
html:link html:pagebean:write name=beanContainingMyPage//html:page html:anchorbean:write name=beanContainingMyAnch//html:page linkText /html:link This would avoid many ugly %...% hacks IMHO. I'm still not sure whether the tld syntax allows for nesting. Anybody has links for tld ?

which button pressed?

2001-11-20 Thread Màris Orbidàns
Hello all I have several submit buttons like this: table border=0 tr tdhtml:submit property=prevbean:message key=button.prev//html:submit/td tdhtml:submit property=nextbean:message key=button.next//html:submit/td tdhtml:submit property=savebean:message key=button.save//html:submit/td

Re: HTML Link Tags Seem Clumsy

2001-11-20 Thread Ted Husted
I'd suggest you try the alternative syntaxes as a separate tag, rather than trying to overload the existing link tag. Be sure to include support for the forward property. I avoid use of href myself, since it has the affect of embedding additional Action paths into the JSP. (Bad enough that we

Re: which button pressed?

2001-11-20 Thread emmanuel.boudrant
Hi, I suggest you to use : html:submit property=propertyname value=buttonname/ ex: html:submit property=myAction value=add/ html:submit property=myAction value=del/ and in Action class, to determine witch button is pressed: String button = request.getParameter(myAction); if (

Re: links to javascript with index variables

2001-11-20 Thread @Basebeans.com
Subject: Re: links to javascript with index variables From: Rob Breeds [EMAIL PROTECTED] === Karen That's more lines but it does avoid scriptlets so it must be a GOOD thing! Thanks for looking at this Rob Prengaman.Karen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Rob, I

RE: which button pressed?

2001-11-20 Thread ltorrence
From an earlier thread, I think this works: html:submit property=action bean:message key=button.add/ /html:submit But you need some mapping scheme if you don't know the language of the string that will be returned. I noticed that Ted Husted seems to lean towards

RE: which button pressed?

2001-11-20 Thread Tom Klaasen (TeleRelay)
I've seen 2 ways to do this: (1) in the action, go over all possible values to check if it is not null: boolean prevPressed = request.getParameter(prev)!=null; boolean nextPressed = request.getParameter(next)!=null; ... (2) use a more bean-minded approach: add some setters to your form bean,

RE: which button pressed?

2001-11-20 Thread Maris Orbidans
Thanx a lot ! I was looking for an option like this !!! Maris (2) use a more bean-minded approach: add some setters to your form bean, like private String pressedButton; public void setPrev(String prev){ pressedButton = prev; } public void setNext(String next) {

Re: Comparing two variables using logic:equal

2001-11-20 Thread Brian Holzer
Wouldn't you want to have your value clause look like this value=%=testVar% rather than value=%=i% [EMAIL PROTECTED] 11/19/01 06:22am I am trying to compare a bean property with a variable or another bean property using the logic:equal tag but its not working. e.g. 1 % int testVar = 2 %

Re: which button pressed?

2001-11-20 Thread Erik Hatcher
Careful with this you're tying your View with your Controller by way of the button text. If your button text changes, so will your Action code. A better solution in the case where the button name is the same for all buttons is to use a solution I proposed on struts-dev recently:

RE: which button pressed?

2001-11-20 Thread Maris Orbidans
Do I have to change my JSP code ? Will it work as it is now ? table border=0 tr tdhtml:submit property=prevbean:message key=button.prev//html:submit/td tdhtml:submit property=nextbean:message key=button.next//html:submit/td tdhtml:submit property=savebean:message

RE: Broadvision 6.0 and Struts

2001-11-20 Thread Markus Skyttner
The group I am in has too tried this and found the same problems as Nicholas. From these and other reasons we are now moving away from BroadVision entirely. If I were to make a strategic decision now (having two years of BroadVision development experience) I would try to avoid getting into those

JSP page without form bean ?

2001-11-20 Thread Màris Orbidàns
Can I have a JSP form without a form bean? I dont need the bean, there are no input fields on form. I defined action like this: action path=/main type=addressbook.MainAction input=/main.jsp /action But it threw an exception:

Re: JSP page without form bean ?

2001-11-20 Thread emmanuel.boudrant
So why make an action ? Attribut name in action element cannot be null, you must put the name of a form-bean. - Create a blank ActionForm. - Or remove the action Emmanuel Màris Orbidàns [EMAIL PROTECTED] a écrit : Can I have a JSP form without a form bean? I dont need the bean, there are no

Re: JSP page without form bean ?

2001-11-20 Thread JEWeaver
You can specify an action without a form bean with this syntax: actionpath=/main forward=/Main.jsp /action The limitation here is that there is no corresponding Struts Action class either. The above syntax is a solution I had to use when the customer wanted a button to trigger

tomcat to iWS4.1

2001-11-20 Thread Henrick Chua
hi guys! How should I set my tag libraries in order for my application to work? What should i set it in the iWS4.1 JVM classpath? thanx in advance -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: JSP page without form bean ?

2001-11-20 Thread Maris Orbidans
So why make an action ? Because I need a forward forward name=main path=/main.jsp/ to main page and if I dont have the action I get: javax.servlet.ServletException: Cannot retrieve mapping for action /main Maris Attribut name in action element cannot be null, you must put

RE: tomcat to iWS4.1

2001-11-20 Thread Bhamani, Nizar
Try the following instructions in the attachment. It worked for me. Nizar Bhamani -Original Message- From: Henrick Chua [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 11:39 AM To: Struts Users Mailing List (E-mail) Subject: tomcat to iWS4.1 hi guys! How should I set

RE: which button pressed?

2001-11-20 Thread Tom Klaasen (TeleRelay)
I think it will work as it is... tomK -Original Message- From: Maris Orbidans [mailto:[EMAIL PROTECTED]] Sent: dinsdag 20 november 2001 16:49 To: Struts Users Mailing List Subject: RE: which button pressed? Do I have to change my JSP code ? Will it work as it is now ?

RE: JSP page without form bean ?

2001-11-20 Thread Prengaman.Karen
You can define an action that has an action class, but no form-bean. Here's an example of an action that I am using, and it works great: action path=/vgminit type=action.VgmInitPropertiesAction scope=request forward name=properties path=/tVgmProperties.jsp/ /action

Re: JSP page without form bean ?

2001-11-20 Thread Peter Alfors
Unless this is a new feature of struts, you may create an action without specifying a form using the following syntax: action path=/myPage type=com.web.myAction forward name=success path=/myPage.jsp/ /action We are using Struts: 1.0 beta 3 (release build

Re: JSP page without form bean ?

2001-11-20 Thread Lou Morin
According to an article I just read in Java Developer Journal (November Issue) you can have a JSP Page without a form bean. The syntax is as follows: action path=/main type=addressbook.MainAction /action The action would forward to the specific jsp ... in your case it would be :

error-page in web.xml and 404 HTTP error

2001-11-20 Thread VEDRE, RANAPRATAP REDDY
I have tried to use error-page directive in web.xml for 404 http error and direct to a custom error page. But could not get it to work. i know for tomcat 4 the error-page directive has to before the teg lib descriptors. but still does not work. Can anybody please give the syntax and

help...

2001-11-20 Thread Henrick Chua
Hi! I am a newbie in struts... and i am trying to run the struts-example.war (which I downloaded together with struts) on an iPlanet 4.1 Web Server. How should I do it?! Thanx... Henrik -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

RE: help...

2001-11-20 Thread Henrick Chua
you mean place it in the server classpath? coz there is no notion of webapps or web-inf directory in iPlanet 4.1. thanx -Original Message- From: VEDRE, RANAPRATAP REDDY [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 10:20 AM To: 'Henrick Chua ' Subject: RE: help...

RE: JSP page without form bean ?

2001-11-20 Thread JEWeaver
Hm. Hang about. The syntax you suggest works with my application in some cases, but not in all. In a few cases, when I remove the name element from the action (de-form-beaning it as it were) I end up getting the same exception Maris originally complained of when the application navigates

RE: help...

2001-11-20 Thread Bhamani, Nizar
iPlanet 4.1, as I understand is not J2EE compliant. Therefore you will need to unjar the war file and will also need to add a few directories in your class path. Following URL tells you what you need for iPlanet : http://jakarta.apache.org/struts/installation-ip.html Nizar Bhamani

Re: error-page in web.xml and 404 HTTP error

2001-11-20 Thread Steve Zhang
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/j2ee/dtds/web-app_2_3.dtd; web-app ... after session-config error-page error-code404/error-code location/servlet/package.ErrorHandlerServlet?code=404/location /error-page before tablib

RE: error-page in web.xml and 404 HTTP error

2001-11-20 Thread VEDRE, RANAPRATAP REDDY
when i used http://java.sun.com/j2ee/dtds/web-app_2_3.dtd; it dint work so i checked out this url and it gives a mesage saying the url has changed and servlet 2.3 should use http://java.sun.com/dtds/web-app_2_3.dtd; i.e., without the j2ee. no clue what is the problem. still i get an error

Forward Difference

2001-11-20 Thread Jerry Wang
Hello, What's difference between 1. forward() in RequestDispather class 2. jsp:forward 3. pageContext.forward() Thanks in advance. Jerry

RE: What are the 5 optional args in Bean Message Tag for

2001-11-20 Thread Thinh Doan
How do you set these 5 arguments in the Action? Thanks, Thinh -Original Message- From: Trever M. Shick [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 14, 2001 10:07 PM To: Struts Users Mailing List Subject: Re: What are the 5 optional args in Bean Message Tag for They are used

unable to open taglibrary

2001-11-20 Thread Henrick Chua
Hi! help! I am trying to run the struts web example shipped with struts 1.0 on an iPLanet web server 4.1 environment. I have already added the struts.jar into the iPlanet classpath. and also placed the directory of the *.tlds into the classpath.. and of course I also placed the directory of the

1..N Relationships on a single form

2001-11-20 Thread Marcelo Caldas
Hi guys, I'm a newbie here with Struts, so please be patient! Here's my scenario: I'm creating a web application to create questionnaires. I'm creating the Questionnaire itself on the first page, and then I create one question per page. Each question may have several options (imagine multiple

Jbuilder 5/Weblogic 6.1/Struts

2001-11-20 Thread Chen, Yong
Hi, Does any one successfully using the following setting: o Jbuilder 5 ent. ver o Weblogic 6.1 as web server and app server o using struts thanks yc -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

html:form and javascript popup calendar

2001-11-20 Thread Paul
Hello, Is there a way to include a popup calendar within my html:form action=/Action_Page to populate a html:text field?? normally, the JS would open a popup, you would select the date, the text field would populate and the window closes... The normal popup JS calendar is dependent on the

RE: html:form and javascript popup calendar

2001-11-20 Thread Sobkowski, Andrej
Hi, you can try something like: !-- This is JS stuff - see link below if interested -- script language='JavaScript' src='/javascript/AnchorPosition.js'/script script language='JavaScript' src='/javascript/PopupWindow.js'/script script language='JavaScript'

RE: Jbuilder 5/Weblogic 6.1/Struts

2001-11-20 Thread Nekkalapudi, Viplava
I think, JBuilder 5 doesn't support weblogic 6.1. Please check with borland. And you can work with Struts in JB5.0 without Struts Plugin. -Original Message- From: Chen, Yong [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 2:32 PM To: Struts-User (E-mail) Subject: Jbuilder

Re: Jbuilder 5/Weblogic 6.1/Struts

2001-11-20 Thread Chandra Gottipati
We use JBuilder 5 Enterprise with WebLogic 6.1 here. - Original Message - From: Nekkalapudi, Viplava [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Tuesday, November 20, 2001 3:17 PM Subject: RE: Jbuilder 5/Weblogic 6.1/Struts I think, JBuilder 5 doesn't

RE: Jbuilder 5/Weblogic 6.1/Struts

2001-11-20 Thread Nekkalapudi, Viplava
I see some where in the Borland mailing list. BTW, Its the other way. Working with Struts in JB5.0 'requires' Struts Plugin. (which is not required for JB4.0 JB6.0) -Original Message- From: Chandra Gottipati [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 3:37 PM To: Struts

RE: Jbuilder 5/Weblogic 6.1/Struts

2001-11-20 Thread Nekkalapudi, Viplava
Are you using Borland JBuilder5 Update1? -Original Message- From: Chandra Gottipati [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 3:37 PM To: Struts Users Mailing List Subject: Re: Jbuilder 5/Weblogic 6.1/Struts We use JBuilder 5 Enterprise with WebLogic 6.1 here. -

RE: html:form and javascript popup calendar

2001-11-20 Thread charles arehart
Besides the recommendation below to use that particular code, the example also points out that another solution (with whatever popup code you use) is to simply refer to the form by relative reference rather than the form's NAME, as it seems you wanted to do. For example, instead of using

RE: Jbuilder 5/Weblogic 6.1/Struts

2001-11-20 Thread Chen, Yong
yes. -Original Message- From: Nekkalapudi, Viplava [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 20, 2001 4:09 PM To: 'Struts Users Mailing List' Subject: RE: Jbuilder 5/Weblogic 6.1/Struts Are you using Borland JBuilder5 Update1? -Original Message- From: Chandra

Re: error-page in web.xml and 404 HTTP error

2001-11-20 Thread Dmitri Colebatch
On Tue, 20 Nov 2001, Steve Zhang wrote: !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/j2ee/dtds/web-app_2_3.dtd; web-app ... after session-config error-page error-code404/error-code

RE: Jbuilder 5/Weblogic 6.1/Struts

2001-11-20 Thread Chen, Yong
do you guys use WL 6.1 as app server in the enterprise setting? and use WL 6.1 as web server ? If so, do you encounter any problem when try to create a web-app and run a simple jsp page? I am getting exception like NoRouter to host, or failed to get files etc. But when turn everything back to

RE: Data source

2001-11-20 Thread Anthony Martin
I have the same problem, but it isn't the URL syntax. I know this because if I set the minCount to zero, it works fine, but if I set it to one, it has the problem below. I want to be able to have a minCount though. Any ideas? Specifics: Win2k/Tomcat 3.2/Struts 1.1/JAXP 1.1/InterBase

Re: IllegalStateException: response already committed

2001-11-20 Thread Scott Wilson-Billing
Try setting the buffer size for the page - default is 8k. %@ page buffer=25kb autoFlush=false % Dunno if this will help. Scott - Original Message - From: Lai Kok Cheong [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, November 09, 2001 3:22 AM Subject:

RE: Jbuilder 5/Weblogic 6.1/Struts

2001-11-20 Thread Nekkalapudi, Viplava
I am sorry, I haven't used JB5.0 and WL6.1. But I have worked with JB4.0 (enterprise) with Tomcat 3.2 as web server and WL5.1 as app server and could able to do Remote Debugging with EJB. I read, JB5.0 supports Weblogic server as web server and app server. Read the Struts tutorial for WL6.0(may

validator on weblogic 5.1?

2001-11-20 Thread Bruce Geerdes
I have a web app that's using last week's nightly build of struts. It makes use of validator. I'm developing it using Forte 3.0, under which everything is working fine. But when I start up weblogic 5.1 (sp9), it hangs. The following are the last messages: Tue Nov 20 16:16:20 MST 2001:I

forms with duplicate attributes

2001-11-20 Thread Peter Georgiou
Hi I'm developing a struts web app with several ActionForm objects which share the same attributes, eg name, address etc. I actually have 3 separate forms which require address details. To cut down on code I've thought of having ActionForms and child ActionForms which inherit their parent's

  1   2   >