i load up dataParams.jsp from main.jsp:
[code] c:when test=${param.dataParams == 'show' and param.data == null}
s:action name=dataParams_input
executeResult=true/s:action/c:when [/code]
i map it in struts.xml:
[code] action name=dataParams_* method={1} class=loto.action.DataParams
Dec 7, 2009 8:14:39 AM
com.thomson.west.pubrec.optout.ui.servlet.FindRequestResetAction execute
FINE: enter
Dec 7, 2009 8:14:44 AM
com.thomson.west.pubrec.optout.ui.servlet.SSNLookupResetAction execute
FINE: enter
Dec 7, 2009 8:14:50 AM com.thomson.west.pubrec.optout.sys.PrivacyEncryptor
On Mon, Dec 7, 2009 at 3:03 AM, Tudor Andrei Raneti w0lfsh...@yahoo.com wrote:
i load up dataParams.jsp from main.jsp:
[code] c:when test=${param.dataParams == 'show' and param.data == null}
s:action name=dataParams_input
executeResult=true/s:action/c:when [/code]
i map it in
Hi,
I’m using the param-Tag in an action-Tag:
action name=manageUserAttributes_* method={1}
class=springManagedUserAttributesAction
param name=menuaccess/users/param
param name=actionMappingmanageUserAttributes/param
result
Unfortunately this is a bug/enhancement dependent on your point of
view (what created this problem fixed other bugs). The way to get it
to work like you want is to add a merge param set to false in the
staticParams interceptor.
For reference:
https://issues.apache.org/struts/browse/WW-2970
Hi, everybody!
I want to write a portlet that would take input from another portlet
(struts2-portlet) and return pdf document.
Binary data is available only with jsr286 portlet 2.0 and
struts2-portlet2 is experimental in sandbox.
All I need is to is to map HttpRequest object to properties of an
Which appserver are you using?
I use JBoss for struts2 plugin. I hace to modifyit as it didn't support
JBoss 5 naming conventions (at least for me) and it only looked for
annotations in current class, so if you injected a Session Bean in a
super.execute() method in a parent class, it was not
Hi there,
I'd like to know if there is a recommended approach to deal with dependency
injection on new EJB 3.1 EJBs.
I am using now a modified version of JBoss Struts2 plugin with works great
but it really does nothing more than regular JNDI lookups on every action
request call.
I wonder if there
On Mon, Dec 7, 2009 at 4:02 PM, Ignacio de Córdoba icord...@skios.es wrote:
Hi there,
I'd like to know if there is a recommended approach to deal with dependency
injection on new EJB 3.1 EJBs.
I am using now a modified version of JBoss Struts2 plugin with works great
but it really does
dear all
I've written
Connection conn = null;
PreparedStatement pstmtname = null;
pstmtname = conn.prepareStatement(sql);
sql = UPDATE tbl_content_admin_accounts SET CA_PASSWORD = ? WHERE ROW_ID =
+ UserID;
pstmtname.setString(1, 123456);
pstmtname.executeQuery();
there is no error appear but
hi Nguyen Xuan Son
use
pstmtname.executeQuery() instead of pstmtname.executeQuery();
On Tue, Dec 8, 2009 at 11:29, Nguyen Xuan Son yama...@gmail.com wrote:
dear all
I've written
Connection conn = null;
PreparedStatement pstmtname = null;
pstmtname = conn.prepareStatement(sql);
sql =
sorry saini but i dont see any different from your answer
thank you
2009/12/8 Sushim Saini sushimsa...@gmail.com
hi Nguyen Xuan Son
use
pstmtname.executeQuery() instead of pstmtname.executeQuery();
On Tue, Dec 8, 2009 at 11:29, Nguyen Xuan Son yama...@gmail.com wrote:
dear all
I've
Use #executeUpdate instead.
Cheers
Avlesh
On Tue, Dec 8, 2009 at 11:37 AM, Nguyen Xuan Son yama...@gmail.com wrote:
sorry saini but i dont see any different from your answer
thank you
2009/12/8 Sushim Saini sushimsa...@gmail.com
hi Nguyen Xuan Son
use
pstmtname.executeQuery() instead
dear singgh
I've tried to user the excuteUpdate but the errors appear
detail is
java.sql.SQLException: Can not issue executeUpdate() for SELECTs
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
sorry use executeUpdate
On Tue, Dec 8, 2009 at 11:53, Nguyen Xuan Son yama...@gmail.com wrote:
dear singgh
I've tried to user the excuteUpdate but the errors appear
detail is
java.sql.SQLException: Can not issue executeUpdate() for SELECTs
at
Move your sql before the prepared statement.
Sql = sql = UPDATE tbl_content_admin_accounts SET CA_PASSWORD = ?
WHERE ROW_ID = ?;
pstmtname = conn.prepareStatement(sql);
pstmtname.setString(1, 123456);
pstmtname.setString(2, UserID);
pstmtname.executeQuery();
This will work for sure... BTB
I dont see you make database connection like this for example.
conn = DriverManager.getConnection
(jdbc:mysql://your_host:3306/dbName,dbUser,dbPass);
On Tue, Dec 8, 2009 at 10:59 AM, Nguyen Xuan Son yama...@gmail.com wrote:
dear all
I've written
Connection conn = null;
PreparedStatement
Hi,
I got a weird issue in my test environment today. So far, we have been using
Tomcat 6.0.14 as our web server and everything works fine. Today, I moved
that to JBOSS 5.1.0 GA for testing purpose and I got an exception trace as
pasted below. It says that exception in registering
18 matches
Mail list logo