How can I declare local forwards in an ActionMapping

2001-01-24 Thread Seeberger, Heiko
Hi, I am a struts newbie and I want to declare local forwards in an action-mapping in struts-config.xml. How can I do that? With the forwards attribute? But how is the syntax? Thank's for your help! Bye Heiko

Struts on a WebLogic5.1 Cluster

2001-01-24 Thread Martin Habermann
Hi, has anybody expiriences in running struts on a weblogic5.1 clustered environment.I would appreciate any hint or suggestion on that topic... _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

unsafe path error

2001-01-24 Thread michael . brohl
Hello, I got the following problem when trying to get my own application running under Struts 1.0 and Tomcat 3.2: Starting Tomcat, the following error message appears: [...] Pop org.apache.struts.action.ActionMapping 2001-01-24 11:48:04 - Ctx( /vip-gallery ): Unsafe path

Re: HtmlTag - locale

2001-01-24 Thread Elod Horvath
[EMAIL PROTECTED] wrote: but is it correct that in the HtmlTag the attribute locale is a boolean? My IPLANET6.0-Jsp-Engine tries to set a STRING and fails compiling my JSP-page. I thought every attribute in a Tag should be a STRING !? Oliver HtmlTag: protected boolean

Re: Tomcat reloading Struts app

2001-01-24 Thread Andreas Joseph Krogh
On Wednesday 24 January 2001 13:59, you wrote: The scenario is... while running a Struts app on Tomcat 3.2 with the nightly build from last night (20010123), recompile one of the classes in the WEB-INF/classes directory, try to continue running the app (that is, hit a button or link in the

Re: set methods in ActionForm

2001-01-24 Thread Dzenan Ridjanovic
private String eMail; public void setEMail(String eMail) {...} does not work either. It seems to me that eMail is a correct design pattern. When I had changed eMail to email and setEMail to setEmail it worked. "Craig R. McClanahan" wrote: Zhiyong Li wrote: I have two questions related

Example not working in Apache

2001-01-24 Thread Dan Miser
I installed the binary Struts in Tomcat 3.2.1 on Win2000 Advanced Server. I am able to access http://localhost/struts-documentation with no problems. I can also access http://localhost:8080/struts-example with no problems. However, if I look at the login link on the main page of

RE: Including Servlet in Structs

2001-01-24 Thread Schachter, Michael
Adrian, Struts has the capibility to handle multipart forms in the same manner that normal ActionForms are handled. It's documented here: http://jakarta.apache.org/struts/userGuide/building_view.html#form_beans Just letting you know -Original Message- From: Adrian Joyce

re: FormTag problem

2001-01-24 Thread Mike Fitterman
Don't know if this helps but it sure seems like it (this is from the doc): There are two common approaches to defining the URLs that will be processed by the controller servlet -- prefix matching and extension matching. An appropriate mapping entry for each approach will be described below.

RE: Struts on a WebLogic5.1 Cluster

2001-01-24 Thread Abraham Kang
Martin, Off the top of my head. If you are going to be relying on HttpSession failover and in-memory replication you have to call session.setAttribute(...,...) after changing any of the HttpSession objects. This pushes changes of a session object to a back up server. If you change an object

Problem parsing taglib

2001-01-24 Thread Renee Petris
I'm trying to run a very simple Hello World example. My jsp contains only:%@ page language="java" %!--Import the taglib --%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %!--Now use the tag to display the message --bean:message key="hello.message" /When I try to open the page, I get the

Re: Example not working in Apache

2001-01-24 Thread Craig R. McClanahan
Dan Miser wrote: I installed the binary Struts in Tomcat 3.2.1 on Win2000 Advanced Server. I am able to access http://localhost/struts-documentation with no problems. I can also access http://localhost:8080/struts-example with no problems. However, if I look at the login link on the main

Re: Post/re-post problems

2001-01-24 Thread John Raley
Right now I'm "forwarding" to a JSP that does nothing but redirects to the URL I want them to see (basically what you said). I would love to hear better solutions as well. Bear wrote: I'm just in the process of re-vamping my web app to use the Struts framework (moving from a Model 1 to a

Re: How can I declare local forwards in an ActionMapping

2001-01-24 Thread Craig R. McClanahan
"Seeberger, Heiko" wrote: Hi, I am a struts newbie and I want to declare local forwards in an action-mapping in struts-config.xml. How can I do that? With the forwards attribute? But how is the syntax? Thank's for your help! Bye Heiko Simply nest the forward declarations inside the

Re: logic:iterate and form controls, revisited

2001-01-24 Thread Craig R. McClanahan
Bear wrote: At 10:11 AM 1/24/2001 -0800, you wrote: There is no question that this would be a very useful feature. However, trying to implement it right now would cause delay in a 1.0 release, Eminently sensible. For someone new to this list, is there a ballpark estimate for the 1.0

Re: logic:iterate and form controls, revisited

2001-01-24 Thread Bear
At 10:30 AM 1/24/2001 -0800, you wrote: Please try to break it :-), and report any problems to the bug tracking system at: With pleasure! ];- Should I just grab the nightly binary distribution? thanks, bear

Re: logic:iterate and form controls, revisited

2001-01-24 Thread Ted Husted
On 1/24/2001 at 10:30 AM Craig R. McClanahan wrote: We're down to bugfixes and documentation updates, so far as I can tell. A major item the documentation TODO list is platform-specific installation notes. If anyone who is using Struts on other platforms, like Weblogic, Resin, and so forth,

Re: logic:iterate and form controls, revisited

