RE: [OS-webwork] WW1.4 and Tomcat 4.1.29 and Skeleton app problem s

2003-12-18 Thread Larsson, Jonas
I forgot on thing. I have a question also for anyone who knows. When I run the Skeleton application I have the standard console window log and I tail the localhost_log.'date'.txt log in the logs directory. Is there some kind of log configuration I have to do to in Tomcat to get further

Re: [OS-webwork] Reusing Action object when several action tags is used

2003-12-18 Thread Jonas Eriksson
Sure, see Jira WW-430. Cheers Jonas Scott Farquhar wrote: Jonas, Can you please show me the two tags that you are using? Ie the JSP code? Cheers, Scott On Wed, Dec 17, 2003 at 04:37:22PM +0100, Jonas Eriksson wrote: Yes - I'm using the id attribute. (with different values too) Jason Carreira

Re: [OS-webwork] WW1.4 and Tomcat 4.1.29 and Skeleton app problem s

2003-12-18 Thread Jonas Eriksson
Hej Jonas, I'm using log4j and have the log4j.properties in WEB-INF/classes. In webwork.properties I specify: webwork.log4j.configfile=log4j.properties See the log4j documentation on how to specify logger and levels in log4j.properties In my log4j.propertis I have a section like:

[OS-webwork] How to prevent access to the index.jsp and other *.jsp files

2003-12-18 Thread remigijus
Hi How can I prevent client form ditect access to any jsp page. I want all pages to be accessed only after action action process.

Re: [OS-webwork] How to prevent access to the index.jsp and other *.jsp files

2003-12-18 Thread Hani Suleiman
Will that work? how will you convince the server it's a jsp page? surely request dispatcher and the like won't work with this approach? On Dec 18, 2003, at 8:55 AM, Rickard Öberg wrote: remigijus wrote: Hi How can I prevent client form ditect access to any jsp page. I want all pages to be

RE: [OS-webwork] How to prevent access to the index.jsp and other *.jsp files

2003-12-18 Thread BOGAERT Mathias
The approach by Rickard doesn't work on some application servers. So do a test before you decide to move everything. Cheers, Mathias -Original Message- From: Rickard Öberg [mailto:[EMAIL PROTECTED] Sent: donderdag 18 december 2003 14:55 To: [EMAIL PROTECTED] Subject: Re: [OS-webwork]

Re: [OS-webwork] How to prevent access to the index.jsp and other *.jsp files

2003-12-18 Thread Cameron Braid
1. move index.jsp to /WEB-INF/index.jsp 2. configure an action called index (in xwork.xml) that uses the com.opensymphony.xwork.ActionSupport class (since it just returns success from execute()) map the success view as a dispatcher type, to /WEB-INF/index.jsp 3. create an empty file called

Re: [OS-webwork] How to prevent access to the index.jsp and other *.jsp files

