Re: JSTL and Struts together

2005-05-19 Thread Shey Rab Pawo
etc. On 5/19/05, Suresh Khatri <[EMAIL PROTECTED]> wrote: > <%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c"/> > <%@ taglib uri="/tags/struts-html" prefix="html"/> > > > property="name" > value=""/> > > > would display the whole thing. Is there a way of making

JSTL and Struts together

2005-05-19 Thread Suresh Khatri
<%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c"/> <%@ taglib uri="/tags/struts-html" prefix="html"/> "/> would display the whole thing. Is there a way of making it evaluate "/> How can this be solved using Struts and JSTL ---

Can't Undeploy Struts Applications

2005-05-19 Thread Harry Hartley
Is this a bug? So, I deploy the struts-blank webapp to my webapps directory under tomcat. Everything works fine. Then I try to undeploy it under the manager, and it responds the a message, context undeployed. But when I do a list under the tomcat manager it is still there. If I look

[HELP] Couldn't include tag in onClick in

2005-05-19 Thread Pham Anh Tuan
Hi all, I couldn't include tag in onclick attribute of like below: and the result: html source code shows like below: ");"> is not recognized! help me, plz :( Anh Tuan

Re: Fw: [HELP] How to restrict access to certain mapping action ???

2005-05-19 Thread Pham Anh Tuan
Hi Leon, Would you like to give me any example of ur solution? Anh Tuan - Original Message - From: "Pham Anh Tuan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Friday, May 20, 2005 9:37 AM Subject: Re: Fw: [HELP] How to restrict access to certain mapping action ??? Hi all,

Re: Fw: [HELP] How to restrict access to certain mapping action ???

2005-05-19 Thread Pham Anh Tuan
Hi all, First thanks for all ur replies, Second, the solution here is we will have a dynamic parameter which will automatically be created when 1 Session start and will be appended of the URL. Is this right :)? We could hide above parameter in session scope? Again, we found the solution! Thank a

Re: Running Tomcat from Eclipse

2005-05-19 Thread Yan Hu
Are we on a STRUTS mailing list? --- m Komma <[EMAIL PROTECTED]> wrote: > Hi, > I am using > Eclipse 3.0.1, > Sysdeo 3.0.0 (tomcat plugin for eclpse) > and Tomcat 5.5.7 > I was able to start tomcat from Eclipse until couple of days back. > but now, when ever I start tomcat from Eclipse I get th

Re: jstl - define bean

2005-05-19 Thread Martin Gainty
Grzegorz- Yes - Unless otherwise specified you are correct in stating the default scope for the bean is 'page' Martin- - Original Message - From: "Laurie Harper" <[EMAIL PROTECTED]> To: Sent: Thursday, May 19, 2005 11:22 PM Subject: Re: jstl - define bean > Grzegorz Stasica wrote: > > >

Re: jstl - define bean

2005-05-19 Thread Laurie Harper
Grzegorz Stasica wrote: I thought defines a new bean in page scope. If this is true No, c:set sets a property on a bean that is already defined. I do not understand why attached code keeps throwing exception that no getB() is not defined. This is equivalent to <% d.setB("kicha"); %> Login You'

Re: How to set character encoding of the incoming request in Struts 1.2.4

2005-05-19 Thread Jason Lea
I use a servlet filter to set the encoding before it reaches struts souravm wrote: Hi All, I want to set the chracter encoding of incoming http request by using HttpServletRequest.setCharacterEncoding() api. How do I do it using Struts 1.2.4 ? Does it provide any configuration parameter to do th

How to set character encoding of the incoming request in Struts 1.2.4

2005-05-19 Thread souravm
Hi All, I want to set the chracter encoding of incoming http request by using HttpServletRequest.setCharacterEncoding() api. How do I do it using Struts 1.2.4 ? Does it provide any configuration parameter to do the same ? Or one has to subclass the RequestProcessor class to do the same ? Or

Re: Fw: [HELP] How to restrict access to certain mapping action ???

2005-05-19 Thread Leon Rosenberg
Aehm... Be careful with this advice, First: you will get no referer in any kind of popups. Second: most proxies, anonymizer and anti-spy software removes referer attribute from the header. Maybe I'm a little late, but i had similar requirement some time ago - protect pages from being refered by

Re: Fw: [HELP] How to restrict access to certain mapping action ???

2005-05-19 Thread Leon Rosenberg
Aehm... Be careful with this advice, First: you will get no referer in any kind of popups. Second: most proxies, anonymizer and anti-spy software removes referer attribute from the header. Maybe I'm a little late, but i had similar requirement some time ago - protect pages from being refered by

Re: Fw: [HELP] How to restrict access to certain mapping action ???

2005-05-19 Thread Catalin Croitoru
hi, you can do like this: String myReferer = request.getHeader("Referer"); if myReferer is nul this means the request was by tiping the addres in the addres bar. if it's not null mean the user click on a link on last page in the browser and myReferer is the url of this page. for a full descripti

Re: [HELP] How to restrict access to certain mapping action ???

2005-05-19 Thread Steve Bosman
On 5/19/05, Catalin Croitoru <[EMAIL PROTECTED]> wrote: > Steve, > > the solution you provide doesn't solve the problem with typing the > link in the adress bar. user can copy from the html source of the page > the hidden atribute org.apache.struts.taglib.html.TOKEN and provide to > the adres with

jstl - define bean

