Win a copy of Rust Web Development this week in the Other Languages forum!

Vijay jai Singh

Greenhorn
+ Follow
since Jan 07, 2009
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 Vijay jai Singh

i tried with columnClasses also but it did not work.
10 years ago
JSF
Hi,

I am using JSF 1.2, in one of my web page i am using. I wantwidth of column in rich:datatable to set column's width.



In one of rich:column i need to set width for column, for this i tried like

1) width="100px"
2) headerClass="myWidth" and delared myWidth in css file, .myWidth {width:100px;} but both did not work.

can anyone help me to set column width.
10 years ago
JSF
I am working on one application. It is using j_security_check to authenticat user. It is working fine. It authenticat user. if login is not successful I want to display login failure page . For this i am using



but loginerror.jsf is not getting displayed. application shows HTTP error 403. My question is where should i change to display loginerror.jsf page

thanks
11 years ago
in one web application, user will enter login and password. User is created in WebLogic server 10.3

I need to authenticat user in weblogic server. I was searching on google, i found there is some sample code on http://dev.bea.com/code for authentication through JAAS.

I tried to access http://dev.bea.com/code but it seems page has been removed.

Is there any way to authenticat user entered login password

thank you
11 years ago
Hi,

i am confused about Action class and Action Form in struts. Is action class belong to controller part or it is part of Model.

what about Action Form. can be call it Model in struts.

Thank you for your time and replay.

Vijay
11 years ago
Hi,

Is there any way to throw multiple exception instead of just one exception.

Thanks
11 years ago
Hi,

In which situation we should consider the customization of ActionServlet and how we will customize the ActionServlet.

Vijay
12 years ago
In one of my web page i have HTML table. This table will have 0 or more rows and each row has 3 column.

it is like this:



i want to transfer values of columns to Action class.

is there any way to
1) get number of rows in table
2) transfer values using javaScript and how will i get in my action class.

Thanks
Hi,

What is difference between null string (String abc = null) and empty string (String abc = "")

Thank you
Vijay
12 years ago
Hi,

I want to check how many visitor has visited my web site.

How should i implement this in servlet.

Thanks and Regards
Vijay
12 years ago

Nishan Patel wrote:

Yes, James told you make one servlet which is work as Controller. Or you can divide your Servlet controller according to your module wise. Make different servlet according to application module.



Nishan as you are saying i can divide Servlet controller according to module wise. But generally it is preferred to have one controller in application. Correct me if i am wrong.

Thanks
12 years ago
Hi all,

I am trying to develop a sample project which is based on MVC. I want to implement MVC without use of Struts.

Could you please help me regarding designing of application. I want to know how should i implement it

1) should i create a Controller Servlet and after submit on every jsp i should redirect to that Controller Servlet and based on request coming from JSP i should redirect to corresponding Servlet.

or 2) every servlet should work as controller and directly from JSP i should redirect to corresponding servlet.

or 3) any other approach i should follow.....

Thanks and regards
12 years ago
thanks Christophe, Jesper, Maneesh for your responses

Thanks and Regards
Vijay
12 years ago

Christophe Verré wrote:

Is there any way to make it Immutable other than creating an object with final key word.


This would not make it immutable anyway. Its content would still be mutable.

You could make a wrapper class, but is is really necessary to go through all that pain ? Why do you want to make it immutable ?



Hi Christophe,

Thanks for your reply. It is not my project requirement. Just thinking about how to implement this. Could you please help:
a) Why it would not be immutable if i use final while creating object of Date.
b) How to make wrapper class.

Thanks and Regards
Vijay
12 years ago
Hi,

Date in java is mutable. Is there any way to make it Immutable other than creating an object with final key word.

Thanks and Regards
Vijay
12 years ago