Re: Any Struts User uses the Expresso Framework ?

2001-08-31 Thread martin . cooper
But you would be creaking and struggling if you did not piggy bank Struts with J2EE features. Sorry, but I disagree completely. Whether or not Struts is an appropriate framework for any given project is completely independent of whether J2EE is or is not useful on that project. -- Martin

error message with frames

2001-08-31 Thread devon . bowen
Not sure this is a struts problem but it is related to the struts style of working. I have a page with three frames and I ask that one frame be reloaded from struts. My Action may decide that it needs to send back an error message rather than the requested data. If so, I want to send back a full

RE: ServletUnit with Struts

2001-08-31 Thread dion
http://httpunit.sourceforge.net/ I believe that it is primarily a functional testing tool. I would imagine that you could use it for load-testing... I wouldn't believe it. Our attempts to load test with HttpUnit spent more time parsing code on the client than they did generate HTTP

Form Problem

2001-08-31 Thread Alessio Torino
hi there, I have a problem with a multipart form in my jsp. i have a code like this: html:form action=/saveCurriculum enctype=multipart/form-data method=POST [...] /html:form html:form action=/aggiungiVoce [...] html:submit property=aggiungiVoce value=Aggiungi/ /html:form html:form

I have menu.jsp

2001-08-31 Thread baris.guzelordu
Hi there, I have an input field (msisdn) and Lots of links to other jsps. (This is menu.jsp) All the other jsps use this input field data on menu.jsp..How can I pass this data to other jsps by using html:link. Appreciate any help. I use ; . html:text property="msisdn" size="10"

RE: I have menu.jsp

2001-08-31 Thread Roumen Ganeff
I would suggest you use an empty href (href="") and put the URL forwarding in client-side JavaScript, like onclick="javascript:window.location='menu9.jsp?msisdn='+document.ofrms[0].ms isdn.value;" the other, unnecessary heavy solution would be to submit this menu to a Struts action, which

MS Access with struts

2001-08-31 Thread Roland Berger
Hi all I try to access an MSAccess DB out of struts and I work with JBuilder 5.0. But when running the application I get the following error from JBuilder: cannot load servlet name: action2001-08-30 09:39:47 - path=/pcd :action: Initializing application data source

Re: Problem with html:img.. Please Help !!

2001-08-31 Thread Bar³omiej Paw³owski
Hi Use img src=image.logotop instead of html:img srcKey=/ Bartek Debasish Ghosh wrote: Hi all - This is my second attempt at the problem. I could not fix it. Please help !! I am using Tomcat 3.2.2. When I use an html tag as html:img srcKey=image.logotop/ (I am using Struts), the first

problem with logic:forwrad

2001-08-31 Thread Bar³omiej Paw³owski
Hi all I have a problem with logic:forward In my jsp file are the following lines: logic:notPresent name=profilesSession logic:forward name=indexClient/ /logic:notPresent It causes following exception: javax.servlet.ServletException: Exception forwarding for name indexClient:

RE: using actions xxxx.do

2001-08-31 Thread Maxime Saby
Hi, I still ahve problem with the struts installation. I can t run the struts-example application. When I access a .do url, the page does^'t exists. the apache error log file says : [Fri Aug 31 10:43:38 2001] [error] [client 127.0.0.1] File does not exist:

AW: MS Access with struts

2001-08-31 Thread D. Veniseleas
Hi, it could be made with the Access Database configured as a Systemdatasource (ODBC-Administration-Tool in the Control panel), where you define a name for your datasource. Then you give the url as jdbc:odbc:yourdatabasename. I can't imagine that Access is a Databse server which you can

Re: select list

2001-08-31 Thread chiji nwankwo
Hi, This might answer your question(s). http://www.mail-archive.com/struts-user%40jakarta.apache.org/msg14470.html From: Aaron O'Hara <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: select list Date: Thu, 30 Aug 2001 10:04:54 -0700 MIME-Version: 1.0 Received:

Re: problem with logic:forwrad

