Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!

Sreenivasa Rao P

Greenhorn
+ Follow
since Jun 28, 2010
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 Sreenivasa Rao P

Hi, I need small help in working with window. I am doing web application using GWT.

I have a module in which I have some data shown to the user. There is one link. When the user click the link, it should open a new window and show the new data w.r.t to the URL.

I can open new window using Window object and the URL routes to Servlet. Now, if I want to use the Widgets in Servlet to display the page in GWT rich UI, I could not do as it is failed to initiate GWT.create() at server side. How to handle this situation.

In other words, I have many URLs in which few are servlets and I need to use GWT rich UI in servlets. Please provide me solution.

Or is there anyother way to handle my scenario?

Regards
Sri
10 years ago
GWT
Thank you for your reply. I could not understand much from this. Could you elaborate for me?
10 years ago
GWT
Hi,

I have one doubt. I would like to develop one web application using GWT. I use the jars which are provided by the GWT in my application. Now, can I sell my application for commercial purpose? In other words, can GWT jars used for commercial purpose for free of cost?

Regards
Sree
10 years ago
GWT
Mohan, thanks for your reply.

Your is working for me also. But when we put the same jsp in subdirectory, the class files are not available and throwing errors.

Same tomcat is hosting many websites. So they might have configured <host> tag in server.xml with my website appBase value. The class files are available for JSP if it is in Root directory, but not available when the same jsp is in subdirectory under root.

I think we can do something using context.xml putting in root/META-INF folder.

What do you say? do you have any other approach? If you aware of context.xml configuration please tell me how to do that?

Once again thanks
-Sree
11 years ago
Hi Mohan,

I did not understand your post. Can you please elaborate it?

-Sree
11 years ago
This is the import class.

<%@page import="java.sql.*, mysite.db.*" %>

I will give some more info. My website launched on shared tomcat. There are other websites launched in the same tomcat. Would there be any settings changed by service provider?

Is there any change that I could do with context.xml file in META-INF folder of my webstack?

Thanks
Sree
11 years ago
Hi,

Any suggestions plzzz.

Thanks
Sree
11 years ago
Hi,

I have created a website and hosted on linux and tomcat 6 combination. I have a very different problem.

The application could not detect the class files pasted in WEB-INF->classes folder when we access the JSP file which is in subdirectory.

I created a class file with packages structure properly pasted in classes folder. I created a jsp file to just access that class file. The JSP is working fine when I access it from root folder. If i put it in subdirectory, it is throwing errors saying

org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 11 in the jsp file: /Test.jsp
User cannot be resolved to a type
8:
9:
10:
11: <% User use = new User();
12:
13: Items item = new Items();
14:

The User class is properly pasted in classes folder. I also imported the class file. The same is running when I access website/Test.jsp and but not when i access website/abc/Test.jsp

Other .js , .html, .css files in the same subdirectory are successfully accessed.

Please help me in this.

Thanks
Sree
11 years ago