Hi,
When I am trying to use tiles feature using a tiles-defs.xml. I am
getting the following error.
javax.servlet.ServletException: Can't get definitions factory from
context.
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageCont
extImpl.java:825)
org.apache.jas
Barun Kumar Yadav ha scritto:
Hi,
When I am trying to use tiles feature using a tiles-defs.xml. I am
getting the following error.
...
root cause
javax.servlet.jsp.JspException: Can't get definitions factory from
context.
org.apache.struts.taglib.tiles.InsertTag.processDefinitionName(InsertTag
Hi,
Is it possible to forward to a url rather than
forwaring to a forward in struts.config file from a
action class.
For example we can do like this from servlets.
req.getRequestDispatcher("page.jsp?id=10").forward(req,resp);
Can we do the same with struts.
Thanking You,
Chamal.
_
chamal desilva ha scritto:
Hi,
Is it possible to forward to a url rather than
forwaring to a forward in struts.config file from a
action class.
For example we can do like this from servlets.
req.getRequestDispatcher("page.jsp?id=10").forward(req,resp);
Can we do the same with struts.
Sur
Now its trying to read the tiles-defs.xml file, but its giving this
error.
javax.servlet.ServletException: Error while parsing file
'/WEB-INF/tiles-defs.xml'. The public identifier must begin with either
a single or double quote character.
org.apache.struts.tiles.TilesPlugin.init(TilesPl
Barun Kumar Yadav ha scritto:
org.apache.struts.tiles.DefinitionsFactoryException: Error while parsing
file '/WEB-INF/tiles-defs.xml'. The public identifier must begin with
either a single or double quote character.
Post your tiles-defs.xml, I suspect you have a problem with the public
iden
Thanks Antonio. It worked.
-Original Message-
From: Antonio Petrelli [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 03, 2006 2:40 PM
To: Struts Users Mailing List
Subject: Re: [tiles] Re: Exception using Tiles
Barun Kumar Yadav ha scritto:
> org.apache.struts.tiles.DefinitionsFacto
Hi All,
In our webapplication (struts based) we are using Ajax code
(as part of header in all jsp)which will hits the server for every 10 sec
so every time session will be updated so it is not possible to maintain the
session (sesstion will not expires though after the session time
Hi,
I need some help regarding dojo with struts.
I have one form which contains some check boxes and 'delete' button.
i have corresponding Action and ActionForm classes to implement delete.
I am trying to implement Dojo here to avoid total page refresh.
the code in jsp is :
function onclick_
fixed,
well, nothing to fix actually, some of the text had got into the db
containing escape sequences e.g. Aşterge
so with bean:write filter="false" Aşterge was written to html as is
and the browser rendered as Aşterge
however with filter="true" Aşterge was written to html as
Aşter
I'm in the final stages of wrapping up Struts: The Complete Reference 2nd
Edition that will be fully up to date with Struts 1.3.5. It should be in
stores in 4 - 5 weeks. Struts 1.3.5 is definitely a leg up on previous
versions and I would recommend using it over previous versions. However, if
you d
unsubscribe me
thanks
Change that GET to POST... I'm using Dojo with Struts without any problem,
and I believe using the formNode attribute creates a POST body, but
setting method to GET I'd bet discards it.
Frank
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
A
In our application, the implementation for error message handling is: using
a HashMap for error messages with the form propertyName as the key. This
prevents duplicate messages for form fields. Taking one example use-case:
zipCode, rules are: must be numeric, and must be at least 5-digits in
length
I'm trying to calldefferent methods in action on button press.
I filled out the action attribute on the s:submit buttons to be
myAction!update myAction!add myAction!delete which I'm expecting it to
call the add, update, and delete methods in my action. Is this all I
need to do because I'm getting
unsubscribe me
Thanks
If you have received this e-mail in error, please delete it and notify the
sender as soon as possible. The contents of this e-mail may be confidential and
the unauthorized use, copying, or dissemination of it and any attachments to
it, is prohibited. Internet communicat
If you want to call a different method on an action, use the "method" attribute:
Don
On 10/3/06, Garner Shawn <[EMAIL PROTECTED]> wrote:
I'm trying to calldefferent methods in action on button press.
I filled out the action attribute on the s:submit buttons to be
myAction!update myAction!add
Hi Antonio,
Thanks for your response.
1. I am not using any filter and if i am not wrong,
then tomcat 3.3.2 does support filters since it
implements servlet 2.2 specs.
Other thing is that I am not using any ActionForm for
this Action. My Action is below:
Since I am just passi
I guess no one ever reads the bottom of most of the emails:
>To unsubscribe, e-mail: [EMAIL PROTECTED]
Give it a try!
>>> [EMAIL PROTECTED] 10/3/2006 11:10:12 AM >>>
unsubscribe me
Thanks
If you have received this e-mail in error, please delete it and notify
the sender as soon as possible.
Which method is the better/preffered way to clear the form-bean properties.
have form properties as ArrayList, String and Boolean in a
DynaValidatorForm.
when we have to clear the form bean we are trying to remove all the form
properties i.e making form-bean with no properties in it.
Other w
I am working with struts 1.2.9 and trying to use the iterate function. I
seem to be having a problem extracting the value from a text field inside an
iterated loop. I am able to get/set values thare are being placed simply
into html, but run into difficulties when working with the text fields.
Hi All,
I am trying to create a list of html links
dynamiclly. I have a collection of links. My HyperLink
class has one linkURL field and another linkDesc field
(its a javabean).
When I iterate thru these links, the double quotes are
causing problem and i have tried every possible
combination
I am using client-side and server-side validation in my login form.
Both work and when I dont enter the required fields I recieve a javascript
alert box saying that the fields "username or password are required". After
I click okay it does a serverside validation as well and prints on the
screen
Hi Gary
why are you unsubscribing?
M
*
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this emai
In your form's onclick="validate()" method (or whatever it may be
called in your case), it may work to add "return" to the javascript
method call. The validate method will return false if validation
fails, and the form will not be submitted back to the server.
HTH,
-ed
On 10/3/06, priya <[EMAIL
Let me clarify, in your html:form statement, try adding a return like so:
On 10/3/06, priya <[EMAIL PROTECTED]> wrote:
Hi Ed,
Thank you for your response!
Since I am using Struts client side validation, I am not creating the
validate method.. Struts is creating it for me..
Do you mean I shou
Hi Ed,
Thank you for the clarification! That worked out great!
Priya
On 10/3/06, Ed Griebel <[EMAIL PROTECTED]> wrote:
Let me clarify, in your html:form statement, try adding a return like so:
On 10/3/06, priya <[EMAIL PROTECTED]> wrote:
>
> Hi Ed,
>
> Thank you for your response!
> Since
Vinod Kumar wrote:
Hi All,
I am trying to create a list of html links
dynamiclly. I have a collection of links. My HyperLink
class has one linkURL field and another linkDesc field
(its a javabean).
When I iterate thru these links, the double quotes are
causing problem and i have tried ever
Hi,
I have a multibox tag that gets the labels and velues from the data base and
I also have a bean that contains the data that the user choose. Now I want
to check the boxes each time the user wants to update it's preferences.
1. I display the check boxes with the data comming from the data bas
Hi Vinod
Vinod Kumar ha scritto:
Hi Antonio,
Thanks for your response.
1. I am not using any filter and if i am not wrong,
then tomcat 3.3.2 does support filters since it
implements servlet 2.2 specs.
Uh, right! Well i cannot know everything :-)
I am not sure
if paramters from html:link
Hi All,
I need to set as a post method, caz I need to avoid the
parameter values to be
catched in the histories in case of the GET method request.
can anyone send me some suggestions.
Thanks,
Thanigai M.
This electronic mail message is intended solely for the named recipients and
may
31 matches
Mail list logo