Hello
There are some tables in database and I have to transfer them to the web
pages.
Also they can be deleted and edited.
I am using Struts.
I populate a list of objects from tables.
And put this list in a formbean
and list them in a web page as below:
I want to make all rows editable t
javaranch.com
Rafael Taboada wrote:
Hi folks. I live in Peru and I'm so interested to get java certification.
But here in Peru is a little difficult to have some courses in order to get
certification and because it's so expensive.
My question is u know some site or have some material in orde
Hi,
On Thu, 2005-08-11 at 21:12 -0500, Rafael Taboada wrote:
> Hi folks. I live in Peru and I'm so interested to get java certification.
> But here in Peru is a little difficult to have some courses in order to get
> certification and because it's so expensive.
> My question is u know some si
Try javaranch.com, they have many tutorials, resources, and study
guides, and active forums too.
Good Luck!!
-ed
On 8/11/05, Rafael Taboada <[EMAIL PROTECTED]> wrote:
> Hi folks. I live in Peru and I'm so interested to get java certification.
> But here in Peru is a little difficult to have some
You need Struts 1.2.7 (and validator 1.1.4) to do this. The validator DTD
has a "bundle" attribute for the element (but not ). Earlier DTD
versions also had this element, but it was ignored until Struts 1.2.7 - and
requires Commons Validator 1.1.4
http://www.niallp.pwp.blueyonder.co.uk/HelpTagsEr
Hi folks. I live in Peru and I'm so interested to get java certification.
But here in Peru is a little difficult to have some courses in order to get
certification and because it's so expensive.
My question is u know some site or have some material in order to prepare
myself for getting java
I speak for myself but I surmise that we are all glad this application has
worked to your specifications,
Martin-
- Original Message -
From: "Kent Boogaart" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'"
Sent: Thursday, August 11, 2005 7:57 PM
Subject: [OT] Thanks
Hi,
Over
Hi,
Over the past few months I have been developing my first struts app under
time pressure (no, really?). On several occasions I needed help and this
mailing list saved me. I just wanted to say "thanks" to all those who helped
me - couldn't have done it without you. You've raised my opinion of th
Hello all,
A little question. I've wrote a little web app for school with Servlets.
In my Eclipse Project I've added a context.xml file in order to
configure JDBCRealm and it worked perfectly as Tomcat 5.x supports this
kind of thing, adding a context.xml file inside the META-INF/ subdir.
In
It seems logical to do, but steadfastly avoided. So I'm wondering if this is
a bad idea or not-
Example:
You have a series of i18N'd CRUD screens. On one of them, you allow the user
to retrieve some data, edit it, and save it back.
On this type of screen, it really makes life easier if
Hi everybody,
I have a string s whose value is '' (s contains 2 single quotes). I put a
tag in a javascript segment of a jsp page with the hope that when
this jsp page is displayed I will have something like
var jan = new Array('', 1, '', 2, 3, 4, '');
But in fact what I get is that all si
This application uses something like module, but I don't think it's module. I
think they use multiple struts configuration files (single module).
This is a part of the web.xml:
action
com.xhmh.dcis.common.DCISActionServlet
config
/WEB-INF/struts-config.xml,/WEB-IN
Thai Dang U wrote:
I have many struts config files in my application. One of them is
struts-config-provider.xml. In this file, I declare a resource file and
validation files like this:
In my validation.xml file, I have several lines like What do I have to do to tell Struts to use
Here's the code for the jsp in a more readable format:
Hi all:
Am working through the second of the JSF for nonbelievers article and have
found a weird error while constructing one of my jsps. I have two links
for sorting by descending and ascending items in a table. It seems like
the first link works great, but the second link always gives me a
Generally the validator errors are converted into ActionErrors and displayed in
the JSP with the html:errors tag. This could be handled numerous ways, e.g. in
the Action class or ActionForm.
> Kevin Taylor
>
> -Original Message-
> From: David McReynolds [SMTP:[EMAIL PROTECTED]
> Sent: T
okay. I was under the impression that the user would not have access
to the log files. This exception is the only indication that
something went wrong. What needs to happen to get a message back to
the user?
On 8/11/05, Taylor, Kevin <[EMAIL PROTECTED]> wrote:
> This is caused by a "required" fie
I use multiple message-resources files in my application like this
This is a part of my validation.xml file:
The key cssite.county is in the Provider.properties file. It seems to me that
Struts cannot find the 'cssite.county' key in my Provider.properties file
(be
This is caused by a "required" field being left empty on the form.
> Kevin Taylor
>
> -Original Message-
> From: David McReynolds [SMTP:[EMAIL PROTECTED]
> Sent: Thursday, August 11, 2005 12:55 PM
> To: StrutsUserList
> Subject: validator newbie
>
> If inherited some code. I'm not
If inherited some code. I'm not sure what its trying to tell me. The
user is simpley forwarded on to the next page and there is no
indication of a problem other than this logged exception.
[11 Aug 2005 13:38:42,886] [org.apache.struts.validator.ValidatorForm]
[ERROR] validateRequired
org.apache.co
On 8/11/05, Joe Germuska <[EMAIL PROTECTED]> wrote:
> At 6:18 PM -0600 8/10/05, C.F. Scheidecker Antunes wrote:
> >Hello all,
> >
> >I was reading about modules and I wonder if anyone had ever used them.
> >As far as I can see by the examples, if you have different modules you still
> >run only one
Certainly Event Handling is much more robust and overt in Swing than J2EE
Which is probably why alot of folks went directly from Swing to .NET or CF
The need for more fine grained Handler mechnisms for J2EE has at least been
addressed by JSF..
Martin-
- Original Message -
From: "Pilgr
http://today.java.net/pub/a/today/2005/08/04/jspcomponents.html?page=3#jsp_servlets_compatibility
On 8/11/05, Legolas Woodland <[EMAIL PROTECTED]> wrote:
> Hi
> I have a problem with including an action response into my jsp page
> here is the problem :
> I want to include an action output which is
Thai Dang Vu wrote:
My application has multiple struts configuration file. Those configuration
files use different validation configuration files. So, where do I declare all
those validaiton files? And how to do that?
Look near the end of your struts-config.xml. Just add the additional files
First, a couple of things you need to be aware of with this. The Referrer
header is not guaranteed to be there; some browsers allow the user to
disable it, some firewalls and proxys filter it, etc. So if you don't have
full control of the environment from which your application is accessed,
rel
Hi everyone,
My application has multiple struts configuration file. Those configuration
files use different validation configuration files. So, where do I declare all
those validaiton files? And how to do that?
Thanks for any help.
---
I don't have access to the earlier messages, but have you been able to
get _any_ JSTL tags to work? Do you have the JSTL jars and everything?
I've never had _any_ problems with JSTL that weren't traceable to a
wrong taglib or a missing JAR.
Dave
Albrecht Leiprecht wrote:
No matter if I set i
Yan Hu wrote:
But java is perhaps not suitable for fat client - type apps while it
is a great language for the server side.
Dave Newton wrote:
How is it "not suitable" for fat clients?
Yan Hu wrote:
How many huge apps are written in Java Swing and how many are in C++,C
or even
No matter if I set it
pageContext.setAttribute("errmsglength", new Integer(errmsglength));
or like this
<%=errmsglength%>
No dots, nada.
I will create a fresh project that simulates the current situation and see
if it shows the same behavior... That might allow me to track down the
problem.
Hi all,
As Albercht had mentioned in his 1st mail---
I have a tile that shows my default input row in a form. In case that I put
a value in FieldError, I want it to show it the errorMessage in red color.
So far so good. The values get to the tile (formRow)... and there it's
getting somewhat trick
Albrecht Leiprecht wrote:
<% int errmsglength = 5; %>
...
One would expect to see the 3 dots ... but nada ... Funky...isn't it ?
Not really. JSTL looks for variables in application, session, request,
or page scope.
<% request.setAttribute("errmsglength", new Integer(5); %>
...
Dave
-
Greg Reddin wrote:
On Aug 11, 2005, at 9:30 AM, Albrecht Leiprecht wrote:
Just did the following:
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>
<%
int errmsglength = 5;
%>
Further down:
...
One would expect to see the 3 dots ... but nada ...
And yes ...the taglib is loaded in the firs
On Aug 11, 2005, at 9:30 AM, Albrecht Leiprecht wrote:
Just did the following:
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>
<%
int errmsglength = 5;
%>
Further down:
...
One would expect to see the 3 dots ... but nada ...
And yes ...the taglib is loaded in the first line of the file
Just did the following:
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>
<%
int errmsglength = 5;
%>
Further down:
...
One would expect to see the 3 dots ... but nada ...
And yes ...the taglib is loaded in the first line of the file ...Funky
...isn't it ?
I'm using 5.0.x Tomcat, 1.2.7 S
At 6:18 PM -0600 8/10/05, C.F. Scheidecker Antunes wrote:
Hello all,
I was reading about modules and I wonder if anyone had ever used them.
As far as I can see by the examples, if you have different modules you still
run only one ActionServlet.
It is true that you would only have one ActionSer
>> <%=errmsg.toString().length()%>
>> <%--correctly prints the expected value--%>
>I believe the scriptlet is evaluated at runtime(server-side). Is it
>possible you have a bean property holding this: errmsg 'expected value'
>?
Naa... I intentionally used a name I could be sure is not used any
Greg Reddin wrote:
Can you do toString() in EL? I thought you could only access bean
properties. If so, you'd need to provide a getLength() method on your
errormsg bean and do this
Or ... depending on how you're
filling errmsg and remove some additional clutter from the JSP.
Dave
Hi
Thank you for reading my post
I have a problem.
problem is :
I should go back to last visited page after my user login or changed
locale or ..
i can retrive las visited page : by using request.getheader("Referer")
and i store it into a session variable.
No after my user loged in i should forward
At 5:21 AM -0700 8/11/05, netsql wrote:
W/ Tomcat 5 (Servlet 2.4) you should use latest JSTL and regualr Struts tags.
You would only use Struts-el tags w/ Servlet 2.3.
I would agree with Vic; however, note that you must change your
web.xml file so that the root "web-app" element makes it clea
Hi
I have a problem with including an action response into my jsp page
here is the problem :
I want to include an action output which is a jsp page (data fetched
from database)
into a cell of a table in my jsp page.
jsp page is an struts page so i used the following to include the
action respose :
On Aug 11, 2005, at 8:28 AM, Albrecht Leiprecht wrote:
<%=errmsg.toString().length()%>
<%--correctly prints the expected value--%>
Can you do toString() in EL? I thought you could only access bean
properties. If so, you'd need to provide a getLength() method on your
errormsg b
>> <%=errmsg.toString().length()%>
>> <%--correctly prints the expected value--%>
I believe the scriptlet is evaluated at runtime(server-side). Is it
possible you have a bean property holding this: errmsg 'expected value'
?
>>
However the JSTL is explicitly directed to Page-scope for this. Se
Let me rephrase the question
Is there any limitation on using JSTL in Tiles ???
Rgs
albi
-Original Message-
From: Albrecht Leiprecht [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 11, 2005 3:28 PM
To: 'Struts Users Mailing List'
Subject: Conditionally show values in Tile (c:when?
This got long-ish as I'm partially thinking out loud about this
work-in-progress. Sorry. The whole thing got blown out of proportion
late last week and I shouldn't be doing this with Struts at all, I
think. More of a Dave's Java Playground project, this.
Adam Hardy wrote:
if you have a whole
Hi all,
I have a tile that shows my default input row in a form. In case that I put
a value in FieldError, I want it to show it the errorMessage in red color.
So far so good. The values get to the tile (formRow)... and there it's
getting somewhat tricky. After reading a number of explanations, I
u
I don't believe the web.xml would have to change to upgrage struts
version, except of cource references to Struts.jar etc.
I believe the header has to be in Sync with the Tomcat/web-app version
you're using. For example, I have Tomcat5.0.28 and my web.xml begins as
such:
http://java.sun.com/xml/
Yan Hu wrote:
But java is perhaps not suitable for fat client - type apps while it is a great
language for the server side.
How is it "not suitable" for fat clients? _Especially_ fat clients that
might reuse a _substantial_ part library code of the server side or
interface directly with a sh
You missed the point, Adam. No one is so daft as to be saying that
having an interface makes the implementations of that interface less
than specific implementations. The point is that you can switch them
out.
On 8/11/05, Adam Hardy <[EMAIL PROTECTED]> wrote:
> Dave Newton on 10/08/05 16:25, wro
The examples go with Struts 1.2.7 say
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>
for web.xml.
I don't know what your problem is. Could you send you whole web.xml file?
>>> [EMAIL PROTECTED] 8/10/2005 5:51:50 PM >>>
Hi,
I'm in process of upgrading of strut 1.0 to 1.2.7 but cannot s
W/ Tomcat 5 (Servlet 2.4) you should use latest JSTL and regualr Struts tags.
You would only use Struts-el tags w/ Servlet 2.3.
.V
People are conversing... without posting their email or filli
Dave Newton on 10/08/05 16:25, wrote:
(4) Dependency Injection/Configurability.
Classes that implement interfaces can be instantiated at runtime
allowing for config-file-level application modification. This can
translate into HUGE wins over the life of an application.
As a recent thread on
Peter,
are you going to turn into a Games programmer?! ;)
ooops sorry it's not friday yet.
Pilgrim, Peter on 11/08/05 11:02, wrote:
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 11 August 2005 06:39
To: Struts Users Mailing List
Subject: Re: Nice try (was
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 11 August 2005 06:39
> To: Struts Users Mailing List
> Subject: Re: Nice try (was Java code generator including Struts 1.2)
>
>
> OK, my post did look kind of ugly. It really wasn't directed
> at any person
I'm using tomcat 5.5.9 with 2.4 spec web.xml. So far I'm using JSTL 1.1
and I'm not sure if I should use the regular struts taglibs or if I should
go back to JSTL 1.0 to use struts-el? I like the idea of the struts-el
taglibs.. is it possible to use the "el" of JSTL 1.1 with the regular
struts ta
54 matches
Mail list logo