T Rai

Greenhorn
+ Follow
since Apr 16, 2002
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 T Rai

Resolved this issue by restarting the pc.
Thanks.
Hello Subversion with Apache experts,
I just installed Subversion1.6.6 and Apache2.2. I am not able to authenticate with the following configurations:

The conf/httpd.conf has the following lines:


And then I have created a file apachesvnpasswd as follows:


Now when I access my repository like this:

I get a dialog box for user name and password as expected. When I suppy user name and password it fails with this:

Why can It not find out my user name and password just create as shown above? Anything wrong? Is there some more settings I need to do?
Thanks.
T
Sonia,
How are you accessing jsf application?
Make sure your url does have the faces it it. for example:
http://localhost:[port]/[context]/faces/xxxx.jsf or .jsp
Thanks.
TRai
10 years ago
JSF
Hello All,
I have created a stand alone web application in Websphere Development Studio (v7). When I say a stand alone, I have NOT selected the checkbox "Add project to an EAR" in the New Dynamic Web Project Wizard. Its a very simple application with just an index.jsp. I made it simple so that I can test it in WTE. But when I run it, it gives me an error which I have attached it here in word doc.

The directory structure of this stand alone project is:

Its a simple application to make sure I can run it on Websphere Test Environment (WTE).
Here's the web.xml


And here's the index.jsp



Why would it not find the index.jsp?

Also here is a part of Server Console:


It clearly says the websphere has started but one thing I noticed is that my web application webapprnd is not started, at least I don's see it in the console.


However, If I created it as a part of EAR which you do it by selecting the checkbox "Add project to an EAR" in the wizard. I have attached the screen shot in the attachement. When you run it locally in WTE, it works just fine.

So my question that I need a help on is that is there something I am missing with creating it as a stand alone?
Or Creating a stand alone web application is not permitted?

I would appreciate if someone could help me on this.

Unfortunately, just found I can attache a word doc
Thank you.
TR
10 years ago
Hello All,
I have a jsf bean with session scope that I need to access from another bean.
For example:



In a method in some other class, I need this User bean.
What's approach/How can I get the User bean from the session that I can use the value stored in it originally?


Thanks.
TR
10 years ago
JSF
Brenda,
Only the HFDP can't be sufficient but definitely be helpful to some extent. You must have UML Distilled, 2nd or 3rd Edition by Martin Fowler. Also, the recommended text book for OOA/D is Applying UML and Patterns by Craig Larman. In addition, if you used the online study material, you should be good. Good Luck!
Brenda,
I am a Software Developer by trade for about 5 years now. As far as strategy is concerned,i just focused on Patterns, Legacy Connectivity, Security and Internationalization. This is because I had pretty much good concept of J2EE architecture. And also, since, I already passed my OOA/D and SCBCD plus based on my work experiences, I didn't have to work too much on EJB areas and UML related aspects, just some revision. So, overal, i spent about a month or so, about 120 hrs. The materials I used are:
1. This forum and SCEA resources provided in this forum
2. Study Guide - Mark Cade and Simon Roberts
3. UML Distilled 2nd Edition - Martin Fowler
4. OOA/D and SBCD Certifications Experiences + Work Experiences

So the amount of time may vary depending on how much of these areas you already know and so are the materials for preperation. Hope, this will aid you figure out your strategy and time towards SCEA (I). Good Luck!
[ March 09, 2005: Message edited by: Tulsi Rai ]
It would be great if you could allow me join with you guys.
First of Congratulation, Brenda!
Since you just completed SCBCD, I would think that you might want to do the SCEA so that you can take advantage of your SCBCD knowledge right away saving time and effort if you took it later. Best of Luck!
Hi All,
anyone knows the distiction between these two? when do we need these two? and importantly, how do we implement these two relationships in codes? any examples for the clarification?
I would appreciate your help. Thanks.

Originally posted by Namaste Sathi:
"notion of ieteration, nesting or cooperating action is not better expressed with Java Bean" but with Custom Tag.
Also i found this JavaBeans can not interact with the JSP page: they do not have access to the request and response objects and you can't use them to perform the decision-making processes What does it mean? why can't we do iteration in JavaBeans? Why JavaBeans does not have access to request and response? could anyone please explain me in layman's term? it would be really great help. thanks.
[ October 19, 2003: Message edited by: Namaste Sathi ]


i think what that means is that you can't use JSP implicit objects like pageContext, request, response etc in JavaBean. And also, when you write JavaBean based on the specification you can't write any other methods other than getter and setter for properties. You can write other methods other getter and setter, it does not become a JavaBean but a Java Class. So to include such methods, you are better of putting such things in Custom Tag.that's my understaing. Others might want to add clarification if I am wrong here.
16 years ago
JSP
hi all,
i am trying to use cookies in a JSP to track requests associated with a user. The browser stores the cookies in the client machine, normally in a Cookies Folder in Document and Setting in C:\. is there any way that i can specify a particular place to store such cookies?
Another question is about cookies' definition that A cookie is a piece of text that a web server can store on a user's hard driver.I am having difficulty understanding how a web server can store a cookie on a user's hard driver? I read that a client sends the cookie information sent by a server and stored in the client machine. now how does the client browser store that cookie information sent by the server and how does it access again and send it to the server? could you please explain me this mechanism?
thanks.
[ October 20, 2003: Message edited by: Thulung Rai ]
16 years ago
JSP

Originally posted by maneesh subherwal:
the default contentType for a response is text/html.
This is not necessary and does not affect your code if you do not have it but it will be helpful while reviewing your code if you set different response contentTypes through out your application e.g. text/xml, etc.
Thank you,
Maneesh


i am not sure how setContentType will be helpful while reviewing code if it does not matter setContentType is set or not. can you please clarify this in a bit detail?
thanks.
16 years ago
hi all,
i am wondering i can servletConfig be able to carry information stored in web.xml? could you please explain me this mechanism?
thanks.
16 years ago
i also have the same problem understanding the situation.pls someone explain this.