unni krishna

Ranch Hand
+ Follow
since Jul 14, 2004
Merit badge: grant badges
For More
http://www.geocities.com/unnisworld/
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 unni krishna

* Lean Java basics very well. SCJP book by Kathy Sierra, would be a great starting point.

* Read specifications from SUN. (Servlet specification, EJB specification etc). This is a key point, I started reading it very very late in my career.

* Set your browser homepage to any java related site like theserverside.com or javaworld.com. You may end up reading some good articles.

* Learn some design patterns. Get one, Head First Design Patterns book and read.

* Have some understanding of protocols like TCP/IP, HTTP etc.

* Try to develop a friends circle where you can discuss and share the knowledge that you acquire.

* Try to get a mentor in your present company.

* Try attending some local company interviews to measure your knowledge.
18 years ago
Is this book based on frameworks like Spring and Hibernate.
* Lean Java basics very well. SCJP book by Kathy Sierra, would be a great starting point.

* Read specifications from SUN. (Servlet specification, EJB specification etc). This is a key point, I started reading it very very late in my career.

* Set your browser homepage to any java related site like theserverside.com or javaworld.com. You may end up reading some good articles.

* Learn some design patterns. Get one, Head First Design Patterns book and read.

* Have some understanding of protocols like TCP/IP, HTTP etc.

* Try to develop a friends circle where you can discuss and share the knowledge that you acquire.

* Try to get a mentor in your present company.

* Try attending some local company interviews to measure your knowledge.
18 years ago
Hi Friends,

I am from an second tier college in Tamilnadu. But with 5+ years of experience, I presently have an offer from Sun Bangalore. I could have achieved this much much earlier, had I concentrated in better way on building my career. So, my advice to all those who want to make it into big technology companies like Sun is,

* Lean Java basics very well. SCJP book by Kathy Sierra, would be a great starting point.

* Read specifications from SUN. (Servlet specification, EJB specification etc). This is a key point, I started reading it very very late in my career.

* Set your browser homepage to any java related site like theserverside.com or javaworld.com. You may end up reading some good articles.

* Learn some design patterns. Get one, Head First Design Patterns book and read.

* Have some understanding of protocols like TCP/IP, HTTP etc.

* Try to develop a friends circle where you can discuss and share the knowledge that you acquire.

* Try to get a mentor in your present company.

* Try attending some local company interviews to measure your knowledge.
18 years ago
I am using weblogic portal 8.1 SP5. We are using struts-html tags in our jsp files and it works fine while testing it as a JPF. But, when we deploy it as a portlet and submit the page, the struts-html tag component values are not copied into the form bean. The application works fine if we replace
the struts tag with netui tags. Is any one aware of such an issue. Pls help.

Thanks in advance,

Unni.

This doesnt work - <html:text property="class_short_name" />

This works -<netui:textBox dataSource="{actionForm.class_short_name}" />
18 years ago
Yes this seems to be a classpath problem. In WSAD, right click on the project and select Java Build path. In the projects tab, select the commons project.
This will add the common project to the classpath of ur project.
We had a similar problem with WSAD.
It got rectified when we entered [Virtual Host Name : default_host] in web.xml. (Open web.xml in WSAD and select Overview tab. Look for Websphere Bindings at bottm right.)
19 years ago
hi all,

i got the solution from websphere documentation. There is a flag
"Use Metadata From Binaries" in applications configutation. Just change it to true. Next time onwards when we make any changes to web.xml and restart the application, the new changes are taken.
19 years ago
I work on websphere 5.1 on AIX platform. Our server is running in development mode. Each time i make any changes to web.xml, i need to create an ear file using EARExpander.sh and do an update of the application from admin console. A simple restart of the application will not take the new web.xml. Is there a way to avoid this.Please help.
19 years ago
we sloved the issue at last. We just rearranged some entries in web.xml and it started working fine. There was nothing wrong with the web.xml file, but there was something which the server doesnt like . Websphere is a crazy server, doesnt tell give any proper error messages.
19 years ago
This is an usual stuff that every one does in struts,

See this post in Javaranch,

https://coderanch.com/t/45981/Struts/struts-html-options-tag-not
19 years ago
Since you have an array of data, u need to use
"Struts Indexed Properties".
Try google for examples of this...
19 years ago
hi all,

Our existing struts 1.0 application runs on Websphere5.1 on AIX platform.
We are trying to upgrade this to use struts 1.1. For this, i made the following changes,

1. changed the struts.jar in WEB-INF/lib folder to struts-1.1.jar
2. changed the struts-config.xml DOCTYPE to struts-config_1_1.dtd
3. replaced tlds with new versions from struts-1.1 package.

and restarted the application. Now what happens is, all the servlets initializes and then just destroys by itself without showing any error or exception. Then again the servlets initializes by itself and destroys after that. This initialization and destruction is going on in a loop.

We tried to run this same application on windows platform and its running fine.

Has anybody faced such a problem. Please help me out.

thanks in advance,

unni.
19 years ago
I tried this also. Its not working...

I am pasting the log file below. It may not be of any help bcose it does'nt show any exception or error messages.

[1/4/05 15:53:01:819 PST] 42136e01 ApplicationMg A WSVR0200I: Starting application: captaincircle
[1/4/05 15:53:02:968 PST] 42136e01 WebContainer A SRVE0169I: Loading Web Module: captaincircleweb.
[1/4/05 15:53:03:407 PST] 42136e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: JSP 1.2 Processor: init
[1/4/05 15:53:03:789 PST] 42136e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: FormLoginServlet: init
[1/4/05 15:53:03:821 PST] 42136e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: FormLogoutServlet: init
[1/4/05 15:53:03:853 PST] 42136e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: SimpleFileServlet: init
[1/4/05 15:53:04:025 PST] 42136e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: ActionServlet: init
[1/4/05 15:53:06:355 PST] 42136e01 ConnectionFac I J2CA0122I: Resource reference jdbc/captaincircleDS could not be located, so default values of the following are used: [Resource-ref settings]