2003-12-18 Thread Cameron Braid
it certainly does work. I think that only direct requests for /WEB-INF/** are blocked by the containers, though when you specifically (programatically) call rd.include or rd.forward it can do it. Cameron Hani Suleiman wrote: Will that work? how will you convince the server it's a jsp page?

Re: [OS-webwork] How to prevent access to the index.jsp and other *.jsp files

2003-12-18 Thread Cameron Braid
Ok.. I didn't realise that. One thing that you could do is create a DirectAccessBlockingFilter ;) The name says it all ;) You will have to configure this filter to be 'once per request' so that it only blocks access during the first request dispatch, allowing subsequent dispatches (from the

Re: [OS-webwork] How to prevent access to the index.jsp and other *.jsp files

2003-12-18 Thread Cameron Braid
so if you call requestDispatcher.forward(request,response) or requestDispatcher.include(request,response), the filter doesn't get executed again ? That is strange, since I though there was a pattern to stop the second dispatch from executing the filter again. Cameron. Hani Suleiman wrote:

Re: [OS-webwork] How to prevent access to the index.jsp and other *.jsp files

2003-12-18 Thread remigijus
Very nice to have such activity. As I see There is no simple answer. The question I rised only because I couldn't manage to get access to session component from jsp scriplet. I thought, maybe it will be easier to do evrything througout the action, and get access to the component by getting it from

RE: RE: [OS-webwork] WW1.4 and Tomcat 4.1.29 and Skeleton app problem s

2003-12-18 Thread Wayland Chan
If you were truly humble, you would have abstained from posting this and realized that your predicament has been solved and you should go forth and start programming. I re-read Hani's post and nothing in it would be construed as dumping. I don't recall any of the docs telling anyone to move the

[OS-webwork] xw/ww cool example

2003-12-18 Thread Wayland Chan
http://www.jroller.com/page/fmarpt/20031218#web_swing Just a screenshot of web and swing screen calling same ww2 action. Author doesn't say much but cool to see people using it. Ciao! Wayland Chan email: wchanATtrekspaceDOTcom -- Get

Re: [OS-webwork] xw/ww cool example

2003-12-18 Thread Fernando Martins
-loads the collections that get sent over to the client On Thursday 18 December 2003 16:30, Wayland Chan wrote: http://www.jroller.com/page/fmarpt/20031218#web_swing Just a screenshot of web and swing screen calling same ww2 action. Author doesn't say much but cool to see people using

Re: [OS-webwork] xw/ww cool example

2003-12-18 Thread Jonas Eriksson
/page/fmarpt/20031218#web_swing Just a screenshot of web and swing screen calling same ww2 action. Author doesn't say much but cool to see people using it. Ciao! Wayland Chan email: wchanATtrekspaceDOTcom -- Get your free email account from http

Re: [OS-webwork] xw/ww cool example

2003-12-18 Thread Jérôme BERNARD
the problem that hibernate lazy-loads the collections that get sent over to the client On Thursday 18 December 2003 16:30, Wayland Chan wrote: http://www.jroller.com/page/fmarpt/20031218#web_swing Just a screenshot of web and swing screen calling same ww2 action. Author

Re: [OS-webwork] xw/ww cool example

2003-12-18 Thread Fernando Martins
the collections that get sent over to the client On Thursday 18 December 2003 16:30, Wayland Chan wrote: http://www.jroller.com/page/fmarpt/20031218#web_swing Just a screenshot of web and swing screen calling same ww2 action. Author doesn't say much but cool to see people using it. Ciao

[OS-webwork] cvs.dev.java.net

2003-12-18 Thread Robert Nicholson
Is there anything wrong with this repository? I cannot expand HEAD in eclipse right now. --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux

[OS-webwork] Feedbacks about using Freemarker

2003-12-18 Thread Fred Lamuette
I have to say that I am an old velocity user, so it was no mistake that I continued to use the Velocity template engine in my whole webapp. However I realized Velocity is actually not a good choice if you picked it up especially because you can use taglibs. Restictions are obviously there, for

[OS-webwork] WebLogic, UNIX and Velocity Error

2003-12-18 Thread Nortje, Andrew
I am in the process of updating an application written using Webwork (using 1 not 2), Velocity and WebLogic. The application runs fine under Windows but fails on Unix. The velocity engine seems to be having class path issues on UNIX and cannot find the .vm files. The person who

Re: [OS-webwork] WebLogic, UNIX and Velocity Error

2003-12-18 Thread Hani Suleiman
Put it under templates/ in the web root, not in WEB-INF. Nortje, Andrew wrote: I am in the process of updating an application written using Webwork (using 1 not 2), Velocity and WebLogic. The application runs fine under Windows but fails on Unix. The velocity engine seems to be having class

[OS-webwork] Is my webwork configured correctly?

2003-12-18 Thread Robert Nicholson
Actually I'm trying to use the new Hibernate admin web app but the when I put this into Tomcat 5 I get the following when I create an exception. java.lang.NoClassDefFoundError: javax/mail/internet/AddressException com.opensymphony.util.TextUtils.verifyEmail(TextUtils.java:1492)

Re: [OS-webwork] Is my webwork configured correctly?

2003-12-18 Thread Hani Suleiman
You need mail.jar and activation.jar if you're using any email stuff. Robert Nicholson wrote: Actually I'm trying to use the new Hibernate admin web app but the when I put this into Tomcat 5 I get the following when I create an exception. java.lang.NoClassDefFoundError:

Re: [OS-webwork] Is my webwork configured correctly?

2003-12-18 Thread Fernando Martins
you need javamail jar in your WEB-INF/lib. Get it from java.sun.com On Thursday 18 December 2003 20:20, Robert Nicholson wrote: Actually I'm trying to use the new Hibernate admin web app but the when I put this into Tomcat 5 I get the following when I create an exception.

[OS-webwork] sorting collections

2003-12-18 Thread Martin Angeletti
Hi, ive been playing with ww2 for a few weeks now but wasn't able to find out how to sort collections with a velocity tag. While searching the source i've found an action named SortIteratorFilter... and i guess: 1. i could call it with an #tag Action 2. i could #set( $action =

RE: [OS-webwork] sorting collections

2003-12-18 Thread Patrick Lightbody
This is probably your best bet. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Angeletti Sent: Thursday, December 18, 2003 12:52 PM To: [EMAIL PROTECTED] Subject: [OS-webwork] sorting collections Hi, ive been playing with ww2 for a few weeks now

RE: [OS-webwork] Feedbacks about using Freemarker

2003-12-18 Thread Patrick Lightbody
Richard, this is great to hear! Is there anything we can do in WebWork2 to make the FreeMarker support better? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fred Lamuette Sent: Thursday, December 18, 2003 8:51 AM To: [EMAIL PROTECTED] Subject:

RE: [OS-webwork] Security flaw with WW2

2003-12-18 Thread Patrick Lightbody
I think no method calls is the best bet. I'll open a bug report on this and we'll get it done for 2.0 final. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Dwelle Sent: Wednesday, December 17, 2003 8:19 AM To: [EMAIL PROTECTED] Subject: Re:

RE: [OS-webwork] Idea to enhance the velocity templates for re-use

2003-12-18 Thread Patrick Lightbody
Maybe after we get Fredrik's template patches all in place we'll look at it. I still don't see it as a critical 2.0 feature. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fredrik Lindgren Sent: Wednesday, December 17, 2003 10:22 PM To: [EMAIL PROTECTED]

RE: [OS-webwork] How to access session component from JSP

2003-12-18 Thread Patrick Lightbody
You can do: ww:property value=#session.blah/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of remigijus Sent: Wednesday, December 17, 2003 3:47 PM To: [EMAIL PROTECTED] Subject: Re: [OS-webwork] How to access session component from JSP I'm using ww2.

Re: [OS-webwork] Updates to Pell multipart library

2003-12-18 Thread Scott Farquhar
Patrick, I haven't been doing anything in WW2.0. If you create an issue and assign it to me - I'll do it next time I get a chance. Scott On Thu, Dec 18, 2003 at 06:40:27PM -0800, Patrick Lightbody wrote: Scott, did you do this for 1.4 or 2.0? Can you make sure both are in sync?

[OS-webwork] concepts for logo contest

2003-12-18 Thread Adrian
http://ghosthack.com/concept.htmlattachment: Untitled-7_31.pngattachment: Untitled-7_34.pngattachment: Untitled-7_37.pngattachment: Untitled-7_39.pngattachment: Untitled-7_42.pngattachment: Untitled-7_45.pngattachment: Untitled-7_49.pngattachment: Untitled-7_51.pngattachment: