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:
According to struts faces docs, i need to use the corresponding JSF tag:
However, you all can guess my
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
> enctype=multipart/form-data>
>
> //etc ...
>
>
> After I deploy the application to the web server
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 possib
La chasse au caribou est ouverte!
** _
| \ V |/ /| | / /|
| \ V / | |/ / |
| \ /_ | V / |
|| | \\| / |
|| | \ ||
|| \ ||
|\|
Use expression language available in jsp 2.0:
class="${theBean.messageLevel="Error"?"ErrorClass":theBean.messageLevel="Warning"?"WarningClass":"InfoClass"}">
.
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 o
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
ng one?
4) is there a way to start a dialog process or create a link to a JSF
page without ressorting to a (like http://?action=dialog: or
http:///userDetails.faces?username=), all this to prevent the
use of javascript when possible and allow the sending of direct link 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 u
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 uns
Did you do
which
make sense in a JSP, or did you do
which is a non
sense as a you can't put a jsp tag inside a parameter of a jsp tag.
if you use , use this way
Fredrik Andersson wrote:
Hi all
I'm still implementing the i18n internationalization on the page and now
I have noticed that
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 n
Marcus wrote:
>
I wrote:
And it returns literally:
${myDynaForm.value}
Sorry, thought bean:message was supporting el notation :)
try this
It's awfull, but assuming you have myDynaForm in some scope should work
-
To uns
Marcus wrote:
Pass the argument {0} as follows:
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
-
To unsubscribe, e-m
Hi,
indeed ie does not support properly the value of a 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 g
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 a
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
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 renderin
Quinn Stone a écrit :
>
>I think maybe we should have for users, for developers, and a new
> for those that want to have pissing contests. Speaking of saturation...
>
>Q
>
>
>
+1
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
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
Not really. Once user has 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 <[EMA
("Subject--> " + subject.toString());
>>Set principals = subject.getPrincipals();
>>principals.add(user);
>>
>>request.getSession(false).setAttribute("login",subject);
>>} catch (LoginExcept
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
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
even
Krishna, Mattam (M.) a écrit :
>I have the following code in jsp.
>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 value perfectly in DB.
>After when I tried to
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 sa
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 dec
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
gt;>
>
>no, but jsp can produce well formed xhtml (actually its an optional
>setting, isn't it?)
>
>
>so is invalid,
>but the output of your example:
> is a valid xhtml.
>
>It's not about the jsp itself, but the output :-)
>
>regards
>Leon
>
&
Am pretty sure, JSP is not about xml at all :)
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: Thur
Na, he just asummed the tag was doing additionnal work at a later part:
Dave Newton a écrit :
>Leon Rosenberg wrote:
>
>
>>?
>>
>>
>>
>Ah, see, that won't work.
>
>Try
>
> instead.
>
>;)
>
>(Hey, it was either this or I would have had to respond to the "I want
>to write a fully ob
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 section while you are already in the middle of
your .jsp, then you will need your taglib to
One simple word:
pray
Marco Mistroni a écrit :
>Hehe,
> Thanx I got explanation off-line..
>Hope I'll never have to resort to that
>are there any nicer expressions to say that you have no other solutions?
>
>Regards
> marco
>
>-----Original M
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..
>Y
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
if your
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 elimin
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
ected behaviour that struts behave differently on POST and GET
methods 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
terms of performance ?
> >
> > thanks
> > lixin
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
David Delbecq
Roya
... 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.
>
> --
I do? How can I do ?
> please give me some clues???
>
> thanks in advance
>
>
> sony
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
[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
m is that I
> have the same name for different buttons in the same form.
> In that case, how will I know which button submitted that action??
>
>
>
>
> -----
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>
-
> To unsubscribe, 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
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
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
>Silv
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 tha
n 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 d
L is evaluated by
>JSP and the 1 is considered int.
>
>I hope this is useful
>
>BR
>/Amleto
>
>
>
>
>
>>-Messaggio originale-
>>Da: David Delbecq [mailto:[EMAIL PROTECTED]
>>Inviato: giovedì 20 ottobre 2005 12.33
&g
Hello, might some of you enlight my path to redemption?
I tried to use this inside a jsp:
non boolean
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
appropriately.
>
>When you pass the object it will be just that, an object, unless you also pass
>the type,
>for example:
>Object object;
>String objectType;
>objType="${attributeName.property2}"/>
>
>Kind regards
>mc
>
>
>On 21 Sep 2005 at 10:32,
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 opti
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) {
t
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 paramet
no idea how to go 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]
&
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
h
// ensure that the *.hbm.xml is located in bin/be/rmi/intranet/db
// (where the class is)
for (int i = 0; i < persistedClasses.length; i++) {
configuration.addClass(persistedClasses[i]);
}
sessionFactory = configuration.configure().
(i assumed utf-8).
You must remain consistent in your various 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 Meteorologi
I can think here is struts is
> corrupting... could it be?
>
> 1. Is html:text the correct component I have to use for this?
> 2. Do I have to make any conversion, being that I insert a String and it
> gets a byte[]?
>
>
t; variable. How do I do it?
> Once I pass the variable, my javascript function has to be :
>
>
> function validateDelete(data)
> {
> return confirm("Delete Data"+data);
> }
>
>
Have you tried this?
62 matches
Mail list logo