Host for jsp servlet
Hi all, I did an web application using jsp servlet.
For broadcasting which is suitable linux cpanel or windows flesk?
Thanks
BumpIf nobody cared about this the first time, why do you
think it needs to be bumped?1. My original post was on Friday, probably not the best time to get a response. So I bumped it up Sunday night to try for a response Monday morning.
2. Fred visits the forums on Friday, but doesn't have a comment. Bob on the other hand doesn't visit the forum on Friday, but he does on Monday, and he has some advice.
3. Do you give up the first time?
Similar Messages
-
What is the best editor to use for JSP/Servlet?
Hello,
What is the best editor to use for JSP/Servlet database development.
I'm looking at Dreamweaver,Java Studio Creator.
I want some thing fairly easy to use that has database helper wizards like dreamweaver.
Thanks for the help.
FrankIs it better to have a servlet do the database work and call it from JSP?No, it's better to have persistence objects do the database work. Servlets handle HTTP requests, and JSPs are HTML factories that should be pure view.
But there are lots of ways to do things. You just have to understand the tradeoffs when you decide.
I do not want to hammer out code, I want to learn the
best way to do things from experienced developers. Sorry, sounded like you just wanted to churn stuff.
"best way" can be subjective. In one app, "best" might be "delivered fastest". For another, "best" might be "most secure" or "most easily modified" or "best performing" or whatever. You won't get a "best" answer, only different choices. And they aren't always so easy to explain or execute.
I'd recommend that you start by reading about layered applications (3-tier architectures) and MVC separation. Once you've Googled enough about that, look into a framework like Struts or Spring or WebWork. That'll help you figure out where to put each responsibility in your app.
I can use dreamweaver to create web apps, but I hate
the arrays used to define fields. It also seems not
to take advantage of connection pooling.Don't know what you're talking about here, Frank. What do fields have to do with connection pooling?
% -
What is the plugin used for jsp/servlet development , deployment in eclipse
what is the plugin used for jsp/servlet development , deployment in eclipse?
can some body tell me what are the other plugins to be used in enterprise java developement
is eclipse would be a best choice j2ee application development?
thankswhat is the plugin used for jsp/servlet development ,
deployment in eclipse?There are several J2EE plugins I think. One is Lomboz.
can some body tell me what are the other plugins to
be used in enterprise java developementPfft...
1) Might depend on what you're doing. J2EE is not just JSP, you know?
2) Why do you ask about Eclipse IDE at Sun's Java Programming forum?
3) Do you really want me to list the 5000 plug-ins someone might use for J2EE-related development?
4) Open fucking Google and search yourself
is eclipse would be a best choice j2ee application
development?IMO: no. Simply because you have to look for J2EE plugins. I'm too lazy for that. Though it has other benefits that might outweigh the plug-in-searching issue. -
How to install eclipse and MyEclipse and use it for jsp-servlet-web service
hi ,
please help me to install eclipse 3.1 and How to integrate MyEclipse to do jsp-servlet programming and web services.
please also help me to include application server like tomcat and axis and use that environment in MyEclipse ide.
please help me.....At the time of installation , you can't change SID XE.
After installation, you can add another service name
Check following thread for more details
Re: How to create service on Oracle 10g XE
- Virag Sharma
http://virag.sharma.googlepages.com
http://viragsharma.blogspot.com -
Using a single connection for jsp, servlets and classes
Hi! I'm building a web site that uses JSP, Servlets and some classes. I use database access in all my pages. I want to open a connection and use it for all the pages while the user is in my site, so I don't need to open a connection with every new jsp or servlet page. My software must be capable of connection with various databases, like SQLServer, Oracle, Informix, etc... so the solution must not be database (or OS or web server) dependant.
Can you help me with this? Some ideas, links, tips? I'll REALLY appreciate your help.
Regards,
Raul Medinause an initialiation servlet with pooled connection which can be accessed as sesssion object.
Abrar -
Different Classloader for JSP, Servlets?
Hi!
Does the WL5-JSP-servlet use an other classloader then the other
servlets??
I've previous posted an article with the subject "JSP - Servlet - Static
Code in Classes".
I will try to describe my problem better:
At server startup I pass information to my startup servlet, for example
the user and pw for our connection pool. The startup servlet instanciates
the class Global which creates a db-pool with the user and pw getting
from
the startup-servlet.
startup-servlet {
public void init(ServletConfig config)
Global.init("user","pw");
The class Global looks like this:
class Global {
static {
// register jdbc driver
// store file informations
static public init(string, string) {
// init the connection pool with user and pw
static public getConnection() {
// returns connection from pool
All our other servlets then just use the methode Global.getConnection()
and other methods from the class Global.
All servlets works perfect and can access the db-pool.
When a jsp-file is called which also uses the methode
Global.getConnection(), a new Instance of the class Global will be made.
In order to init all values again, I would have to call the
Global.init(user, pw) methode again.
So my question is: Why does the jsp file causes a new instance of the
class Global?
Does the WL5-JSP-servlet use an other classloader then the other
servlets??
I am seeing the problem is sp3. I can't use sp4 becuase form based
authentication, FBA, was broken. I can only hope that FBA will be
re-fixed in sp5.
Kumar Allamraju wrote:
>
> If you are seeing this problem in SP4, yes this is a regression in SP4 &
> SP5. We are already aware of this
> problem. SP5 will be out in a week or so. But this fix won't be available
> in SP5. Follow-up with
> support.
>
> --
> Kumar
>
> "Bryon G. Rigg" wrote:
>
> > I have an application which has a servlet that controls page navigation
> > via an xml file. The servlet class is located beneath the
> > WEB-INF/classes as is the xml file. When I have weblogic pointing to
> > the app directory, my servlet finds the xml file, using the
> > Class.getResourceAsStream() method, without a hitch. But when I
> > package everything up into a war file, and point weblogic at the war
> > file instead, the servlet can not locate the xml file.
> >
> > What gives? Is there some kind of brain-dead classloader being used
> > for war files versus a normal classloader used for directories? Any
> > workarounds? And when will sp5 be released? I have been hearing a
> > week or two for weeks.
[bryon.vcf]
-
Good IDE for JSP/Servlets Development
Guys, I was looking for a good IDE for JSP/Sevlets development. I for myself wouldn't need or atleast wouldn't want to have one, but for our production they say they need one. So please can u guys advise one. I have downloaded and tried JDeveloper but it just hangs, dont know but looks like its too memory intensive. Any suggestions??? Thanks in advance
IBM's Websphere Studio Application Developer (WSAD) is a good one. It can also connect to any CVS servers, which allows you to control the versions. Hope this may help you...
-
Is there any website provide free web hositng services for JSP??
Yes, there is. Go to http://www.myjavaserver.com/.
This website used to be myCGIserver, but then they got into financial troubles.
Rick Ross from javalobby.org gave them some money and then they changed the name into
myjavaserver.com. -
Error in accessing pageContext or current session for JSP/servlet in frames
I am creating a web application on iPlanet application server (ver 6.0 SP4) and display a page
consists of frames in web browser (IE6). The framset and the content of each frames are
JSPs or servlets. There where no problem to display each content frames individually at all.
However, when the overall page (the frame set and the 3 frames) is displayed, the following
problem occurs.
Only the outermost frameset and just one or two of the frame contents displayed successfully
in browser. Others have either 1 of the following errors:
1. When accessing pageContext object in _jspService routine when displaying the JSP page, Null
Pointer Exception occurs:
java.lang.NullPointerException
Exception Stack Trace:
java.lang.NullPointerException
at jsp.APPS.intl.acct_type_option._jspService(acct_type_option.java:653)
2. When calling the req.getSession method in doGet() method for servlets, the following
exception occurs:
Exception in doGet(): This session has already been invalidated
The occurance of error is random among all the frames. With the frame on top or left size
having the most chance to be displayed successfully.
It seems that the Application server cannot entertain 3 or 4 requests simultaneously (which
happens when displayed a page consists of frames), having some of them throw an exception.
Are they any tuning or setting for iPlanet server to overcome this problem?I'll give you the same advice as I have been given regarding the use of frames.
Don't use them at all. Use scrollable DIV's instead.
The use of frames is such that you would have different JSP's who cannot collaborate together since each is in his own frame and does not know about the others.
In case I'm mistaken, I'd like to hear about it, but the combination of JSP's and frames is an unhappy one. -
Any learning assignement/project site for jsp/servlet?
I have been reading 1 month now on servlet and jsp. I would like to read existing project code or do some small assignment/projects. Does anyone know good website that offers that? I am already using javapassion.com. Thanks.
You mean is there a tutorial specifically dedicated to teaching you how to develop a web application for those tasks? Possibly, but it won't necessarily be easy to find. However, start with the basics.. work through the tutorials you come across. I think you'll find a lot of the concepts in those will give you a much better insight as to how to accomplish different, and possibly more complex tasks.
-
Book for JSP/Servlet Developer EE 6 (1Z0-894)
Does anyone know any good reading for this exam? the old HF doesn't contain anything about async servlet, web fragments, etc. Thanks
HI,
This certification is geared toward experienced developers of Java technology applications. Certified individuals should have the knowledge and skills to quickly build web applications suited to any Java EE 6 application server using JSP and servlet technologies....
Oracle Certified Expert, Java EE 6 Web Component Developer
Thank you -
i want to increase a new function in existing web site, just like let customer leave their comment for our product and collect it back to company, after modify or delete these no good one, then post it on to the website....i am a beginner,,,, wish any kind ppls can leave some comment for me...thanks a lot
Since you are a beginner, I'd advice you to take a
look at Marty Hall's website
http://www.coreservlets.com/. You can download the
first edition of his book "core servlets and Java
Server Pages" in pdf format. I like Marty Hall's books too, but I prefer Hans Bergsten's JSP book as a starter.
Try to find something about the MVC or Model View
Controller design pattern. This may seem like
overkill for small web apps, but as soon as you're
trying to add some functionality (as you want to do),
you'll see that you gain time using the MVC.
For this, I strongly recommend the "Apache Tomcat
Bible" from Eaves, Jones and Godfrey.
It explains how to install Java SDK, MySQL, Ant,
Eclipse, Tomcat.Personally, I think all this is beyond the OP. He said he was a beginner. If that means he hasn't even written "Hello, World" or compiled a single Java program, I'd say that all this stuff about Tomcat, Ant, Eclipse, serlvets, and JSPs is well beyond him. I'd discourage anyone from taking on a project like this as their introduction to Java. I'd warn his client against spending their money to buy code from a neophyte. There are plenty of talented people out there who need the work and can do the job without having to climb that learning mountain.
If I've misread the situation, I apologize. No insult intended. Just be realistic in assessing your ability and the difficulty of the project.
% -
Can't install a new template for JSP/servlet on Forte 3.0
I can successfully download the files and finished the installation process from the autoupdate center. But when I restarted Forte, I saw an error " cannot load servlet name: jsp " and there is no new modules installed. Am I missing something?
--mutekiActually, it's a problem with the glibc library. After reading the release note, I found the solution.
-
An effective way for JSP/servlets to interact with databases
Hi
I was wondering if anyone has an effective way of connecting to databases using javabeans and JSP.
I am new to all this JSP stuff and would appreciate some help
cheershai,
it is better if u go for javaBeans
for connection purpose
as this is reused many times
and u can avoid large stuff of code
in the jsp.Also try connection pooling pooling if
user name to db for most user is same !!!!
sample code for database bean
import java.sql.*;
import java.io.*;
* This class determines the database connectivity by defining the database url,
* database driver and database connection and other functions to prepare & execute
* sql queries.
public class DBBean {
String dbURL; //database url
String dbDriver = "sun.jdbc.odbc.JdbcOdbcDriver"; //database driver
private Connection dbCon; //database connection
private PreparedStatement pre;
private Statement s ;
boolean prepareflag=false;
public IntranetBean() {
super();
public boolean connect() throws ClassNotFoundException, SQLException {
//install the driver
Class.forName(dbDriver);
//opens a connection
dbCon = DriverManager.getConnection("jdbc:odbc:ureodbc");
return true;
public void close() throws SQLException {
//close the statement
if(prepareflag){pre.close();}
else{
s.close();}
//close the connection
dbCon.close();
prepareflag=false;
public ResultSet execSQL(String sql) throws SQLException {
//gives a statement object
s = dbCon.createStatement();
//execute the sql command
ResultSet r = s.executeQuery(sql);
return (r == null) ? null : r;
public void execUPDATE(String sql) throws SQLException {
//gives a statement object
s = dbCon.createStatement();
//execute the sql command
s.executeUpdate(sql);
public boolean prepareSQL(String sql) throws SQLException {
//gives a prepared statement object
pre = dbCon.prepareStatement(sql);
prepareflag=true;
return true;
public boolean execpreparedSQL(String sql) throws SQLException {
//execute the sql command
pre.execute(sql);
return true;
public ResultSet getpreparedResultSet() throws SQLException {
//get resultset
ResultSet r = pre.getResultSet();
return (r == null) ? null : r;
public void setInt(int i,int no) throws SQLException {
pre.setInt(i,no);
public void setDouble(int i,double dbl) throws SQLException {
pre.setDouble(i,dbl);
public void setString(int i,String str) throws SQLException {
pre.setString(i,str);
public void setDate(int i,Date d) throws SQLException {
pre.setDate(i,d);
public void setTime(int i,Time tm) throws SQLException {
pre.setTime(i,tm);
public void setNull(int i,int type) throws SQLException {
pre.setNull(i,type);
} -
Best IDE for JSP,Servlet ?
Whis is the best IDE to code JSP and Servlets, i hope it includes a Debugger too.
rcHai shinoy
YES, thats really true. but its not like NetBean if you see Eclipse plutin its very small.
if you download Eclipse and without adding any plut-ins and starting it this time is very much faster than NetBean b'cos Netbean is using Modules. i tryed both i prefer Eclipse is good eventhouth the Visual AWT/Swint is not available default in Eclipse we can add it.
i mostly prefer Eclipse more that JDeveloper,NetBean,JCreator,Editplus etc...
just my knowledge is consern.
bye
RR
Maybe you are looking for
-
Had to remove it for the last & final time. I love & miss my Firefox, but can't take the chance of someone getting into my system. The upgrade had yahoo toolbar which is always easy to get rid of (thank God) but I have this yellow sign in my popup th
-
Adobe Presenter 8 Video Creator crashes when publishing
After capturing a video and demonstration using Presenter Video Creator, I am able to edit the video, choose whether I show talking head, demo, or both. The program seems to record everything as I would expect. However, when I attempt to publish, i
-
I can't connect to iTune Store nor to radios, with the aid of iTune,check for updates, these last two from aid, but if you communicate with support.Please the answers in spanish.
-
Cannot import a photo into Lightroom 5.2
See the Lamp and Chopper video at http://www.smugmug.com/gallery/21425173_dGgs24
-
RCU installation and Table prefix
For RCU installation - If two products are in different domain then their prefix should be different? Is it best practice or required?