2005-05-19 Thread Grzegorz Stasica
I thought defines a new bean in page scope. If this is true I do not understand why attached code keeps throwing exception that no getB() is not defined. Login - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

jstl - check bean exsist

2005-05-19 Thread Grzegorz Stasica
hi Is it possible to check in jstl if bean is available? Is this code correct - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Fw: [HELP] How to restrict access to certain mapping action ???

2005-05-19 Thread Grzegorz Stasica
Aladin Alaily wrote: Hi Pham, I think this was mentioned earlier. There are two things you can do: 1) Use a filter with a url-map to your action 2) Use security constraints Aladin Pham Anh Tuan wrote: Hi all, This is the second time I post this message for help :(. I don't know how to restrict ac

Re: DynaActionForm and the 'pull' model

2005-05-19 Thread Laurie Harper
Adam Hardy wrote: Laurie, my chosen option would be to use your view objects as form objects, where you modify the view object by adding string-typed getters and setters for every property. I'm not really keen to 'pollute' the view objects with String-type derived properties just for the HTML p

Running Tomcat from Eclipse

2005-05-19 Thread m Komma
Hi, I am using Eclipse 3.0.1, Sysdeo 3.0.0 (tomcat plugin for eclpse) and Tomcat 5.5.7 I was able to start tomcat from Eclipse until couple of days back. but now, when ever I start tomcat from Eclipse I get the followoing error message (I can start Tomcat if I check the box "Don't run Tomcat in

Re: Opening a Form in a New Window - Help!

2005-05-19 Thread Frank W. Zammetti
Hello, In order to set those options you will have to use Javascript. The target attribute is a fairly dumb animal in that it just opens said target with the location you specify. Anything more requires scripting. I wasn't clear on what you meant by: "Does anyone know how I might specify these

Re: Opening a Form in a New Window - Help!

2005-05-19 Thread David Johnson
I got it. My link is as follows: Help which calls the following: function openHelpWindow(){ var helpWindow = window.open("","_help", "height=300,width=450,status=yes,toolbar=no,menubar=no,location=no"); helpWindow.location = "./help.action"; } On 5/19/05, David Johnson <[EMAIL PROTECTED]>

Opening a Form in a New Window - Help!

2005-05-19 Thread David Johnson
Hi there I'm trying to open up a new window from my struts application which will contain "help" information. The link opening the window looks like this so far http://help.do>" target="_help">Help What I'd like to do is specify the following options window.height=400; window.width=300; windo

Where does ValidatorForm saves its errors?

2005-05-19 Thread Vinicius Caldeira Carvalho
Hello there! Which one is the name of the property that validator form saves its errors? I tried everthing. I can't use cause diferent parts of screen show diferent errrors types. Here's what I've tried:

Re: Fw: [HELP] How to restrict access to certain mapping action ???

2005-05-19 Thread Wendy Smoak
From: "Pham Anh Tuan" <[EMAIL PROTECTED]> > the second is I mean that, I don't want User do my action by typing my > action path directly on address bar, such as > http://www.myweb/user/useraction.do, but I allow User do my action by > clicking on certain link on webpage, such as page="/user/user

Re: bean:include doesn't work but jsp:include does[Scanned]

2005-05-19 Thread Raj Tilak
here is the bean include <% String xxxUrl = "codeTypeToolbar.jsp?action=codeTypeList&codeTypeIdParam="+codeTypeIdParam; %> which gives me java.net.UnknownHostException, the port number is messed up as servername, servername seems to be fine When I tried the following scriptlet in jsp pa

Re: bean:include doesn't work but jsp:include does[Scanned]

2005-05-19 Thread Martin Gainty
Raj- do a netstat -a to see if the connection is being used if not telnet to the IP:Ajp13Port and let us know the results Regards, Martin Gainty __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relating to the official

Re: Fw: [HELP] How to restrict access to certain mapping action ???

2005-05-19 Thread Catalin Croitoru
Steve, the solution you provide doesn't solve the problem with typing the link in the adress bar. user can copy from the html source of the page the hidden atribute org.apache.struts.taglib.html.TOKEN and provide to the adres with the value. somethig like this: http://www.domain./user/action.do?o

Re: Way of reading this mailing list as a heirachy

2005-05-19 Thread Jeff Beal
GMail also has a Basic HTML version that doesn't rely on JavaScript. Both versions use what they call a "Conversation View" to group messages. It's not really a hierarchy, but it does group all of the messages on a particular subject together. They're strictly in sequence, though, rather than be

Re: How to populate / validate dynaform?

2005-05-19 Thread Jeff Beal
I never use DynaForm myself, but it looks like there's no way to know which type of object should be going into the ArrayList. Maybe somebody else can figure out where to go from there. -- Jeff On 5/17/05, Shirish <[EMAIL PROTECTED]> wrote: > Dyna form >

LookupDispatchAction and struts-faces

2005-05-19 Thread Markus Koivisto
Hi! I've been trying to migrate part of a web-application from struts to struts-faces. However, I'm having trouble converting those jsp pages that are mapped to a LookupDispatchAction. I did not find any similar questions in the mailing-list archive, so I decided to post this. In struts, the r

Re: Fw: [HELP] How to restrict access to certain mapping action ???

2005-05-19 Thread Steve Bosman
> the second is I mean that, I don't want User do my action by typing my > action path directly on address bar, such as > http://www.myweb/user/useraction.do, but I allow User do my action by > clicking on certain link on webpage, such as page="/user/useraction.do">do > > any solution :( You coul