You can use a work around way...
take a look at: java.util.Properties
Properties p = new Properties().load(InputStream inStream);
/* The InputStream will be your ApplicationResources properties file.
than you just need to get the properties you need... */
p.get(my.property)
Tiago Henrique C.
I am testing the struts-blank example, I made some changes to try use
multiple config files
I defined my web.xml like this:
init-param
param-nameconfig/action-mappings/param-name
param-value/WEB-INF/action-mappings.xml/param-value
/init-param
init-param
Inside the struts-exercise-taglib.war that comes with struts 1.1 you will
find a pratical example to solve your problem...
You should not do a logic:iterate inside html:select, insteat of
logic:iterate use the option:optionsCollection and pass your collection to
it...
look the jsp example
I tried the second option and did not work out... the first option has
worked for me...
Tiago Henrique C. R. Alves
-Mensagem original-
De: Philip Mark Donaghy [mailto:[EMAIL PROTECTED]
Enviada em: segunda-feira, 15 de dezembro de 2003 11:47
Para: Struts Users Mailing List
Assunto: Re:
Take a look at the DateFormat class (J2sdk API)
Tiago Henrique C. R. Alves
Analista de Sistemas
Politec - CSS
Tel: 3038-6952
-Mensagem original-
De: Raj Yadav [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 12 de dezembro de 2003 16:59
Para: [EMAIL PROTECTED]
Assunto: [OT] SQL Date
YOU DONT NEED TO REPLY TO THE MAILING LIST send me an email
([EMAIL PROTECTED])
Sorry for the off topic, but I just need to hear from you guys...
I am looking for an American Job, I live in Brazil and I have 2 years
experience in Java + Struts + OJB + Apache + TomCat + UML + PHP + ASP. Web
in
I wrote my email wrong: [EMAIL PROTECTED]
YOU DONT NEED TO REPLY TO THE MAILING LIST send me an email
([EMAIL PROTECTED])
Sorry for the off topic, but I just need to hear from you guys...
I am looking for an American Job, I live in Brazil and I have 2 years
experience in Java + Struts + OJB +
constraint. My problem is
still that I don't know how to configure the digester
using custom rule sets so my sub-class of action
mapping gets populated with my custom tag. Maybe you
have an idea or anyone who reads this thread.
Sincerely yours
Sebastian
--- Tiago Henrique Costa Rodrigues Alves
Hi,
I am working in a project with many developers,
sometimes the developers need to change the struts-config.xml file at the
same time (one developer needs to add a action-form and other developer
needs to add a form-bean or even make some changes...)
How can I add multiple config file support
You can turn off the cache of your pages, so the page will expires before
submiting...
%
response.setHeader(Cache-Control,no-cache);
response.setHeader(Pragma,no-cache);
response.setDateHeader (Expires, -1);
%
Tiago Henrique C. R. Alves
-Mensagem original-
De:
You should set a session for your user in both web servers (TOMCAT and
IIS)...
Anyway,
Why are you doing the login module using Java, and the rest of your
application using Java?
Why dont you just do everything using ASP? or Java?
-Mensagem original-
De: Gurpreet Dhanoa [mailto:[EMAIL
Can you copy and paste the solution for your question?
-Mensagem original-
De: Clark Kent [mailto:[EMAIL PROTECTED]
Enviada em: terça-feira, 9 de dezembro de 2003 12:40
Para: Struts Users Mailing List; [EMAIL PROTECTED]
Assunto: Re: Multiple ApplicationResources.properties files
Many
Where can I find Struts Roles documentation?
Tiago Henrique C. R. Alves
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
You will need just JavaScript for this kind of job...
You should take a look at: JavaScript DOM
It is quite simple to do this... You will see
Tiago Henrique C. R. Alves
Analista de Sistemas
Politec - CSS
Tel: 3038-6952
-Mensagem original-
De: Linda Coleman [mailto:[EMAIL
the java script function that you are looking for is something like this...
function addItemToListBox(itemIndex, srcListBox, destListBox){
//srcListBox and destListBox are objects
// You will use JavaScript DOM HERE
//Its something like this:
/login.jsp/form-login-page
form-error-page/sLogin/loginBad.jsp/form-error-page
/form-login-config
/login-config
Here is a link on more WEB.XML (that works on any J2EE container -such
as Tomcat):
http://e-docs.bea.com/wls/docs70/webapp/web_xml.html
.V
Tiago Henrique Costa
You can use javascript with struts like any other static HTML page... just
add your java script body:
script language=JavaScript src=file.js/script
and you can call your insite your HTML STRUTS TAGS like this:
html:button property= name= value= onclick=js_fuction_here /
replace onclick for
17 matches
Mail list logo