This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds and have James Denton on-line!
See this thread for details.
Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!

pingkan paula

Ranch Hand
+ Follow
since Sep 03, 2004
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 pingkan paula

hi, i'm using iframe which targeting to a pop up window which intended to be a child of a main window.
However,the main window always redirect back to the child everytime i close the child window, my colleagues said that it because of the action url from struts being targeted in iframe.

This is the source

11 years ago
Here is my struts-config.xml

11 years ago
Yes, i have debug and it result null when it call CICS110104Form
However, when i changed CICS110104Form from extending ValidatorForm to ActionForm my struts application work fine.
I think i should change the way i call CICS110104Form, anyone knows how?

Thanks,

paula
11 years ago
Sorry, i forgot to add my JSP pages
Here is snippet of my JSP, i use javascript function to submit action

11 years ago
Sorry, i forgot to add my JSP pages
Here is snippet of my JSP, i use javascript function to submit action

11 years ago
I have put validation to my struts application using validation framework and it caused errors, I think it's because of i'm calling ActionForm from the JSP, anyone has any idea to solve this?
This is the errors from tomcat console

INFO: Tiles definition factory found for request processor ''.
Feb 14, 2007 8:54:39 AM org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at org.apache.jsp.pages.procurement.purchasing.CICS110104JSP_jsp._jspService(org.apache.jsp.pages.procurement.purchasing.CICS110104JSP_jsp:113)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:604)
at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:99)
at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:135)
at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:760)
at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:892)
at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462)
at org.apache.jsp.tiles.WICSLayoutJSP_jsp._jspx_meth_tiles_insert_2(org.apache.jsp.tiles.WICSLayoutJSP_jsp:283)
at org.apache.jsp.tiles.WICSLayoutJSP_jsp._jspx_meth_html_html_0(org.apache.jsp.tiles.WICSLayoutJSP_jsp:149)
at org.apache.jsp.tiles.WICSLayoutJSP_jsp._jspService(org.apache.jsp.tiles.WICSLayoutJSP_jsp:80)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)
at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
at org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:341)
at org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:966)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:204)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Feb 14, 2007 8:54:39 AM org.apache.struts.taglib.tiles.InsertTag$InsertHandler doEndTag
SEVERE: ServletException in '/pages/procurement/purchasing/CICS110104JSP.jsp': null

11 years ago
I have this link which referenced to an action class but when I clicked the link it didn't do anything. It worked after i tried using form button, but when i restart the page, it continued doing nothing
It's weird, how could this possibly happen?
This is the link and snippet of the action class



11 years ago
Still give the same exception...
11 years ago
Hi all,

I'm running a java program from command prompt, it has passed compilation and when i run i found this exceptions :
C:\Java-source>java Template.java
Exception in thread "main" java.lang.NoClassDefFoundError: Template/java
I have the main.class in the directory, so how come it throws java.lang.NoClassDefFoundError?
Please give me any feedbacks
However, this is my source code

11 years ago
I have a drop down list in my jsp page which values are retrieved directly from the page using Ajax DWR
The question is, how would i set "selected" to value that being selected in the dropdown list?
Any feedbacks will be fully appreciated
I've installed tomcat 5.0 on Windows 2000 and it use JDK 1.5
However, when i run the tomcat i got an error on the command prompt
stated "unable to find java.endorsed.dirs"
I've set jdk 1.5 as JAVA_HOME in the classpath
and when i run java -version it shown java 1.5 clearly
I'm confused about the error, anyone has any clue?
FYI, I'm running Oracle 9 and I've set the port in Tomcat to 9090

Thanks,

Pingkan
12 years ago
I have netbeans 5.0 on my notebook installed, and I want to try netbeans 5.5 beta. Is it ok to run netbeans 5.5 with netbeans 5.0 installed?

Thanks in advance,

Pingkan
Anybody knows any tools to retrieve source code from a jar file?
12 years ago
I'm new to struts and I want to create a new servlet which will print jsp pages into PDF format. My question is, do i have to put the servlet code in /lib directory or can I just place it in the source directory?
12 years ago
I have a problem paging data on my JSP, I have this code to page from collection stored in request scope, The data was shown on the page but it didn't show any "next" or "prev" value.
Is it because it didn't catch the right bean size?
I try to put <c ut value="${pbSize}"/> to display the value of the bean size but it didn't shown on the page
Anyone can give me some hint?

thanks in advance,

paula

12 years ago