Rajasekhar Eega

Greenhorn
+ Follow
since Jul 31, 2012
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 Rajasekhar Eega

Jeanne Boyarsky wrote:
THe servlets aren't directly connected. Instead, you put the data you want to share as an attribute in the HttpSession object. (request.getSession())



Thanks... Now it got resolved and working with session fine...
8 years ago
JSP
Thanks for your reply...

Here I am missing the connection between these two servlets where I am using my jsp in between these two. My exact requirement is using the object of first servlet in second servlet.
Is there any option to share data in a web application among different servlets in weblogic server environment.
8 years ago
JSP
I have 2 servlets and one jsp in my application in the following order.

1. MyServlet1---> Here I am catching all my business operation results and forwarding to the jsp for display purpose
2. MyJsp----> Here I am displaying the result with some css styles... Now I need to forward the request to another servlet(which is my second servlet) on href click...

Sample code snippet for your understanding

MyServlet1.java

MyJsp.jsp




MyServlet2.java




Please help on this... Thanks in Advance...


8 years ago
JSP
I think you can do it by using Filter also....



web.xml for filter configuration
--------------------------------------



I hope it would be helpful to you.....
9 years ago
Hi,

Here I am facing a problem that, whenever i clicked on the menu Item of the webpage I want to include a html page in a particular <div> with some ID divname.


I am trying in the following manner. But that filename as it is displaying on the page.... but not inserting...

document.getElementById("divname").innerHTML="something.html";

and I found a jQuery method

$(#divname).load("something.html")

It is working fine, but not with Google chrome... I cannot understand why it is not?

Any body please help me....


Thanks in Advance....


Hi,

Here is my code to download a file using jsp. Its working. But what i need is just to open the file. No need to show the options of saving. just to open. Please help me, what modifications I have to do here???

Thank you


10 years ago
JSP
I want to add a particular jar file to classpath in which the required class is available. Then how can i know the jar file name in which the class is available?

Thank you!
10 years ago
Just i got it. But I am unable to understand the reason. Why it is working?

Please help me.

public enum AAA {

AAA;

public static void main(final String[] args) {
System.out.println("H");
}

}

10 years ago

Hi,

I listened somewhere with the help of enum we can write a java program without using class.
Is it true?

If it is true. Please help me how it is possible?

Thank you
10 years ago
I have designed an application with out using frames and I took 3 rows in a table and in each row I arranged one jsp page.

But the problem I am facing is in the first jsp page menu bar is there which is fixed for all pages. Whenever I click on the menu item the target page will be displayed in the second row of the table(i.e, second jsp page) and third row contains fixed footer jsp.

Please any one can help me?

On select a menu item the target page will be changed in the second row.