(Sorry, I posted this once already under the wrong subject:
Re: R: How to render html embedded in a text-area?)
According to the Struts API:
ActionConfig.getPath()
Return context-relative path of the submitted request, starting
with a slash ("/") character, and omitting any filename ext
According to the Struts API:
ActionConfig.getPath()
Return context-relative path of the submitted request, starting
with a slash ("/") character, and omitting any filename extension if
extension mapping is being used.
But,
System.err.println (mapping.findForward
(Constants.FORWARD_BAN
Yeah, it looks great.
Something to keep in mind when building webapps which need some text editing :D
On Wed, 4 Aug 2004 14:24:49 +1200, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
>
> I've just shown these rich-text editors to our users and they are ecstatic.
> Thanks to everybody who resp
I've just shown these rich-text editors to our users and they are ecstatic.
Thanks to everybody who responded - amazing where a simple question will
lead.
Regards,
John
[EMAIL PROTECTED]
Ph (09) 372-5010
|-+>
| | "Simone - Dev" |
|
The init() method signature for the PlugIn interface was changed from:
init(ActionServlet, ApplicationConfig)
to
init(ActionServlet, ModuleConfig)
in Nov 2002 in between the Strust 1.1 beta 2 and Strust 1.1 beta 3 versions.
Also the stuff in initApplicationPlugIns() method in ActionServlet w
If you are unfamiliar with wildcard action mappings; they are pretty
cool. I am writing some documentation on using them; however, I am not
quite sure of a good use case for the ** feature (where a match included
the "/"). If anyone can give me a practical scenario using this
particular feature
I think that this is a good idea but most of use try to use DynaForm
beans to save time and code. I have no clue if Marcelo is using these
but I have run into presentation problems like this.
Nathan
On Aug 3, 2004, at 4:49 PM, Axel Stahlhut wrote:
Hi Marcelo,
thats true, it's presentation. Ha
Hi Marcelo,
thats true, it's presentation. Haven't you got FormBeans to get the data
for presentation layer (in fact, they are belonging to the
presentation layer, too). I would put this in the getter of my
FormBeans, which should not be the BusinessObjects anyway?
Regards
Marcelo Epstein wrot
[announce]Dear Jakarta Struts community,
Stylus Studio is pleased to announce Stylus Studio 5 Home Edition, a new, value-priced
version of our award-winning XML IDE. Stylus Studio 5 Home Edition is specifically
designed for learning or working with XML in educational, training, or home settin
Its not working..
I don´t want to insert the code inside the getter method, because it is
presentation not business.
foneCom1 is a String.
Any guess??
- Original Message -
From: "Nathan Maves" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, Aug
Just want to point out a few things
On the fckeditor.net site there is just the new beta 2.0 version (that
already include the JSP tag lib)
For a production environment I suggest the use of the 1.6 stable version
http://sourceforge.net/project/showfiles.php?group_id=75348&package_id=7
5845&releas
Did you try to put the () in '' as in
just a guess.. :)
On Aug 3, 2004, at 2:03 PM, Marcelo Epstein wrote:
Hi,
This is not working.
foneCom1 is a String.
Marcelo
- Original Message -
From: "Jim Barrows" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesd
I'm using jstl tags whereever I can. I want to i18n my buttons, and so
I tried this:
<%@ taglib uri="/WEB-INF/lib/struts-html-el.tld" prefix="html" %>
}"/>
I get:
/WEB-INF/pages/details.jsp(4,69) equal symbol expected
Lose the ${} I get the same error.
No ${} escape the inner " like so:
}
> -Original Message-
> From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 03, 2004 1:40 PM
> To: Struts Users Mailing List
> Subject: RE: Data not being populated from database on form jsp
>
>
> i still have problem, i did as per ur instructions. can u
> please hel
i still have problem, i did as per ur instructions. can u please help...
Below is my action class.
public ActionForward execute(ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
Htt
I have a colleage who is getting the old AbstractMethodError when trying
to deploy his first Struts app -- an app that is running in other
environments successfully. Apparently our plugin won't load.
Here is a snip from the stack trace during deployment:
16:06:44,238 ERROR [Engine] - Root Ca
Hi,
This is not working.
foneCom1 is a String.
Marcelo
- Original Message -
From: "Jim Barrows" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, August 03, 2004 4:10 PM
Subject: RE: Format Phone numbers using bean:write
> -Original Mes
thanks, that might help.
-Original Message-
From: Jim Barrows [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 03, 2004 3:51 PM
To: Struts Users Mailing List
Subject: RE: Data not being populated from database on form jsp
> -Original Message-
> From: Shilpa Nalgonda [mailto:[EMA
Another one of these is also FCKeditor:
http://www.fckeditor.net/
Theres a JSP tag version here:
http://www.piyosailing.com/S/index.jsp?redirUrl=/S/programming-opensource.jsp
Niall
- Original Message -
From: "Christian Bollmeyer" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <
> -Original Message-
> From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 03, 2004 12:35 PM
> To: Struts Users Mailing List
> Subject: RE: Data not being populated from database on form jsp
>
>
> Thi soptions looks better to me,
> "Alternatively when you get the shi
> -Original Message-
> From: Bussie, Andre D [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 03, 2004 12:33 PM
> To: [EMAIL PROTECTED]
> Subject: Cannot find message Resource
>
>
> I have a web application that has been performing fine for
> weeks now all
> of sudden I get the followin
Thi soptions looks better to me,
"Alternatively when you get the shipping information from the datbase
initially, copy it to an ActionForm, and use that for display everywhere.
THis would mean setting the name and validation fields in the strutsconfig
for each action that uses the form. Display on
I have a web application that has been performing fine for weeks now all
of sudden I get the following error:
javax.servlet.jsp.JspException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
My web.xml has the following
.
ApplicationResources
com.
> -Original Message-
> From: Shilpa Nalgonda [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 03, 2004 12:22 PM
> To: Struts Users Mailing List
> Subject: RE: Data not being populated from database on form jsp
>
>
> I retrieve some shipping information from database and this
> informa
I retrieve some shipping information from database and this information is
displayed in OrderSummary.jsp .
There is a link on orderSummary.jsp file to go to Shipping page and edit it.
I am not able to populate the shipping form when the edit button is clicked
on OrderSummary Page.
This is what i a
> -Original Message-
> From: Marcelo Epstein [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 03, 2004 11:35 AM
> To: Struts Users Mailing List
> Subject: Format Phone numbers using bean:write
>
>
> Hi all,
>
> Is it possible to format a phone number stored in a String using
> tag ?
Hi all,
Is it possible to format a phone number stored in a String using
tag ?
I can format dates, but not Strings.
Thanks in advance,
Marcelo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAI
Char,
The MyEclipse 3.0 includes support for managing the struts configuration
files, and more wizards to help with the creation of Struts actions,
forms and so on. I myself, prefer the old way, writing everything by
myself - don't really like wizards managing and controlling the Struts
config fil
If you're using XDoclet, I wrote an extension to allow you to define
DynaValidatorActionForms using XDoclet tags. You can download it from here:
http://www.systemmobile.com/code/xdoclet-apache-module-sm-1_2.zip
Using this extension, you may define your Hibernate mappings and
dynaform definition
On Tuesday 03 August 2004 17:34, John McGrath wrote:
Something possibly even cooler (as long as the client is
IE 5.5+; otherwise, it won't show up) I recently stumbled
over is
http://www.interactivetools.com/products/htmlarea/
which turns a into a configurable WYSIWYG
HTML editor. Easy to use a
Thanks a lot
Hubert Rabago <[EMAIL PROTECTED]>
03/08/2004 13:32
Veuillez répondre à "Struts Users Mailing List"
Pour : Struts Users Mailing List <[EMAIL PROTECTED]>
cc :
Objet : Re: ActionForm vs Hibernate POJO
Take a look at FormDef (http://www.rabago.net/struts/fo
Take a look at FormDef (http://www.rabago.net/struts/formdef). It can define
your form beans for you using your POJOs. I know at least one developer
who's combined FormDef and Hibernate and was pleased with the results.
Hubert
--- [EMAIL PROTECTED] wrote:
> I want to reuse the Hibernate pojo,
Struts Console and MyEclipse are complimentary not competitive tools.
MyEclipse is a full suite of Eclipse plugins that aid J2EE development
whereas Struts Console is a tool specifically for simplifying the management
of Struts configuration files. I would recommend you install both.
-James
thanks all .
thanks Erez and James
but Which is the better between myEclipse and Struts Console
and which can support jstl better?
- Original Message -
From: "James Holmes" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, August 03, 2004 11:
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 03, 2004 9:29 AM
> To: Struts Users Mailing List
> Subject: Réf. : RE: Réf. : Re: ActionForm vs Hibernate POJO
>
>
> I want to reuse the Hibernate pojo, and not to create
> ActionForm bean
Andre-
take a look at
http://66.137.16.41:8080/expresso/expresso/doc/struts/users_guide.html
Basically a session scoped bean's contents would be accessible to all
entities (jsp/servlet) within
the session..ther are some good Form Login examples there too-
Martin Gainty
From: "Bussie, Andre D" <
I want to reuse the Hibernate pojo, and not to create ActionForm bean and
for two reasons I'm wondering if it is possible
1 Because it contains non-primitive property.
2 My forms should extends ActionForm
I see that it is possible in WebWork.
Thanks
"Jim Barrows" <[EMAIL PROTECTED]>
03/08/
From: <[EMAIL PROTECTED]>
> Thanks a lot,
> Is there any work done for OGNL integration in struts ?
[Googles... Object-Graph Navigation Language; it is an expression
language for getting and setting properties of Java objects]
I'm not entirely sure what happens behind the scenes, but:
In the s
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 03, 2004 9:20 AM
> To: Struts Users Mailing List
> Subject: Réf. : Re: ActionForm vs Hibernate POJO
>
>
> Thanks a lot,
> Is there any work done for OGNL integration in struts ?
Dunno
Thanks a lot,
Is there any work done for OGNL integration in struts ?
Wendy Smoak <[EMAIL PROTECTED]>
03/08/2004 11:57
Veuillez répondre à "Struts Users Mailing List"
Pour : Struts Users Mailing List <[EMAIL PROTECTED]>
cc :
Objet : Re: ActionForm vs Hibernate PO
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 02, 2004 5:00 PM
> To: Struts Users Mailing List
> Subject: Re: Brain fart - allowing user to download file
>
>
>
>
>
>
>
> The usual suspects are:
> 1) not granting public access to the
Niall,
I have posted your comments on the Struts Wiki. Hopefully this page
will be updated as new "gotchas" are found.
http://wiki.apache.org/struts/Struts1_2e1to1_2e2_2e1UpgradeNotes
I have also found them very helpful.
Paul Spencer
Niall Pemberton wrote:
* jars - I guess its obvious to say
> I am using Struts with Hibernate, and I was asked to reuse the Hibernate
> pojo as forms for my actions.
> Is it possible ?
Possible, but not advisable... at some point you will need to have something
different in the form than in the POJO. Forms are generally all String
properties, POJO's shou
Thanks for your help Bill
-Amar
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Siggelkow
Sent: Tuesday, August 03, 2004 11:54 AM
To: [EMAIL PROTECTED]
Subject: Re: How to allow users enters html links in text input area and h
ow t o display it
Well, text in a t
Well, text in a text area is not HTML markup -- it's just text -- to
render the links you will have to output the data using bean:write
filter="false" -- since you need to preserve line breaks take a look at
this thread
http://marc.theaimsgroup.com/?l=struts-user&m=106685398105831&w=2
Good Lu
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 03, 2004 8:49 AM
> To: [EMAIL PROTECTED]
> Subject: ActionForm vs Hibernate POJO
>
>
> Hi all,
> I am using Struts with Hibernate, and I was asked to reuse
> the Hibernate
> pojo as
> for
Hi all,
I am using Struts with Hibernate, and I was asked to reuse the Hibernate
pojo as
forms for my actions.
Is it possible ?
Thanks a lot
**
La présente communication (et tout fichier rattaché) s'adresse uniq
I want to place a bean in the session scope in my action class and then
make me bean accessible in JSP pages within the application. Is this
possible? Any examples/resources so I can implement.
Thanks is advance
javascript'll preserve line feeds. functions below. to replace newlines
with tags when submitting, do this:
then to convert the other way, say when editing the same content, put
this or something like it at the bottom of the page:
function h
Struts Console works with all versions of Eclipse from 1.0 all the way
through the latest nightly builds. Additionally Struts Console has support
for Struts, Tiles and Validator configuration files.
http://www.jamesholmes.com/struts/
-James
-Original Message-
From: char [mailto:[EMAIL PR
You might want to check www.myeclipseide.com
I use it and it's great!
--Erez
-Original Message-
From: char [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 03, 2004 5:18 PM
To: [EMAIL PROTECTED]
Subject: eclipse3.0 struts plugin
hi all.
May anybody tell me a struts plugin can use i
hi all.
May anybody tell me a struts plugin can use in eclipse3.0RC1.
I have download the easystruts plugin ,
but very unlucky, It can only support eclipse 2.0
kind regards, Thanks
char
We are displaying the text in text area as well. The reason we are doing
this is we want to preserve para and other formatting info which gets lost
in plain bean:write
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Siggelkow
Sent: Tuesday, August 03, 2004 10:03 A
Hmmm -- if a user enters the following into the text area:
My favorite site is Struts
Then you render this using it should work.
If the users are just entering the URLs (the http://... part) then you
will need to generate the "
Jirole, Amar wrote:
The links are displayed as plain text and nothin
This is how we are doing it :
We have put in our main page following snippet
This "exportToPdf" action returns a response with which has pdf content and
following contenttype
"application/pdf".
Depending whether your PDF is set to open documents inside browser or open a
new instance it will di
The links are displayed as plain text and nothing happens when I click it
(of course because its treated as plain text)
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Siggelkow
Sent: Tuesday, August 03, 2004 9:37 AM
To: [EMAIL PROTECTED]
Subject: Re: How to allow
Another option: write the PDF out to a database BLOB field, then create an
Action to retrieve that field. This I think gives you the best of all
worlds. If you structure the table properly, you can share the PDF across
various requests/users and you can even avoid PDF generation potentially by
Jirole, Amar wrote:
Hi All,
Our users would like to enter urls in the text input area and when click the
link bring up the page. I tried using filter="false" for bean:write but that
did not work. We use simple struts-jsp architecture.
Any ideas?
Thanks in Advance
-Amar
I have done this before witho
Hi All,
Our users would like to enter urls in the text input area and when click the
link bring up the page. I tried using filter="false" for bean:write but that
did not work. We use simple struts-jsp architecture.
Any ideas?
Thanks in Advance
-Amar
Hi Ted,
thank you.
Zsolt
> -Original Message-
> From: Ted Husted [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 03, 2004 2:26 PM
> To: Struts Users Mailing List
> Subject: Re: Which version is the offcial and stable version?
>
>
> http://struts.apache.org/acquiring.html
>
> On Tue, 03
http://struts.apache.org/acquiring.html
On Tue, 03 Aug 2004 08:54:53 +0200, Zsolt Koppany wrote:
> Hi,
>
> I have been using struts-1.1 for a long time but consider to
> upgrade. Which is the current official and stable version? When
> comes the next stable version? Should I upgrade know or should
Manning Publications also provides a sample chapter from Struts In Action
that covers the validator.
http://www.manning.com/catalog/view.php?book=husted
Most of the material should still apply to the current version.
--- Niall Pemberton <[EMAIL PROTECTED]> wrote:
> http://struts.apache.org/user
http://struts.apache.org/userGuide/dev_validator.html
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 03, 2004 9:59 AM
Subject: struts help
Hi all,
I am new to struts, I would like to know where I can get good material
on Struts validatio
Hi There,
There are a lot material on the net.
1. Apache Web Site(for Struts)
2. JGuru forums
3. Java world
4. http://javaboutique.internet.com/tutorials/
WebAppSTRUTS/
Regards,
Buland
--- [EMAIL PROTECTED] wrote:
> Hi all,
>
>
>
> I am new to struts, I would like to know where
Hi There,
I agree with the strategies Alexender told. I also
append some code to open a new window just ease your
work.
---
function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
Thanks for your answer.
I will cache the pdf for later evaluation. The webserver has access to this pdf (saved
on hard disk).
I want to open the pdf in the browser and show the jsp page at the same time. How must
I write the action class?
> -Ursprüngliche Nachricht-
> Von: Jesse Alexan
Hi all,
I am new to struts, I would like to know where I can get good material
on Struts validation framework.
Thanks and regards
M.Srinivas Amarnadh
iflex Solutions Ltd.,
Millenium Towers,
Kundalahalli Main Road,
Bangalore - 560 037.
Phone : 57596000 , 22086000
Extn - 6616
Well,...
If you already have the PDF generated, why not directly write it to the response(and
in this way to the browser)?
To fulfill your use case as described.
Your action generates the PDF and caches it somewhere. Then it will forward to the
JSP-File containing the message and the link. Thi
Struts action execute gives you a request/response, so you can just
pretend that it's a servlet, set the type and stream anything you want.
.V
Otto, Frank wrote:
Hi,
I have generated a pdf with iText. In my action class I want to write it in the response object.
The result should be a jsp-pag
Hi,
I have generated a pdf with iText. In my action class I want to write it in the
response object.
The result should be a jsp-page with content "pdf generated successful" and a link to
this pdf. The pdf should be shown in a new browser window too.
Has someone do this? How can I do this?
They're is no 'stable' version of the 1.2.x branch. They're should be one soon. We use
1.2.1 (considered as 'beta') on
our application without troubles.
You may understand that a version is considered 'stable' when *lot's* of peoples use
it without having (unknown) bugs.
As current 1.2.x is use
71 matches
Mail list logo