your other actions works ? else try refresh on Eclipse if u develp ith
eclipse IDE.
else do u have declared your taglib in your web.xml , after your servlet
mapping:
action
*.do
index2.jsp
/tags/struts-bean
Michael thanks for the help bu I could not figure out why I am getting
this error when declaring taglib on top of JSP (<%@ taglib prefix="c"
uri="http://java.sun.com/jsp/jstl/core"; %>), I have jstl.jar and
standard.jar in WEB-INF/lib folder.
Error 500--Internal Server Error
java.lang.NoClassDe
George thanks for the help bu I could not figure out why I am getting
this error when declaring taglib on top of JSP (<%@ taglib prefix="c"
uri="http://java.sun.com/jsp/jstl/core"; %>), I have jstl.jar and
standard.jar in WEB-INF/lib folder.
Error 500--Internal Server Error
java.lang.NoClassDe
Sorry George, I misread one of the previous posts in my response to yours.
You're correct. JSP is not the place for this type of
authentication/validation, although I don't know that I would want
everything to ActionServlet handles to require a referer. I dont suspect
that spiders typically pass
I wrote my own tag called loggedIn that I wrap all elements of the page
that are not to be viewed by the public in. The loggedin tag just checks
a flag in session scope that is set by the login attribute. It's a very
simple solution that works well for me.
Bart.
Monkeyden wrote:
I don't incl
I don't include any tiles in my application(s). It's the layout JSP page
that includes the screen specific HTML and handles the common code (META,
HTML, BODY, menus, etc.). Implemented this way, it's not nearly as easy to
inadvertently avoid the META tags as you would have us believe. That said
I would suggest that a servlet filter is a better choice than depending
on the inclusion of a particular tile.
> -Original Message-
> From: Thomas Joseph [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 07, 2006 2:36 AM
> To: Struts Users Mailing List
> Subject: Re: Browser History by HTT
On 8/7/06, Vijay Gupta <[EMAIL PROTECTED]> wrote:
Hi All,
I would really appriciate your help in this:
I am trying to JSP:include 2 actions and having the problem that the
request never comes back from 1st include and that stops further
excutuion of the JSP trying to include.
I guess the reason
Hi All,
I would really appriciate your help in this:
I am trying to JSP:include 2 actions and having the problem that the
request never comes back from 1st include and that stops further
excutuion of the JSP trying to include.
I guess the reason is that struts does forward the request and the
con
Isn't this the SECOND step in Human cloning? Wouldn't the FIRST step be
growing a replacement body so who's advertised about that? Like we need the
ability to copy our brains before our clone is ready. Duh! Now if both
steps were ready I could clone myself and do twice the work in half the
time
Hi Wendy,
Wendy Smoak wrote:
On 8/7/06, Bart Busschots <[EMAIL PROTECTED]> wrote:
Just came across another broken link in the User Guide. At the end of
section 4.8 (Writing Action Mappings) there is a link to
http://struts.apache.org/1.x/apidocs/org/apache/struts/action/ActionMapping.html
l
On 8/7/06, Bart Busschots <[EMAIL PROTECTED]> wrote:
Just came across another broken link in the User Guide. At the end of
section 4.8 (Writing Action Mappings) there is a link to
http://struts.apache.org/1.x/apidocs/org/apache/struts/action/ActionMapping.html
labeled "ActionMapping documentati
Hi,
Just came across another broken link in the User Guide. At the end of
section 4.8 (Writing Action Mappings) there is a link to
http://struts.apache.org/1.x/apidocs/org/apache/struts/action/ActionMapping.html
labeled "ActionMapping documentation" which gives a 404.
This is the second bro
You could implement your own MessageResources which could call a java
class instead of a properties file.
You would need to do something like the following:
1) Create your own MessageResources implementation:
http://svn.apache.org/viewvc/struts/struts1/trunk/core/src/main/java/org/apache/struts
Thank you Niall,
Do you know if I can call a java class instead of a properties file ?
Jean-Marie.
-Message d'origine-
De : Niall Pemberton [mailto:[EMAIL PROTECTED]
Envoyé : lundi 7 août 2006 15:37
À : Struts Users Mailing List
Objet : Re: Validator dynamic var
You can do this in Str
I had a similar problem here. I used formdef to define the page attribute and
didn't specify the type. When the cast was made inside of validator, it was
unable to cast the value to an Integer. The field was a string containing the
page number. Couldn't it use Integer.valueOf?
-Original
You can do this in Struts 1.3.x and Commons Validator 1.3.0 where the
element can come from a resource bundle.
See the "1.2 Variables in Resource Bundles" section here:
http://wiki.apache.org/jakarta-commons/ValidatorVersion120
Niall
On 8/7/06, Jean-Marie Pitre <[EMAIL PROTECTED]> wrote:
H
Romu wrote:
U mean a javascript error ?
No, I don't use clientside validation on my forms. It's going to the
server anyhow so I don't see the point, just an extra layer for things
to not work in.
u need to define a message.properties file too which will define the
error
messa
Good point
for example :
mentor.createStudentGroup
.groupName.label = the Student Group Name
2006/8/7, Romu <[EMAIL PROTECTED]>:
U mean a javascript error ?
u need to define a message.properties file too which will define the
error messa
2006/8/6, Bart Busschots < [EMAIL PROTECTED]>:
> OK, I go
U mean a javascript error ?
u need to define a message.properties file too which will define the error
messa
2006/8/6, Bart Busschots <[EMAIL PROTECTED]>:
OK, I got all this figured out in the end.
The validator was being called but because of problems with the page
attribute in the form th
Hi,
Is it possible to set dynamic variable value in validation.xml file ?
My application is in several language and I would like avoid to define
several formset definition according to each language to just change
datepatternstrict value.
Any idea ?
Thanks,
Regards Jean-Marie.
--
You can define the border for the text box in a style class and use errorStyle.
This will reduce redundancy
http://struts.apache.org/1.2.9/userGuide/struts-html.html#text
Thanks and Regards,
Thomas Joseph
Kott Software Pvt. Ltd. | Vallamattom Estate | M.G.Road | Cochin-682015 | India
www.kott
Hi,
I want to display a border around by text fields when a validation error
occurs. Can someone suggest how i could do this??
is there a way i could probably use tag in case an error
existed for that particular property, so that I can use two text fields and
display the bordered one in case an e
I use struts 1.1 and struts test case 2.1.3.
In my DispatchAction class that I'm trying to test, one of the action methods
uses the log4j logger.
MockStrutsTestCase seem to find the logger properties file OK, but encounters
NamingException and spits out errors afterwards:
javax.naming.NoInitial
24 matches
Mail list logo