2001-08-31 Thread Cedric Dumoulin
Hi, You can't do forward once you have already write something in output stream. You can only do include (ex : jsp:include). Cedric Bar³omiej Paw³owski wrote: Hi all I have a problem with logic:forward In my jsp file are the following lines: logic:notPresent

Re: Any Struts User uses the Expresso Framework ?

2001-08-31 Thread Peter Pilgrim
I did not preclude Struts from any J2EE project. Struts does not provide enterprise level features by default. For those you would have to J2EE provider(s) or use some entirely different. It provides MVC framework and a layer above JSP and Servlets. There many ways of skinning a cat, my friend.

Re: dynamic template tag parameter values

2001-08-31 Thread Cedric Dumoulin
You can do something like : template:put name=sidebar content='%= /jsps/sidemenu+ clientName+ .jsp%'/ But you certainly have to put some processing before to check if the clientName is valid. Also, you can check Tiles contribution for others ideas. For example, you can adapt the

Struts handling of checkbox parameter values

2001-08-31 Thread Peter Pilgrim
How does do perform String [] HttpServletRequest.getParameterValues() with a Struts Action and Action Form? If you a html form with a group of html checkbox elements like so input type=checkbox name=fruits value=apple apple input type=checkbox name=fruits value=orange orange input

Re: Any Struts User uses the Expresso Framework ?

2001-08-31 Thread Pete Carapetyan
I have been using Expresso for a year or so, mostly because of my twisted view of an applications as being a database with views attached - Expresso is very database oriented. For example, getters and setters instead of SQL sequences, as well as the flexibility of changing databases rather

ApplicationResources.properties

2001-08-31 Thread Stefan Faist
Must this file saved under the /WEB-INF/classes directory or can I save it direkt under the /WEB-INF directory? And how is then the entry in the web.xml? Stefan -- hmi-Informatik GmbH Zettachring 6 - D-70567 Stuttgart E-Mail: [EMAIL PROTECTED]

RE: ApplicationResources.properties

2001-08-31 Thread Roumen Ganeff
this file must be in the classes directory, and it behaves like a regular java file, that is, you need to put in the respective directory of your project, for example com.mycompany.myproject.resources. And then write the same name in the web.xml G. -Original Message- From: Stefan Faist

AW: ApplicationResources.properties

2001-08-31 Thread Stefan Faist
I dont't want save the file under the web-inf/classes directory. I want to save it for example in this directory web-inf/config . Is that possible Regards, Stefan -Ursprüngliche Nachricht- Von: Ganendran Kumaraswamy [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 31. August 2001 14:18

RE: ApplicationResources.properties

2001-08-31 Thread Mark Schenk
Subject: AW: ApplicationResources.properties I dont't want save the file under the web-inf/classes directory. I want to save it for example in this directory web-inf/config . Is that possible Regards, Stefan As far as I understand it your Resources.properties are looked up in your

Re: How do i pass a constant %=request.getParameter( )% to Db

2001-08-31 Thread Chuck Amadi
Hi all i have sorted out the missing value app_code.Cheers if you've being looking at it. bh3Planning Application Code Number:%=request.getParameter(app_code)%input type=hidden name=app_code value=%=request.getParameter(app_code)%/h3/b It mat

Can't place JSP beneath WEB-INF in WebLogic 6.0

2001-08-31 Thread Luna, Katherine
Title: Can't place JSP beneath WEB-INF in WebLogic 6.0 Hi all. After reading the new Struts Catalogue, I would like to move all my jsp's beneath WEB-INF. However, as soon as I do that, WebLogic can't seem to find them. My struts-config.xml looks like this: !-- Process a user logon --

Re: Struts handling of checkbox parameter values [SOLVED]

