Hi All,
I am developing a web application which is going to receive and send
millions of sms's .
I am using Kannel (www.kannel.org) as my SMS gateway server.
Now kannel server recognizes each sms and i have configured it to send
recived SMS to my web application .
Firstly was using the struts act
hi
i have to design a query analyser that any query given i have to display
that table how can i do that and how can i display the table
in jsp
thanks
j
If you're a new user of Struts2 and JSP then I suggest you simply start
with JSP as there's far more resources and tutorials available.
You only must become aware of Freemarker once you wish to extend the
default themes.
Within Struts2, by default Freemarker templates are used when rendering
I have been using Freemarker with Struts 2 for my latest project and I'm
loving it. The syntax is a gazillion times (yes, exactly that many) better
than JSP in my opinion.
As far as differences in the tags, there isn't any. You can do the same
thing using the Freemarker Struts tags as you can u
If you mean you want a request to http://www.myapp.com/ to execute
input.action, you can:
- create an index.html with an http redirect header to index.action; or
- setup your webserver or container so that index.action is the
default welcome "file" (rather than index.html, index.jsp etc); or
It didn't work because you're saying 'set this hidden field to the value
the user hasn't entered yet':
In other words, what that says is 'set the value of the acc.lastName
input to the value acc.firstName has when the form is rendered'. The
value submitted for acc.lastName would therefo
I figured out my problem and decided to post the answer in case anyone
else runs into it.
Apparently, the BeanInfo class looks for a setter method with the same
parameter type as the getter method. In my case I was getting a String
but setting an Object.
Changing the Object parameter to a String
Yes, I am going to do this in my action. But out of curiosity, I would
like to know how to do this. I tried what you did (in my original post)
and didn't work.
Ed Griebel wrote:
You should probably be doing this in your action class, not your JSP.
If it should always be set to acc.firstName,
Dave Newton-4 wrote:
>
> --- shadman <[EMAIL PROTECTED]> wrote:
>> but I canât seem to find any good non-Spring
>> examples of passing a selection parameter into the
>> Action to retrieve a specific record for display on
>> another JSP.
>
> I'm not sure what Spring has to do with this excep
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mike,
Forsberg, Mike wrote:
> A form of approximately 1800 form elements is causing
> "java.lang.OutOfMemoryError: Java heap space". When 1000 form elements
> are used, no such error.
>
> [Am I doing something wrong?]
Yes, you are using 1800 form el
A form of approximately 1800 form elements is causing
"java.lang.OutOfMemoryError: Java heap space". When 1000 form elements
are used, no such error.
The environment:
- JBoss 4.0.5
- Struts 1.1
- A jsp page using struts tags to start and end the form
block. Then inside the form, xslt is used to
--- shadman <[EMAIL PROTECTED]> wrote:
> but I canât seem to find any good non-Spring
> examples of passing a selection parameter into the
> Action to retrieve a specific record for display on
> another JSP.
I'm not sure what Spring has to do with this except
that the DAO/service would be injec
I’m attempting to put a tutorial together that does NOT use Spring. My goal
is to compare Spring and Spring MVC with Struts 2 and Guice. The issue I’m
having is probably simple, but I can’t seem to find any good non-Spring
examples of passing a selection parameter into the Action to retrieve a
sp
Struts2, or more precisely XWork, uses an early version of Guice.
I was wondering about doing the same thing on a current project, and my
initial thought was that you would need to define the beans being
injected via the struts.xml configuration file or to provide a way to
supply the managed b
2007/5/18, lightbulb432 <[EMAIL PROTECTED]>:
How can I use the Tiles page shown below from the Tiles distribution example
WAR in an editor that expects XML?
Please ask this question, regarding Tiles 2, in Tiles Users mailing list:
http://tiles.apache.org/mail-lists.html
Antonio
HEY ALL!!!
For questions regarding Tiles 2 ask the Tiles 2 Users mailing list, please:
http://tiles.apache.org/mail-lists.html
Antonio
2007/5/18, LAMY Olivier <[EMAIL PROTECTED]>:
Ok. See in sources.
If someone interested :
HttpServletRequest request = ServletActionContext.getRequest();
Http
Ok. See in sources.
If someone interested :
HttpServletRequest request = ServletActionContext.getRequest();
HttpServletResponse response = ServletActionContext.getResponse();
container.render( location, new Object[] { request, response } );
--
Olivier
-Message d'origine-
De : LAMY Olivi
I am trying to use a map-backed property but my form values are not
getting into the Map.
When I debug the code I see the "descriptor" being returned by
PropertyUtils is a MappedPropertyDescriptor, but the mappedWriteMethod
is null. The mappedReadMethod looks good though (name=getHostInfo).
My ac
I have to ask... why don't you just set it in the action?
public String execute() throws Exception {
this.lastName = this.firstName;
...
}
Mansour wrote:
Yes, I do have the correct setters for the Account object.
Lance wrote:
Do you have the approptriate getters and setters?
eg
action.
--- lightbulb432 <[EMAIL PROTECTED]> wrote:
> How can I use the Tiles page shown below from the
> Tiles distribution example
> WAR in an editor that expects XML?
>
> What would the root XML element of this fragment be?
It's JSP.
d.
_
Hi,
A question I see in documentation [1] : container.render("myapp.homepage",
request, response);
But in last version 2.0.3 : this method doesn't exists anymore ?
What is the new one ?
Thanks,
--
Olivier
[1] : http://tiles.apache.org/tutorial/basic/pages.html
-Message d'origine-
D
Hi, I have an action that I've been injecting with Guice. I just noticed
that there is an @Inject annotation defined in
com.opensymphony.xwork2.inject. I'm assuming that this allows you to use
struts 2 as the di provider. So I tried removing my
com.google.inject.*imports that bring in the @Inject
Hi
Can anyone please help me to know to get the sub menu under main menu. I am
using struts 1.3.8. I am not using struts menu. when a menu is clicked I
should get a submenu opened under it.
example: mainmenu:
menu1
menu2
menu3
when i click menu1 it should open
How can I use the Tiles page shown below from the Tiles distribution example
WAR in an editor that expects XML?
What would the root XML element of this fragment be?
<%@ taglib uri="http://tiles.apache.org/tags-tiles"; prefix="tiles" %>
--
View this message in conte
I have used sitemesh in the past http://www.opensymphony.com/sitemesh/
This is a filter that intercepts the html on the way out, parses it then
decorates it with a header, menu etc. etc.
lightbulb432 wrote:
Great, thanks!
Out of curiosity, what are the alternatives to Tiles for JSP templating
Great, thanks!
Out of curiosity, what are the alternatives to Tiles for JSP templating?
Assuming I'd like to use JSP for the view, what ways of making a
maintainable website are there? Of course I could use the JSP include action
and directive, but that wouldn't be maintainable (or would it in
You should probably be doing this in your action class, not your JSP.
If it should always be set to acc.firstName, then you could just
hardcode a hidden field:
On 5/18/07, Mansour <[EMAIL PROTECTED]> wrote:
how to populate 2 fields in my action with one value ?
for example I need to populate th
Yes, I do have the correct setters for the Account object.
Lance wrote:
Do you have the approptriate getters and setters?
eg
action.getAcc().setFirstName()
action.getAcc().setLastName()
Mansour wrote:
I tried it. It's not working either.
Guillaume Carré wrote:
2007/5/18, Mansour <[EMAIL P
Hi there,
I'm having problem with checkboxlist in Struts 2. Here is my jsp fragment:
Now "attributes" is a list of Attribute objects. Attribute class look like:
class Attribute {
private Integer id;
private String name;
... (getters & setters)
}
The "test" property is a list of String an
Do you have the approptriate getters and setters?
eg
action.getAcc().setFirstName()
action.getAcc().setLastName()
Mansour wrote:
I tried it. It's not working either.
Guillaume Carré wrote:
2007/5/18, Mansour <[EMAIL PROTECTED]>:
how to populate 2 fields in my action with one value ?
for exa
--- Mansour <[EMAIL PROTECTED]> wrote:
> I tried it. It's not working either.
What do you mean, populate two values in your action
with one value? Under what circumstances would that
population happen?
Are you filling out a search form and attempting to
search based on what was actually filled ou
I tried it. It's not working either.
Guillaume Carré wrote:
2007/5/18, Mansour <[EMAIL PROTECTED]>:
how to populate 2 fields in my action with one value ?
for example I need to populate the first name and last name with one
value for searching:
try this:
Search Account
-
2007/5/18, lightbulb432 <[EMAIL PROTECTED]>:
Could somebody who's in the know here explain what the status of this
project is, and how I can get it up and running in a simple way?
Me! Me! :-)
http://tiles.apache.org/
Antonio
What’s the status of Tiles without Struts?
I see all sorts of outdated and conflicting information on where to get it
from, how to configure it, what dependencies it has, etc. Websites, blog
posts, and mailing list postings all seem to tell me somewhat different
things…
Could somebody who’s in t
--- Ashish Kulkarni <[EMAIL PROTECTED]>
wrote:
> Are there any mathematical algorithm in java, for
> example CPM, or branch and bound algorithm
Just out of curiosity, did you try using Google and
searching for, say, something along the lines of
"branch and bound +java" or something?
I could be wr
2007/5/18, Ashish Kulkarni <[EMAIL PROTECTED]>:
Hi
Are there any mathematical algorithm in java, for example CPM, or branch and
bound algorithm
I think that you did not use the correct words when googling :-) CPM
and branch-and-bound are arguments of Operational Research.
I googled "Operation
Hi
Are there any mathematical algorithm in java, for example CPM, or branch and
bound algorithm
Open source is good, but not a requirement, anything in C or C++ is also
okay, can try to call them from java
Can anyone provide some links for them
Ashish
Just to confirm what Dave said, in 2.0.x you will have to modify the
template to remove the layout tags. In 2.1 the submit button will have the
layout tags only if it is inside a form, for which the theme is either
"css_xhtml"(divs) or "xhtml"(trs) (to keep backward compatibility).
musachy
On 5/
2007/5/18, Mansour <[EMAIL PROTECTED]>:
how to populate 2 fields in my action with one value ?
for example I need to populate the first name and last name with one
value for searching:
try this:
Search Account
--
Guillaume Carré
---
how to populate 2 fields in my action with one value ?
for example I need to populate the first name and last name with one
value for searching:
Search Account
I tried this. This is not working.
Thanks
-
To uns
Hey all
Can I somehow hide the action name in a URL to make it more search engine
friendly? I am specifically talking about the index page (in for example
http://www.myapp.com/index.action ).
Cheers
--
View this message in context:
http://www.nabble.com/URL-question-tf3776809.html#a10679563
S
thanks ..it was the previous case only .
"Frank W. Zammetti" <[EMAIL PROTECTED]>
05/16/2007 07:11 PM
Please respond to
"Struts Users Mailing List"
To
Struts Users Mailing List
cc
Subject
Re: AJAX query
When you say your "updating it using AJAX", do you mean you are making
an AJAX r
42 matches
Mail list logo