Win a copy of Head First Android this week in the Android forum!

krishnamurthy bomma

Greenhorn
+ Follow
since Nov 30, 2001
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 krishnamurthy bomma

I am working on web application which uses struts and tiles.
The problem i am facing is, controller is not forwarding to the page which i specified in the input attribute of the action tag. i am sepcifying local tiles name as the input attribute instead of relative jsp path.

I have specified inputForward="true" attribute in controller tag. For some reason struts is not evaluating actual URL from input attribute of the action element.

I really appreciate any kind of help in this regard.

Below is my struts configuration (spefic parts of my struts-config.xml)


<action path="/transferFunds" type="com.mycompany.controller.TransferAction" parameter="method" name="transferForm" scope="request" input="form">
<forward name="form" path="client.form"/>
<forward name="verify" path="client.verification" />
<forward name="confirm" path="cient.confirmation" />
</action>

<controller processorClass="com.mycompany.SecureRequestProcessor" nocache="true" inputForward="true" />

I am getting below exception message.

SEVERE: Servlet.service() for servlet action threw exception
java.lang.IllegalArgumentException: Path form does not start with a "/" character
at org.apache.catalina.core.ApplicationContext.getRequestDispatcher(ApplicationContext.java:368)
at org.apache.catalina.core.ApplicationContextFacade.getRequestDispatcher(ApplicationContextFacade.java:196)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1078)
at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:318)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
13 years ago
I am working on the automation of jboss app server installation and configuration using ANT. In this process i need to create multiple instance of jboss server. To create multiple servers i need to edit sevaral configuration files.

I want to edit the configuration using JBoss Mbeans rather than directly editing using ant pattern matching. If anybody is worked on the similar task, please help me how can i do that?

Appreciate for any help or inputs.
14 years ago
This is grt score.Congratulations and good luch
17 years ago
If you setting session is false it doesn't mean that you should not get the session.It means that if the session is not created don't return other return the previously created session.But it wont create the new session for you.i think any one of ur jsp page session is not set false using the directive.
18 years ago
JSP
You didn't mention where ur using the XML whether stand alone java application or in serverside.
If ur using the XML in the standalone open connection to the ur jsp URL,if ur using the XML from Servlets are JSP you can simply forward the request to the jsp using ServletRequestDispatcher
18 years ago
JSP
i am getting one problem in javawebstart.I am able to access the application using javawebstart from my local mechine . I am not able to acess the same across the intranet. Can anybody help ,how to access the across the network.
I am getting this exception

java.net.ConnectException: Connection refused: no further information
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)

at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)

at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)

at java.net.Socket.<init>(Socket.java:273)

at java.net.Socket.<init>(Socket.java:100)

at sun.net.NetworkClient.doConnect(NetworkClient.java:50)

at sun.net.www.http.HttpClient.openServer(HttpClient.java:331)

at sun.net.www.http.HttpClient.openServer(HttpClient.java:517)

at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)

at sun.net.www.http.HttpClient.<init>(HttpClient.java:277)

at sun.net.www.http.HttpClient.New(HttpClient.java:289)

at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:379)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:472)

at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:230)

at com.sun.javaws.util.URLUtil.doesURLExist(Unknown Source)

at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)

at com.sun.javaws.cache.DownloadProtocol.getDownloadSize(Unknown Source)

at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)

at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)

at com.sun.javaws.Launcher.downloadResources(Unknown Source)

at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)

at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)

at com.sun.javaws.Launcher.run(Unknown Source)

at java.lang.Thread.run(Thread.java:484)
19 years ago
In case of forward the request and current response object will forward to the next page.in case of sendRedirect currenct request object will not be available.

Originally posted by yashendrakar chandrakar:
hello
friends,
what is the difference between forward() method of RequestDespatcher,and sendRedirect() method of HttpResponse?


19 years ago
Hi
I facing problems in SSL configuration in weblogic6.0.What certificates i should specify in configuring the SSL.How to assign
https protocol to spicific pages.Does anybody
know please advise me.
Regards
krishna
19 years ago
Hi
is there any component which converts xml into Excel?
I can insert data into the Excel using jdbc ,but this works
if the frist row of the sheet contains columns .In my case frist
row doesn't contain columns.If any body have a solution please
advise me.
Mail Id : b_krishna_murthy@yahoo.com
Regards
krishna


Hi All
Is there any third party tool to convert xml file into predefined
formatted Excel file. The data should dump into multiple sheets.
If anybody have any idea plz advise me,I will be grateful to them
Regards
krishna