Win a copy of Spring Boot in Practice this week in the Spring forum!

vara prasad

Ranch Hand
+ Follow
since Dec 21, 2004
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 vara prasad

I am using nested:iterate tag in my struts application. when i am doing certain action, the action is invoked properly. But when i am doing the refresh for the same page, its throwing the following exceptions.

The application invoking the reset method of the form bean, but it is not further invoking the action.

I have the Form bean with array.

The exception is : ----


javax.servlet.ServletException: BeanUtils.populate
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:495)
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:816)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:203)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:108)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:193)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)


root cause

java.lang.ArrayIndexOutOfBoundsException
java.lang.reflect.Array.get(Native Method)
org.apache.commons.beanutils.PropertyUtilsBean.getIndexedProperty(PropertyUtilsBean.java:437)
org.apache.commons.beanutils.PropertyUtilsBean.getIndexedProperty(PropertyUtilsBean.java:340)
org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:684)
org.apache.commons.beanutils.PropertyUtilsBean.getProperty(PropertyUtilsBean.java:715)
org.apache.commons.beanutils.BeanUtilsBean.setProperty(BeanUtilsBean.java:884)
org.apache.commons.beanutils.BeanUtilsBean.populate(BeanUtilsBean.java:811)
org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:298)
org.apache.struts.util.RequestUtils.populate(RequestUtils.java:493)
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:816)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:203)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:108)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:193)
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
14 years ago
ok now ,like if i want to create a folder on local system i will give path like
File file=new File("C:\\folderpath");

But if have to create folder on remote system ,how to give the file path

File file=new File("10.112.32.122\\c:\\filepath"); ??? something like this
15 years ago
how to create folder on the remote system using java code....
15 years ago
Hi,

I have the requirement of search for the documents along with the meta data (in Documentum product). Now I am looking for the option like search with in a Folder for the documents or files(File System Search) using WebSphere Portal Server 6.0. On the other side i want to search for the metadata(Database Search) also. How can I achieve this.

Thanks in advance,
Vara Prasad.
15 years ago
Hi,

In Struts jsp i want to open popup windows using <html:link> tag. how can i do this.

Thanks
16 years ago
I created customized Single Sign On page for my application. For this customized page i updated the table WWSSO_LS_CONFIGURATION_INFO$ with
"http://servername:7777/contextname/x.jsp UNUSED UNUSED". For this Single Sign On page is working fine.

I enabled SSL for Http Server (its working in 4443 port). Now i can update WWSSO_LS_CONFIGURATION_INFO$ with "https://servername:4443/contextname/x.jsp UNUSED UNUSED". But my doubt is how both these urls(with different ports 4443 and 7777) will be enabled for both http and https.

Thanks,
Prasad.
16 years ago
I am executing the following code in Linux.


p =Runtime.getRuntime().exec("jar cMf /u01/app/oracle/products/904_infra/j2ee/home/applications/test/twoo.zip -C /u01/app/oracle/products/904_infra/j2ee/home/applications/test/tt .");

When i stored above line in .java file and executing it is working fine. But when executing this by storing in jsp. It is Showing the following error. Not only jar, even for javac,java commands are also not executing.


05/10/04 15:52:03 java.io.IOException: java.io.IOException: jar: not found

05/10/04 15:52:03 at java.lang.UNIXProcess.<init>(UNIXProcess.java:143)

05/10/04 15:52:03 at java.lang.Runtime.execInternal(Native Method)

05/10/04 15:52:03 at java.lang.Runtime.exec(Runtime.java:566)

05/10/04 15:52:03 at java.lang.Runtime.exec(Runtime.java:428)

05/10/04 15:52:03 at java.lang.Runtime.exec(Runtime.java:364)

05/10/04 15:52:03 at java.lang.Runtime.exec(Runtime.java:326)
16 years ago
JSP
can u send me code to validate sentance;
means:-
user will give sentance like

"java,j2ee servlets / jsp & util package"

then i want result like

'java','j2ee','servlets','jsp','util','package'
i want to elemenate spaces,tabs, ',' , / ? * & like things
16 years ago
please give me 1)differences between AXIS and JWSDP?
2)advantages of AXIS over JWSDP and vis versa?
Hi friends,

I am preparing jsp page with multiple include jsp's as a sections in the main jsp. Suppose when i am dealing with one section of jsp that jsp has to be refreshed for the actions without refreshing all the content. How it is possible. (Without using frames)
17 years ago
JSP
Hi Friends,


I found a problem in my jsp page. I written a code for registration form. This form takes details from the user. I am taking the these details through bean(storing this bean in the request object). I am validating in the bean and giving the validation errors to the same jsp page.

On succesfull validation i am sending the details to another jsp(<jsp:forward page="x.jsp" /> ), from where i am storing these details in database. these details are stored in database. O.K ....


Now the problem when user comes back to the registration form by using back button on Internet Explorer tool bar and pressing the refresh button the details once again going to the database.

How to avoid that? i don't have to use response.sendRedirect("x.jsp") there.
17 years ago
JSP
i am displaying list of years in a listbox from 1910 to currentyear.
I written the code like this
<select name="xyx" >
<script language="javascript">
var today = new Date();
var year = today.getYear();
for(i=1910;i<=year;i++){
document.write("<option>"+i+"</option>");
}
</script>
</select>


Is this is good approach or not? if not can anyone provide alternative to it
what is velocity?
what is the diff between velocity and jsp?
[ July 24, 2005: Message edited by: vara prasad ]
17 years ago
please explain value object design pattern
session design pattern
bussines deligation design pattern
and how to? and where to? use these things.
How Single Sign Feature can be implemented in Oracle Portals.
17 years ago