File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

on submission JSP page disappear from browser

 
gemini dev
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

this is the first time I am working with struts (1.2)

in my jsp page I have a form, user needs to provide IP address and filename, once he submit the page, this data is passed on to a web service which does connection to the device and collects data in the given file name.

now the problem is, when I submit the page using the button after a while(around 1-2 minutes on IExplorer and 4-5 minutes on firefox) my application page disappear's; I don't see any error's in my application logs or weblogic logs.

this is a synchronous request and user had to wait on the UI/webpage for the final result display which takes around 30-40 minutes
below is the snippet from the struts-config.xml

<action
path="/Collect"
type="com.aqura.project.struts.fileMgt.CollectResultAction"
validate="false">
<forward name="Collect"
path="/jsp/collect.jsp"/>
</action>

<action
path="/CollectDisplay"
type="com.aqura.project.struts.fileMgt.CollectResultAction"
name="collectForm"
scope="request"
validate="true"
input="/jsp/collect.jsp">
<exception
key="exception.prodconn.error"
type="com.aqura.project.service.prodConnect.ProductConnectException"
path="/jsp/ctError.jsp" />
<forward name="FileTransferDisplay"
path="/jsp/fileTransferDisplay.jsp"
redirect="true"/>
<forward name="FileResolve"
path="/FileResolve.do"
redirect="true"/>
</action>

collect.jsp is the jsp file for this operation and user has to wait on this page until we get a file successfully, once file is recieved we will check if it exist and needs to be renamed otherwise it will stored in user a/c.

logic is written on CollectResultAction.java, where we have action mapped.

I have been struggling with this issue for the past one week, and not able to make anything out.

I tried to put some logs on the JSP using
<%c:out
but that also did'nt work, I am not sure how to debug this issue. and help would be appreciated.

Thanks,
Aqura
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic