in how WW uses Velocity? Are there facilities in WW for setting
> > the encoding when merging the template?
> >
> > -Anthony
> >
> > remigijus wrote:
> > >After long time and problems with memeory at last I desided to switch
to
> > >velocity and after
e character encoding
> Hi,
>
> We're using Velocity with WW2 and international characters? AFAIK the
> WebWorkVelocityServlet just uses the standard webwork.i18n.encoding
property
> when encoding the templates?
>
> Cheers,
> Mike
>
> On 25/2/04 1:56 AM, "remigij
ng
> I've had no problem displaying non-ASCII characters with Velocity and
> UTF-8. I pass the encoding when I call mergeTemplate(). Is the problem
> perhaps in how WW uses Velocity? Are there facilities in WW for setting
> the encoding when merging the template?
>
> -An
Remis
- Original Message -
From: "Scott Farquhar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 24, 2004 6:31 AM
Subject: Re: [OS-webwork] velocity how to change character encoding
>
>
> remigijus wrote:
>
> > Just started to use ve
Just started to use velocity instead of JSP and got
first questions.
1. How to set caharacter encoding
2. How can I get array size from the velocity
template.
As I see it looks that freemarker does not have
such problems.
Regards Remis
Andriui.
Dabar Litetuvoje (Kliapeda) ir manau jau ilgam. Pats is kokio miesto
Vilnius? Mestelk laiskeli su emailu i mano box bauzys-at-takas-dot-lt.
- Original Message -
From: "Andrius Paulauskas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, February 22, 2004 4:52 PM
Subject:
- Original Message -
From: "Rickard Öberg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, February 22, 2004 6:27 PM
Subject: Re: [OS-webwork] Velocity vs. JSP
> remigijus wrote:
> > Ok it sounds nice, I'm not against velocity, I'
Ok it sounds nice, I'm not against velocity, I'm just curious.
How many hits you are getting per day and peak load?
What hardware and software do you use?
Did you tryed to look at Freemarker, how can you compare Freemarker vs
Velocity.
- Original Message -
From: "Rickard Öberg" <[EMAIL PRO
I think I'm going to do that, but haven't desided yet what profiler to use.
And I'm not sure which is the best for webApplication profiling. Also it
would be nice to be able to use it from IDEA. Any suggestions what profiler
to use?
By the way Andrius where are you right now (Lithiania)?
- O
I know, I can restart Tomcat, but this is not solution. I will come to same
problem after few days or weeks againt. It can be treated as work around.
I'm not sure that switching to velocity will fix the problem. I looked for
information on google and found that problem can by caused by tomcat
deplo
It seems that I have same problem. I did redeplayment about five times and
eventually got Out of memory Error.
But waht is most interesting manager and and other applications is running
as before.
Unfortunately I can't see waht is going on on the server. It's production
server. Before I had no pro
Hi
I don't think that problem is related with ww2, but
I just received an error message as follows
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Compiling 1 source file
The sy
- Original Message -
From: "Simon Stewart" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 19, 2004 12:20 AM
Subject: Re: [OS-webwork] XMLRPC dispatcher and view
> remigijus wrote:
> > Does it supports different encoders. Few
There is a sample how to format date time format from jsp scriplet, paste
and change as needed. In order to show data just add
<%
Timestamp yourDateTime = yourValue;
SimpleDateFormat format = new SimpleDateFormat(".mm.dd HH:mm:ss");
format.setTimeZone(TimeZone.getTimeZone("GMT"));
Does it supports different encoders. Few monts ago I had to write my own
XMLRPC library, only because no one had support for character encoding.
Regards Remis
- Original Message -
From: "Simon Stewart" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 17, 2004 6:07 AM
Su
Hi
Today I faced very strange problem. It's not
related with ww but hope someone will help.
In my app I have Filters and Session Listeners. I
did debugging of my web app with Tomcat 4.0.6 and evrything workekd just fine.
But when I deployed on Tomcat 4.1.27 I found that Filter is called
See below.
- Original Message -
From: "Gerardo Segura" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 12, 2004 8:06 PM
Subject: [OS-webwork] strange behaviour on simple situation...
> Hi,
> i'm a newbie using spring + webwork, based on the integration
> technique
I absolutly agree with your points and very impressed with such entusiastic
startup.
At this moment the biggest problem is lack of documentation (apiDoc
inclusive) and weak samples.
I hope you have grate oppurtunity to change it.
Regards Remis
- Original Message -
From: "Bill Lynch" <[EM
uary 04, 2004 12:12 AM
Subject: Re: [OS-webwork] Groovy and WebWork
> remigijus wrote:
>
> >Just note
> >
> >In your's blog you haven't mentioned anything about groovlets (aka groovy
+
> >servlet). They are somthing like servlets but much easier to use and
Just note
In your's blog you haven't mentioned anything about groovlets (aka groovy +
servlet). They are somthing like servlets but much easier to use and is very
like php. It needs only to add a groovy servlet and map all request with
*.groovy. Evrything else will be handled automatically.
Now w
Regarding of script usage in Action there is another interesting new commer
groovy and groovlet. I think it would be very interesting to use groovy for
actions and groovlets instead of JSP and velocity. I also think it can be
much better to use groovy ant groovlet for templates it definatly will be
gt;
> just tested it out and works fine on latest cvs.. used public final
> static String
>
> this is documented at:
> http://wiki.opensymphony.com/space/Ognl
>
>
> remigijus wrote:
>
> >I tryed, the following sample but it doesn't works.
> > >value=&quo
al Message -
From: "Francisco Hernandez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 26, 2004 7:35 AM
Subject: Re: [OS-webwork] How to get access to jsp variable from ww:iterator
tag.
> should be
>
>
> remigijus wrote:
>
> >
Hi
Can anyone suggest how to get value of
the basket object in the ww:iterator tag. I tyed to user ww:set, ww:push,
but there is no documentation and it's very hard to figure out, how to
solve it.
<% OgnlValueStack stack =
ActionContext.getContext().getValueStack(); User user =
(
Just because we talk about XWork documentation and
I have no permission to edit CVS file. Someone please fix a tiny error in the
docs\dependencies.html. There is an external link to http://jakarta.apache.com/commons/logging.html
I guess it has to be http://jakarta.apache.org/commons/logging.
Thanks.
- Original Message -
From: "boxed" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, January 11, 2004 2:00 PM
Subject: Re: [OS-webwork] Any sugesstions fro image manipulation
> Jonas Eriksson wrote:
>
> > I don't know which method "killingar" uses, but I've attached my
>
-
From: "boxed" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, January 11, 2004 8:11 AM
Subject: Re: [OS-webwork] Any sugesstions fro image manipulation
> remigijus wrote:
>
> > This question is not about ww, but I hope some suggestions will be
give
;ve just posted an entry on my weblog (
> http://weblog.anthonyeden.com/archives/55.html ) which provides an
> example of using Jimi for resizing an image, if you are interested.
>
> -Anthony
>
> Fernando Martins wrote:
>
> >try Jimi
> >http://java.sun.com/produ
This question is not about ww, but I hope some
suggestions will be given.
I need some library for image
processing on the server side. I want to make thumbnail image
file from an image file uploaded by user.
Thanks
Remis
I think it's better to have ability to define all
data in one file with ability to use include tag which does include any defined
file. In this way anyone will be able to use as it likes. As it's done
with webwork-defaults.xml file.
- Original Message -
From:
Mark Woon
To:
- Original Message -
From: "James Cook" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 09, 2004 12:51 AM
Subject: RE: [OS-webwork] Xwork/WebWork2 under extreme load
> > -Original Message-
> > Behalf Of Patrick Lightbody
> > Sent: Thursday, January 08, 2004 5:46
oesn'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: donde
Sorry, some errors in question. There have to
be from instead of form.
How can I prevent client from direct access to any
jsp page. I want all pages to be accessed only after action action process.
- Original Message -
From:
remigijus
To: [EMAIL PROTECTED
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.
I would make it available via a getter/setter in your Action, probably in
a base class...
-----Original Message-
From: remigijus [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 17, 2003 10:37 AM
To: [EMAIL PROTECTED]
Subject: Re: [OS-webwork] How to access session
5:45
PM
Subject: RE: [OS-webwork] How to access
session component from JSP
I
would make it available via a getter/setter in your Action, probably in a base
class...
-Original Message-From: remigijus
[mailto:[EMAIL PROTECTED] Sent: Wednesday, December 17, 20
-From: remigijus
[mailto:[EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 10:19
AMTo: [EMAIL PROTECTED]Subject:
[OS-webwork] How to access session component from JSP
Hi
What is the best way (proposed) to access
session component from JSP.
Hi
What is the best way (proposed) to access
session component from JSP.
Hi.
How can I change encoding for all incoming pages to
utf-8?
-----
From: "remigijus" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 15, 2003 9:10 PM
Subject: Re: [OS-webwork] xworks.xml actions mistery
> Ok I found problem. In the Action class I had a setter method for int id
> value setId(int id) without getter getId(
--Original Message-
> From: remigijus [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 15, 2003 1:44 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] xworks.xml actions mistery
>
>
> How long you will be online?
> - Original Message -
> From: "Jason
ng up your latest xwork.xml
from the classpath, etc. Validate your xwork.xml against the DTD.
> -Original Message-
> From: remigijus [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 15, 2003 1:33 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] xworks.xml actions mist
Monday, December 15, 2003 8:23 PM
Subject: RE: [OS-webwork] xworks.xml actions mistery
Does it show you the problem with your xwork.xml?
> -Original Message-
> From: remigijus [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 15, 2003 1:16 PM
> To: [EMAIL PROTECTED]
> Su
ember 15, 2003 8:13 PM
Subject: RE: [OS-webwork] xworks.xml actions mistery
I assume you mean webwork-config-browser.jar? Jar, not war.
Are you sure it picked up the change? The jar file should contain the
config-browser.xml, so if it's in the classpath, it should be found.
> -Original
--Original Message-
> From: remigijus [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 15, 2003 12:47 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] xworks.xml actions mistery
>
>
> Ok I did it already, but getting some exceptions. Can it be
> related with sitemes
tery
You add the jar file to your web app and include it from your xwork.xml
(see the xwork.xml in the example war). Then you can hit it at
/config-browser/actionNames.action
> -Original Message-
> From: remigijus [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 15, 2003
distribution and you can see how it's added to the
example war file in the distribution.
> -Original Message-
> From: remigijus [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 15, 2003 11:49 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] xworks.xml actions miste
Hi I with it will be nice to have some list of open
source project's based on ww2 and sitemesh. Does anybpdy can point some it you
know about them.
your xwork.xml element so they match.
> -Original Message-
> From: remigijus [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 15, 2003 11:02 AM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] xworks.xml actions mistery
>
>
> Ok I have added namespace with value
> I think the name of a package is just a "name", with no other meaning
> outside the xwork.xml. You need to set the namespace="/admin/category"
> if you want to use an action like /admin/category/foo.action
>
> Have you tried that?
>
> Jonas
>
> remigijus
Hi
I have some strange problems related with action
packages. I'm trying to use a package lik this and having some strange
problems. Some actions from the package works as expected, but on some I getting
a message
com.opensymphony.xwork.config.ConfigurationException: There is no Acti
gt; >> used behind the scenes for some work. If you're not being forced to
> >> use velocity templates, then webwork shouldn't be forced to remove
> >> the dependency on something it uses for its internals just because
> >> you don't happen to like it.
>
. When I
had a file with name applet.html I was receiving an error as descriped bellow. I
changed the name of the file to applet.jsp and now it's working.
Very strange behaviour, at least it seems to me.
- Original Message -
From:
remigijus
To: [EMAIL PROTECTED]
Sent
u're confused about what the velocity dependency
> > means. It doesn't mean you don't have a choice in presentation methods,
> > because you do (Freemarker, JSP, velocity). If you want to use the ui
> > tags,
> > then you may want to know about velocity to understand the
bout velocity to understand the templates or
> provide your own. If you don't want to use them, then fine, don't, and
> you'll never be forced to even look at a velocity template.
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
Cool, very cool. What are you going to do with that?
- Original Message -
From: "John Patterson" <[EMAIL PROTECTED]>
To: "Webwork" <[EMAIL PROTECTED]>
Sent: Friday, December 12, 2003 3:23 PM
Subject: [OS-webwork] Security flaw with WW2
> Guess what this does?
>
>
>
> http://myhost/
Regardless what have been said before. Treatment of strings and other form's
variable has to be as it is written HTTP and HTML protocol and ww1, ww2,
struts, maven or whatever have to be implemented in the way as it is in
specification. They have to be transparent. Are you gaing to explain to
every
- Original Message -
From: "Tracy Snell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 12, 2003 1:49 PM
Subject: Re: [OS-webwork] WebWorks without velocity how to
>
> On Dec 11, 2003, at 1:22 PM, Jason Carreira wrote:
>
> > WW1 you can use without velocity, WW2 uses
But without velocity it's nice to
have an option.
> > Again thanks to Fredrik Lindgren for his response. I hope everyone will
see
> > the benefit if some modifications will be made.
> >
> >
> > Best Regards
> > Remigijus Bauzys
> >
> >
> >>
rs.
At the present moment ww2 I see as extension to velocity, because it has no
meaning without it. I don't think it should be that way.
Again thanks to Fredrik Lindgren for his response. I hope everyone will see
the benefit if some modifications will be made.
Best Regards
Remigijus B
WW1
you can use without velocity, WW2 uses velocity for its UI tag templates. If
you don't plan to use the UI tags, you can remove it.
-Original Message-From: remigijus
[mailto:[EMAIL PROTECTED] Sent: Thursday, December 11, 2003 12:38
PMTo: [EMAIL PROTECTED]Su
I know that. As it is stated in the doc it has
nothing to do with web, it can be used anywhere and is not linked with http in
any way. So maybe I got a wrong answer before. I want to make it clear, can I
user WebWork without velocity. Will it work without an errors after I'm going to
remove
va and we know it
must be slow because it's not "native" :-)
> -Original Message-
> From: remigijus [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 11, 2003 11:19 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] WebWorks without velocity how to
>
>
- Original Message -
From: "Hani Suleiman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 11, 2003 6:04 PM
Subject: Re: [OS-webwork] WebWorks without velocity how to
> Jason Carreira wrote:
>
> > XWork has no dependency on Velocity.
> >
> > In WW we use templates to
Very sad news. In this way I see no reason to
separate xwork from webwork. Somone has missed some basic idea. I'm little
confused, why to make separation and make dependency on anything else? Does
someone see any inconsistency here, or I'm only one so confused
here?
- Original Message
- Original Message -
From:
Patrick
Lightbody
To: [EMAIL PROTECTED]
Sent: Thursday, December 11, 2003 7:27
AM
Subject: RE: [OS-webwork] Problems with
Applet.
Thats very strange.
Are you at all using the tag in your JSP as
well?
No I d
Hello
Today I tryed to add an applet to my site for
management purposes, but wen I'm
calling to the page with Applet in it I'm getting an error.
I am using webwork with sitemesh2 and evrything was
working without any problems, util I'm calling to an page with
applet.
If somebody ha
Hi
There is possibility to use ww ui tags without
using of velocity. If yes how can it be done.
And how using of velocity influent overall server
performance.
Remis
Ok I was wrong. Somthing i missed.
After restarting ide, computer, a coffe cup and etc evryting is fine.
Thanks to all who helped.
- Original Message -
From: "remigijus" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 04, 2003 4:08 PM
Subject
r I did somthing wrong again?
> On Thu, 4 Dec 2003, remigijus wrote:
>
> > Ok I figured that. Now evrything works. But still have a quesion if I'm
> > going to add a new objet to session map will it be available in the
session.
> >
> >
> >
> > -
Ok I figured that. Now evrything works. But still have a quesion if I'm
going to add a new objet to session map will it be available in the session.
---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you b
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 04, 2003 2:53 PM
Subject: Re: [OS-webwork] How to access session data from ActionClass
> The session and application maps are accessed by using static methods of
> the ActionContext class.
>
> To get the session map you write
>
Hi
How can get access to a session and application
scope data from an Action class.
If possible a little code sample,
please.
Remis
73 matches
Mail list logo