res-auth: 1 (APPLICATION)
res-isolation-level: 0 (TRANSACTION_NONE)
res-sharing-scope: true (SHAREABLE)
res-resolution-control: 999 (undefined)
[Other attributes]

isCMP1_x: false (not CMP1.x)
isJMS: false (not JMS)

[1/4/05 15:53:11:734 PST] 42136e01 ApplicationMg A WSVR0221I: Application started: captaincircle
[1/4/05 15:53:12:500 PST] 19932e01 StrictServlet E SRVE0047E: An error occurred during destroy
[1/4/05 15:53:12:542 PST] 19932e01 SystemOut O Completed initDb
[1/4/05 15:53:12:598 PST] 19932e01 SystemOut O Completed
[1/4/05 15:53:12:670 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: SimpleFileServlet: destroy
[1/4/05 15:53:12:700 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: JSP 1.2 Processor: destroy
[1/4/05 15:53:19:252 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: JSP 1.2 Processor: init
[1/4/05 15:53:19:897 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: FormLoginServlet: init
[1/4/05 15:53:19:924 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: FormLogoutServlet: init
[1/4/05 15:53:19:955 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: SimpleFileServlet: init
[1/4/05 15:53:20:794 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: ActionServlet: init
[1/4/05 15:53:30:188 PST] 19932e01 StrictServlet E SRVE0047E: An error occurred during destroy
[1/4/05 15:53:30:219 PST] 19932e01 SystemOut O Completed initDb
[1/4/05 15:53:30:272 PST] 19932e01 SystemOut O Completed
[1/4/05 15:53:30:330 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: SimpleFileServlet: destroy
[1/4/05 15:53:30:354 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: JSP 1.2 Processor: destroy
[1/4/05 15:53:30:796 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: JSP 1.2 Processor: init
[1/4/05 15:53:31:156 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: FormLoginServlet: init
[1/4/05 15:53:31:183 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: FormLogoutServlet: init
[1/4/05 15:53:31:303 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: SimpleFileServlet: init
[1/4/05 15:53:31:583 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: ActionServlet: init
[1/4/05 15:53:37:173 PST] 19932e01 StrictServlet E SRVE0047E: An error occurred during destroy
[1/4/05 15:53:37:202 PST] 19932e01 SystemOut O Completed initDb
[1/4/05 15:53:37:257 PST] 19932e01 SystemOut O Completed
[1/4/05 15:53:37:315 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: SimpleFileServlet: destroy
[1/4/05 15:53:37:338 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: JSP 1.2 Processor: destroy
[1/4/05 15:53:37:822 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: JSP 1.2 Processor: init
[1/4/05 15:53:38:187 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: FormLoginServlet: init
[1/4/05 15:53:38:214 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: FormLogoutServlet: init
[1/4/05 15:53:38:240 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: SimpleFileServlet: init
[1/4/05 15:53:38:504 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: ActionServlet: init
[1/4/05 15:53:43:554 PST] 19932e01 StrictServlet E SRVE0047E: An error occurred during destroy
[1/4/05 15:53:43:582 PST] 19932e01 SystemOut O Completed initDb
[1/4/05 15:53:43:633 PST] 19932e01 SystemOut O Completed
[1/4/05 15:53:43:693 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: SimpleFileServlet: destroy
[1/4/05 15:53:43:717 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: JSP 1.2 Processor: destroy
[1/4/05 15:53:44:207 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: JSP 1.2 Processor: init
[1/4/05 15:53:44:672 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: FormLoginServlet: init
[1/4/05 15:53:44:697 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: FormLogoutServlet: init
[1/4/05 15:53:44:723 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: SimpleFileServlet: init
[1/4/05 15:53:44:791 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: ActionServlet: init
[1/4/05 15:53:50:121 PST] 19932e01 StrictServlet E SRVE0047E: An error occurred during destroy
[1/4/05 15:53:50:151 PST] 19932e01 SystemOut O Completed initDb
[1/4/05 15:53:50:203 PST] 19932e01 SystemOut O Completed
[1/4/05 15:53:50:261 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: SimpleFileServlet: destroy
[1/4/05 15:53:50:284 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: JSP 1.2 Processor: destroy
[1/4/05 15:53:50:787 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: JSP 1.2 Processor: init
[1/4/05 15:53:51:202 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: FormLoginServlet: init
[1/4/05 15:53:51:228 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: FormLogoutServlet: init
[1/4/05 15:53:51:255 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: SimpleFileServlet: init
[1/4/05 15:53:51:325 PST] 19932e01 WebGroup I SRVE0180I: [captaincircleweb] [/captaincircle] [Servlet.LOG]: ActionServlet: init
19 years ago
For your first question about RequestProcessor, my answer is -

There is only one ActionServlet for an application and there will be multiple RequestProcessor instances, each for a module. If u have an application specific thing to be done, it can be done by overriding ActionServlet.

If your requirement is module specific, you can do it by overriding RequestProcessor (This is my assumption, i am not sure whether u can specify different RequestProcessor classes for each modules. U need to verify this).

Now for the second question,

You can avoid double click issue by using struts tokens. This will solve the F5 refresh issue also. Goggle will be a good starting point for this..

[ January 04, 2005: Message edited by: unni krishna ]
[ January 04, 2005: Message edited by: unni krishna ]
19 years ago