, Jeff Amiel [EMAIL PROTECTED] wrote:
On 6/19/07, Aleksandar Matijaca [EMAIL PROTECTED] wrote:
All resources keys are available etc...
The code looks rightare you sure that the key invalid.login is
available?
I'm pretty sure that the results would be as you see if it was not.
Try
Hi there,
I am having some really stupid issues -- I am using Struts 1.2, and I have
an action
that does the following:
public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response) throws Exception {
ActionMessages
Hi there,
I would like to be able to programatically control weather I am doing
validation or not.
For example, I have validate=true in my struts-config file, but, I would
like to be
able to decide myself in code (in a Filter, or controller??) if the
validation should
actually be done.. How
I believe that it must have some sort of an extension,
so as to accomodate the processing by the Action servlet.
It does not have to be a .do, but it must have some sort
of an extension -- this get set-up in the web.xml file in the
WEB-INF directory...
Cheers, a.m.
(currently doing a project in
I like the CSS 'trick' -- I will try it tonight !
Thanks again Wendy,
Regards, Alex.
On 7/22/05, Wendy Smoak [EMAIL PROTECTED] wrote:
From: Aleksandar Matijaca [EMAIL PROTECTED]
I would like
to automatically place a little red * right beside the input field.
For my password
Hi there,
I am currently using the struts validator, and it is working pretty good.
My basic error block looks like this:
logic:messagesPresent
table
tr
td colspan=2font color=redbean:message key=errorTitle
//font/td
/tr
html:messages id=error
tr
tdnbsp;nbsp;/td
tdfont color=redbean:write
though. This might work (haven't
tried it):
c:if test=${not empty messages.message['property']}*/c:if
L.
Aleksandar Matijaca wrote:
Hi there,
I am currently using the struts validator, and it is working pretty
good.
My basic error block looks like this:
logic:messagesPresent
for a particular property though. This might work (haven't
tried it):
c:if test=${not empty messages.message['property']}*/c:if
L.
Aleksandar Matijaca wrote:
Hi there,
I am currently using the struts validator, and it is working pretty
good.
My basic error block looks like
How about:
response.sendRedirect(/yourcontext/YourServlet);
inside of your code??
Regards, Alex.
On 7/19/05, Dave Newton [EMAIL PROTECTED] wrote:
Jane Eisenstein wrote:
servlet
servlet-nameLogonServlet/servlet-name
display-nameLogonServlet/display-name
I don't think so, but there may be somebody more experienced that can tell
you better...
a.m.
On 7/19/05, Jane Eisenstein [EMAIL PROTECTED] wrote:
I would like to be able to forward to the existing servlets from Struts
code in a manner that will not need to change when a servlet is
Hi Wendy,
these roles you mention, are these JAAS roles? I think that JAAS
roles would be way too much of an overkill for me...
Cheers, Alex.
On 7/15/05, Wendy Smoak [EMAIL PROTECTED] wrote:
From: Aleksandar Matijaca [EMAIL PROTECTED]
I have an application that I am working
Thanks Wendy, I realy appreciate the effort you put in to
explain these things.
Cheers, Alex.
On 7/15/05, Wendy Smoak [EMAIL PROTECTED] wrote:
From: Aleksandar Matijaca [EMAIL PROTECTED]
these roles you mention, are these JAAS roles? I think that JAAS
roles would be way too much
Hi there,
I am trying to use html:link tag, and I have no problem just doing a plain
html:link, however, I would
like to have it render the html:link into something like -- a
href=/myapp/[EMAIL PROTECTED] /a
That is, I am not sure how to specify the html:link so that it takes par1
and [EMAIL
Hi there,
I have an application that I am working on that requires two different role
levels (administrator and user).
The administrator, will have some extra links visible to them. I want to use
only one struts-config file.
I am currently running into a scalability issue -- here is what I
displayed based on user role. Look at logic:present role=''/ for a
simple
way to wrap role-dependent markup in your JSPs:
http://struts.apache.org/userGuide/struts-logic.html#present
L.
Aleksandar Matijaca wrote:
Hi there,
I have an application that I am working on that requires two
Hi there,
I am having a problem, trying to embed one ValidatorForm inside of another
--- specifically this is the situation:
I have a class InstitutionForm and a class DnaForm -- I am trying to do the
following
public class InstitutionForm extends ValidatorForm {
private DnaForm dnaForm;
dnaForm before
returning it if it's currently null.
Hubert
On 7/7/05, Aleksandar Matijaca [EMAIL PROTECTED] wrote:
Hi there,
I am having a problem, trying to embed one ValidatorForm inside of
another
--- specifically this is the situation
Hubert, that is EXACTLY what was wrong -- you were 100% correct!
I guess, sometimes, it just takes 'another eye' to see things properly..
Cheers, Alex.
On 7/7/05, Aleksandar Matijaca [EMAIL PROTECTED] wrote:
Wouldn't that give me a null-pointer exception?? I will give it a try,
and let you
People, it is inconceivable to me that a dumb-witted employer can fire
somebody
over an email!! Don't these people know that a fake email can be created by
anybody?
I can make myself look like M. Galbreath in no time at all on email. All he
had to
say was --- This is not me, somebody is faking
PDF is definitely the way to go While not strictly a struts thing -- the
way to do it in my opinion is:
text from the article --- XML (data from the article in XML format) ---
create an XSL:FO file using
some kind of a tool ( http://altova.com/ ) has demo software you can try for
this --
There are a number of commercial products out there -- the products I
outlined to you are open source, except the altova
product... This is actualy much simpler then it seems Rafael -- have look at
FOP...
Regards, Alex.
On 7/6/05, Rafael Taboada [EMAIL PROTECTED] wrote:
So aren't there any
Create a singleton class, that holds the instance of a connection in a
ThreadLocal class in that singleton --
this way you don't have to keep stuff in the session...
Regards, Alex.
On 7/6/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi!
I have maybe a simple question:
My web-app has
Interesting, we didn't have that problem at all. I just wish that there was
a better way of
including graphic objects that were created -on-the-fly...
Regards, Alex.
On 7/6/05, Nick Heudecker [EMAIL PROTECTED] wrote:
I would either use JasperReports to create a simple report definition,
or
I would not actionforward, I would just get a servlet context, and
redirect
a.m.
On 7/5/05, Lucas Bern [EMAIL PROTECTED] wrote:
Hi all
I neeed to forwars form my action to a page out side my context...
something like return new ActionForward(www.google.comhttp://www.google.com
On 7/2/05, Dakota Jack [EMAIL PROTECTED] wrote:
The first person who steps far enough over the line is going to be
slammed with a lawsuit by yours truly. You are getting close
A lawsuit?? On the basis of what?? Slander? On the internet
you can say anything you want, and get away with it
That is interesting, because, the situation is completely opposite in
Toronto, and in Canada in general I think.
I just did a quick search on google groups (group tor.jobs) :
http://groups.google.ca/groups?hl=enlr=q=c%23+group%3Ator.jobsqt_s=Search
returns 2200 jobs
I believe that if you are using JSP includes, the included file, looses
any objects that were put in using request.setAttribute(...) ? I have found
that using jsp:includes is typicaly good enough to include any group page
imports, definitions and maybe any JavaScript...
Regards, Alex.
On
Long weekend in Canada (day-off tomorrow)! Sorry, I fergot -- about OT
topics on friday...
Cheers, Alex.
On 6/30/05, delbd [EMAIL PROTECTED] wrote:
You know what?
I was presuaded it's Friday today. Still one more day of work before
week-end :'(
Le Jeudi 30 Juin 2005 15:43,
There is an excellent site:
http://www.robert-tolksdorf.de/vmlanguages.html
That talks about a number of different interpreters for Java (no typos here,
sentence is correct).
One of them is Lisp for java (written in Java). I have successfuly
integrated Jython with a number of
j2ee projects
Hi Tony,
try something like this:
ps -ef | grep httpd
this will show you where the process is running (from which directory) -- to
shut down this process,
become root, and you should have somewhere in your computer the apachectl
program -- do a
./apachectl stop
from the directory where
I am happily using MyEclipseIde.com http://MyEclipseIde.com product - for
$30/YEAR, you can't go wrong... I have succeessfuly used it
with Jboss (and Tomcat 5.x) and Weblogic.
a.m.
On 6/22/05, Tony Smith [EMAIL PROTECTED] wrote:
Is there an Eclipse plug-in for Struts or Tomcat so
that I
I like the idea of 4 separate spaces, and 'moving around' miscalenous files
(such as CSS, GIF and
others) should not hold you back. Presumably for such a large project, you
are using ANT to facilitate builds etc.
You should be able to modify your scripts so that it also copies these files
The easiest way to find out what is realy going on is --
telnet localhost 80
If you don't get an error, it means some other process on your machine
is running on TCP 80. Do you have some kind of a 'personal web
server' enabled by default? If some process does answer on TCP 80 try
typing in (in
If you are running on Unix/Linux, you must be root to open on TCP 80.
If you are running on NT, you *can* run on TCP 80, however, if you allready have
a web server that is listening on that port, then you will not be able
to open on
TCP 80...
Regards, Alex.
On 6/21/05, Tony Smith [EMAIL
What I would do is, create an index.html, and inside of that index.html, do
redirect to a struts action...
For example:
META HTTP-EQUIV=Refresh
CONTENT=0; URL=firstAction.do
Then, in your struts, the action mapped through firstAction.do can load up
the session with your TAX info...
Wendy, can you please give me the complete class name of that Listener
object? Is it referenced in the web.xml??
Thanks, Alex.
On 6/21/05, Wendy Smoak [EMAIL PROTECTED] wrote:
From: Rafael Taboada [EMAIL PROTECTED]
I need to store some objects in session scope in order to use
around
Hi there,
I may not be the world's ultimate authority on this, but let me try to
answer this:
On 5/8/05, alec [EMAIL PROTECTED] wrote:
snip
Is there any inbuilt functionality in struts framework for
implementing reports.
No
Are there any Apache based tools/model for reporting in java
37 matches
Mail list logo