Scott Van Wart wrote:
Frank W. Zammetti wrote:
Hi Scott... have a look at the ResponseHelpers class in Java Web Parts:
http://javawebparts.sourceforge.net
More precisely:
http://javawebparts.sourceforge.net/javadocs/index.html
The encodeEntities() method should do the trick.
Ahh... that cl
Frank W. Zammetti wrote:
Hi Scott... have a look at the ResponseHelpers class in Java Web Parts:
http://javawebparts.sourceforge.net
More precisely:
http://javawebparts.sourceforge.net/javadocs/index.html
The encodeEntities() method should do the trick.
Ahh... that class name you mentioned
Hi Scott... have a look at the ResponseHelpers class in Java Web Parts:
http://javawebparts.sourceforge.net
More precisely:
http://javawebparts.sourceforge.net/javadocs/index.html
The encodeEntities() method should do the trick.
Frank
--
Frank W. Zammetti
Founder and Chief Software Architect
On 8/17/06, Peter Steil <[EMAIL PROTECTED]> wrote:
Hi, I am trying to get started on Struts2 using the nightly build
'struts2-core-2.0.0-SNAPSHOT-20060816.jar'. I started with the very basic
example from 'http://cwiki.apache.org/WW/hello-world.html'
There were several problems with the code o
Christopher Goldman wrote:
On Thu, 2006-08-17 at 14:26 -0700, mosho wrote:
Hi All,
I have multiple buttons on my form and I am using LookUpDistpatchAction to
submit the form depending on which button is clicked.
I have another requirement now, I have multiple images that are going to be
lin
On Thu, 2006-08-17 at 14:26 -0700, mosho wrote:
> Hi All,
>
> I have multiple buttons on my form and I am using LookUpDistpatchAction to
> submit the form depending on which button is clicked.
>
> I have another requirement now, I have multiple images that are going to be
> links. I need to submi
In your web.xml file, what are you servlet mappings and the URLs they are
mapped to? Are you sure it is not /helloWorld.action that you need to reach
over the web? WW (Struts2's core code) used to have the *.action convention
instead of *.do for servlet mapping. Again, your web.xml file should h
Hi All,
I have multiple buttons on my form and I am using LookUpDistpatchAction to
submit the form depending on which button is clicked.
I have another requirement now, I have multiple images that are going to be
links. I need to submit the form using onclick.
So in my javascript, I will have t
The default extension for Struts2 is "action". The default makes it
easier to use both Struts 1 and Struts 2 in the same web applications.
To change the default to ".do", add a "struts.properties" file under
classes with the line
struts.action.extension = do
A good starting point is the Struts
Laurie Harper wrote:
Scott Van Wart wrote:
We have a requirement that the user be prompted if any changes have
been made on a form, and they try to navigate away. I've divided
this up
Firstly, is the requirement to detect changes to the form compared to
how it was last rendered, or compared
I worked on a project a couple of years ago where I had the need to
forward between different web apps. Thanks to Craig McClanahan's advise
I was able to extend the RequestProcessor to do this. This was done in
Struts 1.1. Basically I set up specific forward name prefixes to
indicate when to switch
Hello,
I have user-entered input managed by a few custom tags (Java classes,
not tag files), and I need to encode this stuff to escape any special
HTML characters the user might type. Is there a special one in Struts I
can/should use, or should I write my own? (Struts 1.2.9, Tomcat 5.5.17)
Right now, some people are already using Struts 2 in production. The
code itself is sound and feature-complete. We mainly need to mop up
some infrastructure issues with the documentation, and a few loose
ends with the packaging.
If anyone is eager to get started, my best advice is to go with
WebW
When is there going to be a Struts 2.0 GA Production Ready Release?
I was looking over it and it looks pretty cool.
Shawn
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Scott Van Wart wrote:
We have a requirement that the user be prompted if any changes have been
made on a form, and they try to navigate away. I've divided this up
Firstly, is the requirement to detect changes to the form compared to
how it was last rendered, or compared to how it was *origin
Scott Van Wart wrote:
Saeed, Rada wrote:
Forwards between webapps are not supported, cuz both have different
contexts, this's what I got from running this :
Is there any other way to achieve this forward between different web
applications ?
I think the class 'org.apache.struts.actions.Switch
Michael Cheung wrote:
Hi, all;
c.tld in struts-el is not support rtexprssion.
So every flag should be set via action.
I don't think it can finish any job in this style.
What's the taglib designed for? Should I use
c-rt.tld as default?
The 'rt' stands for 'runtime expression' (i.e. <%expr%>).
Hmmm, looks like that has changed in Struts2. I don't know much about it as
of yet. That error message says it's not defined in the DTD. I'll shut my
big mouth now.
On 8/17/06, Peter Steil <[EMAIL PROTECTED]> wrote:
If I set the path, I get the following message in the browser:
file:/C:/tom
If I set the path, I get the following message in the browser:
file:/C:/tomcat-5.5.17/webapps/mystruts/WEB-INF/classes/struts.xml:9:72
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFile(XmlConfigurationProvider.java:678)
com.opensymphony.xwork
you need a path attribute for the action mapping.
On 8/17/06, Peter Steil <[EMAIL PROTECTED]> wrote:
The exact same thing happens. I give you some more information. You know
how my web.xml looks like. Here are the other files:
struts.xml:
http://struts.apache.org/dtds/struts-2.
The exact same thing happens. I give you some more information. You know how my
web.xml looks like. Here are the other files:
struts.xml:
http://struts.apache.org/dtds/struts-2.0.dtd";>
helloWorld.jsp
helloWorld.jsp:
---
<%@ tag
It looks like you're requesting a page with suffix mapping ("helloWorld.do")
but you've configured struts to use prefix mapping ("/*"). What happens if you
change to "*.do"?
- George
http://www.idiacomputing.com/
> -Original Message-
> From: Peter Steil [mailto:[EMAIL PROTECTED]
http://tomcat.apache.org/tomcat-5.0-doc/config/context.html says:
Set to true if you want cookies to be used for session identifier
communication if supported by the client (this is the default). Set
to false if you want to disable the use of cookies for session
identifier communication, an
Hi, I am trying to get started on Struts2 using the nightly build
'struts2-core-2.0.0-SNAPSHOT-20060816.jar'. I started with the very basic
example from 'http://cwiki.apache.org/WW/hello-world.html' and I still get the
message 'The requested resource (/mystruts/helloWorld.do) is not available.'
So ignore it in the JSP and set the HTTP Header conditionally in the
Action. You have the response object available. The ultimate goal, after
all, is for the JSP to be a passive actor. The generated JSPs make no
assumptions about content type, so it will be whatever you say it is.
On 8/17/06,
One comment inline.
> -Original Message-
> From: Scott Van Wart [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 16, 2006 5:53 PM
> To: Struts Users Mailing List
> Subject: Re: What's the difference between struts-base and struts-el?
>
> Michael Cheung wrote:
> > Hi, all;
> >
> > Wha
Thanks, my application is struts based.
-Message d'origine-
De : Monkeyden [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 17 août 2006 17:08
À : Struts Users Mailing List
Objet : Re: Page contentType
Sure, flatter us so we don't notice you're breaking a rule.
Is it a straight JSP application
Sure, flatter us so we don't notice you're breaking a rule.
Is it a straight JSP application or do you have a controller?
On 8/17/06, Jean-Marie Pitre <[EMAIL PROTECTED]> wrote:
Hi,
Excuse-me, I know it is not the right forum to ask this question but
there are the best developper registered
Hi,
Excuse-me, I know it is not the right forum to ask this question but
there are the best developper registered on this mailing list ... ;-)
My web application has to use 2 differents content type according to
user language.
I would like to change dynamically the <[EMAIL PROTECTED] contentType
On 8/17/06, Harsh Gupta <[EMAIL PROTECTED]> wrote:
How to Reload Message resources i.e Resource Bundles in struts 1.1???
Create a "reloadable" message resources factory, see factory attribute
[1] of
-Rahul
[1] http://struts.apache.org/1.x/userGuide/configuration.html#resources_config
---
I usually just touch the web.xml, to redeploy the app, but this isn't always
feasible in production.
On 8/17/06, Harsh Gupta <[EMAIL PROTECTED]> wrote:
How to Reload Message resources i.e Resource Bundles in struts 1.1???
___
Harsh Gupta
Software Engin
Your image is probably being cached in the browser.
> -Original Message-
> From: Gomathi [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 17, 2006 9:41 AM
> To: Struts Users Mailing List
> Subject: retrieve image from database
>
>
> hai,
> thanks in advance.
> when we edit image l
hai,
thanks in advance.
when we edit image logo we are not getting newly uploaded image.But it is
perfectly stored in the database(the path of the image).
whenever we add new image to db.its perfectly working. But when we go for edit
its not working properly(ie) we not getting the newly edite
Thank you for the information.
Lakshmi.
David Friedman <[EMAIL PROTECTED]> wrote:
What is wrong with the documentation information at:
http://jsptags.com/tags/navigation/pager/pager-taglib-2.0.html#param
Which shows you can override the url and parameters if you have problems by
setting t
34 matches
Mail list logo