Sorry for such a basic question.
What is the right place in struts2 to set constant property values like,
FILE_NAME = test.txt
ROW_COUNT=10
etc..
and also from that prop file or xml file how do I read it anywhere in the
app..
Thx.
Yes. That did work..
Thanks Hassan :o)
Hassan Schroeder <[EMAIL PROTECTED]> wrote:
On 5/23/07, newtostruts struts wrote:
> > String role = ;
> %>
>
> Even if I use
>
>
> I'm not able to use ${foo} in my jsp code.
If you /must/ use a
something like this...
<%
String role =
%>
Dave Newton <[EMAIL PROTECTED]> wrote:
--- newtostruts struts wrote:
> Even if I use
> > />
>
> I'm not able to use ${foo} in my jsp code.
If the action exposes "role" via a getter then
&
Hassan,
How do I do something like this.
<%
String role = ;
%>
Even if I use
I'm not able to use ${foo} in my jsp code.
Hassan Schroeder <[EMAIL PROTECTED]> wrote:
On 5/22/07, newtostruts struts wrote:
> How do I get the value of this tag
How do I get the value of this tag in a JSP variable on the same page.
.
This prints fine on the page but I'm not able to get this value assigned to a
JSP variable.
Thanks
-
Get your own web address.
Have a HUGE year through Yahoo! Small Business.
n tweak the appropriate bits.
newtostruts struts wrote:
> I'm trying to use DWR with Struts2. The problem is when I'm trying to build
> the row of a table with a link to an action class, I'm not able to send any
> params in that link.
>
> eg: var getUname = function( user ) {
I'm trying to use DWR with Struts2. The problem is when I'm trying to build the
row of a table with a link to an action class, I'm not able to send
any params in that link.
eg: var getUname = function( user ) { return '' + user.uname +
'' };
This is what I'm trying to do but gett
Dave,
That works great. Thank you so much.
Dave Newton <[EMAIL PROTECTED]> wrote:
--- newtostruts struts wrote:
> Could you please explain the ' context listener '
> method you follow.
First one I found:
http://www.stardeveloper.com/articles/display.html?art
Dave,
I don't really have any preferrence at this time, I'll use anything that'll
work :o)
Could you please explain the ' context listener ' method you follow.
Thx
Dave Newton <[EMAIL PROTECTED]> wrote:
--- newtostruts struts wrote:
> new
ugin implements PlugIn {
public void destroy() {
// holder for things to do
}
public void init(ActionServlet servlet, ModuleConfig config)
throws ServletException {
// init your torque
}
}
When you start the server, Torque should be initialized. Let me know if
this works.
-Original Messag
Anyone please...
newtostruts struts <[EMAIL PROTECTED]> wrote: I want to initialize torque in
Struts2. I've got the code to initialize torque and it works fine.
The problem is where do I put that code.
Is there a place like an init method which is called just once?
Thx all fo
I want to initialize torque in Struts2. I've got the code to initialize torque
and it works fine.
The problem is where do I put that code.
Is there a place like an init method which is called just once?
Thx all for your help.
Vinod
-
Lugga
12 matches
Mail list logo