Vi Mani

Greenhorn
+ Follow
since Feb 10, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Vi Mani

Hi,

I am planning to take up SCBCD .I have passed SCJP 1.4.Is this valid?
Can I take the SCBCD now ?


Thanks,
Vmani
I opened the jar the class file is there.I used 3.0 and again tried with 3.2.1.The server is tomcat.In the local the application runs fine but in test i get this exception and the data is not getting populated.
13 years ago
Hi,

I am using net.sf.json.JSONObject in action class .I am getting the following exception.I have the common-collections.jar in my buildpath.Inspite of tjat i am getting this exception.
Please help.


java.lang.NoClassDefFoundError: org/apache/commons/collections/map/ListOrderedMap
at net.sf.json.JSONObject.<init>(JSONObject.java:1603)
at com.hillphoenix.quoting.epr.EditGridAction.execute(Unknown Source)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
at java.lang.Thread.run(Unknown Source)
13 years ago
Hi,

I am trying to use struts <html:select/> tag.I am getting the bellow mentioned error.No getter method available for property epr for bean under name org.apache.struts.taglib.html.BEAN.

Code snippet:

form:
private String epr="";
public String getEpr() {
return epr;
}

public void setEpr(String epr) {
this.epr = epr;
}

Action:

Collection<HtmlSelectOption> eprList = new ArrayList<HtmlSelectOption>();
eprList.add(options);
eprList.add(options1);
currentForm.setEprList(eprList);

currentForm.setEprList(eprList);
session.setAttribute("epr", currentForm.getEpr());
session.setAttribute("quoteHubForm", currentForm);

jsp:

<html:select property="epr" >
<html:option value="0">Select EPR</html:option>
<html:optionsCollection name="quoteHubForm" property="eprList" label="displayName" value="id" />
</html:select>

Please help
13 years ago
Hi

I am using drag and drop in my project.Whenever I drag an item from left grid to the right .The left grid is getting refreshed .So the data i moved from left to right is not getting removed from left.Please help in fixing this issue.I am using servlets to populate the data.

Thanks,
Vmani
thanks for your help.I have posted this in that community .
Hi,

I am getting loadException.What could be cause of this exception?Please help...

Thanks in advance
Vmani
Hi,


This is the response.

{"total":"20","data":[{"id":"1","email":"email","first":"first","last":"last"},{"id":"2","email":"[email protected]","first":"god","last":"god"},{"id":"3","email":"[email protected]","first":"god1","last":"god1"}]}


Thanks In Advance,
Vmani
Hi,
I am new to EXT js .In my project i need to add a grid which pulls data from the database.I have done a grid and created Json data but the json data is not getting displayed.Pasted the code for refrence.Please help.

TreeServlet
This creates the json data for the grid.
Hi ,

I am trying to set up connection pooling to my project.I am stuck with the below mentioned exception .I have put the required entries in server.xml and web.xml and the mysql driver jar and commons-collections-3.2.jar are placed in tomcat lib.Is there any other jar i need to put in the lib and classpath?
Please help.




org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1150)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:880)
at com.learn.jqg.JqController.doPost(JqController.java:54)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at sun.jdbc.odbc.JdbcOdbcDriver.getProtocol(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcDriver.knownURL(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcDriver.acceptsURL(Unknown Source)
at java.sql.DriverManager.getDriver(Unknown Source)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1143)
... 16 more
Hi ,

I am very new to javascript (jqgrid).I have started looking into tree grid.How to get these values" $n_lft = (integer)$_REQUEST["n_left"]; $n_rgt = (integer)$_REQUEST["n_right"]; $n_lvl = (integer)$_REQUEST["n_level"];".
I am just trying out the sample tree grid in Jqgrid Demo.I am not seeing any of the above listed parameter in the postdata of my servlet.Can somebody explain me how this treegrid works?

Thanks in advance,
Vmani
its not data store.Its the Db temp table.Will that be possible??
Hi

In my code a procedure creates a temp table to populate the data in an EXTJs grid .This grid is a drag drop grid.So i can drag and drop rows from right to left ,when i click save i need to save this changes.Is it possible to update the same temp table which i used to populate data?

Thanks,
Vmani