[OT] Sysdeo Eclipse plugin for tomcat - working directory

2003-11-05 Thread Andrew Hill
Anyone else using this plugin to get debugging functionality in Eclipse for their webapps? Is there any way to set the working directory to be used when one starts TomCat with the plugin? Its being set to c:/eclipse instead of tomcat/somethingorother (bin?) and some of the lower levels of the

RE: Working with UTF-8 and problems with German Umlauts

2003-11-05 Thread Zsolt Koppany
My problem was really, that my code was too late. After using a servlet filter and calling request.setCharacterEncoding(UTF8) from the filter, my problem was fixed. Thank you everybody for the help. Zsolt -Original Message- From: Jim Theodoridis [mailto:[EMAIL PROTECTED] Sent:

Concerns in Using Tiles.

2003-11-05 Thread Sunny
HI Friends, I am developing an application which needs to port attribute of one tile to other. Heres my defintion of tiles: definition name = AMBody page = /activity/common/amTiles/layout/AMLayoutBody.jsp put name = title value = Page Title type = string /

Re: ArrayList problem

2003-11-05 Thread Rajat Pandit
hello jack, thanks for the input, so how do i rectify that (which amounts to spoon feeding) but now iam shameless :(. HELP Jian Dai wrote: The ArrayList.ensureCapacity(int min) does not change the size. So even the minimum capacity of this array increase, this size of this array still keeps

Re: Struts Best Practices

2003-11-05 Thread Adam Hardy
On 11/04/2003 10:38 PM Vic Cekvenich wrote: iBatis.com Petstore 3 is a good place to start. I also try to make basicportal.sf.net a bP (best Practice) that build on above example. As far as books I am writing my 2nd Struts book (first one was out in 2001) that happens to be titled best

RE: ArrayList problem

2003-11-05 Thread Jian Dai
If you just want to add a new object as the last one. You can simply call the add(Object o), it will automatically add as last one and the size automatically increment by 1. If need to add it in a special place. Then there is no simple way as far as I know. As you know, Arraylist basically is an

Re: struts and filters

2003-11-05 Thread Adam Hardy
On 11/04/2003 10:37 PM jeff wrote: will struts work with filters ? i am using filters now, and want to start using struts. Jeff, that's a bit like asking will servlets work with filters? or will JSPs work with filters? or even will MVC work with filters? Struts is compatible with filters,

RE: struts and filters

2003-11-05 Thread Andrew Hill
snip that's a bit like asking will servlets work with filters? or will JSPs work with filters? or even will MVC work with filters? /snip The answer to which is NO if running under a Servlet API 2.2 container... ;-) -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent:

Re: Concerns in Using Tiles.

2003-11-05 Thread Adam Hardy
On 11/05/2003 09:14 AM Sunny wrote: HI Friends, I am developing an application which needs to port attribute of one tile to other. Heres my defintion of tiles: definition name = AMBody page = /activity/common/amTiles/layout/AMLayoutBody.jsp put name = title value = Page Title type = string

Re: struts and filters

2003-11-05 Thread Adam Hardy
On 11/05/2003 09:43 AM Andrew Hill wrote: snip that's a bit like asking will servlets work with filters? or will JSPs work with filters? or even will MVC work with filters? /snip The answer to which is NO if running under a Servlet API 2.2 container... ;-) Well strike me down for misleading the

Re: Help Req on Iterate Tag using HashMap

2003-11-05 Thread Shakti
Thanks for your reply boss, but still its doesn't solves my problem .. I know this method of iterating thru an Array list taking out a bean from that .. but I want to USE A HASH MAP ... anyone who can help me out of this waiting 4 ur reply guyz . chao ... shakti - Original

Re: Concerns in Using Tiles.

2003-11-05 Thread Sunny
On Wednesday 05 November 2003 02:27 pm, you wrote: On 11/05/2003 09:14 AM Sunny wrote: HI Friends, I am developing an application which needs to port attribute of one tile to other. Heres my defintion of tiles: definition name = AMBody page =

Re: Help Req on Iterate Tag using HashMap

2003-11-05 Thread Nicolas De Loof
Sory if this has allready been proposed, I didn't read this thread from begining. Did you try something like this : logic:iterate name=EMPHashMap id=mapEntry uid = bean:write name=mapEntry property=key Date of joining = bean:write name=mapEntry property=value.joining /logic:iterate

Re: Help Req on Iterate Tag using HashMap

2003-11-05 Thread Ashish Sinha
Hi, The following piece of code works fine with me. I use it to display data in a drop down / select box. html:select name=customerContactFormBean property=orgSeqId onchange=javascript:showDistInformation() disabled=true html:option value=bean:message

Re: Help Req on Iterate Tag using HashMap

2003-11-05 Thread Sunny
logic:iterate id = empHash name = beanName property = empDetailsAsHashMap bean:define id = empDetails name = empHash property = value type = yourpackage.EMPDetails / TR TD bean:write name = empHash property = key / /TD TD bean:write name = empDetails property = dateOfJoining / /TD TD

Can't insert page '../common/comLayout.jsp' : Connection reset by peer: socket write error

2003-11-05 Thread deepaksawdekar
after the execution of execute method of the action class i am getting this error. Any idea why i am getting this error. DEBUG [Thread-3] org.apache.struts.action.RequestProcessor -

html:link adn Struts usage - question from a newbee

2003-11-05 Thread Frederic Dernbach
Inside a JSP, I would like to implement a link to a Struts action that forwards back to the initial JSP WITHOUT LOOSING THE FORM'S DATA. Let's have a simple (and stupid) example so I can make myself understand better. Using struts, we have a JSP (/ShowMe.jsp) with a form stored in request or

Re: html:link adn Struts usage - question from a newbee

2003-11-05 Thread Deepak
Ur link should call .do that populates the form for 'ShowMe.jsp' and sets it in the session - Original Message - From: Frederic Dernbach [EMAIL PROTECTED] To: struts-user [EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 4:51 PM Subject: html:link adn Struts usage - question from a

Re: html:link adn Struts usage - question from a newbee

2003-11-05 Thread Ashish Sinha
Hi Fred, Try this and let me know. html:link action=\ShowItAgain.do Refresh/html:link Rgds, Ashe. - Original Message - From: Frederic Dernbach [EMAIL PROTECTED] To: struts-user [EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 11:21 AM Subject: html:link adn Struts usage -

Forward attribute vs. ForwardAction

2003-11-05 Thread Phil
Hi, i write my thesis about the struts framework and i have a question about the ForwardAction class. I think the forward attribute in an action-mapping has the same effect as the use of the ForwardAction, so why is there a special class to perform a forward? I think you get the same result if

RE: Can't insert page '../common/comLayout.jsp' : Connection reset by peer: socket write error

2003-11-05 Thread deepaksawdekar
I am calling a function for the underline java class, after returing from function(Function is getting excuting sucessfully) i forward to a jsp. but i get this error Can't insert page '../common/comLayout.jsp' : Connection reset by peer: socket write error . Now my first point how can i

Re: Concerns in Using Tiles.

2003-11-05 Thread Adam Hardy
On 11/05/2003 10:27 AM Sunny wrote: On Wednesday 05 November 2003 02:27 pm, you wrote: The problem still persists code in my exportResourcePool.jsp tiles:useAttribute id = currentPage name = pageName type = java.lang.String scope = request / Current Page:bean:write name = currentPage / Exception

Re: html:link adn Struts usage - question from a newbee

2003-11-05 Thread Frederic Dernbach
Thanks for answering.Your inputs do not solve the problem. However, I found the solution in the mail archive (have javascript submit the form): html:link href=# onclick=document.forms[0].submit();return false; Go /html:link Returning false makes sure there is one request only. Cheers.

Re: Concerns in Using Tiles.

2003-11-05 Thread Sunny
I just use this: tiles:useAttribute name=pageName/ fmt:message key=${pageName}/ so basically without looking it up, I couldn't say whether all those extra attributes on useAttribute are correct, and I can't remember how I did it before using taglib EL. If you are using tomcat 5, you

Re: Help Req on Iterate Tag using HashMap [PROBLEM SOLVED]

2003-11-05 Thread Shakti
Hi , Thanks buddy, it was the perfect solution that i was looking for ... :-) chao ... Shakti - Original Message - From: Sunny [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 3:12 PM Subject: Re: Help Req on Iterate Tag using

Newbie question....redirect

2003-11-05 Thread Mathieu Grimault
Hi all ! Sorry, about a such stupid question but I try to have my application redirects to an external web site with some parameters. Here is an exemple : http://payOnline/$cashAmout/$name For the moment i'm just try to redirect to an external website like yahoo but the search path is always

Re: Forward attribute vs. ForwardAction

2003-11-05 Thread Ashish Sinha
Hi Phil, If I understood you write, you have confusions over forward and ForwardAction due to the name you have chosen for the Action subclass. ForwardAction as you have defined in your type attribute could be named anything. A forward attribute in your struts configuration file tells the

Re: Newbie question....redirect

2003-11-05 Thread Nicolas De Loof
contextRelative is used to define a forward that is relative to the application context and not to the module context (default). You cannot redirect to an URL outside your app using struts-config forward. Use a requestDispatcher in your action and call sendRedirect(), or create a new JSP with

Re: Concerns in Using Tiles.

2003-11-05 Thread Sunny
Can you please help me finding resources which gives a deeper understanding of tiles. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Concerns in Using Tiles.

2003-11-05 Thread Brice Ruth
Ted Husted's book, Struts in Action has a good section on Tiles. Other than that, the Struts Tiles reference online is a good source of information, as are the example applications that come with the Struts distribution. You can find the book here:

Re: Struts Best Practices

2003-11-05 Thread Ted Husted
Manish Singla wrote: I am looking for resources (links/books/suggestions) for Struts best practices. We are migrating a huge WEB app from (40% struts 60% in 4 other MVC frameworks) to 100% struts. We want to document/standardize as our team is at 5 different geographic locations. Once upon a

RE: Struts1.1 Oracle 9iAS

2003-11-05 Thread Tim Clotworthy
Sorry for not getting back sooner (got caught up in other things). As far as the version, we are using 9.0.3. Here are the two most sticky problems we have yet to resolve: Problem1: The way that the Oracle9iAS jsp compiler translates the logic:equal tag is a little strange. The following example

RE: Javascript question...

2003-11-05 Thread Ramadoss Chinnakuzhandai
Try this simple... document.write('select NAME='+optionName+''); document.write('option value=yearYear/option'); for (var i=(year-4);i(year+4);i++ ) { document.write('option value=' + i +'' + i+'/option'); if(i==defaultValue) {

Tiles trouble when specifying two struts-configs for a single module.

2003-11-05 Thread Marino A. Jonsson
When I specify two struts-configs for a single module (let's call them struts-a and struts-b, specified in that order), and both of them include a tiles plugin element, then the tiles plugin in struts-a is initialized and not the one in struts-b! I was hoping that the tiles plugin in struts-b

Re: Newbie question....redirect

2003-11-05 Thread Marcella Turner
Nicolas, I think your reply will help me with my post too - trying to switch web modules - help but I don't see a sendRedirect() method of the requestDispatcher object. How can I call this sendRedirect() - sounds like the solution to my problem! Thanks From: Nicolas De Loof [EMAIL

Re: Newbie question....redirect

2003-11-05 Thread Nicolas De Loof
excuse me for mistake. You should read response.sendRedirect() http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/http/HttpServletResponse.html#sendRedirect(java.lang.String) Nico. - Original Message - From: Marcella Turner [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Handling Session Timeout

2003-11-05 Thread Samanth Athrey
Hello Gurus I am trying to handle session timeout by extending RequestProcessor. Since the processPreprocess(...) method is called before the Action.execute(..) method, am trying to add that piece of code to check if the session is valid. The problem am facing is, if i return false from this

RE: Handling Session Timeout

2003-11-05 Thread Seyhan BASMACI (Internet Yazilimlari Yetkilisi)
try this :) public class SessionRequestProcessor extends TilesRequestProcessor{ protected String processPath(HttpServletRequest request, HttpServletResponse response) throws IOException {

9iAS and logic:equal tag

2003-11-05 Thread Tim Clotworthy
Hello, We are switching to 9iAS (9.0.3) from Tomcat, and we encounter the following two issues. Any feedback for how to resolve these is greatly appreciated: Problem1: The way that the Oracle9iAS jsp compiler translates the logic:equal tag is a little strange. The following example shows two

RE: ArrayList problem

2003-11-05 Thread Derek Richardson
Look at lazyList(): http://jakarta.apache.org/commons/collections/api/org/apache/commons/collections/ListUtils.html -Original Message- From: Jian Dai [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 3:40 PM To: Struts Users Mailing List Subject: RE: ArrayList problem If you

RE: Javascript question...

2003-11-05 Thread Yee, Richard K,,DMDCWEST
Jacob, Have you considered using/writing a JSP custom tag to display the select boxes and select an item for you? That way the page may still work if JavaScript is turned off on the browser. -Richard -Original Message- From: Jacob Wilson [mailto:[EMAIL PROTECTED] Sent: Tuesday,

RE: [OT] Sysdeo Eclipse plugin for tomcat - working directory

2003-11-05 Thread Yansheng Lin
Um, you can set your $tomcat_home under window - preference. Is that what you want? I had a problem with my log4j output. I fixed the problem by putting the eclipse/ dir on the same level as the log output. It's been working well for me for a almost year now. And I don't start tomcat anywhere

Reusing Validation

2003-11-05 Thread Srinivas Gunturu
Hi All, We are developing an intranet site to replace a legacy system which is in place. Legacy system does not have as much extensive validation as the new application does. Intranet site rollout is going to be phased out due to several reasons. While legacy system is up, we have a batch

Trouble redirecting

2003-11-05 Thread Marcella Turner
I'm trying to use a response.sendRedirect(http://www.yahoo.com;); in my action servlet (yahoo is not my actual goal but i needed to see if sendRedirect() would work for me at all). However, I'm getting a NullPointerException from the org.apache.struts.util.RequestUtils.forwardURL(). I don't

Re: Forward attribute vs. ForwardAction

2003-11-05 Thread Hubert Rabago
Phil, ForwardAction allows a response to still go through struts processing. Not all of the Struts features will kick in or perform as expected when you use forward=/login.jsp. I don't have a full list of which ones will still work and which ones won't, and it may depend on the complexity of

Re: Forward attribute vs. ForwardAction

2003-11-05 Thread Phil
Hi Ashish, thanks for your answer. But i think you missunderstood me. In the Struts Framework, there is a prebuild Action class called ForwardAction. The ForwardAction and the forward attribute of an action-mapping (see my example) serve the same purpose which is to forward from one JSP to

Re: 2 problems with bean:include and bean:write whilst including results of action in page and behind firewall with NAT.

2003-11-05 Thread Fred Bloggs
Kris After getting my head around Tiles, I have managed to sort out both original problems (charset/font problem and url behind firewall problem) by using tiles:insert instead of the templates. I initially did a one for one replacement of the template tags with tiles tags. Also I replaced the

[ANNOUNCE] Visual Tags for Struts 2004 Released

2003-11-05 Thread Forest Arnold
FWA Software, Inc released Visual Tags for Struts 2004 on 03 November 2003. Visual Tags for Struts 2004 is the latest release of FWA Software's extension suite that integrates the Struts 1.1 tag libraries with Dreamweaver. The major new feature in Visual Tags for Struts 2004 is support for

Re: Trouble redirecting

2003-11-05 Thread Hubert Rabago
What does your action mapping look like and what are your returning to struts from within your Action? You can use redirect=true to redirect to yahoo: action path=... forward name=redirectToYahoo path=http://www.yahoo.com; redirect=true/ /action and in your Action: return

Re: Handling Session Timeout

2003-11-05 Thread Rick Reumann
Samanth Athrey wrote: I am trying to handle session timeout by extending RequestProcessor. Since the processPreprocess(...) method is called before the Action.execute(..) method, am trying to add that piece of code to check if the session is valid. The problem am facing is, if i return false from

Re: Trouble redirecting

2003-11-05 Thread Hubert Rabago
If you want to do the redirect from within your Action, you can still use response.sendRedirect(http://www.yahoo.com;); and then return null to Struts instead of an ActionForward. --- Hubert Rabago [EMAIL PROTECTED] wrote: What does your action mapping look like and what are your returning to

Re: Forward attribute vs. ForwardAction

2003-11-05 Thread Rick Reumann
Phil wrote: action path=/login type=org.apache.struts.actions.ForwardAction parameter=/login.jsp / or: action path=/login forward=/login.jsp / So what is the benefit of the ForwardAction class? I'm not positive but I'm pretty sure both are using the ForwardAction class, the

RE: [OT] Sysdeo Eclipse plugin for tomcat - working directory

2003-11-05 Thread David Friedman
When you say working directory, do you mean JSP's or classes? With Eclipse v2.1, Struts v1.1, taglibs 1 (beta), and Sysdeo 2.1.0, I can debug both. Debugging my java classes is as easy as pie - add a breakpoint, reload your page in the browser, and step through it in Ecilpse's debug window while

Re: Trouble redirecting

2003-11-05 Thread Marcella Turner
Hubert, Thanks very much for your prompt suggestion :) I tried your first suggestion, but got a 404 error. Is this because the contextPath is getting in the way? You can use redirect=true to redirect to yahoo: action path=... forward name=redirectToYahoo path=http://www.yahoo.com;

Re: Trouble redirecting

2003-11-05 Thread Rick Reumann
Hubert Rabago wrote: What does your action mapping look like and what are your returning to struts from within your Action? You can use redirect=true to redirect to yahoo: action path=... forward name=redirectToYahoo path=http://www.yahoo.com; redirect=true/ /action and in your Action:

Re: Trouble redirecting

2003-11-05 Thread Hubert Rabago
What parameters are you using for the path? My interpretation of the Struts code is that it adds the context path (and module) if the path starts with /. If you don't want struts to do this, try specifying a path that doesn't start with /. I've tried this and it works, but I had to hardcode the

Re: Trouble redirecting

2003-11-05 Thread Rick Reumann
Marcella Turner wrote: The contextPath may prove to be a real problem for me since I would like to transfer control to a servlet in a different contextPath than the one my app is in. Why don't you post the syntax of the exact page you are trying to redirect to. As far as I know you will need

Re: Trouble redirecting

2003-11-05 Thread Marcella Turner
Hi Rick and Hubert, Thanks for giving my problem some thought. My action mapping is below: action path=/verifyXYZ name=obtainXYZFormBean scope=request type=my.package.actions.VerifyXYZAction input=/SelectXYZ.jsp validate=true forward name=success path=/SelectTerms.jsp /forward forward

Help - Looping with iterate without collection is possible?

2003-11-05 Thread Henrique VIECILI
Hi, can i make a loop using logic:iterate (or any other tag) without defining a collection to iterate? I just wanna have a 'for' behavior... thanx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: Help - Looping with iterate without collection is possible?

2003-11-05 Thread David Graham
--- Henrique VIECILI [EMAIL PROTECTED] wrote: Hi, can i make a loop using logic:iterate (or any other tag) without defining a collection to iterate? I just wanna have a 'for' behavior... The JSTL has a c:forEach tag that does this. http://java.sun.com/products/jsp/jstl/ David thanx

Re: Forward attribute vs. ForwardAction

2003-11-05 Thread Phil
Hi Hubert, thanks for your answer. I thought of this too. But then i examined the source code of the RequestProcessor. There, the forward element is processed just before the operations which are related to the actions (like creating Action instances and calling the execute() method) are

Re: Help - Looping with iterate without collection is possible?

2003-11-05 Thread Henrique VIECILI
Thank you a lot!! It works perfectly! (or in Portuguese: Funcionou Redondo!) Henrique - Original Message - From: David Graham [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 3:06 PM Subject: Re: Help - Looping with iterate without

Re: Struts1.1 Oracle 9iAS

2003-11-05 Thread Christian Bollmeyer
Hi Tim, lets start with Problem #1. I've set up the following test page that should basically do the same thing as the code you gave. This works in both 9.03 and 9.04. Note I've used request attributes for evaluation, for I didn't know where the variables in the original code come from. Does it

Re: Forward attribute vs. ForwardAction

2003-11-05 Thread Hubert Rabago
Hi Phil, Maybe my response was specific to a situation I had before. In some of the apps I've worked on, I needed to use my own RequestProcessor to insert some logic before a forward is processed. If I have actions that don't need an Action object, using forward=myJsp.jsp won't trigger the

Re: Trouble redirecting

2003-11-05 Thread Hubert Rabago
It looks like you're not the first to have redirect=true backfire on you when trying to redirect to an absolute path. I wonder why that is. You can try response.sendRedirect() within your action class and just return null. --- Marcella Turner [EMAIL PROTECTED] wrote: Hi Rick and Hubert,

presentation logic

2003-11-05 Thread Rajat Pandit
hello can someone please explain me the format attribute of the bean:write tag..and can i use it to round off numbers in the presentation layer to the number of significant digits i want? thanks in advance. rajat -- Rajat Pandit | [EMAIL PROTECTED] +91 612 3117606 [ Developer and Part Time

Re: Forward attribute vs. ForwardAction

2003-11-05 Thread Phil
Hi Rick, thanks for your answer. But if you defined the forward attribute no instance of the ForwardAction is created. I checked the source code of the RequestProcessor. Phil - Original Message - From: Rick Reumann [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent:

Exception handling in action class - Reloading the same page

2003-11-05 Thread Giovani Salvador
Hi... I will try to explain my problem. I have this action mapping action path=/Interface/Acompanhamento/Html/Projeto type=com.procergs.spo.actions.ProjetoAction name=projetoForm scope=request parameter=acao validate=false

Re: What's the best choice for connection pooling with Struts and PostgreSQL

2003-11-05 Thread Paul Thomas
On 04/11/2003 12:51 ZYD wrote: Thanks Paul, Could you please give me some code snippet about that factory parameter from the server.xml ? Thanks again. bruce ResourceParams name=jdbc/mytestDB parameter namefactory/name valueorg.apache.commons.dbcp.BasicDataSourceFactory/value

Re: [ANNOUNCE] Visual Tags for Struts 2004 Released

2003-11-05 Thread Vic Cekvenich
Would this support JSTL tags? In essence, if you can deal with tlds, it should. Bean and logic should not be used, JSTL should be used instead. Forest Arnold wrote: FWA Software, Inc released Visual Tags for Struts 2004 on 03 November 2003. Visual Tags for Struts 2004 is the latest release of FWA

Re: Trouble redirecting

2003-11-05 Thread Marcella Turner
Hubert, Thanks for this suggestion, I would like to try it. So, in my action I have: response.sendRedirect(http://www.yahoo.com;); How/where am I returning a NULL? Thanks, Marcella From: Hubert Rabago [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To:

Re: [ANNOUNCE] Visual Tags for Struts 2004 Released

2003-11-05 Thread Ted Husted
If your container supports 2.3, preferring JSTL is a good idea. But many teams still don't have that option. -Ted. Vic Cekvenich wrote: Would this support JSTL tags? In essence, if you can deal with tlds, it should. Bean and logic should not be used, JSTL should be used instead.

Re: Trouble redirecting

2003-11-05 Thread Phil
Hi Marcella, in the struts api there is an entry about the path attribute: The URL to which this entry points, which must start with a slash (/) character. Phil - Original Message - From: Marcella Turner [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 8:43 PM

Re: presentation logic

2003-11-05 Thread Manish Singla
Format atttribute act as Pattern (Ref NumberFormat, DecimalFormat class) to change format. FYI: Use FormatKey to get Format pattern from resources bundle You may round off numbers in p layer using bean:write Rajat Pandit wrote: hello can someone please explain me the format attribute of the

Re: Trouble redirecting

2003-11-05 Thread Hubert Rabago
public ActionForward execute(...) { response.sendRedirect(http://www.yahoo.com;); return null; } --- Marcella Turner [EMAIL PROTECTED] wrote: Hubert, Thanks for this suggestion, I would like to try it. So, in my action I have:

Re: [ANNOUNCE] Visual Tags for Struts 2004 Released

2003-11-05 Thread Brice Ruth
And to answer your question, Dreamweaver MX 2004 natively has basic support for the taglibs where it will to 'code completion' and such - much less than what Visual Tags for Struts does. Dreamweaver's supports importing *any* taglib for basic support - even custom tags. Vic Cekvenich wrote:

Re: [ANNOUNCE] Visual Tags for Struts 2004 Released

2003-11-05 Thread Vic Cekvenich
Tomcat v3 level (Servelt 2.2, Resin 1.x); I do not think sigificant new development is on Tomcat v3 level. Servlet 2.3 is Tomcat v4 level (Resin 2, JSTL 1.03). I know projects live on Servlet 2.4, Tomcat v5 level (Resin 3, JSTL 1.1, JSP 2) They named product Struts Tags for 2004, next years

free ftp utils

2003-11-05 Thread Rachid Drissi
Hi All, Is any free java utils to send mails , aatchements, ftp files using java ? Thanks, Rachid. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: free ftp utils

2003-11-05 Thread David Graham
--- Rachid Drissi [EMAIL PROTECTED] wrote: Hi All, Is any free java utils to send mails , aatchements, ftp files using java ? http://java.sun.com/products/javamail/ David Thanks, Rachid. - To

RE: free ftp utils

2003-11-05 Thread Paananen, Tero
Is any free java utils to send mails , aatchements, ftp files using java ? There are at least half a dozen FTP Java libraries out there. About half of them are hobbyists' versions with varying degrees of completeness and bugginess. One or two are commercial. Unfortunately I do not have

Re: free ftp utils

2003-11-05 Thread Larry Meadors
javamail from sun will do email + attachments commons-net will do some, too [EMAIL PROTECTED] 11/05/03 1:24 PM Hi All, Is any free java utils to send mails , aatchements, ftp files using java ? Thanks, Rachid. - To

Re: free ftp utils

2003-11-05 Thread Rachid Drissi
Thanks, but what I meant is something like iNet Factory from jscape checkout this website http://www.jscape.com/inetfactory/index.html David Graham wrote: --- Rachid Drissi [EMAIL PROTECTED] wrote: Hi All, Is any free java utils to send mails , aatchements, ftp files using java ?

Struts-Validation

2003-11-05 Thread Ramadoss Chinnakuzhandai
Hi, I hv two fields field1 and field2 1. If field1 is null while field2 is empty I should throw error message that anyone of the field is mandatoryI implemented using requiredif and its working fine. 2. when both fields are entered I should throw an error message that enter

[OT] Re: free ftp utils

2003-11-05 Thread Rick Reumann
Rachid Drissi wrote: Hi All, Is any free java utils to send mails , aatchements, ftp files using java ? I think the .NET, Javascript, and DogFancy mailing lists discuss this a lot. Have you tried posting this question to one of those lists? I also heard of this thing called Google. I'm not

Re: free ftp utils

2003-11-05 Thread Larry Meadors
Heheh, if there were, how many copies of this do you suppose would get sold? Write the code or buy it you lazy bum. ;-) Larry [EMAIL PROTECTED] 11/05/03 1:51 PM Thanks, but what I meant is something like iNet Factory from jscape checkout this website

Re: free ftp utils

2003-11-05 Thread Rachid Drissi
Thanks Larry!! I will look at commons-net . Larry Meadors wrote: javamail from sun will do email + attachments commons-net will do some, too [EMAIL PROTECTED] 11/05/03 1:24 PM Hi All, Is any free java utils to send mails , aatchements, ftp files using java ? Thanks,

Re: [ANNOUNCE] Visual Tags for Struts 2004 Released

2003-11-05 Thread Ted Husted
Vic Cekvenich wrote: If anyone redevelops and old app, they might as well upgrade to a new container, not like we have to upgrade each workstation in the Client/Server days. Take advantage of EL, other features. It's very easy for us to say things like that, but some of my clients, especially

Re: [ANNOUNCE] Visual Tags for Struts 2004 Released

2003-11-05 Thread David Graham
--- Ted Husted [EMAIL PROTECTED] wrote: Vic Cekvenich wrote: If anyone redevelops and old app, they might as well upgrade to a new container, not like we have to upgrade each workstation in the Client/Server days. Take advantage of EL, other features. It's very easy for us to say

Error Handling without using errorPage directive

2003-11-05 Thread Jonathan Gordon
Hello all, I'd like to handle any and all exceptions handled thrown by my JSP pages declaratively, ideally using global-exceptions in struts-config. Currently, I have a JSP page called by a tile that uses the JSTL Tag Library. Using the c tag I perform a check like this: c:if test=${!empty

RE: Struts1.1 Oracle 9iAS

2003-11-05 Thread mradhakrishnan
Hi There are atleast 4 projects that we are working on right now using OC4J and various verions of Struts and we don't have any problem. We have logic:equal all over the place. We are also using tiles. Mohan Sorry for not getting back sooner (got caught up in other things). As far as the

Re: Validation Problems

2003-11-05 Thread Charlie Toohey
I had the same problem. The solution was that my webapp was not using: jakarta-oro.jar which is a regular expression package used by some, but not all, of the validations. - Charlie Dear Struts users, I have done a simple web-app using validator framework. the JavaScript validations are

RE: Struts-Validation

2003-11-05 Thread Yansheng Lin
So you are saying you need something like notRequireIf for field2, right? That's a self-contradiction if you want to use them at the same time. You will need to write your own validation for that. -Original Message- From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED] Sent:

RE: Struts-Validation

2003-11-05 Thread Ramadoss Chinnakuzhandai
yesI should restrict the user to enter both fields i.e they should enter anyone of the fields and not both. That's a self-contradiction if you want to use them at the same time. You will need to write your own validation for that. you mean to say separate JavaScript or whatever to validate

RE: Struts-Validation

2003-11-05 Thread Yansheng Lin
Depends on how good you are with the validation framework. You can write your own validation for this. Or you need to do this in two steps. requireif_and_notrequireif -Yan -Original Message- From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED] Sent: November 5, 2003 3:33 PM To:

RE: [ANNOUNCE] Visual Tags for Struts 2004 Released

2003-11-05 Thread James Mitchell
Sadly, none of the current Committers are using the original taglibs in their own work, and so we are actively looking for a taglib maintainer. That's not quite true; I use the html and tiles tags all the time :-). Ditto for me. I am using the original tags and JSTL (not

Why the Action Mapping Cannot Be Retrieved?

2003-11-05 Thread Caroline Jen
I got this message in the browser: [ServletException in:/article/content/menu.jsp] Cannot retrieve mapping for action /do/editor/Category' The menu.jsp is a tile in my application. This is my tile menu.jsp: req:isUserInRole role=editor html:form action=/do/editor/Category TR TD class=option

Re: Trouble redirecting

2003-11-05 Thread Marcella Turner
Hubert, I can't thank you enough for this fix! It really saved me when nothing else was working. Thank you, Thank you, Thank you - and long live the struts-user list :) Marcella From: Hubert Rabago [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users

Global forward from anywhere in site when condition met

2003-11-05 Thread Russell Healy
Is there an elegant way to invoke a global-forward from anywhere in the site when any given condition is met? In my case, I want to invoke a global-forward when a certain attribute is missing from the HTTPSession. I want this rule to be applicable across the whole site, but I don't want to

RE: [OT] Sysdeo Eclipse plugin for tomcat - working directory

2003-11-05 Thread Andrew Hill
Classes. Ive no problem running the debugger. The problem is that when running TomCat from Eclipse some of the classes I am using (which I didnt write myself) encounter errors as the working directory is different to what it would be if I had started the tomcat by running the batch file from the

validator, range

2003-11-05 Thread Budi Rostiarso
Hi all, quick question on validation: Can we setup validator with rules like x must be equal or greater than 8, just to limit the lower bound ? Currently, i use the range validator, which means i have to specify the lower and upper bound, right? Any clues and pointers appreciated. Thanks.

  1   2   >