Padmaja Godbole

Greenhorn
+ Follow
since May 10, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Padmaja Godbole

And also task performed by each actor will be a use case but granular tasks should not be included, only the main main tasks will make the possible Use Cases.

Is my understanding up to the mark ranchers?
Hi Sarika,

Following is my understanding about the Use Cases :

Use Cases define the scope of the system, they are very similar to requirements, they enable us to visualise size and scope of the entire development.

The sum of the use cases is the whole system, that means anything not covered by a use case is out side the boundary of the system we are developing

Now the answer of your question is :
One can identify Actors for a Module as well as for the whole system, it depends upon the UML diagram he/she is preparing for.

Use Cases that are presenting a Module will include actors involved in that Module only.
[ May 11, 2005: Message edited by: Padmaja Godbole ]
Oh my god, yes it is so simple but I just started testing transient with wrong perception.

If you were to serialize SerialTestWriter then that field would not be serialized with it.


and I was serializing SerialTest and was expecting that it should not get serialized.

Thanks a lot Julian.
19 years ago
thanks for the prompt reply but can you please be little bit more elaborate.

How can I surpress some objects of class serialTest from being serialized
For example : "a" in our case.
19 years ago
I have created a class as follows :



and a test class as follows




Now my confusion(question) is

Even if I have marked refrence serialTest a as transient, I am able to serialize is. How it is possible?

If any one can answer this will be of gerat help, Thanks in advance.
19 years ago
You can specifydifferent context for different web application in server.xml of Tomcat.
20 years ago
We can open a URL connection on servlet to call.
20 years ago
To make use of File class without fully specified class name import java.io.* also.
[ July 08, 2003: Message edited by: Padmaja Godbole ]
21 years ago
JSP
check the included file menu.jsp, it must be having an output statement which is the cause of error.
21 years ago
JSP
I tried both the options and are working fine.
If you can write more detail or the code may be we can solv it.
21 years ago
JSP
I am having some problems writing to my MS Access database using my Java class. I am trying to insert four records in a table, it inserts three records successfully but while executing forth query it throws java.sql.SQLException: General error
at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6060)
at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:6188)
at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(JdbcOdbc.java:2494)
at sun.jdbc.odbc.JdbcOdbcStatement.execute(JdbcOdbcStatement.java:314)
at sun.jdbc.odbc.JdbcOdbcStatement.executeUpdate(JdbcOdbcStatement.java:264)
at com.solvcentral.solvdashboard.Repository.addUsersNewDasboard(Repository.java:2355)
at com.solvcentral.solvdashboard.Dashboard.saveMyDashboard(Dashboard.java:2736)
at org.apache.jsp.savemydashboard_jsp._jspService(savemydashboard_jsp.java:81)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:204)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
at java.lang.Thread.run(Thread.java:484)
thanks in advance.
Hi!
I m using preparedStatement for my update statement as follows
---------------------
pstmt = con.prepareStatement ("update KIStructure set type= ? , name='?' , description='?', sql='?', othervalues=? where KIStructureID = ? ");
pstmt.setInt (1, keyIndicator.getChartType ());
pstmt.setString(2, keyIndicator.getName ());
pstmt.setString(3, keyIndicator.getDescription ());
pstmt.setString(4, keyIndicator.getSQL());
pstmt.setBoolean(5, keyIndicator.otherValues());
pstmt.setInt(6, kiid);
---------------------
but I am getting following after
pstmt.setString(3, keyIndicator.getDescription ());
---------------------------------
java.lang.ArrayIndexOutOfBoundsException
at sun.jdbc.odbc.JdbcOdbcPreparedStatement.clearParameter(JdbcOdbcPreparedStatement.java:1027)
at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setChar(JdbcOdbcPreparedStatement.java:2788)
at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setString(JdbcOdbcPreparedStatement.java:775)
-----------------------------------
pls suggest...
thanks
padmaja
[ May 11, 2003: Message edited by: Padmaja Godbole ]
21 years ago
JSP
double quotes was the problem , I changed the query and now its working.
select * from OtherValues where StructureID = 0 and (DPID is null or DPID='');
I am running the following query from my java program :
select * from OtherValues where StructureID = 0 and (DPID is null or DPID="");
I am getting error :
java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
Although the query running fine in Access directly.
pls suggest..
Thanks in advance.