2001-08-31 Thread Peter Pilgrim
Ah! The answer of course is starring at me in my face. public ActionForward perform( ActionMapping, ActionForm form, HttpServletRequest request. HttpServletServlet response ) Ofcourse I can get a reference to `HttpServletRequest' and

RE: dynamic template tag parameter values

2001-08-31 Thread David Boardman
A couple of questions about Tiles, When I downloaded the binary distribution I did not see the tiles-tutorial.war file and was therefore missing some of the files necessary to go through your tutorial. Am I missing something in the distribution, or was the tutorial removed. Secondly, when I

Successful Major Applications

2001-08-31 Thread Daniel Jimenez
I'm looking for some feedback on some major applications using struts. I work for a mid-large corporation and we have implemented struts as our web application framework. Upon discussing our framework with management, a question was raised as to who else is using this framework and what

Re: Successful Major Applications

2001-08-31 Thread Sean
I can't give to much detail until we are done, but we are in the process of using Struts to write a real-time web application that will run approximately 500 users per server, all with approximately 5-8 windows open refreshing every 5-20 seconds. Not sure if that is what you are looking for. I

why bean:write converts etc?

2001-08-31 Thread Bar³omiej Paw³owski
Hi I have a problem I put in the vector: vector.addElement(bble ble/b); vector.addElement(bble ble/b); request.setAttribute(actList, result); next in the jsp page: logic:iterate id=doc name=actList type=adwokaci.resources.DocumentAttributes bean:write name=doc property=desc/

Re: Any workaround for getConnection(username, password)?

2001-08-31 Thread Daniel Jimenez
Actually this is a lot easier than I made it out to be. Once I remove the username, password, and set my countMin=0, using struts-config.xml to define my datasource was not an issue. Heres what need to be done before I made my connection. GenericDataSource ds =

Re: How to remove global ActionErrors?

2001-08-31 Thread Luis Olivares
Title: How to remove global ActionErrors? PageContext can be accessed directly from your Custom Tags. In fact from there is from where you get your other 'scopes'. This way youreference the different scopes from within a Custom Tag: HttpSession session = pageContext.getSession();

Setting focus

2001-08-31 Thread Andy Noble
As I've been playing around with the HTML form tags, I've noticed that it would be handy for an additional tag that sets the focus to the control that has the same name as the first ActionError name. Is there any plans for this kind of functionality? Andy BEGIN:VCARD VERSION:2.1

Templates x 1.1

2001-08-31 Thread Rodrigo Zerlotti
I'm going to the pain process of upgrading Tomcat to Resin and Struts1.0 to Struts1.1 and making it work with cocoon1.8.2 (different SAX)... got almost all done, except for a problem on a Struts page that used to work on the old setup. It is a template page that includes several others (I use

RE: Setting focus

2001-08-31 Thread Assenza, Chris
It's on the tail end of my to-do list for our project, but I haven't had any time to work on it. Someone else suggested solution a week or two ago but I had no success with it (and haven't had time to,etc. etc.) Chris Christopher Assenza Phone: 412.201.6026 Fax: 412.201.6060 Email: [EMAIL

RE: How to remove global ActionErrors?

2001-08-31 Thread Luna, Katherine
Title: RE: How to remove global ActionErrors? Thank you, that works wonderfully :) kat -Original Message- From: Ed Milic [mailto:[EMAIL PROTECTED]] Sent: Friday, August 31, 2001 11:52 AM To: [EMAIL PROTECTED] Subject: Re: How to remove global ActionErrors? Hi Katherine, The

Itrator tag returns java.util.Hashtable$Entry, how to get value out of it.

2001-08-31 Thread Manish Pandya
Hello All, I am iterating a java.util.Hashtable using the struts iterator tag. the id=myelement generates a bean myelement of type: java.util.Hashtable$Entry. As this class has private constructors, there is no way for me to cast it form Object to java.util.Hashtable$Entry. so I can't access

Re: Tomcat 4.0b7 and struts-example webapp

2001-08-31 Thread Craig_Reichenbach
This is more a question for the Tomcat list, but since it came up below, what is the best practice for including needed libraries and implementations (such as crimson.jar jaxp.jar) in Catalina? While Ian's suggestion below moves these from /jasper to /lib, I found the struts example also works

struts-layout using struts 1.0/1.1 ?

2001-08-31 Thread Chris Chang
Folks got a question about struts-layout, does it use struts 1.0 or 1.1? cuz I have a problem that when I use struts-layout in my application, It generates the following error: 500 Internal Server Error Error parsing JSP page /commodity_form.jsp line 38 Tag class

Re: Tomcat 4.0b7 and struts-example webapp

2001-08-31 Thread Remy Maucherat
This is more a question for the Tomcat list, but since it came up below, what is the best practice for including needed libraries and implementations (such as crimson.jar jaxp.jar) in Catalina? While Ian's suggestion below moves these from /jasper to /lib, I found the struts example also

Re: Tomcat 4.0b7 and struts-example webapp

2001-08-31 Thread Craig_Reichenbach
So the problem was that the Struts example wouldn't load in Tomcat4.0 B7 because it didn't have a parser or the jaxp.jar. Someone suggested putting a parser and jaxp.jar in the CATALINA_HOME/lib directory. This worked for me. But a post from the tomcat list suggested putting them in the

RE: Help!!!

2001-08-31 Thread Venkat Jonnalagadda
Thanks Robin, Though we can have hidden fields which sets the action to take place and branch accordingly, but i was wondering if you could have different methods which perform save/edit/delete etc., in the action class which can be defined into the struts-config.xml under the action mappings, so

Unconvertible UTF-8 character beginning with 0xb4

2001-08-31 Thread creeves
Hi all Im trying to invoke a simple hello world style jsp using struts and receive the error below: +++ org.apache.jasper.compiler.CompileException: C:\tomcat\jakarta-tomcat-3.2.3\webapps\hello-world\hello.jsp(2,0) Unable to open taglibrary /WEB-INF/struts-bean.tld : Parse

RE: Any Struts User uses the Expresso Framework ?

2001-08-31 Thread Michael Nash
Kent: I think it really depends on your requirements and the skill level of your developers. I personally would be careful about trying to learn and combine two frameworks, even if they serve two different purposes. Actually, the combining is already done - we have Struts 1.0 fully

Re: STRANGE: session.invalidate() is not invalidating thesession

2001-08-31 Thread martin . cooper
It goes in the JSP page directive: %@ page session=false % -- Martin Cooper - Original Message - From: Shamdasani Nimmi-ANS004 [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 31, 2001 7:33 AM Subject: RE: STRANGE: session.invalidate() is not invalidating the session

Re: Tomcat 4.0b7 and struts-example webapp

2001-08-31 Thread Ian Kallen [EMAIL PROTECTED]
Informative error messages and docs generally hasten developer time investment (and hoperfully adoption) of a new technology. So I would say yes! :) On Fri, 31 Aug 2001, Remy Maucherat wrote: leaving them in jasper. Can someone point me to where I can discern the differences between the

Re: Anyone Seen This? javax.servlet.ServletException: Cannot find bean org....

2001-08-31 Thread CityBoyForLove
u gotr to specify the bean tag in form tag like html:form name="StockholderForm" type="com.transplace.struts.bean.StakeholderForm" action="createStakeholder.do" /html:form where html is the prefix for the tld nnjoy bala

Re: Reaching Action class from Href Link

2001-08-31 Thread CityBoyForLove
Hi, U can use the link some like this. html:link href="/actionfromservletconfig.do?name=value" click here /html:link to replace the html form. enjoy bala

Re: Strategy for Checking Session Timing Out

2001-08-31 Thread martin . cooper
If the user disables cookies, the servlet container should revert to using URL rewriting to maintain the session. You shouldn't have to worry about a new session being created on each request. -- Martin. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday,

RE: Help!!!

2001-08-31 Thread Simon Sadedin
Hi Venkat, I would encourage you to consider (if you haven't already) keeping your actions in separate classes and possibly using inheritance or other means to extract the common portions. This is more in line with the design intent of struts, and makes cleaner, more maintainable code. For