Hello,
i am trying to convert some struts form to be JSf compatible using
struts faces. However, there are a few problems with initialization for
form.
I have this:
html:form action=/search.do acceptCharset=UTF-8 styleClass=search
html:hidden property=scope value=${param.searchScope}/
Are there any exceptions of any sort in console? What size is the file?
Raghuveer a écrit :
have an upload file operation in the web application. The web server is
OC4J.
//UploadForm.jsp
FORM NAME=InputForm ACTION=UploadAction.jsp METHOD=POST
enctype=multipart/form-data
input type=file
It's tricky to force a new session, and most of time depend on the
container.
Since you want to keep a few datas of your session, i'll recommend you
try using
Enumeration HttpSession.getAttributeNames()
HttpSession.removeAttribute(String name)
[EMAIL PROTECTED] a écrit :
Hello!
Is it possible
La chasse au caribou est ouverte!
** _
| \ V |/ /| | / /|
| \ V / | |/ / |
| \ /_ | V / |
|| | \\| / |
|| | \ ||
|| \ ||
|
Use expression language available in jsp 2.0:
div
class=${theBean.messageLevel=Error?ErrorClass:theBean.messageLevel=Warning?WarningClass:InfoClass}
.
/div
Pankaj Gupta wrote:
I dont think CSS can work in this case as the CSS would be static. I
want to display color of the font based on
RODRIGUES DE ALMEIDA Thiago wrote:
Hi All,
I have this scenario:
In my application, the user has the possibility of openning multiple
windows (browser) simutaneously.
In this case, each new window makes requests for data thru a struts
action.
That means, one user can make multiple
of direct link to
some JSF content by email.
Greetings,
David Delbecq
dialog-config.xml:
!DOCTYPE dialogs PUBLIC
-//Apache Software Foundation//DTD Shale Dialog Configuration 1.0//EN
http://struts.apache.org/dtds/shale-dialog-config_1_0.dtd;
dialogs
dialog name=Test Dialog start=Edit
The dwr website is full of examples and documentations
Gomathi wrote:
Hi i am new to ajax.I dont know dwr how to use dwr.
.Is there is any sample site for creating ajax application using dwr.
Kindly Regards
gomes
-
To
Upper/lower case mistake in filename most probably, that's about the
main difference between windows and linux, the windows filesystem is
case insensitive.
Ian.Priest wrote:
Anyone want to hazard a guess as to why I get the npe below when I
deploy my application on Linux in tomcat 5?
I'd just
Did you do
input type=button .. value=bean:message key='blabla'/ which
make sense in a JSP, or did you do
html:button .. value=bean:message key='blabla'/ which is a non
sense as a you can't put a jsp tag inside a parameter of a jsp tag.
if you use html:button, use this way
It's rather not possible in general, The .war is supposed to be a
'complete' application, config included. If you load the ressources
using the classloader, you can still use 'tricks' that depend on
container specific behaviour, but that is not recommanded.
The best way if you want your user
bean:message key= myValueAdded arg0=${mybean.value}/
Marcus wrote:
Pass the argument {0} as follows:
bean:message key= myValueAdded arg0=value/
I tried that,
but then it writes literally:
Value value has been added.
But what need the VALUE of hte variable myValue to be printed.
:-(
Marcus wrote:
bean:message key=myValueAdded arg0=${mybean.value}/
I wrote:
bean:message key=myValueAdded arg0=${myDynaForm.value}/
And it returns literally:
${myDynaForm.value}
Sorry, thought bean:message was supporting el notation :)
try this
bean:message key=myValueAdded
Hi,
indeed ie does not support properly the value of a button html tag. It
does send the html-stripped content of button instead of it's value.
The best solutions it to add a
onClick=someScriptToSetHiddenField(action,add);
http://www.jguru.com/faq/view.jsp?EID=897290
marcus biel (innoWake
Using message ressources is not struts specific. What struts does beside
using message ressources is maintaining the user language in user http
session and use it when it need a message ressouce use. If all you need
to do is have multi language support for your messages, i suggest you
take a look
Either use the init/destroy methods of a servlet filter
Either create a servlet with a load-on-startup value
Note: you will only know the webapp is being stopped / started, you will
get no information about whether it is a redeploy or a simple tomcat
shutdown/start
Stanislav a écrit :
Hi!
I
Quinn Stone a écrit :
I think maybe we should have user for users, dev for developers, and a new
ego for those that want to have pissing contests. Speaking of saturation...
Q
+1
-
To unsubscribe, e-mail: [EMAIL
for Moz, you can go to the mozilla bugtrack to get a list of existing
browser bugs.
For ie, you might need to get the releas note of each ie patch released
by microsoft.
There is no maximum size supported by browser. However, the most you put
in the html, the slowest browsr will be at the
Take a look at the dwr framework. It allows you to easily map server
object request to local forms / div
It's prety easy to use, and convert server dwr exposed objects to
javascript object, with similar method names. It pretty looks from
javascript point of view like having an asynchronous version
Do it like you would for any servlet. Either apply a security constraint
to struts servlet itself or apply security constraints to url path
(applying a security constraint to /admin/* applies also to
/admin/someStrutsAction.do)
Jubin Kuriakose a écrit :
Hi all
Can ayone give me links related to
/* the
auth.jspis called, even if I was authorised the first time.
Meaning I have to authenticate myself every time I acess anything in
/father/ . how do i get over this behaviour and only authenticate my self
only once...
thnks for any help
On 3/14/06, David Delbecq [EMAIL PROTECTED] wrote:
Do
been authenticated it's written in his
session. Some people have had success by clearing the user session, but
this behaviour is container dependent as, unfortunatly, j2ee specs did
not provide for such a mechanism.
thnx
On 3/14/06, David Delbecq [EMAIL PROTECTED] wrote:
Am sorry but that's
Krishna, Mattam (M.) a écrit :
I have the following code in jsp.
html:textarea name=empOtherDevFocusBO cols=512 rows=3
property=focusText /
Here I am enterd the following text:
Test
Test.
Note:I typed Test and then enter key then tab then Test.
After I submit the html:form , it stores the
It's friday,
Ouftil Adrach (local belgian goddess) struck again. It's raining hard
outside and i will need to get out and catch the train that will lead me
back to week-end. I want to mention the Brussels international fantastic
film festival has started today and i will be there all saturday
If i remember well there are special http header that can be used to
tell client the response is split in several part. This is mainly used
when you send a partial response to client (like a html with table
containing 3 rows) and after process advanced you send a more complete
response (like the
Encoding and decoding of query parameters is the job of container
(tomcat, jboss, websphere, what ever you are using). The only struts
related exception is for multipart/form-data (used for file uploads).
There it's common-fileupload library which does the decoding. Why would
you want to do the
I bet a box of chocolates you forgot to define or badly defined the
logic taglib in your .jsp header :)
[EMAIL PROTECTED] a écrit :
Hi,
I have a form with a List and want to show the values on my JSP. But when I
start my JSP the bean id cannot be found in any scopy. I dont understand
why
The JSP writer writes http response, not html response. You can use jsp
to generate html, txt, xml, whatever you want.
jsp tags are supposed to output content where they are. If you need to
autogenerate the head section while you are already in the middle of
your .jsp, then you will need your
Na, he just asummed the tag was doing additionnal work at a later part:
/html
/yourtag
Dave Newton a écrit :
Leon Rosenberg wrote:
headyourtag/head?
Ah, see, that won't work.
Try
headyourtag//head instead.
;)
(Hey, it was either this or I would have had to respond to the I
Am pretty sure, JSP is not about xml at all :)
img src=c:url value='blabla'//
and will never fit in a xml parser!
Chris Loschen a écrit :
But you can't do that -- it's not well-formed XML.
Chris
-Original Message-
From: David Delbecq [mailto:[EMAIL PROTECTED]
Sent: Thursday
can produce well formed xhtml (actually its an optional
setting, isn't it?)
so headbla/head/bla is invalid,
but the output of your example:
img src=/blabla// is a valid xhtml.
It's not about the jsp itself, but the output :-)
regards
Leon
On 2/23/06, David Delbecq [EMAIL PROTECTED] wrote
Marco Mistroni a écrit :
Hello,
The expression applies in greek as well and is used to point out a
difficult situation where rope and soap is the obvious way out :-)
Sorry for being so 'numb'... but I still don' tsee the connection between
A rope and the soap..
You can mail me
Ankit Pancholi a écrit :
hi
please unsubscribe me.
Thanks
Ankit
Look! It's magically written here :)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
And here!
Please don't reply to other people's messages to ask your questions,
this somehow mixes Threads and people knowing the answer to your
question might not be listening to this current thread.
It's better to create a new message with an appropriate subject line :)
regards.
Srinivas a écrit :
Hi,
This all depends on what your filters do.
If each filter is creating wrappers, analysing output stream and so on,
you could indeed get performances issues.
Consider each filter is about 3~4 additional stack level.
Also each filter = 1 object + it's configuration datas
Basically a filter is do
I see nothing but 7bit charset in you mail, sorry :)
Pilgrim, Peter a écrit :
Testing using Micro$oft Outlock 200 sp3
I seem to be have problems with my mail sent to google group sent as 7bit
character set. Just want to prove that apache and sourceforge dont
have to the problem, and eliminate
I would suggest the welcome.do
Also, take a look at http://www.google.com/webmasters/2.html
Jim Reynolds a écrit :
Hello,
I have been having trouble getting the Search Engines to index my site
properly. My old site was just JSP model 1, and I would just submit
the index.html page.
Since I
regarding the encoding?
2) how to fix it? (i tried switching to utf-8 for query, it got even worse as
post also don't work anymore then)
--
David Delbecq
Royal Meteorological Institute of Belgium
-
To unsubscribe, e-mail: [EMAIL
]
--
David Delbecq
Royal Meteorological Institute of Belgium
-
Pingouins dans les champs, hiver méchant
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
... you wander everyday in corridors, asking everyone around if there are any
meetings today.
Le Vendredi 20 Janvier 2006 16:05, Ted Husted a écrit :
... your petname for seminars and user group meetings is naps and snacks.
-Ted.
commands, e-mail: [EMAIL PROTECTED]
--
David Delbecq
Royal Meteorological Institute of Belgium
-
Pingouins dans les champs, hiver méchant
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
: [EMAIL PROTECTED]
--
David Delbecq
Royal Meteorological Institute of Belgium
-
Pingouins dans les champs, hiver méchant
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
]
For additional commands, e-mail: [EMAIL PROTECTED]
--
David Delbecq
Royal Meteorological Institute of Belgium
-
Pingouins dans les champs, hiver méchant
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Complaining about someone's gender can be a full troll topic
with some people i know :)
Ok, you wanna start a disclaimer hunt?
Some user of the redhat mailing list suggested this one in 2003
https://www.redhat.com/archives/fedora-list/2005-March/msg06354.html
IMPORTANT: This email is intended
Michael Jouravlev a écrit :
On 10/24/05, Wendy Smoak [EMAIL PROTECTED] wrote:
From: Michael Jouravlev [EMAIL PROTECTED]
Firefox 1.0.6 on W2K -- site is screwed up.
So you've mentioned. :) Except for the left-hand column resizing itself
smaller than the ApacheCon logo, I don't
use reset() method of order related session forms.
Silvija Cardzic-Mrsa a écrit :
Hi,
Im new to struts and developing a shop with Struts.
After a customer sent his order it should be possible to make a new order
( same session ).
Whats the best practice to do this and how ?
Thanks
Silvija
Hello, might some of you enlight my path to redemption?
I tried to use this inside a jsp:
c:choose
c:when test=${1==1}
html-el:select
property=actionParameters(${parameter.key}).value
html-el:option value=true/
-Messaggio originale-
Da: David Delbecq [mailto:[EMAIL PROTECTED]
Inviato: giovedì 20 ottobre 2005 12.33
A: Struts Users Mailing List
Oggetto: stupid EL evaluation question
Hello, might some of you enlight my path to redemption?
I tried to use this inside a jsp:
c:choose
the taglib declaration in your web.xml, you can
just use the URI in your jsp file and the taglib will be loaded from
the jstl jars.
On 20/10/05, David Delbecq [EMAIL PROTECTED] wrote:
Hi Amleto,
am using tomcat 5.5.7, jstl 1.1.2
my web.xml declaration is as follow.
taglib
Hello,
I need to contact the admin of this mailing list regarding issues with it.
Please cc: your reply to david.delbecq at myrealbox.com to ensure delivery.
Thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Hello,
I'm seeking for help/documentation pointers on how to
manage custom data-types in struts.
Am wanting to know if it's possible to manage complex data-type
(that is data-types which need more than one field to be displayed / filled)
All this considering my form contains an array named
This will help you :)
don't forget to add validate=true in your struts-config.xml
public class MyForm extends ActionForm {
public static int MAX =100;
private Integer value;
public Integer getValue() {
return value;
}
public void setValue(Integer value) {
Koen Jans a écrit :
Here's my problem;
A user has several accounts, represented by AccountBean objects, all
having a unique accountId.
Now, i have a form where the user can select one of his accounts to edit
through a radio button selection. For the associated ActionForm, i see
two options to
, David Delbecq wrote:
Hello,
I'm seeking for help/documentation pointers on how to
manage custom data-types in struts.
Am wanting to know if it's possible to manage complex data-type
(that is data-types which need more than one field to be displayed / filled)
All this considering my form contains
--
David Delbecq
Royal Meteorological Institute of Belgium
-
Pingouins dans les champs, hiver méchant
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For lazy initialization to work, at the moment of the lazy initialisation,
(that is the moment you request the data) the hibernate session must
not be closed.
The best way to do this is to store the hibernate session in the user
session and use a servlet filter to connect/disconnect/reconnect the
about doing what
you have suggested.
I will continue to research but would you be able to help me with a little
more detail on what this entails?
Regards
Marty
-Original Message-
From: David Delbecq [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 20 September 2005 10:04 PM
To: Struts Users
byte[]-String conversion to this
blob field.
I suggested UTF-8, but maybe some other thing might be more suitable for you.
Anyway, once you have decided a charset for your blob, stick with it.
--
David Delbecq
Royal Meteorological Institute of Belgium
-
Is there life after /sbin/halt -p
and it
gets a byte[]?
How do you guys do it? Thank you all very much for the help
--
David Delbecq
Royal Meteorological Institute of Belgium
-
Is there life after /sbin/halt -p?
-
To unsubscribe, e-mail: [EMAIL
('${someBean.someValue}')
Delete Data
/html:link
--
David Delbecq
Royal Meteorological Institute of Belgium
-
Is there life after /sbin/halt -p?
-
To unsubscribe, e-mail: [EMAIL PROTECTED
60 matches
Mail list logo