2001-01-24 Thread Craig R. McClanahan
Bear wrote: At 10:30 AM 1/24/2001 -0800, you wrote: Please try to break it :-), and report any problems to the bug tracking system at: With pleasure! ];- Should I just grab the nightly binary distribution? Yep ... the most recent nightly binary distribution at any point in time will be

Re: Post/re-post problems

2001-01-24 Thread Craig R. McClanahan
Bear wrote: Craig, At 10:28 AM 1/24/2001 -0800, you wrote: * Tell my users "deal with it -- this is a web application, not a web site, and the URL that you see is totally irrelevant." I'm perfectly comfortable with this regarding the displayed URL. But what about the refresh problem?

RE: Post/re-post problems

2001-01-24 Thread Deadman, Hal
You can specify that a forward be handled by a redirect instead of a jsp:forward by doing this: forward name="success" path="/home.jsp" redirect="true"/ -Original Message- From: George Lessmann [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 24, 2001 2:31 PM To: [EMAIL PROTECTED]

Re: Post/re-post problems

2001-01-24 Thread Craig R. McClanahan
George Lessmann wrote: The technical reason this happens is that RequestDispatcher.forward() (or jsp:forward) happens only on the server side -- the browser has no clue what is going on, and only displays the URL it submitted to -- not the URL of the page you called to create the

RE: logic:iterate and form controls, revisited

2001-01-24 Thread Eric Wu
I have found that with the latest builds the support for nested and indexed properties seem to eliminate the need to patch BeanUtils as described in points c) and d) below. However, it seems that the html:text tag still cannot be used as it is not able to generate the required indexed values

Re: Post/re-post problems

2001-01-24 Thread John Raley
"Deadman, Hal" wrote: You can specify that a forward be handled by a redirect instead of a jsp:forward by doing this: Ack! "You could have gone home anytime by clicking your shoes together." - to Dorothy. Guess I should read the dtd a little more closely... Thanks.

no 'application' init parameter for ActionServlet causes NullPointerException in struts:errors / ??

2001-01-24 Thread perry . tew
Hello! I'm just beginning to use struts, and I enjoy it very much. Thank you to all who have contributed to it. I have encountered a problem and would like to ask about it. I've searched the archives and couldn't find anything on this. My problem: When I configure my ActionServlet without

struts example Exception

2001-01-24 Thread Nick Afshartous
This is my second post attempt to try and resolve this. If anyone has any idea please let me know, thanks. I did the following: - built the example app (ant dist.example) - copied the created struts.war from under the dist directory to jakarta-tomcat/webapps - restarted tomcat and

Re: Post/re-post problems

2001-01-24 Thread Craig R. McClanahan
George Lessmann wrote: I'm not sure I understand what you mean by the "input level". Could you describe it further? First, my understanding of Struts is that actions happen at the form level, such that a form action is further inspected to determine what needs to be done. In my system,

Re: Example not working in Apache

2001-01-24 Thread Dan Miser
Thank you very much. That was it. -- Dan Miser - Original Message - From: "Craig R. McClanahan" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 24, 2001 12:03 PM Subject: Re: Example not working in Apache If you run Tomcat behind Apache, there are some tweaks needed

unable to view jsp

2001-01-24 Thread Anand Raman
hi guys I am on my way to make my first struts application.. The ActionForm, Action , ActionServlet and my jsp are all in proper places. However when i send a request for a jsp page i dont get to see any content on my browser. The server has serviced these requests and it is evident as i can

Re: unable to view jsp

2001-01-24 Thread David Winterfeldt
Are you are saying other JSPs compile and work fine? When you look at the source, what do you see? Also, what server are you running under? Do you have your tags defined at the top of the page? %@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" % David --- Anand Raman [EMAIL PROTECTED]

Re: no 'application' init parameter for ActionServlet causesNullPoin terException in struts:errors / ??

2001-01-24 Thread Martin Cooper
I think the default being specified as [NONE] means: - If you *do not* use application messages in your code, and do not use any Struts tags which use them, then you do not need to specify a value for 'application' in your configuration. - If you *do* use application messages directly, or use

RE: Any way to dynamically change flow-of-control?

2001-01-24 Thread Rick Horowitz
Hi Curt, I just read through the thread for this message, and your approach sounds very interesting. I'd like to ask you some questions, interspersed below if you wouldn't mind...thanks in advance. At 04:20 PM 1/12/01 -0800, you wrote: I bring this up because struts seems to have gone

RE: Any way to dynamically change flow-of-control?

2001-01-24 Thread Curt Hagenlocher
Rick- When the user is presented with screen B, he fills out the search form and selects either: - OK: we process the search request and transition to screen C if search is successful, and return to screen B with errors if search is unsuccessful. Actually, screen B and screen C are

Re: unable to view jsp

2001-01-24 Thread David Winterfeldt
I setup your web page in a web app and had the same problem. I finally noticed that your title tag isn't closed off. That was the problem. Also, you only need to have the action specified for the form (html:form action="login.do") if you have it defined under the struts-config.xml. It will

AW: HtmlTag - locale

2001-01-24 Thread Oliver . Lauer
Hi Craig, it seems to me that you've written the spec. and SUN and I didn't read it till the end :-) ! Nevertheless STRUTS is good thing and we (insurance company) will decide to use it with IPLANET6.0 (thanks for creating STRUTS). But one question left: The page in the spec. you

Re: new template tag framework

2001-01-24 Thread Nathan Eric Probst
Check out the Components extention to Struts: http://gauss.ficsgrp.com/cdm nathan Quoc Le wrote: The struts-template example implements a "C-Frame" using the new template tag framework. I was a little disappointed to find, though, that each new page inserted inside the C-Frame requires 2